Preparing peer binary protocol

This commit is contained in:
Igor Katson 2023-11-15 14:20:21 +00:00
parent ce6769eee6
commit dedee6613d
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -2,9 +2,20 @@
name = "librqbit-peer-protocol"
version = "2.2.1"
edition = "2018"
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"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[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"]
[dependencies]
serde = {version = "1", features = ["derive"]}
bincode = "1"