Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@ members = ["cli", "crypto/*", "mem_usage_benches"]

[workspace.package]
edition = "2024"
version = "0.1.2"

[workspace.dependencies]

# *** Internal Dependencies ***
bouncycastle = { path = "./", version = "0.1.2" }
bouncycastle-base64 = { path = "./crypto/base64", version = "0.1.2" }
bouncycastle-core = { path = "crypto/core", version = "0.1.2" }
bouncycastle-core-test-framework = { path = "./crypto/core-test-framework", version = "0.1.2" }
bouncycastle-factory = { path = "./crypto/factory", version = "0.1.2" }
bouncycastle-hex = { path = "./crypto/hex", version = "0.1.2" }
bouncycastle-hkdf = { path = "./crypto/hkdf", version = "0.1.2" }
bouncycastle-hmac = { path = "./crypto/hmac", version = "0.1.2" }
bouncycastle-mlkem = { path = "./crypto/mlkem", version = "0.1.2" }
bouncycastle-mlkem-lowmemory = { path = "./crypto/mlkem-lowmemory", version = "0.1.2" }
bouncycastle-mldsa = { path = "./crypto/mldsa", version = "0.1.2" }
bouncycastle-mldsa-lowmemory = { path = "./crypto/mldsa-lowmemory", version = "0.1.2" }
bouncycastle-rng = { path = "./crypto/rng", version = "0.1.2" }
bouncycastle-sha2 = { path = "./crypto/sha2", version = "0.1.2" }
bouncycastle-sha3 = { path = "./crypto/sha3", version = "0.1.2" }
bouncycastle-utils = { path = "./crypto/utils", version = "0.1.2" }
bouncycastle = { path = "./" }
bouncycastle-base64 = { path = "./crypto/base64" }
bouncycastle-core = { path = "crypto/core" }
bouncycastle-core-test-framework = { path = "./crypto/core-test-framework" }
bouncycastle-factory = { path = "./crypto/factory" }
bouncycastle-hex = { path = "./crypto/hex" }
bouncycastle-hkdf = { path = "./crypto/hkdf" }
bouncycastle-hmac = { path = "./crypto/hmac" }
bouncycastle-mlkem = { path = "./crypto/mlkem" }
bouncycastle-mlkem-lowmemory = { path = "./crypto/mlkem-lowmemory" }
bouncycastle-mldsa = { path = "./crypto/mldsa" }
bouncycastle-mldsa-lowmemory = { path = "./crypto/mldsa-lowmemory" }
bouncycastle-rng = { path = "./crypto/rng" }
bouncycastle-sha2 = { path = "./crypto/sha2" }
bouncycastle-sha3 = { path = "./crypto/sha3" }
bouncycastle-utils = { path = "./crypto/utils" }
Comment on lines +11 to +26

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per RFC 2906 the versions for path dependencies are no longer needed to be explicitly maintained.



# *** External Dependencies ***
Expand All @@ -36,7 +37,7 @@ strip = "debuginfo"
# libbouncycastle
[package]
name = "bouncycastle"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -52,4 +53,4 @@ bouncycastle-mlkem.workspace = true
bouncycastle-mlkem-lowmemory.workspace = true
bouncycastle-rng.workspace = true
bouncycastle-sha2.workspace = true
bouncycastle-sha3.workspace = true
bouncycastle-sha3.workspace = true
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -10,4 +10,4 @@ bouncycastle.workspace = true

[[bin]]
name = "bc-rust"
path = "src/main.rs"
path = "src/main.rs"
4 changes: 2 additions & 2 deletions crypto/base64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-base64"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -13,4 +13,4 @@ bouncycastle-rng.workspace = true

[[bench]]
name = "base64_benches"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crypto/core-test-framework/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "bouncycastle-core-test-framework"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
bouncycastle-core.workspace = true

[dev-dependencies]
[dev-dependencies]
4 changes: 2 additions & 2 deletions crypto/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-core"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[features]
Expand All @@ -14,4 +14,4 @@ std = []
bouncycastle-utils.workspace = true

[dev-dependencies]
bouncycastle-rng.workspace = true
bouncycastle-rng.workspace = true
2 changes: 1 addition & 1 deletion crypto/factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-factory"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crypto/hex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-hex"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -11,4 +11,4 @@ criterion.workspace = true

[[bench]]
name = "hex_benches"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crypto/hkdf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-hkdf"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -17,4 +17,4 @@ bouncycastle-hex.workspace = true

[[bench]]
name = "hkdf_benches"
harness = false
harness = false
2 changes: 1 addition & 1 deletion crypto/hmac/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-hmac"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crypto/mldsa-lowmemory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-mldsa-lowmemory"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -19,4 +19,4 @@ serde_json = "1.0"

[[bench]]
name = "mldsa_benches"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crypto/mldsa/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-mldsa"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -19,4 +19,4 @@ serde_json = "1.0"

[[bench]]
name = "mldsa_benches"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crypto/mlkem-lowmemory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-mlkem-lowmemory"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -18,4 +18,4 @@ serde_json = "1.0"

[[bench]]
name = "mlkem_benches"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crypto/mlkem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-mlkem"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -18,4 +18,4 @@ serde_json = "1.0"

[[bench]]
name = "mlkem_benches"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crypto/rng/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-rng"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -17,4 +17,4 @@ criterion.workspace = true

[[bench]]
name = "hash_drbg_benches"
harness = false
harness = false
2 changes: 1 addition & 1 deletion crypto/sha2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-sha2"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crypto/sha3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-sha3"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crypto/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bouncycastle-utils"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions mem_usage_benches/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mem_usage_benches"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -13,4 +13,4 @@ path = "bench_mldsa_mem_usage.rs"

[[bin]]
name = "bench_mlkem_mem_usage"
path = "bench_mlkem_mem_usage.rs"
path = "bench_mlkem_mem_usage.rs"