relay/Cargo.toml

115 lines
3.1 KiB
TOML
Raw Normal View History

2020-03-15 02:05:40 +00:00
[package]
name = "ap-relay"
description = "A simple activitypub relay"
2024-07-09 21:45:19 +00:00
version = "0.3.115"
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"
2024-02-12 21:16:20 +00:00
[profile.release]
strip = true
2022-02-01 17:47:17 +00:00
[features]
console = ["dep:console-subscriber"]
2024-02-26 03:08:17 +00:00
default = []
2022-02-01 17:47:17 +00:00
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-07-09 21:24:44 +00:00
actix-web = { version = "4.4.0", default-features = false, features = ["compress-brotli", "compress-gzip", "rustls-0_23"] }
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"
2024-04-06 18:42:29 +00:00
ammonia = "4.0.0"
async-cpupool = "0.3.0"
2023-07-20 01:25:24 +00:00
bcrypt = "0.15"
2024-04-06 18:42:29 +00:00
base64 = "0.22"
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"] }
2024-08-05 21:44:39 +00:00
console-subscriber = { version = "0.4", optional = true }
2024-07-09 21:26:00 +00:00
dashmap = "6.0.1"
2020-03-15 02:05:40 +00:00
dotenv = "0.15.0"
futures-core = "0.3.30"
2023-11-26 02:14:18 +00:00
lru = "0.12.0"
metrics = "0.23.0"
metrics-exporter-prometheus = { version = "0.15.0", default-features = false, features = [
"http-listener",
] }
metrics-util = "0.17.0"
2020-03-20 18:40:18 +00:00
mime = "0.3.16"
minify-html = "0.15.0"
2024-08-05 21:43:51 +00:00
opentelemetry = "0.24"
opentelemetry_sdk = { version = "0.24", features = ["rt-tokio"] }
opentelemetry-otlp = "0.17"
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"
2024-04-15 01:54:01 +00:00
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "stream"]}
reqwest-middleware = { version = "0.3", default-features = false, features = ["json"] }
reqwest-tracing = "0.5.0"
ring = "0.17.5"
rsa = "0.9"
2023-04-28 00:34:23 +00:00
rsa-magic-public-key = "0.8.0"
2024-07-09 21:24:44 +00:00
rustls = { version = "0.23.0", default-features = false, features = ["ring", "logging", "std", "tls12"] }
rustls-channel-resolver = "0.3.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"
2024-08-05 21:43:51 +00:00
tracing-opentelemetry = "0.25"
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]
version = "0.19.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]
2024-04-15 01:54:01 +00:00
version = "0.11.1"
2021-09-18 17:57:29 +00:00
default-features = false
features = ["server", "ring"]
[dependencies.http-signature-normalization-reqwest]
2024-04-15 01:54:01 +00:00
version = "0.12.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