ptth/crates/ptth_server/Cargo.toml

64 lines
1.5 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-07-11 11:38:46 +00:00
default-run = "ptth_server"
2021-03-21 18:25:02 +00:00
[dependencies]
# Cookie 01FYZ3SDP2XABT7W19ACQVYKXT
# Dependencies should be in sync because ptth_multi_call_server intentionally
# tries to re-use as much code as possible between all of its subcommands,
# including ptth_server and ptth_file_server.
aho-corasick = "0.7.15"
anyhow = "1.0.38"
arc-swap = "1.2.0"
base64 = "0.13.0"
blake3 = "1.0.0"
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"
rust-embed = "6.2.0"
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"]