mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 14:33:37 -08:00
move external dependencies to workspace level
This commit is contained in:
committed by
Karolin Varner
parent
cc8c13e121
commit
181154b470
22
Cargo.toml
22
Cargo.toml
@@ -14,3 +14,25 @@ members = [
|
|||||||
[workspace.metadata.release]
|
[workspace.metadata.release]
|
||||||
# ensure that adding `--package` as argument to `cargo release` still creates version tags in the form of `vx.y.z`
|
# ensure that adding `--package` as argument to `cargo release` still creates version tags in the form of `vx.y.z`
|
||||||
tag-prefix = ""
|
tag-prefix = ""
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
|
arbitrary = "1.3.2"
|
||||||
|
libfuzzer-sys = "0.4"
|
||||||
|
stacker = "0.1.15"
|
||||||
|
doc-comment = "0.3.3"
|
||||||
|
base64 = "0.21.1"
|
||||||
|
zeroize = "1.7.0"
|
||||||
|
memoffset = "0.9.0"
|
||||||
|
lazy_static = "1.4.0"
|
||||||
|
thiserror = "1.0.40"
|
||||||
|
paste = "1.0.12"
|
||||||
|
env_logger = "0.10.0"
|
||||||
|
serde = "1.0.163"
|
||||||
|
toml = "0.7.4"
|
||||||
|
mio = "0.8.6"
|
||||||
|
clap = "4.3.0"
|
||||||
|
static_assertions = "1.1.0"
|
||||||
|
log = { version = "0.4.17" }
|
||||||
|
anyhow = { version = "1.0.71" }
|
||||||
|
libsodium-sys-stable= { version = "1.19.28" }
|
||||||
|
oqs-sys = {default-features = false, version = "0.8" }
|
||||||
@@ -10,9 +10,9 @@ repository = "https://github.com/rosenpass/rosenpass"
|
|||||||
readme = "readme.md"
|
readme = "readme.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.75"
|
anyhow = { workspace = true }
|
||||||
rosenpass-sodium = { path = "../sodium" }
|
rosenpass-sodium = { path = "../sodium" }
|
||||||
rosenpass-to = { path = "../to" }
|
rosenpass-to = { path = "../to" }
|
||||||
rosenpass-constant-time = { path = "../constant-time" }
|
rosenpass-constant-time = { path = "../constant-time" }
|
||||||
static_assertions = "1.1.0"
|
static_assertions = { workspace = true }
|
||||||
zeroize = "1.7.0"
|
zeroize = { workspace = true }
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ edition = "2021"
|
|||||||
cargo-fuzz = true
|
cargo-fuzz = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arbitrary = { version = "1.3.2", features = ["derive"]}
|
arbitrary = { workspace = true, features = ["derive"]}
|
||||||
libfuzzer-sys = "0.4"
|
libfuzzer-sys = { workspace = true }
|
||||||
stacker = "0.1.15"
|
stacker = { workspace = true }
|
||||||
|
|
||||||
[dependencies.rosenpass]
|
[dependencies.rosenpass]
|
||||||
path = "../rosenpass"
|
path = "../rosenpass"
|
||||||
|
|||||||
@@ -19,25 +19,25 @@ rosenpass-constant-time = { path = "../constant-time" }
|
|||||||
rosenpass-sodium = { path = "../sodium" }
|
rosenpass-sodium = { path = "../sodium" }
|
||||||
rosenpass-ciphers = { path = "../ciphers" }
|
rosenpass-ciphers = { path = "../ciphers" }
|
||||||
rosenpass-to = { path = "../to" }
|
rosenpass-to = { path = "../to" }
|
||||||
anyhow = { version = "1.0.71", features = ["backtrace"] }
|
anyhow = { workspace = true, features = ["backtrace"] }
|
||||||
static_assertions = "1.1.0"
|
static_assertions = { workspace = true }
|
||||||
memoffset = "0.9.0"
|
memoffset = { workspace = true }
|
||||||
libsodium-sys-stable = { version = "1.19.28", features = ["use-pkg-config"] }
|
libsodium-sys-stable = { workspace = true, features = ["use-pkg-config"] }
|
||||||
oqs-sys = { version = "0.8", default-features = false, features = ['classic_mceliece', 'kyber'] }
|
oqs-sys = { workspace = true, default-features = false, features = ['classic_mceliece', 'kyber'] }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = { workspace = true }
|
||||||
thiserror = "1.0.40"
|
thiserror = { workspace = true }
|
||||||
paste = "1.0.12"
|
paste = { workspace = true }
|
||||||
log = { version = "0.4.17" }
|
log = { workspace = true }
|
||||||
env_logger = { version = "0.10.0" }
|
env_logger = { workspace = true }
|
||||||
serde = { version = "1.0.163", features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
toml = "0.7.4"
|
toml = { workspace = true }
|
||||||
clap = { version = "4.3.0", features = ["derive"] }
|
clap = { workspace = true, features = ["derive"] }
|
||||||
mio = { version = "0.8.6", features = ["net", "os-poll"] }
|
mio = { workspace = true, features = ["net", "os-poll"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "1.0.71"
|
anyhow = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = "0.4.0"
|
criterion = "0.4.0"
|
||||||
test_bin = "0.4.0"
|
test_bin = "0.4.0"
|
||||||
stacker = "0.1.15"
|
stacker = { workspace = true }
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ readme = "readme.md"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
rosenpass-util = { path = "../util" }
|
rosenpass-util = { path = "../util" }
|
||||||
rosenpass-to = { path = "../to" }
|
rosenpass-to = { path = "../to" }
|
||||||
anyhow = { version = "1.0.71", features = ["backtrace"] }
|
anyhow = { workspace = true, features = ["backtrace"] }
|
||||||
libsodium-sys-stable = { version = "1.19.28", features = ["use-pkg-config"] }
|
libsodium-sys-stable = { workspace = true, features = ["use-pkg-config"] }
|
||||||
log = { version = "0.4.17" }
|
log = { workspace = true }
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ repository = "https://github.com/rosenpass/rosenpass"
|
|||||||
readme = "readme.md"
|
readme = "readme.md"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
doc-comment = "0.3.3"
|
doc-comment = { workspace = true }
|
||||||
|
|||||||
@@ -12,5 +12,5 @@ readme = "readme.md"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.21.1"
|
base64 = { workspace = true }
|
||||||
anyhow = { version = "1.0.71", features = ["backtrace"] }
|
anyhow = { workspace = true, features = ["backtrace"] }
|
||||||
|
|||||||
Reference in New Issue
Block a user