rustypaste/Cargo.toml

88 lines
2.0 KiB
TOML
Raw Permalink Normal View History

2021-07-19 19:16:13 +00:00
[package]
2021-07-24 17:46:22 +00:00
name = "rustypaste"
2024-03-27 20:03:10 +00:00
version = "0.15.0"
edition = "2021"
2021-07-24 17:46:22 +00:00
description = "A minimal file upload/pastebin service"
2021-07-19 19:16:13 +00:00
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
2021-07-26 18:38:15 +00:00
license = "MIT"
2021-07-26 18:29:46 +00:00
readme = "README.md"
homepage = "https://github.com/orhun/rustypaste"
repository = "https://github.com/orhun/rustypaste"
2021-07-26 18:45:22 +00:00
keywords = ["paste", "pastebin", "upload"]
categories = ["web-programming::http-server"]
include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md"]
2021-07-19 19:16:13 +00:00
[features]
default = ["rustls"]
openssl = ["actix-web/openssl", "awc/openssl"]
rustls = ["actix-web/rustls-0_21", "awc/rustls-0_21"]
shuttle = ["dep:shuttle-actix-web", "dep:shuttle-runtime", "dep:tokio"]
2021-07-19 19:16:13 +00:00
[dependencies]
2024-03-27 19:49:10 +00:00
actix-web = { version = "4.5.1" }
2023-12-12 18:30:08 +00:00
actix-web-grants = { version = "4.0.3" }
actix-multipart = "0.6.1"
actix-files = "0.6.5"
2024-03-27 14:33:23 +00:00
shuttle-actix-web = { version = "0.42.0", optional = true }
shuttle-runtime = { version = "0.42.0", optional = true }
awc = { version = "3.4.0" }
serde = "1.0.197"
futures-util = "0.3.30"
petname = { version = "1.1.3", default-features = false, features = [
"std_rng",
"default_dictionary",
] }
2022-02-24 21:10:52 +00:00
rand = "0.8.5"
2023-05-10 21:39:04 +00:00
dotenvy = "0.15.7"
url = "2.5.0"
2023-05-10 21:39:04 +00:00
mime = "0.3.17"
regex = "1.10.4"
serde_regex = "1.1.0"
lazy-regex = "3.1.0"
humantime = "2.1.0"
humantime-serde = "1.1.1"
2023-01-30 17:41:19 +00:00
glob = "0.3.1"
ring = "0.17.8"
hotwatch = "0.5.0"
tokio = { version = "1.37.0", optional = true }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
2023-08-07 11:01:01 +00:00
uts2ts = "0.4.1"
path-clean = "1.0.1"
[dependencies.config]
version = "0.14.0"
default-features = false
features = ["toml", "yaml"]
[dependencies.byte-unit]
version = "5.1.4"
features = ["serde"]
2021-07-19 19:16:13 +00:00
[dependencies.infer]
version = "0.15.0"
default-features = false
2021-07-24 10:47:24 +00:00
[dev-dependencies]
2023-08-26 20:15:24 +00:00
actix-rt = "2.9.0"
2021-07-24 10:47:24 +00:00
2021-07-19 19:16:13 +00:00
[profile.dev]
opt-level = 0
debug = true
[profile.test]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = false
panic = "unwind"
lto = true
codegen-units = 1
strip = true
2021-07-19 19:16:13 +00:00
[profile.bench]
opt-level = 3
debug = false