rustypaste/Cargo.toml

91 lines
1.9 KiB
TOML
Raw Normal View History

2021-07-19 19:16:13 +00:00
[package]
2021-07-24 17:46:22 +00:00
name = "rustypaste"
2023-01-31 18:20:06 +00:00
version = "0.8.4"
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", "awc/rustls"]
shuttle = [
"dep:shuttle-actix-web",
"dep:shuttle-runtime",
"dep:shuttle-static-folder",
"dep:tokio",
]
2021-07-19 19:16:13 +00:00
[dependencies]
actix-web = { version = "4.3.1" }
2023-05-10 21:39:04 +00:00
actix-multipart = "0.6.0"
2022-10-03 23:10:15 +00:00
actix-files = "0.6.2"
awc = { version = "3.1.1" }
2023-01-30 17:41:19 +00:00
env_logger = "0.10.0"
2022-05-21 16:54:05 +00:00
log = "0.4.17"
serde = "1.0.163"
2023-05-10 21:39:04 +00:00
futures-util = "0.3.28"
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"
2022-10-03 23:10:15 +00:00
url = "2.3.1"
2023-05-10 21:39:04 +00:00
mime = "0.3.17"
regex = "1.8.1"
serde_regex = "1.1.0"
2023-05-10 21:39:04 +00:00
lazy-regex = "2.5.0"
humantime = "2.1.0"
humantime-serde = "1.1.1"
2023-01-30 17:41:19 +00:00
glob = "0.3.1"
ring = "0.16.20"
hotwatch = "0.4.5"
shuttle-actix-web = { version = "0.16.0", optional = true }
shuttle-runtime = { version = "0.16.0", optional = true }
shuttle-static-folder = { version = "0.16.0", optional = true }
tokio = { version = "1.28.1", optional = true }
[dependencies.config]
2023-01-30 17:41:19 +00:00
version = "0.13.3"
default-features = false
features = ["toml", "yaml"]
[dependencies.byte-unit]
2023-05-10 21:39:04 +00:00
version = "4.0.19"
features = ["serde"]
2021-07-19 19:16:13 +00:00
[dependencies.infer]
2023-05-10 21:39:04 +00:00
version = "0.13.0"
default-features = false
2021-07-24 10:47:24 +00:00
[dev-dependencies]
2023-01-30 17:41:19 +00:00
actix-rt = "2.8.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