/ abzu-chameleon / Cargo.toml
Cargo.toml
 1  [package]
 2  name = "abzu-chameleon"
 3  description = "Modular traffic pattern generation for Ghost Mode"
 4  version.workspace = true
 5  edition.workspace = true
 6  publish = false
 7  license.workspace = true
 8  authors.workspace = true
 9  
10  [features]
11  default = []
12  histogram = []
13  ml = ["dep:candle-core", "dep:candle-nn", "dep:safetensors"]
14  trained_weights = ["ml"]  # Embeds trained weights into binary
15  train = ["ml", "dep:pcap-parser", "dep:indicatif", "dep:clap"]
16  
17  [dependencies]
18  rand = "0.8"
19  thiserror = "1.0"
20  
21  # ML dependencies (optional)
22  candle-core = { version = "0.8", optional = true }
23  candle-nn = { version = "0.8", optional = true }
24  safetensors = { version = "0.4", optional = true }
25  
26  # Training dependencies (optional)
27  pcap-parser = { version = "0.17", optional = true }
28  indicatif = { version = "0.17", optional = true }
29  clap = { version = "4", features = ["derive"], optional = true }
30  
31  [dev-dependencies]
32  tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
33  
34  [[bin]]
35  name = "chameleon-train"
36  path = "src/bin/train.rs"
37  required-features = ["train"]