Skip to content

Commit

Permalink
fixing cargo publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Jan 6, 2025
1 parent 559d933 commit bc5e23b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/peer_binary_protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit bc5e23b

Please sign in to comment.