Browse Source

Prepare the Cargo.toml files for a different crypto library

pull/35/head
Rodolphe Breard 4 years ago
parent
commit
88f83bafe4
  1. 7
      acme_common/Cargo.toml
  2. 6
      acmed/Cargo.toml
  3. 4
      tacd/Cargo.toml

7
acme_common/Cargo.toml

@ -12,6 +12,9 @@ publish = false
[lib] [lib]
name = "acme_common" name = "acme_common"
[features]
openssl_dyn = ["openssl", "openssl-sys"]
[dependencies] [dependencies]
attohttpc = { version = "0.15", default-features = false } attohttpc = { version = "0.15", default-features = false }
base64 = "0.12" base64 = "0.12"
@ -20,8 +23,8 @@ env_logger = "0.7"
handlebars = "3.0" handlebars = "3.0"
log = "0.4" log = "0.4"
native-tls = "0.2" native-tls = "0.2"
openssl = "0.10"
openssl-sys = "0.9"
openssl = { version = "0.10", optional = true }
openssl-sys = { version = "0.9", optional = true }
punycode = "0.4" punycode = "0.4"
serde_json = "1.0" serde_json = "1.0"
syslog = "5.0" syslog = "5.0"

6
acmed/Cargo.toml

@ -12,9 +12,13 @@ include = ["src/**/*", "Cargo.toml", "LICENSE-*.txt"]
build = "build.rs" build = "build.rs"
publish = false publish = false
[features]
default = ["openssl_dyn"]
openssl_dyn = ["acme_common/openssl_dyn", "attohttpc/tls"]
[dependencies] [dependencies]
acme_common = { path = "../acme_common" } acme_common = { path = "../acme_common" }
attohttpc = { version = "0.15", features = ["charsets", "json"] }
attohttpc = { version = "0.15", default-features = false, features = ["charsets", "json"] }
clap = "2.32" clap = "2.32"
handlebars = "3.0" handlebars = "3.0"
log = "0.4" log = "0.4"

4
tacd/Cargo.toml

@ -11,6 +11,10 @@ license = "MIT OR Apache-2.0"
include = ["src/**/*", "Cargo.toml", "LICENSE-*.txt"] include = ["src/**/*", "Cargo.toml", "LICENSE-*.txt"]
publish = false publish = false
[features]
default = ["openssl_dyn"]
openssl_dyn = ["acme_common/openssl_dyn"]
[dependencies] [dependencies]
acme_common = { path = "../acme_common" } acme_common = { path = "../acme_common" }
clap = "2.32" clap = "2.32"

Loading…
Cancel
Save