[package]
name = "rustio-admin"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
description = "Django Admin, but for Rust. A small, focused admin framework."
readme = "../../README.md"
[dependencies]
rustio-admin-macros = { workspace = true }
tokio = { version = "1", features = [
"net",
"rt-multi-thread",
"macros",
"sync",
"signal",
"time",
"fs",
] }
hyper = { version = "1", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["tokio"] }
http-body-util = "0.1"
bytes = "1"
sqlx = { version = "0.8", default-features = false, features = [
"runtime-tokio",
"postgres",
"chrono",
"uuid",
"json",
"macros",
] }
chrono = { version = "0.4", default-features = false, features = [
"clock",
"std",
"serde",
] }
uuid = { version = "1", features = ["v4", "v7", "serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
minijinja = { version = "2", features = ["loader"] }
pulldown-cmark = { version = "0.13", default-features = false, features = ["html"] }
flate2 = "1"
dashmap = "6"
base64 = "0.22"
rand = "0.8"
subtle = "2"
argon2 = { version = "0.5", default-features = false, features = [
"alloc",
"password-hash",
"rand",
] }
sha2 = "0.10"
aes-gcm = { version = "0.10", default-features = false, features = ["aes", "alloc"] }
hmac = "0.12"
sha1 = "0.10"
once_cell = "1"
thiserror = "1"
urlencoding = "2"
log = "0.4"
testcontainers = { version = "0.23", optional = true }
testcontainers-modules = { version = "0.11", optional = true, features = ["postgres"] }
[features]
integration-test = ["dep:testcontainers", "dep:testcontainers-modules"]