From 59807c42863dd5f7a1283f8ee75b68ac33169332 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 28 Feb 2024 15:17:27 +0100 Subject: [PATCH] chore(deps): remove unused dependencies Signed-off-by: Harald Hoyer --- Cargo.lock | 77 ------------------------------- Cargo.toml | 3 -- bin/tee-ratls-preexec/Cargo.toml | 2 - bin/tee-stress-client/Cargo.toml | 9 ---- bin/tee-vault-admin/Cargo.toml | 3 -- bin/tee-vault-unseal/Cargo.toml | 9 ---- bin/teepot-read/Cargo.toml | 2 - bin/teepot-write/Cargo.toml | 2 - bin/vault-admin/Cargo.toml | 3 -- bin/vault-unseal/Cargo.toml | 4 -- bin/verify-attestation/Cargo.toml | 1 - 11 files changed, 115 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 91e197a..48534b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1211,12 +1211,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -[[package]] -name = "hermit-abi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "379dada1584ad501b383485dd706b8afb7a70fcbc7f4da7d780638a5a6124a60" - [[package]] name = "hex" version = "0.4.3" @@ -1650,16 +1644,6 @@ dependencies = [ "libm", ] -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - [[package]] name = "num_enum" version = "0.7.2" @@ -2151,16 +2135,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-pemfile" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c333bb734fcdedcea57de1602543590f545f127dc8b533324318fd492c5c70b" -dependencies = [ - "base64", - "rustls-pki-types", -] - [[package]] name = "rustls-pki-types" version = "1.3.1" @@ -2457,8 +2431,6 @@ dependencies = [ "anyhow", "clap", "rsa", - "rustls", - "rustls-pemfile", "teepot", "tracing", "tracing-log", @@ -2484,19 +2456,10 @@ version = "0.1.0" dependencies = [ "actix-web", "anyhow", - "awc", - "base64", - "bytemuck", "clap", - "hex", - "mio", - "rustls", "serde", - "serde_json", - "sha2", "teepot", "tracing", - "tracing-actix-web", "tracing-log", "tracing-subscriber", ] @@ -2508,13 +2471,10 @@ dependencies = [ "actix-web", "anyhow", "awc", - "base64", "bytemuck", "clap", "hex", - "mio", "rustls", - "serde", "serde_json", "sha2", "teepot", @@ -2528,25 +2488,16 @@ dependencies = [ name = "tee-vault-unseal" version = "0.1.0" dependencies = [ - "actix-tls", "actix-web", "anyhow", "awc", "clap", - "hex", - "mio", "rustls", - "rustls-pemfile", - "serde", "serde_json", - "sha2", "teepot", - "thiserror", - "tokio", "tracing", "tracing-log", "tracing-subscriber", - "x509-cert", ] [[package]] @@ -2558,7 +2509,6 @@ dependencies = [ "anyhow", "awc", "base64", - "bitflags 2.4.2", "bytemuck", "bytes", "clap", @@ -2574,10 +2524,8 @@ dependencies = [ "pgp", "pkcs8", "rand", - "ring", "rsa", "rustls", - "sec1", "serde", "serde_json", "serde_with", @@ -2599,11 +2547,9 @@ dependencies = [ "anyhow", "awc", "clap", - "serde", "serde_json", "teepot", "tracing", - "tracing-actix-web", "tracing-log", "tracing-subscriber", ] @@ -2616,11 +2562,9 @@ dependencies = [ "anyhow", "awc", "clap", - "serde", "serde_json", "teepot", "tracing", - "tracing-actix-web", "tracing-log", "tracing-subscriber", ] @@ -2748,26 +2692,13 @@ dependencies = [ "bytes", "libc", "mio", - "num_cpus", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", - "tokio-macros", "windows-sys 0.48.0", ] -[[package]] -name = "tokio-macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.51", -] - [[package]] name = "tokio-rustls" version = "0.25.0" @@ -2970,14 +2901,11 @@ version = "0.1.0" dependencies = [ "actix-web", "anyhow", - "awc", "bytemuck", "clap", "hex", "pgp", - "serde", "serde_json", - "sha2", "teepot", "tracing", "tracing-log", @@ -2990,13 +2918,9 @@ version = "0.1.0" dependencies = [ "actix-web", "anyhow", - "awc", "base64", "clap", - "hex", - "serde", "serde_json", - "sha2", "teepot", "tracing", "tracing-log", @@ -3009,7 +2933,6 @@ version = "0.1.0" dependencies = [ "anyhow", "hex", - "intel-tee-quote-verification-rs", "teepot", ] diff --git a/Cargo.toml b/Cargo.toml index 8d22357..899b4ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,6 @@ actix-http.workspace = true actix-web.workspace = true anyhow.workspace = true awc.workspace = true -bitflags.workspace = true bytemuck.workspace = true bytes.workspace = true clap.workspace = true @@ -31,10 +30,8 @@ p256.workspace = true pgp.workspace = true pkcs8.workspace = true rand.workspace = true -ring.workspace = true rsa.workspace = true rustls.workspace = true -sec1.workspace = true serde.workspace = true serde_json.workspace = true serde_with.workspace = true diff --git a/bin/tee-ratls-preexec/Cargo.toml b/bin/tee-ratls-preexec/Cargo.toml index 5eecb65..ba7281b 100644 --- a/bin/tee-ratls-preexec/Cargo.toml +++ b/bin/tee-ratls-preexec/Cargo.toml @@ -12,8 +12,6 @@ repository.workspace = true anyhow.workspace = true clap.workspace = true rsa.workspace = true -rustls-pemfile.workspace = true -rustls.workspace = true teepot.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true diff --git a/bin/tee-stress-client/Cargo.toml b/bin/tee-stress-client/Cargo.toml index 289ee92..7de139c 100644 --- a/bin/tee-stress-client/Cargo.toml +++ b/bin/tee-stress-client/Cargo.toml @@ -9,18 +9,9 @@ repository.workspace = true [dependencies] actix-web.workspace = true anyhow.workspace = true -awc.workspace = true -base64.workspace = true -bytemuck.workspace = true clap.workspace = true -hex.workspace = true -mio.workspace = true -rustls.workspace = true serde.workspace = true -serde_json.workspace = true -sha2.workspace = true teepot.workspace = true -tracing-actix-web.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true tracing.workspace = true diff --git a/bin/tee-vault-admin/Cargo.toml b/bin/tee-vault-admin/Cargo.toml index 4f1223b..7bfaf00 100644 --- a/bin/tee-vault-admin/Cargo.toml +++ b/bin/tee-vault-admin/Cargo.toml @@ -10,13 +10,10 @@ repository.workspace = true actix-web.workspace = true anyhow.workspace = true awc.workspace = true -base64.workspace = true bytemuck.workspace = true clap.workspace = true hex.workspace = true -mio.workspace = true rustls.workspace = true -serde.workspace = true serde_json.workspace = true sha2.workspace = true teepot.workspace = true diff --git a/bin/tee-vault-unseal/Cargo.toml b/bin/tee-vault-unseal/Cargo.toml index 256b5bb..cba49cf 100644 --- a/bin/tee-vault-unseal/Cargo.toml +++ b/bin/tee-vault-unseal/Cargo.toml @@ -7,22 +7,13 @@ license.workspace = true repository.workspace = true [dependencies] -actix-tls.workspace = true actix-web.workspace = true anyhow.workspace = true awc.workspace = true clap.workspace = true -hex.workspace = true -mio.workspace = true -rustls-pemfile.workspace = true rustls.workspace = true -serde.workspace = true serde_json.workspace = true -sha2.workspace = true teepot.workspace = true -thiserror.workspace = true -tokio.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true tracing.workspace = true -x509-cert.workspace = true diff --git a/bin/teepot-read/Cargo.toml b/bin/teepot-read/Cargo.toml index 3fcaf80..e5429a3 100644 --- a/bin/teepot-read/Cargo.toml +++ b/bin/teepot-read/Cargo.toml @@ -13,10 +13,8 @@ actix-web.workspace = true anyhow.workspace = true awc.workspace = true clap.workspace = true -serde.workspace = true serde_json.workspace = true teepot.workspace = true -tracing-actix-web.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true tracing.workspace = true diff --git a/bin/teepot-write/Cargo.toml b/bin/teepot-write/Cargo.toml index f94f63a..785aad0 100644 --- a/bin/teepot-write/Cargo.toml +++ b/bin/teepot-write/Cargo.toml @@ -13,10 +13,8 @@ actix-web.workspace = true anyhow.workspace = true awc.workspace = true clap.workspace = true -serde.workspace = true serde_json.workspace = true teepot.workspace = true -tracing-actix-web.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true tracing.workspace = true diff --git a/bin/vault-admin/Cargo.toml b/bin/vault-admin/Cargo.toml index b93b52e..7ded560 100644 --- a/bin/vault-admin/Cargo.toml +++ b/bin/vault-admin/Cargo.toml @@ -9,14 +9,11 @@ repository.workspace = true [dependencies] actix-web.workspace = true anyhow.workspace = true -awc.workspace = true bytemuck.workspace = true clap.workspace = true hex.workspace = true pgp.workspace = true -serde.workspace = true serde_json.workspace = true -sha2.workspace = true teepot.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true diff --git a/bin/vault-unseal/Cargo.toml b/bin/vault-unseal/Cargo.toml index b9b9473..908f392 100644 --- a/bin/vault-unseal/Cargo.toml +++ b/bin/vault-unseal/Cargo.toml @@ -9,13 +9,9 @@ repository.workspace = true [dependencies] actix-web.workspace = true anyhow.workspace = true -awc.workspace = true base64.workspace = true clap.workspace = true -hex.workspace = true -serde.workspace = true serde_json.workspace = true -sha2.workspace = true teepot.workspace = true tracing-log.workspace = true tracing-subscriber.workspace = true diff --git a/bin/verify-attestation/Cargo.toml b/bin/verify-attestation/Cargo.toml index 4179836..007b526 100644 --- a/bin/verify-attestation/Cargo.toml +++ b/bin/verify-attestation/Cargo.toml @@ -9,5 +9,4 @@ repository.workspace = true [dependencies] anyhow.workspace = true hex.workspace = true -intel-tee-quote-verification-rs.workspace = true teepot.workspace = true