minauthator/Cargo.toml

64 lines
1.5 KiB
TOML
Raw Permalink Normal View History

2024-11-02 16:37:57 +00:00
cargo-features = ["codegen-backend"]
[profile.dev]
codegen-backend = "cranelift"
2024-10-10 16:20:06 +00:00
[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"
2024-11-12 13:27:53 +00:00
strum = "0.26.3"
2024-10-10 16:20:06 +00:00
strum_macros = "0.26"
uuid = { version = "1.8", features = ["serde", "v4"] }
2024-11-12 13:27:53 +00:00
dotenvy = "0.15.7"
base64 = "0.22.1"
rand = "0.8.5"
rand_core = { version = "0.6.4", features = ["std"] }
url = "2.5.3"
2024-10-10 16:20:06 +00:00
argh = "0.1" # for CLI
2024-10-15 10:10:46 +00:00
# Async
tokio = { version = "1.40.0", features = ["rt-multi-thread"] }
# Logging
2024-10-10 16:20:06 +00:00
log = "0.4"
env_logger = "0.11"
2024-10-15 10:10:46 +00:00
# Serialization
2024-10-10 16:20:06 +00:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2024-11-12 13:27:53 +00:00
serde_urlencoded = "0.7.1"
2024-10-10 16:20:06 +00:00
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"] }
2024-10-15 10:10:46 +00:00
# Web
2024-11-02 16:37:57 +00:00
axum = { version = "0.7.7", features = ["json", "multipart"] }
2024-11-12 13:27:53 +00:00
axum-extra = { version = "0.9.4", features = ["cookie"] }
2024-10-10 16:20:06 +00:00
axum-template = { version = "2.4.0", features = ["minijinja"] }
2024-11-12 13:27:53 +00:00
axum_typed_multipart = "0.13.1"
2024-10-10 16:20:06 +00:00
minijinja = { version = "2.1", features = ["builtins"] }
2024-10-15 10:10:46 +00:00
# to make work the static assets server
tower-http = { version = "0.6.1", features = ["fs"] }
2024-10-10 16:20:06 +00:00
# Auth utils
totp-rs = "5.6"
2024-10-15 10:10:46 +00:00
minijinja-embed = "2.3.1"
axum-macros = "0.4.2"
2024-10-20 22:05:20 +00:00
jsonwebtoken = "9.3.0"
2024-11-16 13:30:01 +00:00
time = "0.3.36"
2024-10-15 10:10:46 +00:00
[build-dependencies]
minijinja-embed = "2.3.1"