rqbit/crates/bencode/Cargo.toml
Igor Katson 1bcc16c327 Another attempt to make it possible to build without openssl.
You'll need to cd into crates/rqbit to build with selective features.
2021-09-30 09:00:40 +01:00

19 lines
No EOL
509 B
TOML

[package]
name = "bencode"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["sha1-openssl"]
sha1-system = ["sha1w/sha1-system"]
sha1-openssl = ["sha1w/sha1-openssl"]
sha1-rust = ["sha1w/sha1-openssl"]
[dependencies]
serde = {version = "1", features=["derive"]}
buffers = {path = "../buffers"}
clone_to_owned = {path = "../clone_to_owned"}
anyhow = "1"
sha1w = {path="../sha1w", default-features=false}