1 | [package] |
2 | name = "native-tls" |
3 | version = "0.2.14" |
4 | authors = ["Steven Fackler <sfackler@gmail.com>" ] |
5 | license = "MIT OR Apache-2.0" |
6 | description = "A wrapper over a platform's native TLS implementation" |
7 | repository = "https://github.com/sfackler/rust-native-tls" |
8 | readme = "README.md" |
9 | rust-version = "1.80.0" |
10 | |
11 | [package.metadata.docs.rs] |
12 | features = ["alpn" ] |
13 | rustdoc-args = ["--cfg" , "docsrs" ] |
14 | |
15 | [features] |
16 | vendored = ["openssl/vendored" ] |
17 | alpn = ["security-framework/alpn" ] |
18 | |
19 | [target.'cfg(target_vendor = "apple")'.dependencies] |
20 | security-framework = "2.0.0" |
21 | security-framework-sys = "2.0.0" |
22 | libc = "0.2" |
23 | |
24 | [target.'cfg(target_os = "macos")'.dependencies] |
25 | tempfile = "3.1.0" |
26 | |
27 | [target.'cfg(target_os = "windows")'.dependencies] |
28 | schannel = "0.1.17" |
29 | |
30 | [target.'cfg(not(any(target_os = "windows", target_vendor = "apple")))'.dependencies] |
31 | log = "0.4.5" |
32 | openssl = "0.10.69" |
33 | openssl-sys = "0.9.81" |
34 | openssl-probe = "0.1" |
35 | |
36 | [dev-dependencies] |
37 | tempfile = "3.0" |
38 | test-cert-gen = "0.9" |
39 | |