Run a cargo machete pass, removing some unused dependencies that have accumulated.

This commit is contained in:
Herbert Wolverson 2024-07-16 10:32:30 -05:00
parent 47a0bd4bb2
commit a90142ea62
7 changed files with 9 additions and 217 deletions

218
src/rust/Cargo.lock generated
View File

@ -232,12 +232,6 @@ dependencies = [
"bytemuck",
]
[[package]]
name = "atomic-waker"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]]
name = "autocfg"
version = "1.3.0"
@ -1359,25 +1353,6 @@ dependencies = [
"tracing",
]
[[package]]
name = "h2"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab"
dependencies = [
"atomic-waker",
"bytes",
"fnv",
"futures-core",
"futures-sink",
"http 1.1.0",
"indexmap",
"slab",
"tokio",
"tokio-util",
"tracing",
]
[[package]]
name = "half"
version = "1.8.3"
@ -1527,7 +1502,7 @@ dependencies = [
"futures-channel",
"futures-core",
"futures-util",
"h2 0.3.26",
"h2",
"http 0.2.12",
"http-body 0.4.6",
"httparse",
@ -1550,7 +1525,6 @@ dependencies = [
"bytes",
"futures-channel",
"futures-util",
"h2 0.4.5",
"http 1.1.0",
"http-body 1.0.0",
"httparse",
@ -1559,24 +1533,6 @@ dependencies = [
"pin-project-lite",
"smallvec",
"tokio",
"want",
]
[[package]]
name = "hyper-rustls"
version = "0.27.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155"
dependencies = [
"futures-util",
"http 1.1.0",
"hyper 1.3.1",
"hyper-util",
"rustls",
"rustls-pki-types",
"tokio",
"tokio-rustls",
"tower-service",
]
[[package]]
@ -1592,22 +1548,6 @@ dependencies = [
"tokio-native-tls",
]
[[package]]
name = "hyper-tls"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
dependencies = [
"bytes",
"http-body-util",
"hyper 1.3.1",
"hyper-util",
"native-tls",
"tokio",
"tokio-native-tls",
"tower-service",
]
[[package]]
name = "hyper-util"
version = "0.1.5"
@ -1615,17 +1555,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56"
dependencies = [
"bytes",
"futures-channel",
"futures-util",
"http 1.1.0",
"http-body 1.0.0",
"hyper 1.3.1",
"pin-project-lite",
"socket2 0.5.7",
"tokio",
"tower",
"tower-service",
"tracing",
]
[[package]]
@ -1925,7 +1860,6 @@ dependencies = [
"env_logger",
"log",
"lqos_bus",
"serde",
"serde_cbor",
"sqlite",
"tokio",
@ -1958,7 +1892,6 @@ dependencies = [
"ip_network_table",
"log",
"lqos_utils",
"once_cell",
"pyo3",
"serde",
"serde_json",
@ -2006,7 +1939,7 @@ dependencies = [
"lqos_utils",
"nix 0.29.0",
"once_cell",
"reqwest 0.11.27",
"reqwest",
"rocket",
"rocket_async_compression",
"sysinfo",
@ -2023,7 +1956,7 @@ dependencies = [
"lqos_utils",
"nix 0.29.0",
"pyo3",
"reqwest 0.11.27",
"reqwest",
"serde",
"sysinfo",
"tokio",
@ -2060,7 +1993,6 @@ dependencies = [
"default-net",
"lqos_config",
"toml",
"uuid",
]
[[package]]
@ -2071,7 +2003,6 @@ dependencies = [
"clap",
"colored",
"libc",
"log",
"lqos_config",
"miniz_oxide",
"nix 0.29.0",
@ -2086,8 +2017,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"bindgen",
"byteorder",
"dashmap",
"libbpf-sys",
"log",
"lqos_bus",
@ -2141,17 +2070,15 @@ dependencies = [
"lqos_utils",
"lts_client",
"nix 0.29.0",
"num-traits",
"once_cell",
"rand",
"reqwest 0.11.27",
"reqwest",
"serde",
"serde_json",
"signal-hook",
"strum",
"surge-ping",
"sysinfo",
"thiserror",
"tokio",
"tower-http",
"zerocopy 0.6.6",
@ -3024,11 +2951,11 @@ dependencies = [
"encoding_rs",
"futures-core",
"futures-util",
"h2 0.3.26",
"h2",
"http 0.2.12",
"http-body 0.4.6",
"hyper 0.14.29",
"hyper-tls 0.5.0",
"hyper-tls",
"ipnet",
"js-sys",
"log",
@ -3037,7 +2964,7 @@ dependencies = [
"once_cell",
"percent-encoding",
"pin-project-lite",
"rustls-pemfile 1.0.4",
"rustls-pemfile",
"serde",
"serde_json",
"serde_urlencoded",
@ -3050,66 +2977,7 @@ dependencies = [
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"winreg 0.50.0",
]
[[package]]
name = "reqwest"
version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37"
dependencies = [
"base64 0.22.1",
"bytes",
"encoding_rs",
"futures-channel",
"futures-core",
"futures-util",
"h2 0.4.5",
"http 1.1.0",
"http-body 1.0.0",
"http-body-util",
"hyper 1.3.1",
"hyper-rustls",
"hyper-tls 0.6.0",
"hyper-util",
"ipnet",
"js-sys",
"log",
"mime",
"native-tls",
"once_cell",
"percent-encoding",
"pin-project-lite",
"rustls-pemfile 2.1.2",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper 1.0.1",
"system-configuration",
"tokio",
"tokio-native-tls",
"tower-service",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"winreg 0.52.0",
]
[[package]]
name = "ring"
version = "0.17.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
dependencies = [
"cc",
"cfg-if",
"getrandom",
"libc",
"spin",
"untrusted",
"windows-sys 0.52.0",
"winreg",
]
[[package]]
@ -3266,19 +3134,6 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "rustls"
version = "0.23.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05cff451f60db80f490f3c182b77c35260baace73209e9cdbbe526bfe3a4d402"
dependencies = [
"once_cell",
"rustls-pki-types",
"rustls-webpki",
"subtle",
"zeroize",
]
[[package]]
name = "rustls-pemfile"
version = "1.0.4"
@ -3288,33 +3143,6 @@ dependencies = [
"base64 0.21.7",
]
[[package]]
name = "rustls-pemfile"
version = "2.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d"
dependencies = [
"base64 0.22.1",
"rustls-pki-types",
]
[[package]]
name = "rustls-pki-types"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d"
[[package]]
name = "rustls-webpki"
version = "0.102.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e"
dependencies = [
"ring",
"rustls-pki-types",
"untrusted",
]
[[package]]
name = "rustversion"
version = "1.0.17"
@ -3892,17 +3720,6 @@ dependencies = [
"tokio",
]
[[package]]
name = "tokio-rustls"
version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
"rustls",
"rustls-pki-types",
"tokio",
]
[[package]]
name = "tokio-stream"
version = "0.1.15"
@ -4134,7 +3951,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"lqos_config",
"reqwest 0.11.27",
"reqwest",
"serde",
]
@ -4148,7 +3965,6 @@ dependencies = [
"ip_network_table",
"lqos_config",
"pyo3",
"reqwest 0.12.5",
"serde",
"serde_json",
"thiserror",
@ -4242,12 +4058,6 @@ dependencies = [
"subtle",
]
[[package]]
name = "untrusted"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "url"
version = "2.5.2"
@ -4696,16 +4506,6 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "winreg"
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5"
dependencies = [
"cfg-if",
"windows-sys 0.48.0",
]
[[package]]
name = "xdp_iphash_to_cpu_cmdline"
version = "0.1.0"

View File

@ -10,7 +10,6 @@ anyhow = { workspace = true }
env_logger = "0"
log = { workspace = true }
lqos_bus = { path = "../lqos_bus" }
serde = { workspace = true }
serde_cbor = { workspace = true }
sqlite = "0.30.4"
axum = "0.6"

View File

@ -18,5 +18,4 @@ log = { workspace = true }
dashmap = { workspace = true }
pyo3 = { workspace = true }
toml = { workspace = true }
once_cell = { workspace = true}
lqos_utils = { path = "../lqos_utils" }

View File

@ -9,4 +9,3 @@ colored = { workspace = true }
default-net = { workspace = true }
lqos_config = { path = "../lqos_config" }
toml = { workspace = true }
uuid = { workspace = true }

View File

@ -11,7 +11,6 @@ lqos_config = { path = "../lqos_config" }
serde = { workspace = true }
serde_cbor = { workspace = true }
miniz_oxide = { workspace = true }
log = { workspace = true }
libc = "0.2.155"
nix = { workspace = true }
serde_json = { workspace = true }

View File

@ -8,13 +8,11 @@ license = "GPL-2.0-only"
nix = { workspace = true }
libbpf-sys = "1"
anyhow = { workspace = true }
byteorder = { workspace = true }
lqos_bus = { path = "../lqos_bus" }
lqos_config = { path = "../lqos_config" }
log = { workspace = true }
lqos_utils = { path = "../lqos_utils" }
once_cell = { workspace = true}
dashmap = { workspace = true }
thiserror = { workspace = true }
zerocopy = { workspace = true }

View File

@ -28,8 +28,6 @@ log = { workspace = true }
nix = { workspace = true }
sysinfo = { workspace = true }
dashmap = { workspace = true }
num-traits = { workspace = true }
thiserror = { workspace = true }
itertools = "0.12.1"
csv = { workspace = true }
reqwest = { workspace = true }