# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bencodex-rs" version = "0.5.0" authors = ["moreal "] description = "The Rust implementation of Bencodex" homepage = "https://github.com/bencodex/bencodex-rs" documentation = "https://docs.rs/crate/bencodex-rs" readme = "README.md" keywords = [ "bencodex", "encoding", "decoding", ] license = "MIT" repository = "https://github.com/bencodex/bencodex-rs" [lib] name = "bencodex" path = "src/lib.rs" [[bin]] name = "bencodex" path = "src/main.rs" required-features = ["json-cli"] [dependencies.base64] version = "0.22.1" optional = true [dependencies.clap] version = "4.5.8" features = ["derive"] optional = true [dependencies.hex] version = "0.4.3" optional = true [dependencies.itertools] version = "0.13.0" [dependencies.num-bigint] version = "0.4.6" [dependencies.num-traits] version = "0.2.19" [dependencies.serde_json] version = "1.0" optional = true [dev-dependencies.quote] version = "1.0.36" [dev-dependencies.syn] version = "2.0.68" [dev-dependencies.yaml-rust] version = "0.4.5" [features] json = [ "serde_json", "hex", "base64", ] json-cli = [ "json", "clap", ] test = ["base64"]