2021-07-03 19:10:59 +01:00
|
|
|
[package]
|
2023-11-15 13:54:19 +00:00
|
|
|
name = "librqbit-peer-protocol"
|
2023-12-03 12:14:50 +00:00
|
|
|
version = "3.2.1"
|
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
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
2023-11-15 14:20:21 +00:00
|
|
|
[features]
|
|
|
|
|
default = ["sha1-system"]
|
|
|
|
|
sha1-system = ["bencode/sha1-system", "librqbit-core/sha1-system"]
|
|
|
|
|
sha1-openssl = ["bencode/sha1-openssl", "librqbit-core/sha1-openssl"]
|
|
|
|
|
sha1-rust = ["bencode/sha1-rust", "librqbit-core/sha1-rust"]
|
|
|
|
|
|
2021-07-03 19:10:59 +01:00
|
|
|
[dependencies]
|
|
|
|
|
serde = {version = "1", features = ["derive"]}
|
|
|
|
|
bincode = "1"
|
|
|
|
|
byteorder = "1"
|
2023-11-15 13:48:50 +00:00
|
|
|
buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"}
|
2023-11-15 13:50:56 +00:00
|
|
|
bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"}
|
2023-11-15 13:47:26 +00:00
|
|
|
clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
|
2023-12-03 12:14:50 +00:00
|
|
|
librqbit-core = {path="../librqbit_core", version = "3.2.1"}
|
2022-12-04 13:11:40 +00:00
|
|
|
bitvec = "1"
|
2021-07-03 19:10:59 +01:00
|
|
|
anyhow = "1"
|