# 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.0" name = "salvo-captcha" version = "0.3.1" authors = ["Awiteb "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A captcha middleware for Salvo framework." documentation = "https://docs.rs/salvo-captcha" readme = "README.md" keywords = [ "salvo", "captcha", "middleware", ] categories = [ "web-programming", "network-programming", ] license = "MIT" repository = "https://git.4rs.nl/awiteb/salvo-captcha" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "salvo_captcha" path = "src/lib.rs" [[example]] name = "simple_login" path = "examples/simple_login.rs" required-features = ["simple-generator"] [dependencies.cacache] version = "13" features = [ "tokio-runtime", "mmap", ] optional = true default-features = false [dependencies.captcha] version = "0.0.9" optional = true default-features = false [dependencies.either] version = "1.13.0" default-features = false [dependencies.log] version = "0.4" [dependencies.salvo_core] version = ">= 0.65, < 0.69" default-features = false [dependencies.tokio] version = "1" default-features = false [dependencies.uuid] version = "1" features = ["v4"] [dev-dependencies.base64] version = "0.21" [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.salvo] version = ">= 0.65, < 0.69" features = [ "server", "http1", "http2", "affix", ] default-features = false [dev-dependencies.tempfile] version = "3.9" [dev-dependencies.tokio] version = "1.35" features = [ "macros", "rt-multi-thread", ] [features] cacache-storage = ["dep:cacache"] simple-generator = ["dep:captcha"]