2021-07-19 15:16:13 -04:00
|
|
|
|
[package]
|
2021-07-24 13:46:22 -04:00
|
|
|
|
name = "rustypaste"
|
2023-01-31 13:20:06 -05:00
|
|
|
|
version = "0.8.4"
|
2021-11-05 16:33:42 -04:00
|
|
|
|
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"
|
2021-07-26 09:05:15 -04:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
[dependencies]
|
2023-05-10 17:39:04 -04:00
|
|
|
|
actix-web = { version = "4.3.1", features = ["rustls"] }
|
|
|
|
|
actix-multipart = "0.6.0"
|
2022-10-03 19:10:15 -04:00
|
|
|
|
actix-files = "0.6.2"
|
2023-05-10 17:39:04 -04:00
|
|
|
|
awc = { version = "3.1.1", features = ["rustls"] }
|
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"
|
2023-05-11 12:21:20 -04:00
|
|
|
|
serde = "1.0.163"
|
2023-05-10 17:39:04 -04:00
|
|
|
|
futures-util = "0.3.28"
|
2023-01-30 12:41:19 -05:00
|
|
|
|
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"
|
2021-08-09 15:28:33 -04:00
|
|
|
|
serde_regex = "1.1.0"
|
2023-05-10 17:39:04 -04:00
|
|
|
|
lazy-regex = "2.5.0"
|
2021-08-27 08:54:23 -04:00
|
|
|
|
humantime = "2.1.0"
|
2022-03-11 16:02:25 -05:00
|
|
|
|
humantime-serde = "1.1.1"
|
2023-01-30 12:41:19 -05:00
|
|
|
|
glob = "0.3.1"
|
2021-10-12 12:35:06 -04:00
|
|
|
|
ring = "0.16.20"
|
2021-11-07 08:06:57 -05:00
|
|
|
|
hotwatch = "0.4.5"
|
2021-07-23 15:52:00 -04:00
|
|
|
|
|
2021-07-24 13:48:15 -04:00
|
|
|
|
[dependencies.config]
|
2023-01-30 12:41:19 -05:00
|
|
|
|
version = "0.13.3"
|
2021-07-24 13:48:15 -04:00
|
|
|
|
default-features = false
|
|
|
|
|
features = ["toml", "yaml"]
|
|
|
|
|
|
2021-07-23 15:52:00 -04:00
|
|
|
|
[dependencies.byte-unit]
|
2023-05-10 17:39:04 -04:00
|
|
|
|
version = "4.0.19"
|
2021-07-23 15:52:00 -04:00
|
|
|
|
features = ["serde"]
|
2021-07-19 15:16:13 -04:00
|
|
|
|
|
2021-07-24 08:09:11 -04:00
|
|
|
|
[dependencies.infer]
|
2023-05-10 17:39:04 -04:00
|
|
|
|
version = "0.13.0"
|
2021-07-24 08:09:11 -04:00
|
|
|
|
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
|
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
|
|
[profile.test]
|
|
|
|
|
opt-level = 0
|
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
opt-level = 3
|
|
|
|
|
debug = false
|
|
|
|
|
panic = "unwind"
|
|
|
|
|
lto = true
|
|
|
|
|
codegen-units = 1
|
2023-01-30 13:07:37 -05:00
|
|
|
|
strip = true
|
2021-07-19 15:16:13 -04:00
|
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
|
opt-level = 3
|
|
|
|
|
debug = false
|