rqbit/crates/peer_binary_protocol/Cargo.toml

32 lines
1.1 KiB
TOML
Raw Normal View History

2021-07-03 19:10:59 +01:00
[package]
name = "librqbit-peer-protocol"
2025-01-06 15:27:44 +00:00
version = "4.2.0"
2023-11-22 23:13:27 +00:00
edition = "2021"
2023-11-15 14:20:21 +00:00
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"
2021-07-03 19:10:59 +01:00
2025-01-06 17:38:36 +00:00
[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"]
2021-07-03 19:10:59 +01:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2024-03-29 21:06:59 +00:00
serde = { version = "1", features = ["derive"] }
2021-07-03 19:10:59 +01:00
bincode = "1"
byteorder = "1"
2025-01-06 15:27:44 +00:00
buffers = { path = "../buffers", package = "librqbit-buffers", version = "4.2" }
2024-08-15 14:46:26 +01:00
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" }
2025-05-25 22:49:44 -04:00
librqbit-core = { path = "../librqbit_core", default-features = false, version = "5" }
2022-12-04 13:11:40 +00:00
bitvec = "1"
anyhow = "1"
bytes = "1.7.1"
2025-01-06 16:04:46 +00:00
itertools = "0.14"