docs.rs failed to build native-tls-gmssl-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
native-tls-gmssl
An abstraction over platform-specific TLS implementations.
Specifically, this crate uses SChannel on Windows (via the schannel
crate),
Secure Transport on macOS (via the security-framework
crate), and OpenSSL (via
the [gmssl
] crate) on all other platforms.
Installation
# Cargo.toml
[]
= "0.2"
Usage
An example client looks like:
extern crate native_tls_gmssl;
use TlsConnector;
use ;
use TcpStream;
To accept connections as a server from remote clients:
extern crate native_tls_gmssl;
use ;
use File;
use ;
use ;
use Arc;
use thread;
License
native-tls-gmssl
is primarily distributed under the terms of both the MIT
license and the Apache License (Version 2.0), with portions covered by various
BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.