irontide 1.0.1

A Rust BitTorrent library — ergonomic facade for the irontide crate family
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"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust BitTorrent library — ergonomic facade for the irontide crate family"
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"

[features]
crypto-aws-lc = ["irontide-core/crypto-aws-lc"]
crypto-openssl = ["irontide-core/crypto-openssl"]
crypto-ring = ["irontide-core/crypto-ring"]
default = ["crypto-aws-lc"]
io-uring = ["irontide-session/io-uring"]
iocp = ["irontide-session/iocp"]

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

[[example]]
name = "create"
path = "examples/create.rs"

[[example]]
name = "dht_lookup"
path = "examples/dht_lookup.rs"

[[example]]
name = "download"
path = "examples/download.rs"

[[example]]
name = "regen_qbt_default_hash"
path = "examples/regen_qbt_default_hash.rs"

[[example]]
name = "stream"
path = "examples/stream.rs"

[dependencies.ed25519-dalek]
version = "2"

[dependencies.irontide-bencode]
version = "1"

[dependencies.irontide-core]
version = "1"
default-features = false

[dependencies.irontide-dht]
version = "1"

[dependencies.irontide-nat]
version = "1"

[dependencies.irontide-session]
version = "1"

[dependencies.irontide-storage]
version = "1"

[dependencies.irontide-tracker]
version = "1"

[dependencies.irontide-utp]
version = "1"

[dependencies.irontide-wire]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

[dev-dependencies.serde_bytes]
version = "0.11"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt-multi-thread",
    "time",
    "io-util",
]

[lints.clippy]
await_holding_lock = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
large_enum_variant = "warn"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "deny"
or_fun_call = "deny"
redundant_clone = "deny"
return_self_not_must_use = "deny"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
unchecked_time_subtraction = "deny"
use_self = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1