31 lines
1.1 KiB
TOML
31 lines
1.1 KiB
TOML
[package]
|
|
name = "librqbit-peer-protocol"
|
|
version = "4.2.0"
|
|
edition = "2021"
|
|
description = "Protocol for working with torrent peers. Used in rqbit torrent client."
|
|
license = "Apache-2.0"
|
|
documentation = "https://docs.rs/librqbit-peer-protocol"
|
|
repository = "https://github.com/ikatson/rqbit"
|
|
readme = "README.md"
|
|
|
|
[features]
|
|
default = ["sha1-crypto-hash"]
|
|
sha1-crypto-hash = [
|
|
"bencode/sha1-crypto-hash",
|
|
"librqbit-core/sha1-crypto-hash",
|
|
]
|
|
sha1-ring = ["bencode/sha1-ring", "librqbit-core/sha1-ring"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
bincode = "1"
|
|
byteorder = "1"
|
|
buffers = { path = "../buffers", package = "librqbit-buffers", version = "4.2" }
|
|
bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "3" }
|
|
clone_to_owned = { path = "../clone_to_owned", package = "librqbit-clone-to-owned", version = "3" }
|
|
librqbit-core = { path = "../librqbit_core", default-features = false, version = "4.1" }
|
|
bitvec = "1"
|
|
anyhow = "1"
|
|
bytes = "1.7.1"
|
|
itertools = "0.14"
|