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"
|
2022-11-21 04:47:49 +00:00
|
|
|
version = "0.3.59"
|
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-03-08 17:39:00 +00:00
|
|
|
actix-webfinger = "0.4.0"
|
2022-02-26 18:12:07 +00:00
|
|
|
activitystreams = "0.7.0-alpha.19"
|
2020-09-07 21:51:02 +00:00
|
|
|
activitystreams-ext = "0.1.0-alpha.2"
|
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"] }
|
2022-11-17 19:14:29 +00:00
|
|
|
bcrypt = "0.13"
|
2020-10-10 17:38:37 +00:00
|
|
|
base64 = "0.13"
|
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"
|
2022-11-19 23:28:15 +00:00
|
|
|
indexmap = "1.9.2"
|
2022-09-28 23:01:52 +00:00
|
|
|
lru = "0.8.0"
|
2022-11-19 20:47:47 +00:00
|
|
|
metrics = "0.20.1"
|
|
|
|
metrics-util = "0.14.0"
|
2020-03-20 18:40:18 +00:00
|
|
|
mime = "0.3.16"
|
2022-09-28 23:01:52 +00:00
|
|
|
opentelemetry = { version = "0.18", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = "0.11"
|
2022-11-19 23:28:15 +00:00
|
|
|
quanta = "0.10.1"
|
2021-03-28 20:02:26 +00:00
|
|
|
rand = "0.8"
|
2022-10-29 17:22:13 +00:00
|
|
|
rsa = "0.7"
|
|
|
|
rsa-magic-public-key = "0.6.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-10-29 17:22:13 +00:00
|
|
|
sha2 = { version = "0.10", features = ["oid"] }
|
|
|
|
signature = "1.6.4"
|
2022-02-26 18:12:07 +00:00
|
|
|
sled = "0.34.7"
|
2022-11-02 22:58:52 +00:00
|
|
|
teloxide = { version = "0.11.1", default-features = false, features = [
|
|
|
|
"ctrlc_handler",
|
|
|
|
"macros",
|
|
|
|
"rustls",
|
|
|
|
] }
|
2020-03-15 02:05:40 +00:00
|
|
|
thiserror = "1.0"
|
2021-09-18 17:55:39 +00:00
|
|
|
tracing = "0.1"
|
2022-09-28 23:01:52 +00:00
|
|
|
tracing-awc = "0.1.6"
|
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"
|
2022-09-28 23:01:52 +00:00
|
|
|
tracing-opentelemetry = "0.18"
|
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]
|
2022-11-19 20:45:09 +00:00
|
|
|
version = "0.14.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-03-08 17:39:00 +00:00
|
|
|
version = "0.6.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]
|
2022-09-28 23:01:52 +00:00
|
|
|
version = "0.6.1"
|
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"
|
2022-09-28 23:01:52 +00:00
|
|
|
ructe = { version = "0.15.0", features = ["sass", "mime03"] }
|
2021-09-20 17:49:07 +00:00
|
|
|
toml = "0.5.8"
|
2020-03-20 18:40:18 +00:00
|
|
|
|
2020-03-16 03:36:46 +00:00
|
|
|
[profile.dev.package.rsa]
|
|
|
|
opt-level = 3
|