From 1d92d513efd98f611d4783e7692aa5a3b59fc871 Mon Sep 17 00:00:00 2001 From: Fabrizio Sestito Date: Thu, 4 Apr 2024 08:20:57 +0200 Subject: [PATCH] build(deps): remove unused dependencies Signed-off-by: Fabrizio Sestito --- Cargo.lock | 58 ------------------------------------------------------ Cargo.toml | 3 --- 2 files changed, 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76414b63..c5bf2e7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1681,16 +1681,6 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdeb3aa5e95cf9aabc17f060cfa0ced7b83f042390760ca53bf09df9968acaa1" -[[package]] -name = "flate2" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - [[package]] name = "fnv" version = "1.0.7" @@ -2171,15 +2161,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humansize" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb51c9a029ddc91b07a787f1d86b53ccfa49b0e86688c946ebe8d3555685dd7" -dependencies = [ - "libm", -] - [[package]] name = "hyper" version = "0.14.28" @@ -3841,7 +3822,6 @@ dependencies = [ "daemonize", "futures", "http-body-util", - "humansize", "itertools 0.12.1", "k8s-openapi", "lazy_static", @@ -3854,7 +3834,6 @@ dependencies = [ "opentelemetry_sdk", "policy-evaluator", "pprof", - "procfs", "rayon", "regex", "rstest", @@ -3869,7 +3848,6 @@ dependencies = [ "tower", "tower-http 0.5.2", "tracing", - "tracing-futures", "tracing-opentelemetry", "tracing-subscriber", ] @@ -4030,32 +4008,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "procfs" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "731e0d9356b0c25f16f33b5be79b1c57b562f141ebfcdb0ad8ac2c13a24293b4" -dependencies = [ - "bitflags 2.5.0", - "chrono", - "flate2", - "hex", - "lazy_static", - "procfs-core", - "rustix 0.38.32", -] - -[[package]] -name = "procfs-core" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3554923a69f4ce04c4a754260c338f505ce22642d3830e049a399fc2059a29" -dependencies = [ - "bitflags 2.5.0", - "chrono", - "hex", -] - [[package]] name = "prost" version = "0.12.3" @@ -5483,16 +5435,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - [[package]] name = "tracing-log" version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index d906bb16..bb047a34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,6 @@ anyhow = "1.0" clap = { version = "4.5", features = ["cargo", "env"] } daemonize = "0.5" futures = "0.3" -humansize = "2.1" itertools = "0.12.1" k8s-openapi = { version = "0.21.1", default-features = false, features = [ "v1_29", @@ -29,7 +28,6 @@ opentelemetry = { version = "0.22.0", default-features = false, features = [ "trace", ] } opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio"] } -procfs = "0.16" pprof = { version = "0.13", features = ["prost-codec"] } policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.16.2" } rayon = "1.10" @@ -41,7 +39,6 @@ sha2 = "0.10" thiserror = "1.0" tokio = { version = "^1.37.0", features = ["full"] } tracing = "0.1" -tracing-futures = "0.2" tracing-opentelemetry = "0.23.0" tracing-subscriber = { version = "0.3", features = ["ansi", "fmt", "json"] } semver = { version = "1.0.22", features = ["serde"] }