File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,3 @@ script:
2222 else
2323 cargo test;
2424 fi
25- - if [ -z "$TEST_IOS" ]; then
26- rustdoc --test README.md -L target/debug/deps -L target/debug;
27- fi;
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ description = "A wrapper over a platform's native TLS implementation"
77repository = " https://github.com/sfackler/rust-native-tls"
88readme = " README.md"
99
10+ [features ]
11+ vendored = [" openssl/vendored" ]
12+
1013[target .'cfg(any(target_os = "macos", target_os = "ios"))' .dependencies ]
1114security-framework = " 0.2.1"
1215security-framework-sys = " 0.2.1"
@@ -18,7 +21,7 @@ tempfile = "3.0"
1821schannel = " 0.1.13"
1922
2023[target .'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))' .dependencies ]
21- openssl = " 0.10.9 "
24+ openssl = " 0.10.11 "
2225openssl-sys = " 0.9.30"
2326openssl-probe = " 0.1"
2427
Original file line number Diff line number Diff line change 3131//! * Includes hostname verification for clients
3232//! * Supports asynchronous I/O for both the server and the client
3333//!
34+ //! # Cargo Features
35+ //!
36+ //! * `vendored` - If enabled, the crate will compile and statically link to a
37+ //! vendored copy of OpenSSL. This feature has no effect on Windows and
38+ //! macOS, where OpenSSL is not used.
39+ //!
3440//! # Examples
3541//!
3642//! To connect as a client to a remote server:
You can’t perform that action at this time.
0 commit comments