2023-02-14 00:59:15 +00:00
|
|
|
[package]
|
|
|
|
name = "magnetar"
|
2023-02-18 15:23:56 +00:00
|
|
|
description = "An exploratory ActivityPub project"
|
2023-07-07 19:22:30 +00:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
2023-02-18 15:26:14 +00:00
|
|
|
license = "AGPL-3.0-only"
|
2023-02-14 00:59:15 +00:00
|
|
|
|
2023-02-17 23:42:50 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
2023-02-26 02:31:39 +00:00
|
|
|
"ext_nodeinfo",
|
2023-02-26 02:51:59 +00:00
|
|
|
"ext_webfinger",
|
2023-04-21 23:39:52 +00:00
|
|
|
"ext_calckey_model",
|
2023-07-07 19:22:30 +00:00
|
|
|
"fe_calckey",
|
|
|
|
"magnetar_common",
|
2023-08-04 10:28:35 +00:00
|
|
|
"magnetar_sdk",
|
2023-02-17 23:42:50 +00:00
|
|
|
"core"
|
2023-02-18 14:28:09 +00:00
|
|
|
]
|
|
|
|
|
2023-07-07 19:22:30 +00:00
|
|
|
[workspace.package]
|
2023-10-02 17:11:35 +00:00
|
|
|
version = "0.2.1-alpha"
|
2023-07-07 19:22:30 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2023-08-04 10:28:35 +00:00
|
|
|
async-trait = "0.1"
|
2023-07-07 19:22:30 +00:00
|
|
|
axum = "0.6"
|
2023-09-29 14:57:54 +00:00
|
|
|
cached = "0.46"
|
2023-08-02 01:10:53 +00:00
|
|
|
cfg-if = "1"
|
2023-07-07 19:22:30 +00:00
|
|
|
chrono = "0.4"
|
|
|
|
dotenvy = "0.15"
|
2023-08-02 01:10:53 +00:00
|
|
|
futures-core = "0.3"
|
|
|
|
futures-util = "0.3"
|
|
|
|
headers = "0.3"
|
2023-08-04 10:28:35 +00:00
|
|
|
http = "0.2"
|
2023-07-07 19:22:30 +00:00
|
|
|
hyper = "0.14"
|
2023-08-04 10:28:35 +00:00
|
|
|
js-sys = "0.3"
|
2023-07-07 19:22:30 +00:00
|
|
|
log = "0.4"
|
|
|
|
miette = "5.9"
|
|
|
|
percent-encoding = "2.2"
|
2023-08-02 01:10:53 +00:00
|
|
|
redis = "0.23"
|
2023-08-04 10:28:35 +00:00
|
|
|
reqwest = "0.11"
|
2023-08-06 14:41:00 +00:00
|
|
|
sea-orm = "0.12"
|
|
|
|
sea-orm-migration = "0.12"
|
2023-07-07 19:22:30 +00:00
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2023-08-02 01:10:53 +00:00
|
|
|
strum = "0.25"
|
2023-07-07 19:22:30 +00:00
|
|
|
tera = { version = "1", default-features = false }
|
|
|
|
thiserror = "1"
|
|
|
|
tokio = "1.24"
|
2023-08-02 01:10:53 +00:00
|
|
|
tokio-util = "0.7"
|
2023-09-29 14:57:54 +00:00
|
|
|
toml = "0.8"
|
2023-07-07 19:22:30 +00:00
|
|
|
tower = "0.4"
|
|
|
|
tower-http = "0.4"
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
2023-09-29 14:57:54 +00:00
|
|
|
ts-rs = "7"
|
2023-09-23 16:05:13 +00:00
|
|
|
unicode-segmentation = "1.10"
|
2023-07-07 19:22:30 +00:00
|
|
|
url = "2.3"
|
2023-07-22 21:36:46 +00:00
|
|
|
walkdir = "2.3"
|
2023-08-04 10:28:35 +00:00
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
web-sys = "0.3"
|
2023-07-07 19:22:30 +00:00
|
|
|
|
2023-02-18 14:28:09 +00:00
|
|
|
[dependencies]
|
2023-07-07 19:22:30 +00:00
|
|
|
magnetar_core = { path = "./core" }
|
|
|
|
magnetar_common = { path = "./magnetar_common" }
|
|
|
|
magnetar_webfinger = { path = "./ext_webfinger" }
|
|
|
|
magnetar_nodeinfo = { path = "./ext_nodeinfo" }
|
|
|
|
magnetar_calckey_model = { path = "./ext_calckey_model" }
|
2023-08-04 10:28:35 +00:00
|
|
|
magnetar_sdk = { path = "./magnetar_sdk" }
|
2023-02-18 14:28:09 +00:00
|
|
|
|
2023-08-02 01:10:53 +00:00
|
|
|
cached = { workspace = true }
|
|
|
|
chrono = { workspace = true }
|
2023-07-07 19:22:30 +00:00
|
|
|
dotenvy = { workspace = true }
|
2023-02-18 14:28:09 +00:00
|
|
|
|
2023-09-22 18:10:48 +00:00
|
|
|
axum = { workspace = true, features = ["macros", "headers"] }
|
2023-08-02 01:10:53 +00:00
|
|
|
headers = { workspace = true }
|
2023-07-07 19:22:30 +00:00
|
|
|
hyper = { workspace = true, features = ["full"] }
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
tower = { workspace = true }
|
|
|
|
tower-http = { workspace = true, features = ["cors", "trace", "fs"] }
|
2023-02-18 14:28:09 +00:00
|
|
|
|
2023-07-07 19:22:30 +00:00
|
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
|
|
tracing = { workspace = true }
|
2023-02-18 14:28:09 +00:00
|
|
|
|
2023-08-02 01:10:53 +00:00
|
|
|
cfg-if = { workspace = true }
|
|
|
|
|
|
|
|
strum = { workspace = true, features = ["derive"] }
|
2023-07-07 19:22:30 +00:00
|
|
|
thiserror = { workspace = true }
|
|
|
|
miette = { workspace = true }
|
2023-02-18 14:28:09 +00:00
|
|
|
|
2023-07-07 19:22:30 +00:00
|
|
|
percent-encoding = { workspace = true }
|
2023-04-21 23:39:52 +00:00
|
|
|
|
2023-07-07 19:22:30 +00:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
2023-08-02 01:10:53 +00:00
|
|
|
serde_json = { workspace = true }
|
2023-07-07 19:22:30 +00:00
|
|
|
toml = { workspace = true }
|
2023-08-04 10:28:35 +00:00
|
|
|
|
2023-09-23 16:05:13 +00:00
|
|
|
unicode-segmentation = { workspace = true }
|
|
|
|
|
2023-08-04 10:28:35 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|