mtorrent 0.4.2

Fast and lightweight BitTorrent client in Rust
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 = "mtorrent"
version = "0.4.2"
authors = ["Mikhail Vasilyev <mikail.vasilyev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast and lightweight BitTorrent client in Rust"
readme = "README.md"
keywords = [
    "bittorrent",
    "torrent",
    "client",
    "p2p",
    "protocol",
]
categories = [
    "asynchronous",
    "network-programming",
    "security",
]
license = "Apache-2.0"
repository = "https://github.com/DanglingPointer/mtorrent"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--cfg",
    "tokio_unstable",
]
rustc-args = [
    "--cfg",
    "tokio_unstable",
]

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

[dependencies.bytes]
version = "1.11"

[dependencies.derive_more]
version = "2.1"
features = [
    "from",
    "display",
    "debug",
    "deref",
]

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.local_async_utils]
version = "0.2.13"
features = ["tokio"]

[dependencies.log]
version = "0.4"

[dependencies.mtorrent-core]
version = "0"

[dependencies.mtorrent-dht]
version = "0"

[dependencies.mtorrent-utils]
version = "0"

[dependencies.rand]
version = "0.10"
features = ["thread_rng"]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.50"
features = [
    "rt",
    "net",
    "time",
    "io-util",
    "sync",
    "macros",
]

[dependencies.tokio-util]
version = "0.7"

[dev-dependencies.mockall]
version = "0.14"

[dev-dependencies.rstest]
version = "0.26"
default-features = false

[dev-dependencies.rstest_reuse]
version = "0.7"
default-features = false

[dev-dependencies.simple_logger]
version = "5"
features = ["threads"]

[dev-dependencies.tokio-test]
version = "0.4"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]