fixing cargo publish

This commit is contained in:
Igor Katson 2025-01-06 17:32:35 +00:00
parent a82c882d4e
commit a4829c6997
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 8 additions and 2 deletions

View file

@ -8,7 +8,13 @@ documentation = "https://docs.rs/librqbit-dht"
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-crypto-hash"]
sha1-crypto-hash = [
"bencode/sha1-crypto-hash",
"librqbit-core/sha1-crypto-hash",
]
sha1-ring = ["bencode/sha1-ring", "librqbit-core/sha1-ring"]
[dependencies]
tokio = { version = "1", features = [

View file

@ -55,7 +55,7 @@ librqbit-core = { path = "../librqbit_core", default-features = false, version =
clone_to_owned = { path = "../clone_to_owned", package = "librqbit-clone-to-owned", version = "3" }
peer_binary_protocol = { path = "../peer_binary_protocol", default-features = false, package = "librqbit-peer-protocol", version = "4.1" }
sha1w = { path = "../sha1w", default-features = false, package = "librqbit-sha1-wrapper", version = "4.1" }
dht = { path = "../dht", package = "librqbit-dht", version = "5.2.0" }
dht = { path = "../dht", package = "librqbit-dht", default-features = false, version = "5.2.0" }
librqbit-upnp = { path = "../upnp", version = "1" }
upnp-serve = { path = "../upnp-serve", package = "librqbit-upnp-serve", default-features = false, version = "1", optional = true }