diff options
| author | Steven Fackler <[email protected]> | 2016-08-09 21:58:48 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-08-09 22:02:49 -0700 |
| commit | 0854632ff5c5c340e3300951dd06a767a16b11db (patch) | |
| tree | 14f59dd5701032070c1f17c3c5eab43d8e72a67e /openssl/Cargo.toml | |
| parent | Remove rust_SSL_clone (diff) | |
| download | rust-openssl-0854632ff5c5c340e3300951dd06a767a16b11db.tar.xz rust-openssl-0854632ff5c5c340e3300951dd06a767a16b11db.zip | |
Make c_helpers optional
Diffstat (limited to 'openssl/Cargo.toml')
| -rw-r--r-- | openssl/Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openssl/Cargo.toml b/openssl/Cargo.toml index 4f7243b9..4669f7e5 100644 --- a/openssl/Cargo.toml +++ b/openssl/Cargo.toml @@ -26,6 +26,10 @@ rfc5114 = ["openssl-sys/rfc5114"] ecdh_auto = ["openssl-sys/ecdh_auto"] pkcs5_pbkdf2_hmac = ["openssl-sys/pkcs5_pbkdf2_hmac"] +c_helpers = ["gcc"] +x509_clone = ["c_helpers"] +ssl_context_clone = ["c_helpers"] + [dependencies] bitflags = ">= 0.5.0, < 0.8.0" lazy_static = "0.2" @@ -34,7 +38,7 @@ openssl-sys = { version = "0.7.14", path = "../openssl-sys" } openssl-sys-extras = { version = "0.7.14", path = "../openssl-sys-extras" } [build-dependencies] -gcc = "0.3" +gcc = { version = "0.3", optional = true } [dev-dependencies] rustc-serialize = "0.3" |