Cargo Features

[dependencies]
actix-telegram = { version = "0.1.0-alpha9", default-features = false, features = ["server", "tls-server", "rust-tls", "ssl", "tls"] }
default = rust-tls, tls-server

These default features are set whenever actix-telegram is added without default-features = false somewhere in the dependency tree.

server tls-server

Affects actors::telegram_server

tls-server default = server
rust-tls default = rustls

Enables rust-tls of actix-net and actix-web ^0.7.18

actix-net:

rustls

Affects tls_server::KeyKind, tls_server::RustlsKey, tls_server::RustlsCert

ssl = openssl

Enables ssl of actix-net and actix-web ^0.7.18

actix-net:

openssl

Affects tls_server::OpensslKey, tls_server::OpensslCert

tls = native-tls

Enables tls of actix-net and actix-web ^0.7.18

Affects tls_server::NativeTlsKey, tls_server::NativeTlsCert

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rustls rust-tls

Enables rustls ^0.14

openssl ssl?
native-tls tls?