Skip to content

Commit

Permalink
Merge pull request #17 from Arnaud-de-Grandmaison-ARM/dependencies
Browse files Browse the repository at this point in the history
refactor: improve dependency management.
  • Loading branch information
thomas-fossati authored Oct 7, 2024
2 parents d101952 + ed6ce14 commit b19216a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 29 deletions.
21 changes: 21 additions & 0 deletions rust-keybroker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,24 @@ members = [
"keybroker-server",
"keybroker-app",
]

[workspace.dependencies]
actix-web = "4"
anyhow = "1.0.89"
base64 = "0.22.1"
clap = { version = "=4.3.24", features = ["derive", "std"] }
ear = { git = "https://github.com/veraison/rust-ear.git" }
log = { version = "0.4.22", features = ["std", "serde"] }
phf = "0.11.2"
rand = "0.8.5"
regorus = "0.2.5"
reqwest = { version = "0.12.5", features = ["json", "rustls-tls", "blocking"] }
rsa = "0.9.6"
serde = "1.0.204"
serde_json = "1.0.128"
serde_with = "3.9.0"
sha2 = "0.10.8"
stderrlog = "0.6.0"
thiserror = "1.0.63"
tsm_report = { git = "https://github.com/veracruz-project/cca-utils-rs.git", rev = "cb88b76da722f2991365b159e3d575249dfbbe7d"}
veraison-apiclient = { git = "https://github.com/veraison/rust-apiclient.git" }
6 changes: 3 additions & 3 deletions rust-keybroker/keybroker-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ categories = ["cryptography", "hardware-support"]

[dependencies]
keybroker-client = { path = "../keybroker-client" }
clap = { version = "=4.3.24", features = ["derive", "std"] }
log = { version = "0.4.22", features = ["std", "serde"] }
stderrlog = "0.6.0"
clap.workspace = true
log.workspace = true
stderrlog.workspace = true
16 changes: 8 additions & 8 deletions rust-keybroker/keybroker-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ categories = ["cryptography", "hardware-support"]

[dependencies]
keybroker-common = { path = "../keybroker-common" }
base64 = "0.22.1"
log = { version = "0.4.22", features = ["std", "serde"] }
rand = "0.8.5"
reqwest = { version = "0.12.5", features = ["json", "rustls-tls", "blocking"] }
rsa = "0.9.6"
stderrlog = "0.6.0"
thiserror = "1.0"
tsm_report = { git = "https://github.com/veracruz-project/cca-utils-rs.git", rev = "cb88b76da722f2991365b159e3d575249dfbbe7d"}
base64.workspace = true
log.workspace = true
rand.workspace = true
reqwest.workspace = true
rsa.workspace = true
stderrlog.workspace = true
thiserror.workspace = true
tsm_report.workspace = true
4 changes: 2 additions & 2 deletions rust-keybroker/keybroker-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ keywords = ["security", "service", "attestation"]
categories = ["cryptography", "hardware-support"]

[dependencies]
serde = { version = "1.0.204", features = ["serde_derive"] }
serde_with = "3.9.0"
serde.workspace = true
serde_with.workspace = true
32 changes: 16 additions & 16 deletions rust-keybroker/keybroker-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ keywords = ["security", "service", "attestation"]
categories = ["cryptography", "hardware-support"]

[dependencies]
actix-web = "4"
base64 = "0.22.1"
thiserror = "1.0.63"
serde = "1.0.204"
rsa = "0.9.6"
sha2 = "0.10.8"
rand = "0.8.5"
clap = { version = "=4.3.24", features = ["derive", "std"] }
keybroker-common = { path = "../keybroker-common" }
veraison-apiclient = { git = "https://github.com/veraison/rust-apiclient.git" }
ear = { git = "https://github.com/veraison/rust-ear.git" }
regorus = "0.2.5"
serde_json = "1.0.128"
anyhow = "1.0.89"
phf = "0.11.2"
log = { version = "0.4.22", features = ["std", "serde"] }
stderrlog = "0.6.0"
actix-web.workspace = true
anyhow.workspace = true
base64.workspace = true
clap.workspace = true
ear.workspace = true
log.workspace = true
phf.workspace = true
rand.workspace = true
regorus.workspace = true
rsa.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
stderrlog.workspace = true
thiserror.workspace = true
veraison-apiclient.workspace = true

0 comments on commit b19216a

Please sign in to comment.