Skip to content

Commit

Permalink
build: workspace libs (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker authored Apr 8, 2024
1 parent 9ece463 commit a111628
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ members = [
"src/shared"
]
resolver = "2"

[workspace.dependencies]
candid = "0.10.0"
ic-cdk = "0.12.0"
ic-cdk-macros = "0.8.1"
serde = "1"
serde_bytes = "0.11"
10 changes: 5 additions & 5 deletions src/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
candid = "0.10.0"
candid.workspace = true
ethers-core = "2"
futures = "0.3"
ic-cdk = "0.12.0"
ic-cdk-macros = "0.8.1"
ic-cdk.workspace = true
ic-cdk-macros.workspace = true
ic-stable-structures = "0.6.0"
serde = "1"
serde.workspace = true
k256 = "0.13"
hex = "0.4"
getrandom = { version = "0.2", features = ["custom"] }
ic-metrics-encoder = "1.1.0"
serde_bytes = "0.11"
serde_bytes.workspace = true
shared = { path = "../shared" }

[dev-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions src/shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
candid = "0.10.0"
ic-cdk = "0.12.0"
ic-cdk-macros = "0.8.2"
serde = "1"
candid.workspace = true
ic-cdk.workspace = true
ic-cdk-macros.workspace = true
serde.workspace = true
ic-metrics-encoder = "1.1.0"
serde_bytes = "0.11"
serde_bytes.workspace = true

0 comments on commit a111628

Please sign in to comment.