Cargo Features

[dependencies]
athene = { version = "2.0.4", default-features = false, features = ["full", "macro", "http1", "http2", "validate", "multipart", "download", "cookie", "static_file", "cbor", "msgpack", "websocket"] }
default = http1, macro

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

full = cookie, download, http1, macro, multipart, static_file, validate, websocket
macro default full? = athene_macro
http1 default full?

Enables http1 of hyper

hyper:

HTTP versions

http2

Enables http2 of hyper

validate full? = validator

Enables validate of athene_macro ^0.2.3

multipart full? = multer, multimap, tempfile
download full? = percent-encoding

Enables cookie ^0.17.0

static_file full? = percent-encoding, time
cbor = ciborium
msgpack = rmp-serde
websocket full? = tokio-tungstenite

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.

athene_macro macro validate?

Enables athene_macro ^0.2.3

ciborium cbor?
rmp-serde msgpack?
multimap multipart?

Enables multimap ^0.9.0

multer multipart?

Enables multer ^2.1.0

tempfile multipart?
percent-encoding download? static_file?
validator validate?

Enables validator ^0.16.0

time static_file?
tokio-tungstenite websocket?

Enables tokio-tungstenite ^0.20.0