Cargo Features

[dependencies]
yukikaze = { version = "1.0.10", default-features = false, features = ["rustls-on", "encoding", "websocket", "docs", "carry_extensions"] }
default = compu, rustls-on

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

rustls-on default = tokio-rustls, webpki-roots

Enables usage of rustls, which replaces default connectors

Affects config::DefaultConnector, connector::rustls

encoding = encoding_rs

Enables encoding/decoding of text content

Affects body::text_charset, body::json_charset, body::text_charset_notify, body::json_charset_notify

websocket = carry_extensions, ring

Enables websocket upgrade

Affects upgrade::websocket

docs

Specifies that documentation is being generated

Enables docs of compu ^0.5.1

Affects client::generated

carry_extensions websocket?

Stores request's Extensions in response's Extensions

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.

compu default docs?

Enables compu ^0.5.1

ring websocket?

Enables ring ^0.16

We should use the same version as ring

tokio-rustls rustls-on

Enables tokio-rustls ^0.14

webpki-roots rustls-on

Enables webpki-roots ^0.20

encoding_rs encoding?