forked from neri/datatrash
45 lines
1.0 KiB
TOML
45 lines
1.0 KiB
TOML
[package]
|
|
name = "datatrash"
|
|
version = "2.5.1"
|
|
authors = ["neri"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
actix-web = { version = "4.3.0", default-features = false, features = [
|
|
"macros",
|
|
"compress-gzip",
|
|
"compress-zstd",
|
|
] }
|
|
sqlx = { version = "0.7.1", default-features = false, features = [
|
|
"runtime-tokio-rustls",
|
|
"postgres",
|
|
"time",
|
|
] }
|
|
env_logger = { version = "0.11.3", default-features = false, features = [
|
|
"humantime",
|
|
] }
|
|
log = "0.4.17"
|
|
actix-files = "0.6.2"
|
|
tokio = { version = "1.25.0", features = ["rt-multi-thread", "macros", "sync"] }
|
|
actix-multipart = "0.6.0"
|
|
futures-util = "0.3.26"
|
|
rand = "0.8.5"
|
|
time = "0.3.17"
|
|
htmlescape = "0.3.1"
|
|
urlencoding = "2.1.2"
|
|
tree_magic_mini = { version = "3.0.3", features = ["with-gpl-data"] }
|
|
tree_magic_db = "*"
|
|
mime = "0.3.16"
|
|
url = "2.3.1"
|
|
actix-governor = "0.5.0"
|
|
governor = "0.6.3"
|
|
lazy_static = "1.4.0"
|
|
actix-web-lab = "0.20.2"
|
|
|
|
[profile.release]
|
|
strip = "symbols"
|
|
lto = true
|
|
codegen-units = 1
|