Another attempt to make it possible to build without openssl.

You'll need to cd into crates/rqbit to build with selective features.
This commit is contained in:
Igor Katson 2021-09-30 09:00:40 +01:00
parent f40a227459
commit 1bcc16c327
6 changed files with 16 additions and 10 deletions

View file

@ -7,12 +7,12 @@ edition = "2018"
[features]
default = ["sha1-openssl"]
sha1-system = ["librqbit/crypto-hash"]
sha1-openssl = ["librqbit/openssl"]
sha1-rust = ["librqbit/sha1"]
sha1-system = ["librqbit/sha1-system"]
sha1-openssl = ["librqbit/sha1-openssl"]
sha1-rust = ["librqbit/sha1-rust"]
[dependencies]
librqbit = {path="../librqbit"}
librqbit = {path="../librqbit", default-features=false}
dht = {path="../dht"}
tokio = {version = "1", features = ["macros", "rt-multi-thread"]}
anyhow = "1"