[package] name = "captcha-a" description = "a captcha library for rust" version = "0.1.6" edition = "2021" authors = ["liuguangw <67579722@qq.com>"] repository = "https://github.com/liuguangw/captcha" documentation = "https://docs.rs/captcha-a" readme = "./README.md" license = "MIT" keywords = ["captcha"] exclude = ["/examples"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.docs.rs] all-features = true [dependencies] image = {version="0.24.3", default-features = false, features = ["png"]} rusttype = "0.9.2" rand = "0.8.5" imageproc = "0.23.0" base64 = { version = "0.13.0", optional = true} [dev-dependencies] captcha-a = {path = ".", features = ["base64"]} actix-web = { version = "4", default-features = false, features = ["macros"] } serde = { version = "1.0", default-features = false, features = ["derive"] } [features] default = [] base64 = ["dep:base64"]