irontide-bencode 0.165.0

Serde-based bencode serialization for BitTorrent
Documentation
# 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 = "irontide-bencode"
version = "0.165.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serde-based bencode serialization for BitTorrent"
homepage = "https://codeberg.org/alan090/irontide"
readme = false
keywords = [
    "bittorrent",
    "torrent",
    "peer-to-peer",
    "p2p",
    "download",
]
categories = ["network-programming"]
license = "GPL-3.0-or-later"
repository = "https://codeberg.org/alan090/irontide"
resolver = "2"

[lib]
name = "irontide_bencode"
path = "src/lib.rs"

[[test]]
name = "comprehensive"
path = "tests/comprehensive.rs"

[[bench]]
name = "bencode_bench"
path = "benches/bencode_bench.rs"
harness = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.ring]
version = "0.17"

[dev-dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]

[lints.clippy]
await_holding_lock = "deny"
large_enum_variant = "warn"