2020-11-27 00:50:22 +00:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "ptth_server"
|
2021-05-09 19:29:15 +00:00
|
|
|
version = "2.1.0"
|
2020-11-27 00:50:22 +00:00
|
|
|
authors = ["Trish"]
|
|
|
|
edition = "2018"
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
|
2021-05-09 17:54:29 +00:00
|
|
|
categories = ["command-line-utilities", "web-programming::http-server"]
|
2021-03-21 18:25:02 +00:00
|
|
|
description = "The server for PTTH"
|
2021-05-09 17:54:29 +00:00
|
|
|
documentation = "https://docs.rs/ptth_server/"
|
2021-03-21 18:25:02 +00:00
|
|
|
repository = "https://github.com/ReactorScram/ptth"
|
2021-07-11 11:38:46 +00:00
|
|
|
default-run = "ptth_server"
|
2021-03-21 18:25:02 +00:00
|
|
|
|
2020-11-27 00:50:22 +00:00
|
|
|
[dependencies]
|
|
|
|
|
2021-03-06 21:15:41 +00:00
|
|
|
aho-corasick = "0.7.15"
|
|
|
|
anyhow = "1.0.38"
|
|
|
|
arc-swap = "1.2.0"
|
|
|
|
base64 = "0.13.0"
|
2020-11-27 00:50:22 +00:00
|
|
|
blake3 = "0.3.7"
|
2020-12-18 20:43:34 +00:00
|
|
|
chrono = {version = "0.4.19", features = ["serde"]}
|
2020-11-27 00:50:22 +00:00
|
|
|
futures = "0.3.7"
|
|
|
|
handlebars = "3.5.1"
|
2020-11-29 20:22:40 +00:00
|
|
|
http = "0.2.1"
|
2020-11-27 00:50:22 +00:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
percent-encoding = "2.1.0"
|
2021-04-03 15:17:28 +00:00
|
|
|
pulldown-cmark = { version = "0.8.0", optional = true }
|
2021-03-15 20:34:32 +00:00
|
|
|
rand = "0.8.3"
|
2020-11-27 00:50:22 +00:00
|
|
|
regex = "1.4.1"
|
|
|
|
rmp-serde = "0.14.4"
|
2021-03-21 03:09:44 +00:00
|
|
|
rusty_ulid = "0.10.1"
|
2020-11-27 00:50:22 +00:00
|
|
|
serde = {version = "1.0.117", features = ["derive"]}
|
2020-12-15 05:15:17 +00:00
|
|
|
serde_json = "1.0.60"
|
2020-11-27 00:50:22 +00:00
|
|
|
structopt = "0.3.20"
|
2021-03-06 21:15:41 +00:00
|
|
|
thiserror = "1.0.24"
|
2021-03-21 03:01:06 +00:00
|
|
|
tokio = { version = "1.4.0", features = [] }
|
2021-03-06 21:15:41 +00:00
|
|
|
tokio-stream = "0.1.3"
|
|
|
|
tracing = "0.1.25"
|
|
|
|
tracing-futures = "0.2.5"
|
|
|
|
tracing-subscriber = "0.2.16"
|
2020-11-27 00:50:22 +00:00
|
|
|
toml = "0.5.7"
|
|
|
|
|
2021-03-21 18:25:02 +00:00
|
|
|
always_equal = { path = "../always_equal", version = "1.0.0" }
|
2021-04-18 01:50:48 +00:00
|
|
|
ptth_core = { path = "../ptth_core", version = "2.0.0" }
|
2020-11-27 00:50:22 +00:00
|
|
|
|
2021-07-11 11:53:41 +00:00
|
|
|
[dependencies.reqwest]
|
|
|
|
version = "0.11.1"
|
|
|
|
default-features = false
|
|
|
|
features = ["stream", "rustls-tls", "hyper-rustls"]
|
|
|
|
|
2020-11-27 00:50:22 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
|
|
|
maplit = "1.0.2"
|
2021-04-03 15:17:28 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
|
|
|
|
markdown = ["pulldown-cmark"]
|