Cargo Features

[dependencies]
rustypaste = { version = "0.16.0", default-features = false, features = ["openssl", "rustls", "tokio"] }
default = rustls

The rustls feature is set by default whenever rustypaste is added without default-features = false somewhere in the dependency tree.

openssl

Enables openssl of actix-web and awc

actix-web:

TLS via OpenSSL

rustls default

Enables rustls-0_21 of actix-web and awc

actix-web:

TLS via Rustls v0.21

Features from optional dependencies

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications