2020-03-15 02:05:40 +00:00
|
|
|
[package]
|
2021-12-28 16:30:48 +00:00
|
|
|
name = "ap-relay"
|
2020-03-20 03:23:10 +00:00
|
|
|
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"
|
2020-03-20 03:23:10 +00:00
|
|
|
readme = "README.md"
|
2024-01-31 22:49:23 +00:00
|
|
|
repository = "https://git.asonix.dog/asonix/relay"
|
2020-03-20 03:23:10 +00:00
|
|
|
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
|
|
|
|
2021-12-28 16:30:48 +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]
|
2023-11-26 01:59:28 +00:00
|
|
|
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"] }
|
2023-08-17 22:09:35 +00:00
|
|
|
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"
|
2024-07-09 21:18:41 +00:00
|
|
|
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"
|
2022-09-28 23:01:52 +00:00
|
|
|
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-07-09 21:26:33 +00:00
|
|
|
console-subscriber = { version = "0.3", 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"
|
2024-06-23 18:35:24 +00:00
|
|
|
futures-core = "0.3.30"
|
2023-11-26 02:14:18 +00:00
|
|
|
lru = "0.12.0"
|
2024-07-09 21:18:41 +00:00
|
|
|
metrics = "0.23.0"
|
|
|
|
metrics-exporter-prometheus = { version = "0.15.0", default-features = false, features = [
|
2022-12-26 16:56:42 +00:00
|
|
|
"http-listener",
|
|
|
|
] }
|
2024-07-09 21:18:41 +00:00
|
|
|
metrics-util = "0.17.0"
|
2020-03-20 18:40:18 +00:00
|
|
|
mime = "0.3.16"
|
2024-01-07 18:10:43 +00:00
|
|
|
minify-html = "0.15.0"
|
2024-07-09 21:28:00 +00:00
|
|
|
opentelemetry = "0.23"
|
|
|
|
opentelemetry_sdk = { version = "0.23", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = "0.16"
|
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"
|
2023-11-26 01:59:28 +00:00
|
|
|
ring = "0.17.5"
|
2024-03-11 01:09:16 +00:00
|
|
|
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"
|
2022-12-21 22:51:17 +00:00
|
|
|
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"
|
2023-11-26 01:59:28 +00:00
|
|
|
tracing-log = "0.2"
|
2024-07-09 21:28:00 +00:00
|
|
|
tracing-opentelemetry = "0.24"
|
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-07-09 21:18:41 +00:00
|
|
|
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
|
2023-08-17 22:09:35 +00:00
|
|
|
features = ["server", "ring"]
|
|
|
|
|
|
|
|
[dependencies.http-signature-normalization-reqwest]
|
2024-04-15 01:54:01 +00:00
|
|
|
version = "0.12.0"
|
2023-08-17 22:09:35 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["middleware", "ring"]
|
2021-09-18 17:57:29 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-actix-web]
|
2023-11-26 01:59:28 +00:00
|
|
|
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"] }
|
2023-11-26 01:59:28 +00:00
|
|
|
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
|