[package]
edition = "2021"
name = "api-keys-simplified"
version = "0.5.0"
authors = ["Sandipsinh Rathod <sandip@ssdd.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure API key generation and validation library"
readme = "README.md"
keywords = [
"api",
"security",
"authentication",
"keys",
"crypto",
]
categories = [
"authentication",
"cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/gpmcp/api-keys-simplified"
resolver = "3"
[features]
default = []
expensive_tests = []
[lib]
name = "api_keys_simplified"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "checksum_dos_protection"
path = "tests/checksum_dos_protection.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "configuration"
path = "tests/configuration.rs"
[[test]]
name = "key_expiry"
path = "tests/key_expiry.rs"
[[test]]
name = "secure_integration"
path = "tests/secure_integration.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "versioning"
path = "tests/versioning.rs"
[dependencies.argon2]
version = "0.5"
[dependencies.base64]
version = "0.22.1"
[dependencies.blake3]
version = "1.8.2"
[dependencies.chrono]
version = "0.4.42"
features = []
[dependencies.derive-getters]
version = "0.5.0"
[dependencies.getrandom]
version = "0.3"
features = ["std"]
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.nom]
version = "8.0.0"
[dependencies.password-hash]
version = "0.5"
[dependencies.regex]
version = "1.11"
[dependencies.secrecy]
version = "0.10.3"
[dependencies.strum]
version = "0.27.2"
features = ["derive"]
[dependencies.subtle]
version = "2.6.1"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.zeroize]
version = "1.8"
features = ["derive"]
[dev-dependencies.chrono]
version = "0.4.42"
features = ["now"]