rustypaste-pretty/Cargo.toml

91 lines
1.9 KiB
TOML
Raw Normal View History

2021-07-19 15:16:13 -04:00
[package]
2021-07-24 13:46:22 -04:00
name = "rustypaste"
2023-05-17 06:46:39 -04:00
version = "0.9.0"
edition = "2021"
2021-07-24 13:46:22 -04:00
description = "A minimal file upload/pastebin service"
2021-07-19 15:16:13 -04:00
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
2021-07-26 14:38:15 -04:00
license = "MIT"
2021-07-26 14:29:46 -04:00
readme = "README.md"
homepage = "https://github.com/orhun/rustypaste"
repository = "https://github.com/orhun/rustypaste"
2021-07-26 14:45:22 -04:00
keywords = ["paste", "pastebin", "upload"]
categories = ["web-programming::http-server"]
include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md"]
2021-07-19 15:16:13 -04: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 15:16:13 -04:00
[dependencies]
actix-web = { version = "4.3.1" }
2023-05-10 17:39:04 -04:00
actix-multipart = "0.6.0"
2022-10-03 19:10:15 -04:00
actix-files = "0.6.2"
awc = { version = "3.1.1" }
2023-01-30 12:41:19 -05:00
env_logger = "0.10.0"
2022-05-21 12:54:05 -04:00
log = "0.4.17"
serde = "1.0.163"
2023-05-10 17:39:04 -04:00
futures-util = "0.3.28"
petname = { version = "1.1.3", default-features = false, features = [
"std_rng",
"default_dictionary",
] }
2022-02-24 16:10:52 -05:00
rand = "0.8.5"
2023-05-10 17:39:04 -04:00
dotenvy = "0.15.7"
2022-10-03 19:10:15 -04:00
url = "2.3.1"
2023-05-10 17:39:04 -04:00
mime = "0.3.17"
regex = "1.8.1"
serde_regex = "1.1.0"
2023-05-10 17:39:04 -04:00
lazy-regex = "2.5.0"
humantime = "2.1.0"
humantime-serde = "1.1.1"
2023-01-30 12:41:19 -05: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 12:41:19 -05:00
version = "0.13.3"
default-features = false
features = ["toml", "yaml"]
[dependencies.byte-unit]
2023-05-10 17:39:04 -04:00
version = "4.0.19"
features = ["serde"]
2021-07-19 15:16:13 -04:00
[dependencies.infer]
2023-05-10 17:39:04 -04:00
version = "0.13.0"
default-features = false
2021-07-24 06:47:24 -04:00
[dev-dependencies]
2023-01-30 12:41:19 -05:00
actix-rt = "2.8.0"
2021-07-24 06:47:24 -04:00
2021-07-19 15:16:13 -04: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 15:16:13 -04:00
[profile.bench]
opt-level = 3
debug = false