# 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 = "2024" name = "bendy" version = "0.6.1" authors = [ "P3KI ", "TQ Hirsch ", "Bruno Kirschner ", "Oliver Uvman ", ] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = """ A rust library for encoding and decoding bencode with enforced canonicalization rules. """ readme = "README.md" keywords = [ "bencode", "serialization", "deserialization", "bittorent", ] categories = [ "encoding", "no-std", ] license = "BSD-3-Clause" repository = "https://github.com/P3KI/bendy" [package.metadata.docs.rs] all-features = true [badges.maintenance] status = "actively-developed" [badges.travis-ci] repository = "P3KI/bendy" [features] debug = [] default = ["std"] inspect = ["smallvec"] serde = [ "serde_", "serde_bytes", ] std = ["thiserror/std"] [lib] name = "bendy" path = "src/lib.rs" [[example]] name = "decode_torrent" path = "examples/decode_torrent.rs" [[example]] name = "encode_torrent" path = "examples/encode_torrent.rs" required-features = ["std"] [[test]] name = "core_test" path = "tests/core_test.rs" required-features = ["std"] [[test]] name = "struct_codec" path = "tests/struct_codec.rs" [dependencies.rustversion] version = "1.0.4" [dependencies.serde_] version = "^1.0" optional = true package = "serde" [dependencies.serde_bytes] version = "^0.11.3" optional = true [dependencies.smallvec] version = "^1.15.1" optional = true [dependencies.thiserror] version = "^2.0.14" default-features = false [dev-dependencies.doc-comment] version = "0.3.3" [dev-dependencies.regex] version = "^1.0" [dev-dependencies.serde_derive] version = "^1.0" [dev-dependencies.smallvec] version = "^1.15.1"