[package] name = "bencodex-rs" version = "0.5.0" authors = ["moreal "] edition = "2021" description = "The Rust implementation of Bencodex" license = "MIT" keywords = ["bencodex", "encoding", "decoding"] homepage = "https://github.com/bencodex/bencodex-rs" repository = "https://github.com/bencodex/bencodex-rs" documentation = "https://docs.rs/crate/bencodex-rs" [lib] name = "bencodex" path = "src/lib.rs" [[bin]] name = "bencodex" path = "src/main.rs" required-features = ["json-cli"] [features] json = ["serde_json", "hex", "base64"] json-cli = ["json", "clap"] test = ["base64"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] itertools = "0.13.0" num-traits = "0.2.19" num-bigint = "0.4.6" hex = { version = "0.4.3", optional = true } base64 = { version = "0.22.1", optional = true } clap = { version = "4.5.8", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } [dev-dependencies] yaml-rust = "0.4.5" syn = "2.0.68" quote = "1.0.36"