Cargo Features

[dependencies]
brchd = { version = "0.1.0", default-features = false, features = ["dynamic-libsodium", "native-tls", "rustls", "crypto", "httpd", "spider"] }
default = crypto, dynamic-libsodium, httpd, native-tls, spider

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

dynamic-libsodium default

Enables use-pkg-config of sodiumoxide

crypto

native-tls default

Enables native-tls of reqwest ^0.10.2

reqwest:

Enables native-tls specific functionality not available by default.

rustls

Enables rustls-tls of reqwest ^0.10.2

crypto default = base64, base64-serde, nom, sodiumoxide

Affects brchd::crypto

httpd default = actix-multipart, actix-rt, actix-service, actix-web, futures

Affects brchd::httpd

spider default = html5ever, markup5ever_rcdom

Affects brchd::html, brchd::spider

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

sodiumoxide crypto dynamic-libsodium
nom crypto

Enables nom ^6

base64 crypto

Enables base64 ^0.13

base64-serde crypto

Enables base64-serde ^0.6.0

actix-rt httpd

Enables actix-rt ^1.0.0

httpd

actix-web httpd

Enables actix-web ^3.0.0

actix-service httpd

Enables actix-service ^1.0.5

actix-multipart httpd

Enables actix-multipart ^0.3.0

futures httpd
html5ever spider

Enables html5ever ^0.25

spider

markup5ever_rcdom spider

Enables markup5ever_rcdom ^0.1.0