docserver/Cargo.toml

79 lines
2.5 KiB
TOML

[package]
name = "docserver"
version = "0.1.0"
edition = "2021"
#publish = false
publish = true
[registry]
default = "inrepo"
#[package.metadata.docs.rs]
#all-features = true
#rustdoc-args = ["--html-in-header", "rusdoc/header.html"]
[dependencies]
log = { version = "0.4.19", features = ["max_level_trace","release_max_level_trace"], package = "log" }
axum = { git = "https://github.com/tokio-rs/axum.git", branch = "main" }
axum-server = { version = "0.5.1", features = ["tls-rustls"] }
tokio = { version = "1.29.1", features = ["full"] }
tower = { version = "0.4.13", features = ["util", "filter"] }
tower-http = { version = "0.4.1", features = ["fs", "cors", "trace", "add-extension", "auth", "compression-full"] }
tower-cookies = "0.9"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
casbin = { version = "2.0.9", features = ["cached","explain","logging"], optional = true}
pasetoken-lib= {path = "./libs/pasetoken", package = "pasetoken-lib" }
pasetors = { version = "0.6.7" }
serde = { version = "1.0.171", features = ["derive"] }
serde_derive = "1.0.171"
serde_json = "1.0.103"
toml = "0.7.6"
clap = { version = "4.3.16", features = ["derive"] }
git-version = "0.3.5"
once_cell = "1.18.0"
hyper = { version = "0.14.27", features = ["full"] }
tera = "1.19.0"
html-minifier = "4.0.0"
urlencoding = "2.1.2"
password-hash = { version = "0.5", features = ["alloc", "rand_core"] }
rand_core = { version = "0.6", features = ["getrandom"] }
argon2 = { version = "0.5", default-features = false, features = ["alloc", "simple"]}
rand_chacha = "0.3.1"
async-trait = "0.1.71"
async-session = "3.0.0"
async-sqlx-session = { version = "0.4.0", features = ["sqlite"] }
forwarded-header-value = "0.1.1"
lettre = { version = "0.10.4", features = ["smtp-transport", "tokio1", "tokio1-native-tls", "builder"] }
chrono = "0.4.26"
uuid = { version = "1.4.1", features = ["v4", "serde"] }
rand = "0.8.5"
walkdir = "2.3.3"
binascii = "0.1.4"
anyhow = "1.0.72"
totp-rs = { version = "5.0.2", features = ["qr","otpauth"] }
base32 = "0.4.0"
zxcvbn = "2.2.2"
futures= "0.3.28"
sqlx = { version = "0.6.3", features = ["all-types", "all-databases","runtime-tokio-native-tls"] }
#sqlx = { version = "0.7.1", features = ["all-databases","runtime-tokio-native-tls"] }
[dev-dependencies]
async-std = { version = "1.12.0", features = ["default","attributes"] }
# [target.'cfg(target_arch = "wasm32")'.dependencies]
# getrandom = { version = "0.2", features = ["js"] }
[features]
default = ["casbin"]
#default = ["authstore"]
authstore = []