# 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" rust-version = "1.75" name = "hcaptcha" version = "2.7.6" authors = ["Jeremiah Russell "] build = false include = [ "**/*.rs", "Cargo.toml", "README.md", "LICENSE-APACHE", "LICENSE-MIT", "CHANGES.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ hCaptcha client response verification. Validate the hCaptcha response submitted from to your server from the client. """ documentation = "https://docs.rs/hcaptcha" readme = "README.md" keywords = [ "hcaptcha", "captcha", "security", "backend", "protection", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/jerusdp/hcaptcha-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "hcaptcha" path = "src/lib.rs" [[example]] name = "custom_contact_lambda" path = "examples/custom_contact_lambda/main.rs" [[example]] name = "derived_contact_lambda" path = "examples/derived_contact_lambda/main.rs" [dependencies.async-trait] version = "0.1.83" [dependencies.hcaptcha_derive] version = "2.7.6" [dependencies.hex] version = "0.4.3" optional = true [dependencies.reqwest] version = "0.12.8" features = [ "json", "http2", ] default-features = false [dependencies.serde] version = "1.0.213" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.thiserror] version = "1.0.65" [dependencies.tracing] version = "0.1.40" features = [ "log", "attributes", ] optional = true [dependencies.url] version = "2.5.2" [dependencies.uuid] version = "1.11.0" features = ["v4"] [dev-dependencies.chrono] version = "0.4.38" [dev-dependencies.claims] version = "0.7.1" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.lambda_runtime] version = "0.13.0" [dev-dependencies.log] version = "0.4.22" [dev-dependencies.mockd] version = "0.4.25" features = [ "internet", "unique", "words", ] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.simple_logger] version = "5.0.0" [dev-dependencies.tokio] version = "1.41.0" features = [ "rt", "macros", ] [dev-dependencies.tracing] version = "0.1.40" features = [ "log", "attributes", ] [dev-dependencies.tracing-appender] version = "0.2.3" [dev-dependencies.tracing-bunyan-formatter] version = "0.3.9" [dev-dependencies.tracing-log] version = "0.2.0" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.tracing-test] version = "0.2.5" [dev-dependencies.wiremock] version = "0.6.2" [features] default = [ "ext", "nativetls-backend", ] enterprise = [] ext = ["hex"] nativetls-backend = ["reqwest/native-tls"] nightly = [] rustls-backend = ["reqwest/rustls-tls"] trace = ["tracing"] [target.'cfg(target_arch = "wasm32")'.dependencies.uuid] version = "1.11.0" features = [ "v4", "js", ]