Skip to content

Commit

Permalink
Merge pull request #161 from theangryangel/feat-embrace-workspaces
Browse files Browse the repository at this point in the history
fix: Cargo.toml versions
  • Loading branch information
theangryangel authored Jul 23, 2024
2 parents b3f5404 + f66caf3 commit ec29e80
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ We have no formal code of conduct at this time. But we do subscribe to

Ideally this should be fully automated. At present it is not.

- Create PR change version in workspace Cargo.toml
- Create PR change version in workspace Cargo.toml, update all child crate Cargo.tomls to the
same version for any insim\_\* dependencies
- Locally run `cargo publish --dry-run` to ensure everything is OK
- Wait for CI to go green
- Merge
Expand Down
6 changes: 3 additions & 3 deletions insim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ from_variants = { workspace = true }
futures-util = { workspace = true, optional = true }
if_chain = { workspace = true }
indexmap = { workspace = true }
insim_core = { path = "../insim_core", version = "1.0.0" }
insim_pth = { path = "../insim_pth", optional = true, version = "1" }
insim_smx = { path = "../insim_smx", optional = true, version = "1" }
insim_core = { path = "../insim_core", version = "1.1.1" }
insim_pth = { path = "../insim_pth", optional = true, version = "1.1.1" }
insim_smx = { path = "../insim_smx", optional = true, version = "1.1.1" }
serde = { workspace = true, features = ["derive"], optional = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["rt", "time", "net", "macros", "sync", "tracing"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion insim_pth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ bench = false
doctest = false

[dependencies]
insim_core = { path = "../insim_core", version = "1" }
insim_core = { path = "../insim_core", version = "1.1.1" }
thiserror = { workspace = true }
2 changes: 1 addition & 1 deletion insim_smx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ bench = false
doctest = false

[dependencies]
insim_core = { path = "../insim_core", version = "1" }
insim_core = { path = "../insim_core", version = "1.1.1" }
thiserror = { workspace = true }

0 comments on commit ec29e80

Please sign in to comment.