auth4free 0.2.0

A modern, secure authentication library for Rust applications with password validation, JWT tokens, bcrypt hashing, session management, and rate limiting.
Documentation
# 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 = "2024"
name = "auth4free"
version = "0.2.0"
authors = ["Felipe Carvajal Brown <fcarvajalbrown@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern, secure authentication library for Rust applications with password validation, JWT tokens, bcrypt hashing, session management, and rate limiting."
homepage = "https://github.com/fcarvajalbrown/auth4free"
documentation = "https://docs.rs/auth4free"
readme = "README.md"
keywords = [
    "authentication",
    "security",
    "jwt",
    "password",
    "rate-limiting",
]
categories = [
    "authentication",
    "web-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/fcarvajalbrown/auth4free"

[lib]
name = "auth4free"
path = "src/lib.rs"

[[example]]
name = "password_validation"
path = "examples/password_validation.rs"

[[example]]
name = "session_integration"
path = "examples/session_integration.rs"

[[example]]
name = "user_registration"
path = "examples/user_registration.rs"

[[example]]
name = "web_api_integration"
path = "examples/web_api_integration.rs"

[[test]]
name = "auth_tests"
path = "tests/auth_tests.rs"

[[test]]
name = "password_validation_tests"
path = "tests/password_validation_tests.rs"

[[test]]
name = "session_integration_tests"
path = "tests/session_integration_tests.rs"

[[test]]
name = "token_generator_tests"
path = "tests/token_generator_tests.rs"

[[test]]
name = "user_service_tests"
path = "tests/user_service_tests.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bcrypt]
version = "0.19.0"

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]

[dependencies.rand]
version = "0.8.0"

[dependencies.serde]
version = "1.0.144"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.78"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
]

[dependencies.toml]
version = "0.9.8"

[dependencies.tower]
version = "0.4"
features = ["util"]

[dependencies.uuid]
version = "1.0.3"
features = [
    "v4",
    "serde",
]

[dev-dependencies.tokio]
version = "1"
features = ["full"]