diff --git a/Cargo.toml b/Cargo.toml index c940a763..7bfc0e57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,27 @@ serde_json = "1.0" frost-core = { path = "frost-core", version = "2.1.0", default-features = false } frost-rerandomized = { path = "frost-rerandomized", version = "2.1.0", default-features = false } +byteorder = { version = "1.4", default-features = false } +const-crc32 = "1.2.0" +curve25519-dalek = "=4.1.3" +debugless-unwrap = "0.0.4" +derive-getters = "0.5.0" +ed25519-dalek = "2.1.0" +ed448-goldilocks = "0.9.0" +itertools = { version = "0.14.0", default-features = false } +k256 = { version = "0.13.0", default-features = false } +p256 = { version = "0.13.0", default-features = false } +postcard = "1.0.0" +regex = "1.6.0" +secp256k1 = "0.30.0" +serde = { version = "1.0.160", default-features = false } +serdect = "0.2.0" +sha2 = { version = "0.10.2", default-features = false } +sha3 = { version = "0.10.6", default-features = false } +thiserror = { version = "2.0.3", default-features = false } +thiserror-nostd-notrait = { version = "1.0.29", default-features = false } +visibility = "0.1.0" +zeroize = { version = "1.5.4", default-features = false } [profile.test.package."*"] opt-level = 3 diff --git a/frost-core/Cargo.toml b/frost-core/Cargo.toml index 0907e8b2..783120b6 100644 --- a/frost-core/Cargo.toml +++ b/frost-core/Cargo.toml @@ -15,25 +15,25 @@ features = ["serde"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -byteorder = { version = "1.4", default-features = false } +byteorder = { workspace = true } const-crc32 = { version = "1.2.0", package = "const-crc32-nostd" } document-features.workspace = true -debugless-unwrap = "0.0.4" -derive-getters = "0.5.0" +debugless-unwrap = { workspace = true } +derive-getters = { workspace = true } hex.workspace = true -postcard = { version = "1.0.0", features = ["alloc"], optional = true } -rand_core = { version = "0.6", default-features = false } -serde = { version = "1.0.160", default-features = false, features = ["derive"], optional = true } -serdect = { version = "0.2.0", optional = true } -thiserror-nostd-notrait = { version = "1.0.29", default-features = false } -thiserror = { version = "2.0.3", default-features = false, optional = true } -visibility = "0.1.0" -zeroize = { version = "1.5.4", default-features = false, features = ["derive"] } -itertools = { version = "0.14.0", default-features = false } +postcard = { workspace = true, features = ["alloc"], optional = true } +rand_core = { workspace = true } +serde = { workspace = true, features = ["derive"], optional = true } +serdect = { workspace = true, optional = true } +thiserror-nostd-notrait = { workspace = true } +thiserror = { workspace = true, optional = true } +visibility = { workspace = true } +zeroize = { workspace = true, features = ["derive"] } +itertools = { workspace = true } # Test dependencies used with the test-impl feature -proptest = { version = "1.0", optional = true } -serde_json = { version = "1.0", optional = true } +proptest = { workspace = true, optional = true } +serde_json = { workspace = true, optional = true } criterion = { workspace = true, optional = true } [dev-dependencies] diff --git a/frost-ed25519/Cargo.toml b/frost-ed25519/Cargo.toml index 36523fd9..64bf15f1 100644 --- a/frost-ed25519/Cargo.toml +++ b/frost-ed25519/Cargo.toml @@ -15,18 +15,18 @@ features = ["serde"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -curve25519-dalek = { version = "=4.1.3", features = ["rand_core"] } +curve25519-dalek = { workspace = true, features = ["rand_core"] } document-features.workspace = true frost-core.workspace = true frost-rerandomized.workspace = true rand_core.workspace = true -sha2 = { version = "0.10.2", default-features = false } +sha2 = { workspace = true } [dev-dependencies] criterion.workspace = true frost-core = { workspace = true, features = ["std", "test-impl"] } frost-rerandomized = { workspace = true, features = ["std", "test-impl"] } -ed25519-dalek = "2.1.0" +ed25519-dalek = { workspace = true } insta.workspace = true hex.workspace = true lazy_static.workspace = true diff --git a/frost-ed448/Cargo.toml b/frost-ed448/Cargo.toml index bc7d85bb..b9c3202d 100644 --- a/frost-ed448/Cargo.toml +++ b/frost-ed448/Cargo.toml @@ -16,11 +16,11 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features.workspace = true -ed448-goldilocks = { version = "0.9.0" } +ed448-goldilocks = { workspace = true } frost-core.workspace = true frost-rerandomized.workspace = true rand_core.workspace = true -sha3 = { version = "0.10.6", default-features = false } +sha3 = { workspace = true } [dev-dependencies] criterion.workspace = true diff --git a/frost-p256/Cargo.toml b/frost-p256/Cargo.toml index 1376e4de..7d553b62 100644 --- a/frost-p256/Cargo.toml +++ b/frost-p256/Cargo.toml @@ -16,11 +16,11 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features.workspace = true -p256 = { version = "0.13.0", features = ["hash2curve"], default-features = false } +p256 = { workspace = true, features = ["hash2curve"] } frost-core.workspace = true frost-rerandomized.workspace = true rand_core.workspace = true -sha2 = { version = "0.10.2", default-features = false } +sha2 = { workspace = true } [dev-dependencies] criterion.workspace = true diff --git a/frost-rerandomized/Cargo.toml b/frost-rerandomized/Cargo.toml index cc3a1d37..05870ca1 100644 --- a/frost-rerandomized/Cargo.toml +++ b/frost-rerandomized/Cargo.toml @@ -15,7 +15,7 @@ features = ["serde"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -derive-getters = "0.5.0" +derive-getters = { workspace = true } document-features.workspace = true frost-core = { workspace = true, features = ["internals"] } hex.workspace = true diff --git a/frost-ristretto255/Cargo.toml b/frost-ristretto255/Cargo.toml index 06e88037..ed8db9e4 100644 --- a/frost-ristretto255/Cargo.toml +++ b/frost-ristretto255/Cargo.toml @@ -15,12 +15,12 @@ features = ["serde"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -curve25519-dalek = { version = "=4.1.3", features = ["rand_core"] } +curve25519-dalek = { workspace = true, features = ["rand_core"] } document-features.workspace = true frost-core.workspace = true frost-rerandomized.workspace = true rand_core.workspace = true -sha2 = { version = "0.10.2", default-features = false } +sha2 = { workspace = true } [dev-dependencies] criterion = { workspace = true, features = ["html_reports"] } @@ -29,7 +29,7 @@ frost-rerandomized = { workspace = true, features = ["std", "test-impl"] } insta.workspace = true hex.workspace = true lazy_static.workspace = true -postcard = { version = "1.0.0", features = ["use-std"] } +postcard = { workspace = true, features = ["use-std"] } proptest.workspace = true rand.workspace = true rand_chacha.workspace = true diff --git a/frost-secp256k1-tr/Cargo.toml b/frost-secp256k1-tr/Cargo.toml index 1f9d16e0..c2e29c00 100644 --- a/frost-secp256k1-tr/Cargo.toml +++ b/frost-secp256k1-tr/Cargo.toml @@ -18,9 +18,9 @@ rustdoc-args = ["--cfg", "docsrs"] document-features.workspace = true frost-core.workspace = true frost-rerandomized.workspace = true -k256 = { version = "0.13.0", features = ["arithmetic", "expose-field", "hash2curve"], default-features = false } +k256 = { workspace = true, features = ["arithmetic", "expose-field", "hash2curve"] } rand_core.workspace = true -sha2 = { version = "0.10.2", default-features = false } +sha2 = { workspace = true } [dev-dependencies] criterion.workspace = true @@ -32,7 +32,7 @@ lazy_static.workspace = true proptest.workspace = true rand.workspace = true rand_chacha.workspace = true -secp256k1 = "0.30.0" +secp256k1 = { workspace = true } serde_json.workspace = true [features] diff --git a/frost-secp256k1/Cargo.toml b/frost-secp256k1/Cargo.toml index c6d69351..fb2fd09a 100644 --- a/frost-secp256k1/Cargo.toml +++ b/frost-secp256k1/Cargo.toml @@ -18,9 +18,9 @@ rustdoc-args = ["--cfg", "docsrs"] document-features.workspace = true frost-core.workspace = true frost-rerandomized.workspace = true -k256 = { version = "0.13.0", features = ["arithmetic", "expose-field", "hash2curve"], default-features = false } +k256 = { workspace = true, features = ["arithmetic", "expose-field", "hash2curve"] } rand_core.workspace = true -sha2 = { version = "0.10.2", default-features = false } +sha2 = { workspace = true } [dev-dependencies] criterion.workspace = true diff --git a/gencode/Cargo.toml b/gencode/Cargo.toml index 44dead9b..9c7070da 100644 --- a/gencode/Cargo.toml +++ b/gencode/Cargo.toml @@ -5,7 +5,7 @@ edition.workspace = true publish = false [dependencies] -regex = "1.6.0" +regex = { workspace = true } serde_json.workspace = true [[bin]]