# 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 = "stormdrain"
version = "0.1.0"
authors = ["Joe Borg <joe@josephb.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A BitTorrent client library"
readme = "README.md"
license = "GPL-3.0-or-later"

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

[[bin]]
name = "stormdrain"
path = "src/bin/stormdrain/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.18"

[dependencies.num-bigint]
version = "0.4"

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
