Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

Commit 10f1b0b

Browse files
committed
chore(deps): remove unused deps and fix lru advisory
Remove chrono (zero imports), xmlwriter (zero imports), and ipnet (single unused error variant) from dependencies. Remove unused chrono feature from fake crate. Update lru 0.16.1→0.16.3 to resolve RUSTSEC-2026-0002 (unsound IterMut). Remove dead ConfigError::Network variant that was the sole ipnet consumer. Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
1 parent 3a00c38 commit 10f1b0b

3 files changed

Lines changed: 10 additions & 146 deletions

File tree

Cargo.lock

Lines changed: 8 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ rayon = ["dep:rayon"]
4646
anyhow = "1.0.100"
4747
bumpalo = "3.14" # Arena allocation
4848

49-
# Date/time utilities
50-
chrono = { version = "0.4.42", features = ["serde"] }
5149
# CLI framework with derive macros
5250
clap = { version = "4.5.48", features = ["derive", "color", "suggestions"] }
5351
clap_complete = "4.5.58"
@@ -57,16 +55,15 @@ console = "0.16.1"
5755

5856
# CSV handling
5957
csv = "1.3"
60-
fake = { version = "4.4.0", features = ["derive", "chrono", "uuid"] }
58+
fake = { version = "4.4.0", features = ["derive", "uuid"] }
6159

6260
# Progress indicators for CLI
6361
indicatif = "0.18.0"
6462

6563
# Networking utilities
66-
ipnet = "2.11.0"
6764
ipnetwork = "0.21.1"
6865
lazy_static = "1.5.0" # Lazy static initialization
69-
lru = "0.16.1" # Template caching
66+
lru = "0.16.3" # Template caching
7067

7168
# XML processing
7269
quick-xml = { version = "0.38.3", features = ["serialize"] }
@@ -87,7 +84,6 @@ smallvec = "1.15.1" # Stack-allocated vectors
8784
# Error handling
8885
thiserror = "2.0.17"
8986
uuid = { version = "1.18.1", features = ["v4", "serde"] }
90-
xmlwriter = "0.1.0" # Streaming XML writing
9187

9288
[dev-dependencies]
9389
arbitrary = { version = "1.4.2", features = ["derive"] }

src/model/error.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ pub enum ConfigError {
2121
#[error("JSON operation failed: {0}")]
2222
Json(#[from] serde_json::Error),
2323

24-
/// Network address parsing failed
25-
#[error("Network address parsing failed: {0}")]
26-
Network(#[from] ipnet::AddrParseError),
27-
2824
/// VLAN configuration generation failed
2925
#[error("VLAN generation failed: {message}")]
3026
VlanGeneration { message: String },

0 commit comments

Comments
 (0)