Skip to content

Commit 0e80ae4

Browse files
committed
Moved common dependencies to workspace level
1 parent 7c80244 commit 0e80ae4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ workspace = true
1414
crypto-primitives-proc-macros = { workspace = true }
1515

1616
# Core
17-
num-traits = { version = "0", default-features = false }
17+
num-traits = { workspace = true }
1818
pastey = "0"
1919
thiserror = "2"
2020

@@ -26,13 +26,13 @@ ark-serialize = { version = "0.5", default-features = false, optional = true }
2626
num-bigint = { version = "0.4", default-features = false, optional = true }
2727

2828
# Optional utility for which implementations are provided
29-
rand = { version = "0", default-features = false, optional = true }
29+
rand = { workspace = true, optional = true }
3030
serde = { version = "1", default-features = false, optional = true }
3131
zeroize = { version = "1", default-features = false, optional = true }
3232

3333
[dev-dependencies]
34-
proptest = { version = "1.8.0", default-features = false, features = ["alloc"] }
35-
rand = { version = "0" }
34+
proptest = { workspace = true }
35+
rand = { workspace = true, features = ["std_rng"] }
3636

3737
[features]
3838
default = ["std"]
@@ -65,6 +65,9 @@ publish = false
6565

6666
[workspace.dependencies]
6767
crypto-primitives-proc-macros = { path = "proc-macros" }
68+
num-traits = { version = "0", default-features = false }
69+
proptest = { version = "1", default-features = false, features = ["alloc"] }
70+
rand = { version = "0", default-features = false }
6871

6972
[workspace.lints.rust]
7073
missing_docs = "allow" # FIXME

proc-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ quote = "1.0"
1818
syn = { version = "2.0", features = ["full"] }
1919

2020
[dev-dependencies]
21-
num-traits = "0.2"
21+
num-traits = { workspace = true }

0 commit comments

Comments
 (0)