Skip to content

Commit

Permalink
Merge pull request #245 from NREL/release/0.8.0
Browse files Browse the repository at this point in the history
release 0.8.0 (rust)
  • Loading branch information
robfitzgerald authored Jul 30, 2024
2 parents 456c115 + b20f307 commit 7bf6995
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 16 deletions.
5 changes: 5 additions & 0 deletions publish_crates.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

# exit on failure
set -e

Expand All @@ -12,5 +14,8 @@ cargo publish -p routee-compass-powertrain
cargo publish -p routee-compass --dry-run
cargo publish -p routee-compass

cargo publish -p routee-compass-macros --dry-run
cargo publish -p routee-compass-macros

cargo publish -p routee-compass-py --dry-run
cargo publish -p routee-compass-py
2 changes: 1 addition & 1 deletion rust/routee-compass-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "routee-compass-core"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
exclude = ["test/"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion rust/routee-compass-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To install as a library in Rust, add routee-compass-core to your Cargo.toml file

```toml
[dependencies]
routee-compass-core = { version = "0.3.0" }
routee-compass-core = { version = "0.8.0" }
```

Please see the [documentation](https://docs.rs/routee-compass-core/latest/routee_compass_core/) for usage.
Expand Down
10 changes: 9 additions & 1 deletion rust/routee-compass-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
[package]
name = "routee-compass-macros"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
readme = "README.md"
license = "BSD-3-Clause"
description = "Macros for the RouteE-Compass energy-aware routing engine"
homepage = "https://nrel.github.io/routee-compass"
repository = "https://github.com/NREL/routee-compass"
documentation = "https://docs.rs/routee-compass"


[dependencies]
proc-macro2 = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion rust/routee-compass-macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To install as a library in Rust, add routee-compass-macros to your Cargo.toml fi

```toml
[dependencies]
routee-compass-macros = { version = "0.7.0" }
routee-compass-macros = { version = "0.8.0" }
```

This crate currently just provides a single macro for wrapping a compass application with python bindings.
Expand Down
4 changes: 2 additions & 2 deletions rust/routee-compass-powertrain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "routee-compass-powertrain"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
readme = "README.md"
license = "BSD-3-Clause"
Expand All @@ -11,7 +11,7 @@ documentation = "https://docs.rs/routee-compass"


[dependencies]
routee-compass-core = { path = "../routee-compass-core", version = "0.7.0" }
routee-compass-core = { path = "../routee-compass-core", version = "0.8.0" }
smartcore = { version = "0.3.1", features = ["serde"] } # random forest
thiserror = { workspace = true }
log = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion rust/routee-compass-powertrain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To install as a library in Rust, add routee-compass-powertrain to your Cargo.tom

```toml
[dependencies]
routee-compass-powertrain = { version = "0.7.0" }
routee-compass-powertrain = { version = "0.8.0" }
```

Please see the [documentation](https://docs.rs/routee-compass-powertrain/latest/routee_compass_powertrain/) for usage.
Expand Down
8 changes: 4 additions & 4 deletions rust/routee-compass-py/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "routee-compass-py"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
readme = "README.md"
license = "BSD-3-Clause"
Expand All @@ -10,9 +10,9 @@ repository = "https://github.com/NREL/routee-compass"
documentation = "https://docs.rs/routee-compass"

[dependencies]
routee-compass = { path = "../routee-compass", version = "0.7.0" }
routee-compass-core = { path = "../routee-compass-core", version = "0.7.0" }
routee-compass-macros = { path = "../routee-compass-macros", version = "0.7.0" }
routee-compass = { path = "../routee-compass", version = "0.8.0" }
routee-compass-core = { path = "../routee-compass-core", version = "0.8.0" }
routee-compass-macros = { path = "../routee-compass-macros", version = "0.8.0" }
pyo3 = { version = "0.21.0", features = ["extension-module", "serde"] }
serde_json = { workspace = true }
config = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion rust/routee-compass-py/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To install as a library in Rust, add routee-compass-py to your Cargo.toml file:

```toml
[dependencies]
routee-compass-py = { version = "0.7.0" }
routee-compass-py = { version = "0.8.0" }
```

## License
Expand Down
6 changes: 3 additions & 3 deletions rust/routee-compass/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "routee-compass"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
readme = "README.md"
license = "BSD-3-Clause"
Expand All @@ -18,8 +18,8 @@ keywords = [
categories = ["science", "science::geo"]

[dependencies]
routee-compass-core = { path = "../routee-compass-core", version = "0.7.0" }
routee-compass-powertrain = { path = "../routee-compass-powertrain", version = "0.7.0" }
routee-compass-core = { path = "../routee-compass-core", version = "0.8.0" }
routee-compass-powertrain = { path = "../routee-compass-powertrain", version = "0.8.0" }
thiserror = { workspace = true }
flate2 = { workspace = true }
serde = { workspace = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion rust/routee-compass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To install as a library in Rust, add routee-compass to your Cargo.toml file:

```toml
[dependencies]
routee-compass = { version = "0.3.0" }
routee-compass = { version = "0.8.0" }
```

Please see the [documentation](https://docs.rs/routee-compass/latest/routee_compass/) for usage.
Expand Down

0 comments on commit 7bf6995

Please sign in to comment.