rustypaste/Cargo.toml

73 lines
1.5 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"
2022-10-04 17:37:09 +00:00
version = "0.8.2"
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
[dependencies]
2022-10-03 23:10:15 +00:00
actix-web = { version = "4.2.1", features = ["rustls"] }
actix-multipart = "0.4.0"
2022-10-03 23:10:15 +00:00
actix-files = "0.6.2"
awc = { version = "3.0.1", features = ["rustls"] }
env_logger = "0.9.1"
2022-05-21 16:54:05 +00:00
log = "0.4.17"
2022-10-03 23:10:15 +00:00
serde = "1.0.145"
futures-util = "0.3.24"
petname = { version = "1.1.2", default-features = false, features = ["std_rng", "default_dictionary"] }
2022-02-24 21:10:52 +00:00
rand = "0.8.5"
dotenvy = "0.15.5"
2022-10-03 23:10:15 +00:00
url = "2.3.1"
mime = "0.3.16"
2022-10-03 23:10:15 +00:00
regex = "1.6.0"
serde_regex = "1.1.0"
2022-03-11 23:02:36 +00:00
lazy-regex = "2.3.0"
humantime = "2.1.0"
humantime-serde = "1.1.1"
glob = "0.3.0"
ring = "0.16.20"
hotwatch = "0.4.5"
[dependencies.config]
2022-10-03 23:10:15 +00:00
version = "0.13.2"
default-features = false
features = ["toml", "yaml"]
[dependencies.byte-unit]
2022-03-11 23:02:36 +00:00
version = "4.0.14"
features = ["serde"]
2021-07-19 19:16:13 +00:00
[dependencies.infer]
2022-10-03 23:10:15 +00:00
version = "0.9.0"
default-features = false
2021-07-24 10:47:24 +00:00
[dev-dependencies]
actix-rt = "2.7.0"
2021-07-24 10:47:24 +00:00
2021-07-19 19:16:13 +00: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
[profile.bench]
opt-level = 3
debug = false