ptth/crates/ptth_server/Cargo.toml

59 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "ptth_server"
version = "2.1.0"
authors = ["Trish"]
edition = "2018"
license = "AGPL-3.0"
categories = ["command-line-utilities", "web-programming::http-server"]
2021-03-21 18:25:02 +00:00
description = "The server for PTTH"
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
[dependencies]
aho-corasick = "0.7.15"
anyhow = "1.0.38"
arc-swap = "1.2.0"
base64 = "0.13.0"
blake3 = "0.3.7"
chrono = {version = "0.4.19", features = ["serde"]}
futures = "0.3.7"
handlebars = "3.5.1"
2020-11-29 20:22:40 +00:00
http = "0.2.1"
lazy_static = "1.4.0"
percent-encoding = "2.1.0"
pulldown-cmark = { version = "0.8.0", optional = true }
2021-03-15 20:34:32 +00:00
rand = "0.8.3"
regex = "1.4.1"
rmp-serde = "0.15.5"
rusty_ulid = "0.10.1"
serde = {version = "1.0.117", features = ["derive"]}
serde_json = "1.0.60"
structopt = "0.3.20"
thiserror = "1.0.24"
tokio = { version = "1.8.1", features = [] }
tokio-stream = "0.1.3"
tracing = "0.1.25"
tracing-futures = "0.2.5"
tracing-subscriber = "0.2.16"
toml = "0.5.7"
2021-03-21 18:25:02 +00:00
always_equal = { path = "../always_equal", version = "1.0.0" }
ptth_core = { path = "../ptth_core", version = "2.0.0" }
2021-07-11 11:53:41 +00:00
[dependencies.reqwest]
version = "0.11.1"
default-features = false
features = ["stream", "rustls-tls", "hyper-rustls"]
[dev-dependencies]
maplit = "1.0.2"
[features]
markdown = ["pulldown-cmark"]