better-auth-core 0.9.0

Core abstractions for better-auth: traits, types, config, error handling
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 = "better-auth-core"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions for better-auth: traits, types, config, error handling"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/better-auth-rs/better-auth-rs"
resolver = "2"

[features]
axum = [
    "dep:axum",
    "dep:url",
]
default = []
derive = ["dep:better-auth-derive"]
redis-cache = ["dep:redis"]
sqlx-postgres = ["dep:sqlx"]

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

[dependencies.argon2]
version = "0.5"

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

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.better-auth-derive]
version = "0.9.0"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.cookie]
version = "0.18"

[dependencies.glob-match]
version = "0.2.1"

[dependencies.jsonwebtoken]
version = "9"

[dependencies.rand]
version = "0.8"

[dependencies.redis]
version = "0.27"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "chrono",
    "uuid",
    "json",
]
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
optional = true

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

[dependencies.validator]
version = "0.19"
features = ["derive"]