61 lines
1.8 KiB
TOML
61 lines
1.8 KiB
TOML
[package]
|
|
name = "letterbox-server"
|
|
default-run = "letterbox-server"
|
|
description = "Backend for letterbox"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
ammonia = "4.0.0"
|
|
anyhow = "1.0.79"
|
|
async-graphql = { version = "7", features = ["log"] }
|
|
async-graphql-axum = "7.0.15"
|
|
async-trait = "0.1.81"
|
|
axum = { version = "0.8.3", features = ["ws"] }
|
|
axum-macros = "0.5.0"
|
|
build-info = "0.0.40"
|
|
cacher = { version = "0.2.0", registry = "xinu" }
|
|
chrono = "0.4.39"
|
|
clap = { version = "4.5.36", features = ["derive"] }
|
|
css-inline = "0.14.0"
|
|
futures = "0.3.31"
|
|
headers = "0.4.0"
|
|
html-escape = "0.2.13"
|
|
letterbox-notmuch = { version = "0.15.0", path = "../notmuch", registry = "xinu" }
|
|
letterbox-shared = { version = "0.15.0", path = "../shared", registry = "xinu" }
|
|
linkify = "0.10.0"
|
|
log = "0.4.17"
|
|
lol_html = "2.0.0"
|
|
mailparse = "0.16.0"
|
|
maplit = "1.0.2"
|
|
memmap = "0.7.0"
|
|
regex = "1.11.1"
|
|
reqwest = { version = "0.12.7", features = ["blocking"] }
|
|
scraper = "0.23.0"
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
|
serde_json = "1.0.87"
|
|
sqlx = { version = "0.8.2", features = ["postgres", "runtime-tokio", "time"] }
|
|
tantivy = { version = "0.24.0", optional = true }
|
|
thiserror = "2.0.0"
|
|
tokio = "1.26.0"
|
|
tower-http = { version = "0.6.2", features = ["trace"] }
|
|
tracing = "0.1.41"
|
|
url = "2.5.2"
|
|
urlencoding = "2.1.3"
|
|
#xtracing = { git = "http://git-private.h.xinu.tv/wathiede/xtracing.git" }
|
|
#xtracing = { path = "../../xtracing" }
|
|
xtracing = { version = "0.3.0", registry = "xinu" }
|
|
|
|
[build-dependencies]
|
|
build-info-build = "0.0.40"
|
|
|
|
[features]
|
|
#default = [ "tantivy" ]
|
|
tantivy = ["dep:tantivy"]
|