2021-07-19 19:16:13 +00:00
|
|
|
|
[package]
|
2021-07-24 17:46:22 +00:00
|
|
|
|
name = "rustypaste"
|
2021-07-19 19:16:13 +00:00
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2018"
|
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:29:46 +00:00
|
|
|
|
readme = "README.md"
|
2021-07-26 13:05:15 +00:00
|
|
|
|
homepage = "https://github.com/orhun/rustypaste"
|
|
|
|
|
repository = "https://github.com/orhun/rustypaste"
|
2021-07-19 19:16:13 +00:00
|
|
|
|
|
|
|
|
|
[dependencies]
|
2021-07-19 22:35:52 +00:00
|
|
|
|
actix-web = "3.3.2"
|
2021-07-23 19:52:00 +00:00
|
|
|
|
actix-multipart = "0.3.0"
|
|
|
|
|
actix-files = "0.5.0"
|
2021-07-19 22:35:52 +00:00
|
|
|
|
env_logger = "0.9.0"
|
|
|
|
|
log = "0.4.14"
|
2021-07-23 19:52:00 +00:00
|
|
|
|
serde = "1.0.126"
|
|
|
|
|
futures-util = "0.3.15"
|
|
|
|
|
petname = "1.1.0"
|
2021-07-23 20:53:41 +00:00
|
|
|
|
rand = "0.8.4"
|
2021-07-24 11:10:30 +00:00
|
|
|
|
dotenv = "0.15.0"
|
2021-07-23 19:52:00 +00:00
|
|
|
|
|
2021-07-24 17:48:15 +00:00
|
|
|
|
[dependencies.config]
|
|
|
|
|
version = "0.11.0"
|
|
|
|
|
default-features = false
|
|
|
|
|
features = ["toml", "yaml"]
|
|
|
|
|
|
2021-07-23 19:52:00 +00:00
|
|
|
|
[dependencies.byte-unit]
|
|
|
|
|
version = "4.0.12"
|
|
|
|
|
features = ["serde"]
|
2021-07-19 19:16:13 +00:00
|
|
|
|
|
2021-07-24 12:09:11 +00:00
|
|
|
|
[dependencies.infer]
|
|
|
|
|
version = "0.5.0"
|
|
|
|
|
default-features = false
|
|
|
|
|
|
2021-07-24 10:47:24 +00:00
|
|
|
|
[dev-dependencies]
|
|
|
|
|
actix-rt = "2.2.0"
|
|
|
|
|
|
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
|