-
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (76 loc) · 1.91 KB
/
Copy pathCargo.toml
File metadata and controls
86 lines (76 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "rustypaste"
version = "0.17.0"
edition = "2021"
description = "A minimal file upload/pastebin service"
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/orhun/rustypaste"
repository = "https://github.com/orhun/rustypaste"
keywords = ["paste", "pastebin", "upload"]
categories = ["web-programming::http-server"]
include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md"]
[features]
default = ["rustls"]
openssl = ["actix-web/openssl", "awc/openssl"]
rustls = ["actix-web/rustls-0_23", "awc/rustls-0_23-webpki-roots"]
[dependencies]
actix-web = { version = "4.13.0" }
actix-web-grants = { version = "4.1.2" }
actix-multipart = "0.8.0"
actix-files = "0.6.10"
awc = { version = "3.8.2" }
serde = "1.0.228"
futures-util = "0.3.32"
petname = { version = "3.0.0", default-features = false, features = [
"default-rng",
"default-words",
] }
rand = "0.10.1"
dotenvy = "0.15.7"
url = "2.5.8"
mime = "0.3.17"
regex = "1.12.4"
serde_regex = "1.2.0"
lazy-regex = "3.6.0"
humantime = "2.3.0"
humantime-serde = "1.1.1"
glob = "0.3.3"
ring = "0.17.14"
rustls = { version = "0.23.40", default-features = false, features = ["ring", "std"] }
hotwatch = "0.5.0"
tokio = { version = "1.52.3", optional = true }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
uts2ts = "1.0.0"
path-clean = "1.0.1"
mime_guess = "2.0.5"
[dependencies.config]
version = "0.15.23"
default-features = false
features = ["toml", "yaml"]
[dependencies.byte-unit]
version = "5.2.0"
features = ["serde"]
[dependencies.infer]
version = "0.19.0"
default-features = false
[dev-dependencies]
actix-rt = "2.11.0"
[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
[profile.bench]
opt-level = 3
debug = false