[package] name = "rtx-federated" version = "1.0.0" edition.workspace = true rust-version = "1.92" authors = ["Claude AI Assistant"] license = "MIT" description = "Advanced federated learning platform with comprehensive privacy-preserving distributed learning" keywords = ["federated-learning", "privacy", "distributed", "machine-learning", "rtx"] categories = ["science", "algorithms", "cryptography", "network-programming"] [dependencies] # Essential dependencies anyhow = "1.0" thiserror = "2" tracing = "0.1" tracing-subscriber = "0.3" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1.0", features = ["full"] } futures = "0.3" async-trait = "0.1" # Math and crypto nalgebra.workspace = true rand = "0.8" num-complex = "0.4" sha2 = "0.10" base64 = "0.22" # Collections and concurrency indexmap = "2.0" dashmap = "6.0" parking_lot = "0.12" crossbeam = "0.8" rayon = "1.8" # Networking and serialization reqwest = { version = "0.12", features = ["json"] } bincode = "1.3" uuid = { version = "1.0", features = ["v4", "serde"] } # Time and timing chrono = { version = "0.4", features = ["serde"] } # Specialized federated learning dependencies curve25519-dalek = "4.1" ed25519-dalek = "2.1" aes-gcm = "0.10" chacha20poly1305 = "0.10" ring = "0.17" x25519-dalek = "2.0" hkdf = "0.12" # Differential privacy statrs = { workspace = true, optional = true } ndarray = { version = "0.15", optional = true } # Homomorphic encryption tfhe = { version = "0.7", optional = true } # Byzantine fault tolerance # Meta-learning support # tch = { version = "0.13", optional = true } # Removed: PyTorch dependency [dev-dependencies] tokio-test = "0.4" proptest = "1.4" criterion = { version = "0.5", features = ["html_reports"] } tempfile = "3.0" [features] default = ["standard"] standard = ["differential-privacy", "byzantine-robust"] differential-privacy = ["statrs", "ndarray"] homomorphic-encryption = ["tfhe"] byzantine-robust = [] # meta-learning = ["tch"] # Removed: PyTorch feature no longer available simulation = ["tokio/test-util"] [[bench]] name = "federated_bench" harness = false [[example]] name = "federated_demo" required-features = ["standard"] [lints] workspace = true