Add scripts to build for x86_64 linux too
This commit is contained in:
parent
60b7d4a531
commit
27145c758c
5 changed files with 138 additions and 11 deletions
|
|
@ -9,7 +9,7 @@ edition = "2018"
|
|||
default = ["sha1-system"]
|
||||
sha1-system = ["sha1w/sha1-system"]
|
||||
sha1-openssl = ["sha1w/sha1-openssl"]
|
||||
sha1-rust = ["sha1w/sha1-openssl"]
|
||||
sha1-rust = ["sha1w/sha1-rust"]
|
||||
|
||||
[dependencies]
|
||||
serde = {version = "1", features=["derive"]}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,12 @@ authors = ["Igor Katson <igor.katson@gmail.com>"]
|
|||
edition = "2018"
|
||||
|
||||
[features]
|
||||
default = ["sha1-system"]
|
||||
default = ["sha1-system", "default-tls"]
|
||||
sha1-system = ["sha1w/sha1-system"]
|
||||
sha1-openssl = ["sha1w/sha1-openssl"]
|
||||
sha1-rust = ["sha1w/sha1-openssl"]
|
||||
sha1-rust = ["sha1w/sha1-rust"]
|
||||
default-tls = ["reqwest/default-tls"]
|
||||
rust-tls = ["reqwest/rustls-tls"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
@ -28,7 +30,7 @@ serde_json = "1"
|
|||
anyhow = "1"
|
||||
|
||||
regex = "1"
|
||||
reqwest = "0.11"
|
||||
reqwest = {version="0.11", default-features=false}
|
||||
urlencoding = "1"
|
||||
byteorder = "1"
|
||||
bincode = "1"
|
||||
|
|
|
|||
|
|
@ -6,10 +6,12 @@ authors = ["Igor Katson <igor.katson@gmail.com>"]
|
|||
edition = "2018"
|
||||
|
||||
[features]
|
||||
default = ["sha1-system"]
|
||||
default = ["sha1-system", "default-tls"]
|
||||
sha1-system = ["librqbit/sha1-system"]
|
||||
sha1-openssl = ["librqbit/sha1-openssl"]
|
||||
sha1-rust = ["librqbit/sha1-rust"]
|
||||
default-tls = ["librqbit/default-tls"]
|
||||
rust-tls = ["librqbit/rust-tls"]
|
||||
|
||||
[dependencies]
|
||||
librqbit = {path="../librqbit", default-features=false}
|
||||
|
|
@ -19,7 +21,6 @@ anyhow = "1"
|
|||
clap = "3.0.0-beta.2"
|
||||
log = "0.4"
|
||||
pretty_env_logger = "0.4"
|
||||
reqwest = "0.11"
|
||||
regex = "1"
|
||||
futures = "0.3"
|
||||
parse_duration = "2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue