1 | [package] |
2 | name = "tokio-native-tls" |
3 | # When releasing to crates.io: |
4 | # - Remove path dependencies |
5 | # - Update html_root_url. |
6 | # - Update doc url |
7 | # - Cargo.toml |
8 | # - README.md |
9 | # - Update CHANGELOG.md. |
10 | # - Create "v0.1.x" git tag. |
11 | version = "0.3.1" |
12 | edition = "2018" |
13 | authors = ["Tokio Contributors <team@tokio.rs>" ] |
14 | license = "MIT" |
15 | repository = "https://github.com/tokio-rs/tls" |
16 | homepage = "https://tokio.rs" |
17 | documentation = "https://docs.rs/tokio-native-tls" |
18 | description = "" " |
19 | An implementation of TLS/SSL streams for Tokio using native-tls giving an implementation of TLS |
20 | for nonblocking I/O streams. |
21 | " "" |
22 | categories = ["asynchronous" , "network-programming" ] |
23 | |
24 | [dependencies] |
25 | native-tls = "0.2" |
26 | tokio = "1.0" |
27 | |
28 | [features] |
29 | vendored = ["native-tls/vendored" ] |
30 | |
31 | [dev-dependencies] |
32 | tokio = { version = "1.0" , features = ["macros" , "rt" , "rt-multi-thread" , "io-util" , "net" ] } |
33 | tokio-util = { version = "0.6.0" , features = ["full" ] } |
34 | |
35 | cfg-if = "0.1" |
36 | env_logger = { version = "0.6" , default-features = false } |
37 | futures = { version = "0.3.0" , features = ["async-await" ] } |
38 | |
39 | tempfile = "3.1" |
40 | lazy_static = "1.4.0" |
41 | |
42 | [target.'cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))'.dev-dependencies] |
43 | openssl = "0.10" |
44 | |
45 | [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dev-dependencies] |
46 | security-framework = "0.2" |
47 | |
48 | [target.'cfg(windows)'.dev-dependencies] |
49 | schannel = "0.1" |
50 | |
51 | [target.'cfg(windows)'.dev-dependencies.winapi] |
52 | version = "0.3" |
53 | features = [ |
54 | "lmcons" , |
55 | "basetsd" , |
56 | "minwinbase" , |
57 | "minwindef" , |
58 | "ntdef" , |
59 | "sysinfoapi" , |
60 | "timezoneapi" , |
61 | "wincrypt" , |
62 | "winerror" , |
63 | ] |
64 | |
65 | [package.metadata.docs.rs] |
66 | all-features = true |
67 | |