authx-storage 0.1.2

Storage abstraction layer for authx-rs: repository traits, in-memory store, and PostgreSQL adapter
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 = "authx-storage"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage abstraction layer for authx-rs: repository traits, in-memory store, and PostgreSQL adapter"
homepage = "https://github.com/hamzzy/authx-rs"
documentation = "https://docs.rs/authx-storage"
readme = "README.md"
keywords = [
    "authentication",
    "storage",
    "repository",
    "postgres",
    "sqlx",
]
categories = [
    "authentication",
    "database",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/hamzzy/authx-rs"
resolver = "2"

[package.metadata.docs.rs]
features = ["sqlx-postgres"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
sqlx-postgres = ["dep:sqlx"]

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

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

[dependencies.authx-core]
version = "0.1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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

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