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:
parent
f40a227459
commit
1bcc16c327
6 changed files with 16 additions and 10 deletions
|
|
@ -5,9 +5,15 @@ 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"}
|
||||
sha1w = {path="../sha1w", default-features=false}
|
||||
Loading…
Add table
Add a link
Reference in a new issue