62 lines
1.5 KiB
TOML
62 lines
1.5 KiB
TOML
[package]
|
|
name = "miniweb"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
default-run = "miniweb"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
[workspace]
|
|
members = [".", "entity", "migration", "rear", "rear_auth"]
|
|
|
|
[features]
|
|
# https://github.com/rust-db/barrel/blob/master/guides/diesel-setup.md
|
|
use_barrel = ["barrel", "sqlformat"]
|
|
default = ["use_barrel"]
|
|
|
|
[dependencies]
|
|
# strinto = { path = "./strinto" }
|
|
entity = { path = "./entity" }
|
|
rear = { path = "./rear" }
|
|
rear_auth = { path = "./rear_auth" }
|
|
sea-orm = { version = "0.12.10", features = [
|
|
"runtime-tokio-native-tls",
|
|
"sqlx-postgres",
|
|
] }
|
|
sqlformat = { version = "0.2.2", optional = true }
|
|
anyhow = "1.0.75"
|
|
axum = "0.7"
|
|
axum-login = "0.15.3"
|
|
axum-messages = "0.6.1"
|
|
barrel = { version = "0.7.0", optional = true, features = ["pg"] }
|
|
dotenvy = "0.15.7"
|
|
mime_guess = "2.0.4"
|
|
minijinja = { version = "2.0.3", features = [
|
|
"loader",
|
|
"builtins",
|
|
"urlencode",
|
|
"deserialization",
|
|
] }
|
|
minijinja-autoreload = "2.0.3"
|
|
once_cell = "1.18.0"
|
|
rust-embed = { version = "8.0.0", features = [
|
|
"axum",
|
|
"tokio",
|
|
"include-exclude",
|
|
] }
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
|
tokio = { version = "1.32.0", features = ["full"] }
|
|
dunce = "1.0.4"
|
|
log = "0.4.20"
|
|
env_logger = "0.11"
|
|
serde_json = "1.0.108"
|
|
slug = "0.1.5"
|
|
async-trait = "0.1.77"
|
|
tracing = "0.1.40"
|
|
tower-http = { version = "0.5.1", features = ["trace"] }
|
|
chrono = "0.4.38"
|
|
thiserror = "1.0.61"
|
|
tower-sessions = { version = "0.12.2" }
|