Cargo Features

[dependencies]
gel-stream = { version = "0.1.1", default-features = false, features = ["full", "server", "tokio", "rustls", "openssl", "hickory", "keepalive"] }
default = tokio

rustls or openssl imply tokio, and tokio is the only stream we support at this time.

full = client, hickory, keepalive, openssl, rustls, server, tokio
client server full?
tokio default full? openssl? rustls?

Enables tokio

Affects common::tokio_stream, common::BaseStream, stream::Stream

rustls full? = tokio

Enables rustls, rustls-platform-verifier, rustls-tokio-stream, webpki, and webpki-roots

Affects common::rustls, tls::Ssl

openssl full? = tokio

Enables foreign-types ^0.3, openssl, openssl-probe, openssl-sys, tokio-openssl, and webpki-root-certs

foreign-types:

Get these from openssl

Affects common::openssl, tls::Ssl

hickory full?

Enables hickory-resolver

keepalive full?

Enables socket2