fixing cargo publish

This commit is contained in:
Igor Katson 2025-01-06 17:38:36 +00:00
parent 559d933ac5
commit bc5e23bf6d
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -8,6 +8,14 @@ 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"] }