Skip to content

Commit

Permalink
update workspace example
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Bischof committed Oct 12, 2023
1 parent e6933e3 commit c0f6220
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/rust-cargo-workspaces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ members = [
"binary",
"library"
]

[workspace.dependencies]
toml = "0.5.10"
3 changes: 3 additions & 0 deletions examples/rust-cargo-workspaces/binary/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
toml = { workspace = true }


[dependencies.library]
path = "../library"

0 comments on commit c0f6220

Please sign in to comment.