relay/Cargo.toml

112 lines
3 KiB
TOML
Raw Normal View History

2020-03-15 02:05:40 +00:00
[package]
name = "ap-relay"
description = "A simple activitypub relay"
2024-02-05 06:25:15 +00:00
version = "0.3.108"
2020-03-15 02:05:40 +00:00
authors = ["asonix <asonix@asonix.dog>"]
2022-10-29 17:49:07 +00:00
license = "AGPL-3.0"
readme = "README.md"
2024-01-31 22:49:23 +00:00
repository = "https://git.asonix.dog/asonix/relay"
keywords = ["activitypub", "relay"]
2021-10-21 21:34:13 +00:00
edition = "2021"
2020-03-20 18:40:18 +00:00
build = "src/build.rs"
2020-03-15 02:05:40 +00:00
[[bin]]
name = "relay"
path = "src/main.rs"
2022-02-01 17:47:17 +00:00
[features]
console = ["dep:console-subscriber"]
2022-02-01 17:47:17 +00:00
default = []
2020-03-15 02:05:40 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2024-02-05 02:25:50 +00:00
actix-web = { version = "4.4.0", default-features = false, features = ["compress-brotli", "compress-gzip", "rustls-0_22"] }
actix-webfinger = { version = "0.5.0", default-features = false }
2023-07-20 01:23:11 +00:00
activitystreams = "0.7.0-alpha.25"
2022-12-07 00:21:55 +00:00
activitystreams-ext = "0.1.0-alpha.3"
ammonia = "3.1.0"
2024-01-07 18:43:58 +00:00
async-cpupool = "0.2.0"
2023-07-20 01:25:24 +00:00
bcrypt = "0.15"
2023-01-23 14:38:55 +00:00
base64 = "0.21"
clap = { version = "4.0.0", features = ["derive"] }
2024-02-05 06:24:49 +00:00
color-eyre = "0.6.2"
2024-02-05 02:28:18 +00:00
config = { version = "0.14.0", default-features = false, features = ["toml", "json", "yaml"] }
console-subscriber = { version = "0.2", optional = true }
2022-02-11 17:28:45 +00:00
dashmap = "5.1.0"
2020-03-15 02:05:40 +00:00
dotenv = "0.15.0"
2023-08-17 22:11:08 +00:00
flume = "0.11.0"
2023-11-26 02:14:18 +00:00
lru = "0.12.0"
2024-01-07 18:43:58 +00:00
metrics = "0.22.0"
metrics-exporter-prometheus = { version = "0.13.0", default-features = false, features = [
"http-listener",
] }
2024-01-07 18:43:58 +00:00
metrics-util = "0.16.0"
2020-03-20 18:40:18 +00:00
mime = "0.3.16"
minify-html = "0.15.0"
opentelemetry = "0.21"
opentelemetry_sdk = { version = "0.21", features = ["rt-tokio"] }
opentelemetry-otlp = "0.14"
2022-11-23 16:44:01 +00:00
pin-project-lite = "0.2.9"
2023-11-26 02:14:18 +00:00
# pinned to metrics-util
2024-01-07 18:43:58 +00:00
quanta = "0.12.0"
2021-03-28 20:02:26 +00:00
rand = "0.8"
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream"]}
reqwest-middleware = "0.2"
reqwest-tracing = "0.4.5"
ring = "0.17.5"
2023-08-04 23:34:42 +00:00
rsa = { version = "0.9" }
2023-04-28 00:34:23 +00:00
rsa-magic-public-key = "0.8.0"
2024-02-05 02:25:50 +00:00
rustls = "0.22.0"
rustls-channel-resolver = "0.2.0"
2024-01-31 22:49:23 +00:00
rustls-pemfile = "2"
2020-03-15 02:05:40 +00:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2022-02-26 18:12:07 +00:00
sled = "0.34.7"
2024-01-31 22:49:23 +00:00
streem = "0.2.0"
2023-01-23 14:57:16 +00:00
teloxide = { version = "0.12.0", default-features = false, features = [
2022-11-02 22:58:52 +00:00
"ctrlc_handler",
"macros",
"rustls",
] }
2020-03-15 02:05:40 +00:00
thiserror = "1.0"
time = { version = "0.3.17", features = ["serde"] }
2021-09-18 17:55:39 +00:00
tracing = "0.1"
2021-10-25 01:45:38 +00:00
tracing-error = "0.2"
tracing-log = "0.2"
tracing-opentelemetry = "0.22"
2022-02-01 17:47:17 +00:00
tracing-subscriber = { version = "0.3", features = [
"ansi",
"env-filter",
"fmt",
] }
2024-01-14 20:56:07 +00:00
tokio = { version = "1", features = ["full", "tracing"] }
2022-07-02 16:01:02 +00:00
uuid = { version = "1", features = ["v4", "serde"] }
2020-03-16 03:36:46 +00:00
2021-09-18 17:55:39 +00:00
[dependencies.background-jobs]
2024-02-05 06:24:49 +00:00
version = "0.18.0"
2021-09-18 17:55:39 +00:00
default-features = false
2024-01-14 20:56:07 +00:00
features = ["error-logging", "metrics", "tokio"]
2021-09-18 17:55:39 +00:00
2021-09-18 17:57:29 +00:00
[dependencies.http-signature-normalization-actix]
version = "0.11.0"
2021-09-18 17:57:29 +00:00
default-features = false
features = ["server", "ring"]
[dependencies.http-signature-normalization-reqwest]
version = "0.11.0"
default-features = false
features = ["middleware", "ring"]
2021-09-18 17:57:29 +00:00
[dependencies.tracing-actix-web]
version = "0.7.9"
2021-09-18 17:55:39 +00:00
2020-03-20 18:40:18 +00:00
[build-dependencies]
2024-02-05 06:24:49 +00:00
color-eyre = "0.6.2"
2020-03-20 18:40:18 +00:00
dotenv = "0.15.0"
2023-07-24 18:19:40 +00:00
ructe = { version = "0.17.0", features = ["sass", "mime03"] }
toml = "0.8.0"
2020-03-20 18:40:18 +00:00
2020-03-16 03:36:46 +00:00
[profile.dev.package.rsa]
opt-level = 3