Cargo Features

[dependencies]
cf-turnstile = { version = "0.2.0", default-features = false, features = ["idempotency", "native-tls", "rustls-native-roots", "rustls-webpki-roots", "hickory", "integration"] }
default = rustls-native-roots

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

idempotency integration?

Enables uuid

Affects cf-turnstile::SiteVerifyRequest.idempotency_key, cf-turnstile::generate_indepotency_key

native-tls

Enables hyper-tls

Affects connector::Connector

rustls-native-roots default

Enables native-tokio of hyper-rustls

Affects connector::Connector

rustls-webpki-roots

Enables webpki-tokio of hyper-rustls

Affects connector::Connector

hickory

Enables hyper-hickory

integration = idempotency