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-01-17 23:58:13 +00:00
|
|
|
version = "0.3.14"
|
2020-03-15 02:05:40 +00:00
|
|
|
authors = ["asonix <asonix@asonix.dog>"]
|
2020-03-20 03:23:10 +00:00
|
|
|
license-file = "LICENSE"
|
|
|
|
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"
|
|
|
|
|
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-01-17 23:51:19 +00:00
|
|
|
actix-http = "=3.0.0-beta.18"
|
|
|
|
actix-router = "=0.5.0-beta.4"
|
|
|
|
actix-rt = "2.6.0"
|
|
|
|
actix-web = { version = "=4.0.0-beta.19", default-features = false }
|
2021-12-30 18:23:10 +00:00
|
|
|
actix-webfinger = "0.4.0-beta.5"
|
2022-01-17 22:54:45 +00:00
|
|
|
activitystreams = "0.7.0-alpha.16"
|
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"
|
2020-12-29 17:27:14 +00:00
|
|
|
async-rwlock = "1.3.0"
|
2021-09-18 17:55:39 +00:00
|
|
|
awc = { version = "3.0.0-beta.6", default-features = false, features = ["rustls"] }
|
2020-10-10 17:38:37 +00:00
|
|
|
base64 = "0.13"
|
2021-03-28 20:02:26 +00:00
|
|
|
config = "0.11.0"
|
2021-12-19 20:24:31 +00:00
|
|
|
console-subscriber = "0.1"
|
|
|
|
dashmap = "5.0.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"
|
2021-10-11 19:19:32 +00:00
|
|
|
lru = "0.7.0"
|
2020-03-20 18:40:18 +00:00
|
|
|
mime = "0.3.16"
|
2021-09-18 20:47:10 +00:00
|
|
|
opentelemetry = { version = "0.16", features = ["rt-tokio"] }
|
2021-09-18 18:40:47 +00:00
|
|
|
opentelemetry-otlp = "0.9"
|
2021-03-28 20:02:26 +00:00
|
|
|
rand = "0.8"
|
2021-08-01 20:12:06 +00:00
|
|
|
rsa = "0.5"
|
|
|
|
rsa-magic-public-key = "0.4.0"
|
2020-03-15 02:05:40 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2021-12-19 20:24:31 +00:00
|
|
|
sha2 = "0.10"
|
2021-02-10 04:05:06 +00:00
|
|
|
sled = "0.34.6"
|
2020-03-20 00:55:11 +00:00
|
|
|
structopt = "0.3.12"
|
2020-03-15 02:05:40 +00:00
|
|
|
thiserror = "1.0"
|
2021-09-18 17:55:39 +00:00
|
|
|
tracing = "0.1"
|
2021-11-25 02:26:50 +00:00
|
|
|
tracing-awc = { version = "0.1.0-beta.10" }
|
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"
|
2021-10-25 01:45:38 +00:00
|
|
|
tracing-opentelemetry = "0.16"
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["ansi", "env-filter", "fmt"] }
|
2020-03-22 21:18:36 +00:00
|
|
|
uuid = { version = "0.8", features = ["v4", "serde"] }
|
2020-03-16 03:36:46 +00:00
|
|
|
|
2021-09-18 17:55:39 +00:00
|
|
|
[dependencies.background-jobs]
|
2022-01-17 23:51:19 +00:00
|
|
|
version = "0.12.0"
|
2021-09-18 17:55:39 +00:00
|
|
|
default-features = false
|
|
|
|
features = [
|
|
|
|
"background-jobs-actix",
|
|
|
|
"error-logging"
|
|
|
|
]
|
|
|
|
|
2021-09-18 17:57:29 +00:00
|
|
|
[dependencies.http-signature-normalization-actix]
|
2022-01-17 23:51:19 +00:00
|
|
|
version = "0.6.0-beta.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]
|
2021-11-25 02:26:50 +00:00
|
|
|
version = "0.5.0-beta.3"
|
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"
|
2020-12-23 18:06:15 +00:00
|
|
|
ructe = { version = "0.13.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
|