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"
|
2023-06-23 20:15:27 +00:00
|
|
|
version = "0.3.85"
|
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"
|
2020-03-20 03:24:39 +00:00
|
|
|
repository = "https://git.asonix.dog/asonix/ap-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"
|
|
|
|
|
2022-02-01 17:47:17 +00:00
|
|
|
[features]
|
|
|
|
console = ["console-subscriber"]
|
|
|
|
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]
|
|
|
|
anyhow = "1.0"
|
2022-09-28 23:01:52 +00:00
|
|
|
actix-rt = "2.7.0"
|
2022-11-21 03:42:38 +00:00
|
|
|
actix-web = { version = "4.0.1", default-features = false, features = [
|
|
|
|
"rustls",
|
2022-11-23 18:57:56 +00:00
|
|
|
"compress-brotli",
|
|
|
|
"compress-gzip",
|
2022-11-21 03:42:38 +00:00
|
|
|
] }
|
2022-03-08 17:39:00 +00:00
|
|
|
actix-webfinger = "0.4.0"
|
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"
|
2020-03-26 03:26:45 +00:00
|
|
|
ammonia = "3.1.0"
|
2022-03-08 17:39:00 +00:00
|
|
|
awc = { version = "3.0.0", default-features = false, features = ["rustls"] }
|
2023-07-20 01:25:24 +00:00
|
|
|
bcrypt = "0.15"
|
2023-01-23 14:38:55 +00:00
|
|
|
base64 = "0.21"
|
2022-09-28 23:01:52 +00:00
|
|
|
clap = { version = "4.0.0", features = ["derive"] }
|
2022-04-08 22:39:38 +00:00
|
|
|
config = "0.13.0"
|
2022-02-01 17:47:17 +00:00
|
|
|
console-subscriber = { version = "0.1", 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"
|
2021-09-18 17:55:39 +00:00
|
|
|
futures-util = "0.3.17"
|
2023-07-20 01:25:24 +00:00
|
|
|
lru = "0.11.0"
|
2023-04-28 00:34:23 +00:00
|
|
|
metrics = "0.21.0"
|
|
|
|
metrics-exporter-prometheus = { version = "0.12.0", default-features = false, features = [
|
2022-12-26 16:56:42 +00:00
|
|
|
"http-listener",
|
|
|
|
] }
|
2023-04-28 00:34:23 +00:00
|
|
|
metrics-util = "0.15.0"
|
2020-03-20 18:40:18 +00:00
|
|
|
mime = "0.3.16"
|
2023-05-24 15:19:34 +00:00
|
|
|
minify-html = "0.11.0"
|
|
|
|
opentelemetry = { version = "0.19", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = "0.12"
|
2022-11-23 16:44:01 +00:00
|
|
|
pin-project-lite = "0.2.9"
|
2023-04-28 00:34:23 +00:00
|
|
|
quanta = "0.11.0"
|
2021-03-28 20:02:26 +00:00
|
|
|
rand = "0.8"
|
2023-04-28 00:34:23 +00:00
|
|
|
rsa = { version = "0.9", features = ["sha2"] }
|
|
|
|
rsa-magic-public-key = "0.8.0"
|
2022-11-21 03:42:38 +00:00
|
|
|
rustls = "0.20.7"
|
|
|
|
rustls-pemfile = "1.0.1"
|
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"
|
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"
|
2023-05-24 15:19:34 +00:00
|
|
|
tracing-awc = "0.1.7"
|
2021-10-25 01:45:38 +00:00
|
|
|
tracing-error = "0.2"
|
2021-09-18 17:55:39 +00:00
|
|
|
tracing-futures = "0.2"
|
|
|
|
tracing-log = "0.1"
|
2023-05-24 15:19:34 +00:00
|
|
|
tracing-opentelemetry = "0.19"
|
2022-02-01 17:47:17 +00:00
|
|
|
tracing-subscriber = { version = "0.3", features = [
|
|
|
|
"ansi",
|
|
|
|
"env-filter",
|
|
|
|
"fmt",
|
|
|
|
] }
|
2022-11-02 19:16:48 +00:00
|
|
|
tokio = { version = "1", features = ["macros", "sync"] }
|
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]
|
2023-04-28 00:34:23 +00:00
|
|
|
version = "0.15.0"
|
2021-09-18 17:55:39 +00:00
|
|
|
default-features = false
|
2022-02-01 17:47:17 +00:00
|
|
|
features = ["background-jobs-actix", "error-logging"]
|
2021-09-18 17:55:39 +00:00
|
|
|
|
2021-09-18 17:57:29 +00:00
|
|
|
[dependencies.http-signature-normalization-actix]
|
2022-12-19 17:39:30 +00:00
|
|
|
version = "0.8.0"
|
2021-09-18 17:57:29 +00:00
|
|
|
default-features = false
|
2021-10-11 19:19:32 +00:00
|
|
|
features = ["client", "server", "sha-2"]
|
2021-09-18 17:57:29 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-actix-web]
|
2023-05-24 15:19:34 +00:00
|
|
|
version = "0.7.5"
|
2021-09-18 17:55:39 +00:00
|
|
|
|
2020-03-20 18:40:18 +00:00
|
|
|
[build-dependencies]
|
|
|
|
anyhow = "1.0"
|
|
|
|
dotenv = "0.15.0"
|
2023-01-23 14:38:55 +00:00
|
|
|
ructe = { version = "0.16.0", features = ["sass", "mime03"] }
|
2023-01-29 19:21:53 +00:00
|
|
|
toml = "0.7.0"
|
2020-03-20 18:40:18 +00:00
|
|
|
|
2020-03-16 03:36:46 +00:00
|
|
|
[profile.dev.package.rsa]
|
|
|
|
opt-level = 3
|