[package]
edition = "2024"
name = "babbel_bencode"
version = "0.1.0"
authors = [
"ClockworkEngineer",
"Babbel Contributors",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, binary-safe BitTorrent Bencode parser, serializer, and DOM in pure Rust"
homepage = "https://github.com/clockworkengineer/babbel"
documentation = "https://docs.rs/babbel_bencode"
readme = "README.md"
license = "MIT"
repository = "https://github.com/clockworkengineer/babbel"
[features]
default = [
"std",
"json",
"toml",
"xml",
"yaml",
]
json = []
std = [
"babbel_core/std",
"babbel_core/file-io",
]
toml = []
xml = []
yaml = []
[lib]
name = "babbel_bencode"
path = "src/lib.rs"
[[example]]
name = "bencode_const_generics"
path = "examples/bencode_const_generics.rs"
[[example]]
name = "bencode_create_at_runtime"
path = "examples/bencode_create_at_runtime.rs"
[[example]]
name = "bencode_dictionary_ops"
path = "examples/bencode_dictionary_ops.rs"
[[example]]
name = "bencode_error_handling"
path = "examples/bencode_error_handling.rs"
[[example]]
name = "bencode_fibonacci"
path = "examples/bencode_fibonacci.rs"
[[example]]
name = "bencode_format_conversions"
path = "examples/bencode_format_conversions.rs"
[[example]]
name = "bencode_full"
path = "examples/bencode_full.rs"
[[example]]
name = "bencode_in_memory"
path = "examples/bencode_in_memory.rs"
[[example]]
name = "bencode_iterative"
path = "examples/bencode_iterative.rs"
[[example]]
name = "bencode_lightweight_errors"
path = "examples/bencode_lightweight_errors.rs"
[[example]]
name = "bencode_list_ops"
path = "examples/bencode_list_ops.rs"
[[example]]
name = "bencode_memory_pool"
path = "examples/bencode_memory_pool.rs"
[[example]]
name = "bencode_minimal"
path = "examples/bencode_minimal.rs"
[[example]]
name = "bencode_node_api"
path = "examples/bencode_node_api.rs"
[[example]]
name = "bencode_read_torrent_files"
path = "examples/bencode_read_torrent_files.rs"
[[example]]
name = "bencode_torrent_to_json"
path = "examples/bencode_torrent_to_json.rs"
[[example]]
name = "bencode_torrent_to_toml"
path = "examples/bencode_torrent_to_toml.rs"
[[example]]
name = "bencode_torrent_to_xml"
path = "examples/bencode_torrent_to_xml.rs"
[[example]]
name = "bencode_torrent_to_yaml"
path = "examples/bencode_torrent_to_yaml.rs"
[[example]]
name = "bencode_validation"
path = "examples/bencode_validation.rs"
[[example]]
name = "bencode_zerocopy"
path = "examples/bencode_zerocopy.rs"
[dependencies.babbel_core]
version = "0.1.0"
default-features = false
[dependencies.rand]
version = "0.10.0"
optional = true