yauth-entity 0.1.0

SeaORM entities for yauth — modular authentication for Axum
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 = "yauth-entity"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SeaORM entities for yauth — modular authentication for Axum"
readme = false
keywords = [
    "axum",
    "authentication",
    "seaorm",
    "webauthn",
    "totp",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/yackey-labs/yauth"
resolver = "2"

[features]
account-lockout = []
api-key = []
bearer = []
default = [
    "seaorm",
    "email-password",
]
diesel-async = [
    "dep:diesel",
    "dep:diesel-async-crate",
]
email-password = []
full = [
    "seaorm",
    "email-password",
    "passkey",
    "mfa",
    "oauth",
    "bearer",
    "api-key",
    "magic-link",
    "oauth2-server",
    "account-lockout",
    "webhooks",
    "oidc",
]
magic-link = []
mfa = []
oauth = []
oauth2-server = []
oidc = []
passkey = []
seaorm = ["dep:sea-orm"]
webhooks = []

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

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

[dependencies.diesel]
version = "2.2"
features = [
    "postgres",
    "uuid",
    "chrono",
    "serde_json",
]
optional = true

[dependencies.diesel-async-crate]
version = "0.5"
features = [
    "postgres",
    "deadpool",
]
optional = true
package = "diesel-async"

[dependencies.sea-orm]
version = "1.1"
features = [
    "sqlx-postgres",
    "runtime-tokio-rustls",
]
optional = true

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

[dependencies.serde_json]
version = "1"

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