[package]
name = "lmrc-auth"
version = "0.3.16"
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Authentication framework for LMRC Stack applications"

[dependencies]
# Async runtime
tokio = { workspace = true }
async-trait = { workspace = true }

# Web framework
axum = { workspace = true }
tower = { workspace = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }

# Error handling
thiserror = { workspace = true }

# Logging
tracing = { workspace = true }

# Time
chrono = { workspace = true }

# UUID generation
uuid = { workspace = true }

# Cookie handling
cookie = { workspace = true }

# Password hashing
bcrypt = { workspace = true, optional = true }

# Database (optional)
sea-orm = { workspace = true, optional = true }

# Internal dependencies
lmrc-http-common = { workspace = true }

[dev-dependencies]
tokio = { workspace = true, features = ["test-util"] }

[features]
default = ["bcrypt"]
database = ["sea-orm"]
