# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "cf-turnstile" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust client for Cloudflare Turnstile" homepage = "https://github.com/sycertech/cf-turnstile" readme = "README.md" keywords = [ "cloduflare", "turnstile", "recaptcha", "captcha", ] categories = [ "api-bindings", "asynchronous", "web-programming::http-client", ] license = "MIT" repository = "https://github.com/sycertech/cf-turnstile" [lib] name = "cf_turnstile" path = "src/lib.rs" [dependencies.http-body-util] version = "0.1" default-features = false [dependencies.hyper] version = "1" default-features = false [dependencies.hyper-hickory] version = "0.7" optional = true default-features = false [dependencies.hyper-rustls] version = "0.27.3" features = [ "http1", "http2", "ring", ] optional = true default-features = false [dependencies.hyper-tls] version = "0.6" features = ["alpn"] optional = true default-features = false [dependencies.hyper-util] version = "0.1.2" features = [ "client-legacy", "http1", "http2", "tokio", ] default-features = false [dependencies.secrecy] version = "0.8.0" [dependencies.serde] version = "1" features = ["derive"] default-features = false [dependencies.serde_json] version = "1" features = ["std"] default-features = false [dependencies.thiserror] version = "1" [dependencies.uuid] version = "1" features = [ "v4", "serde", ] optional = true [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "test-util", "macros", ] default-features = false [features] default = ["rustls-native-roots"] hickory = ["dep:hyper-hickory"] idempotency = ["dep:uuid"] integration = ["idempotency"] native-tls = ["dep:hyper-tls"] rustls-native-roots = [ "dep:hyper-rustls", "hyper-rustls?/native-tokio", ] rustls-webpki-roots = [ "dep:hyper-rustls", "hyper-rustls?/webpki-tokio", ]