rqbit/crates/librqbit_core/Cargo.toml
2025-06-05 11:52:50 +01:00

37 lines
1.2 KiB
TOML

[package]
name = "librqbit-core"
version = "5.0.0"
edition = "2021"
description = "Important utilities used throughout librqbit useful for working with torrents."
license = "Apache-2.0"
documentation = "https://docs.rs/librqbit-core"
repository = "https://github.com/ikatson/rqbit"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["sha1-crypto-hash"]
sha1-crypto-hash = ["bencode/sha1-crypto-hash"]
sha1-ring = ["bencode/sha1-ring"]
[dependencies]
tracing = "0.1.40"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
hex = "0.4"
anyhow = "1"
url = { version = "2", default-features = false }
rand = "0.9"
parking_lot = "0.12"
serde = { version = "1", features = ["derive"] }
buffers = { path = "../buffers", package = "librqbit-buffers", version = "4.2" }
bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "3.1" }
clone_to_owned = { path = "../clone_to_owned", package = "librqbit-clone-to-owned", version = "3" }
itertools = "0.14"
directories = "6"
tokio-util = "0.7.10"
data-encoding = "2.6.0"
bytes = "1.7.1"
assert_cfg = "0.1.0"
[dev-dependencies]
serde_json = "1"