minauthator/Cargo.toml
2024-10-15 12:10:46 +02:00

47 lines
1.1 KiB
TOML

[package]
name = "minauthator"
description = "Identity provider and OAuth2 server for an small-scale organization."
version = "0.1.0"
edition = "2021"
[dependencies]
# commons utils
anyhow = "1.0"
fully_pub = "0.1"
argon2 = "0.5"
strum_macros = "0.26"
uuid = { version = "1.8", features = ["serde", "v4"] }
argh = "0.1" # for CLI
# Async
tokio = { version = "1.40.0", features = ["rt-multi-thread"] }
# Logging
log = "0.4"
env_logger = "0.11"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
chrono = { version = "0.4", features = ["serde"] }
# DB
sqlx = { version = "0.7.4", features = ["sqlite", "runtime-tokio", "chrono", "uuid"] }
redis = { version = "0.27.3", default-features = false, features = ["acl"] }
# Web
axum = { version = "0.7.7", features = ["json"] }
axum-template = { version = "2.4.0", features = ["minijinja"] }
minijinja = { version = "2.1", features = ["builtins"] }
# to make work the static assets server
tower-http = { version = "0.6.1", features = ["fs"] }
# Auth utils
totp-rs = "5.6"
minijinja-embed = "2.3.1"
axum-macros = "0.4.2"
[build-dependencies]
minijinja-embed = "2.3.1"