tls-async 0.3.0-alpha.5

TLS support for AsyncRead/AsyncWrite using native-tls
docs.rs failed to build tls-async-0.3.0-alpha.5
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.
Visit the last successful build: tls-async-0.3.0-alpha.7

tls-async

build status crates.io version docs.rs docs MIT licensed

This is an experimental fork of tokio-tls on top of Futures 0.3 AsyncRead, AsyncWrite, and Compat. It is primarily intended for usage with Romio.

An implementation of TLS/SSL streams for Futures 0.3 built on top of the native-tls crate

Documentation

Usage

First, add this to your Cargo.toml:

[dependencies]
tls-async = "0.3.0-alpha.5"

Next, add this to your crate:

use tls_async::{TlsConnector, TlsAcceptor};

You can find few examples how to use this crate in tests directory.

By default the native-tls crate currently uses the "platform appropriate" backend for a TLS implementation. This means:

Typically these selections mean that you don't have to worry about a portability when using TLS, these libraries are all normally installed by default.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tls-async by you, shall be licensed as MIT, without any additional terms or conditions.