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 = [
|
2024-09-05 13:58:42 +00:00
|
|
|
".",
|
|
|
|
"ext_activity_streams",
|
|
|
|
"ext_federation",
|
|
|
|
"ext_nodeinfo",
|
|
|
|
"ext_webfinger",
|
|
|
|
"ext_model",
|
|
|
|
"fe_calckey",
|
|
|
|
"magnetar_common",
|
2024-11-12 21:37:18 +00:00
|
|
|
"magnetar_runtime",
|
2024-09-05 13:58:42 +00:00
|
|
|
"magnetar_sdk",
|
|
|
|
"magnetar_mmm_parser",
|
|
|
|
"core",
|
2023-02-18 14:28:09 +00:00
|
|
|
]
|
|
|
|
|
2023-07-07 19:22:30 +00:00
|
|
|
[workspace.package]
|
2023-11-05 19:31:50 +00:00
|
|
|
version = "0.3.0-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"
|
2024-01-16 23:41:32 +00:00
|
|
|
async-stream = "0.3"
|
2023-12-22 18:19:07 +00:00
|
|
|
axum = "0.7"
|
|
|
|
axum-extra = "0.9"
|
2024-04-07 02:12:27 +00:00
|
|
|
base64 = "0.22"
|
2024-11-12 21:37:18 +00:00
|
|
|
bytes = "1.7"
|
2024-11-16 16:50:51 +00:00
|
|
|
cached = "0.54"
|
2023-08-02 01:10:53 +00:00
|
|
|
cfg-if = "1"
|
2023-07-07 19:22:30 +00:00
|
|
|
chrono = "0.4"
|
2024-09-05 13:58:42 +00:00
|
|
|
compact_str = "0.8"
|
2023-07-07 19:22:30 +00:00
|
|
|
dotenvy = "0.15"
|
2024-04-07 02:12:27 +00:00
|
|
|
ed25519-dalek = "2.1"
|
2023-10-06 23:46:20 +00:00
|
|
|
either = "1.9"
|
2023-10-05 19:21:23 +00:00
|
|
|
emojis = "0.6"
|
2023-11-07 20:15:35 +00:00
|
|
|
futures = "0.3"
|
2024-09-05 13:58:42 +00:00
|
|
|
futures-channel = "0.3"
|
2023-08-02 01:10:53 +00:00
|
|
|
futures-core = "0.3"
|
|
|
|
futures-util = "0.3"
|
2023-12-22 18:19:07 +00:00
|
|
|
headers = "0.4"
|
|
|
|
http = "1.0"
|
2024-04-09 14:49:00 +00:00
|
|
|
httpdate = "1"
|
2023-12-22 18:19:07 +00:00
|
|
|
hyper = "1.1"
|
2024-09-05 13:58:42 +00:00
|
|
|
idna = "1"
|
2024-04-07 02:12:27 +00:00
|
|
|
indexmap = "2.2"
|
2024-09-05 13:58:42 +00:00
|
|
|
itertools = "0.13"
|
2024-11-15 19:39:13 +00:00
|
|
|
kdl = "4"
|
2023-10-27 19:55:08 +00:00
|
|
|
lru = "0.12"
|
2024-09-05 13:58:42 +00:00
|
|
|
miette = "7"
|
2023-09-29 14:56:59 +00:00
|
|
|
nom = "7"
|
2023-10-01 21:04:32 +00:00
|
|
|
nom_locate = "4"
|
2023-07-07 19:22:30 +00:00
|
|
|
percent-encoding = "2.2"
|
2024-09-05 13:58:42 +00:00
|
|
|
priority-queue = "2.0"
|
|
|
|
quick-xml = "0.36"
|
|
|
|
redis = "0.26"
|
2023-10-07 17:44:39 +00:00
|
|
|
regex = "1.9"
|
2024-11-12 21:37:18 +00:00
|
|
|
rmp-serde = "1.3"
|
2024-04-07 02:12:27 +00:00
|
|
|
rsa = "0.9"
|
|
|
|
reqwest = "0.12"
|
2024-09-05 20:16:54 +00:00
|
|
|
sea-orm = "1"
|
|
|
|
sea-orm-migration = "1"
|
2023-07-07 19:22:30 +00:00
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
2023-11-07 20:15:35 +00:00
|
|
|
serde_urlencoded = "0.7"
|
2024-04-07 02:12:27 +00:00
|
|
|
sha2 = "0.10"
|
2024-09-05 13:58:42 +00:00
|
|
|
smallvec = "1.13"
|
|
|
|
strum = "0.26"
|
2023-07-07 19:22:30 +00:00
|
|
|
tera = { version = "1", default-features = false }
|
2024-11-16 16:50:51 +00:00
|
|
|
thiserror = "2"
|
2023-07-07 19:22:30 +00:00
|
|
|
tokio = "1.24"
|
2023-08-02 01:10:53 +00:00
|
|
|
tokio-util = "0.7"
|
2024-01-16 23:41:32 +00:00
|
|
|
tokio-stream = "0.1"
|
2023-09-29 14:57:54 +00:00
|
|
|
toml = "0.8"
|
2024-09-05 13:58:42 +00:00
|
|
|
tower = "0.5"
|
2024-11-16 16:50:51 +00:00
|
|
|
tower-http = "0.6"
|
2023-07-07 19:22:30 +00:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
2023-09-29 14:57:54 +00:00
|
|
|
ts-rs = "7"
|
2024-11-12 21:20:57 +00:00
|
|
|
ulid = "1"
|
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-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" }
|
2024-03-31 03:10:48 +00:00
|
|
|
magnetar_federation = { path = "./ext_federation" }
|
|
|
|
magnetar_host_meta = { path = "./ext_host_meta" }
|
2023-07-07 19:22:30 +00:00
|
|
|
magnetar_webfinger = { path = "./ext_webfinger" }
|
|
|
|
magnetar_nodeinfo = { path = "./ext_nodeinfo" }
|
2024-04-15 02:45:44 +00:00
|
|
|
magnetar_model = { path = "./ext_model" }
|
2024-11-12 21:37:18 +00:00
|
|
|
magnetar_runtime = { path = "./magnetar_runtime" }
|
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 }
|
2023-10-27 19:55:08 +00:00
|
|
|
lru = { workspace = true }
|
|
|
|
|
2023-08-02 01:10:53 +00:00
|
|
|
chrono = { workspace = true }
|
2023-07-07 19:22:30 +00:00
|
|
|
dotenvy = { workspace = true }
|
2023-02-18 14:28:09 +00:00
|
|
|
|
2023-12-22 18:19:07 +00:00
|
|
|
axum = { workspace = true, features = ["macros"] }
|
2024-03-31 03:10:48 +00:00
|
|
|
axum-extra = { workspace = true, features = ["typed-header"] }
|
2024-01-16 23:41:32 +00:00
|
|
|
async-stream = { workspace = true }
|
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"] }
|
2024-01-16 23:41:32 +00:00
|
|
|
tokio-stream = { workspace = true }
|
2023-07-07 19:22:30 +00:00
|
|
|
tower = { workspace = true }
|
|
|
|
tower-http = { workspace = true, features = ["cors", "trace", "fs"] }
|
2024-11-12 21:20:57 +00:00
|
|
|
ulid = { workspace = true }
|
2023-11-05 14:23:48 +00:00
|
|
|
url = { workspace = true }
|
2023-11-01 21:55:59 +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 }
|
|
|
|
|
2024-11-12 21:20:57 +00:00
|
|
|
bytes = { workspace = true }
|
2023-10-29 01:10:48 +00:00
|
|
|
compact_str = { workspace = true }
|
2023-10-28 23:27:32 +00:00
|
|
|
either = { workspace = true }
|
2023-11-07 20:15:35 +00:00
|
|
|
futures = { workspace = true }
|
2023-10-29 16:05:42 +00:00
|
|
|
futures-util = { workspace = true }
|
2023-11-01 21:55:59 +00:00
|
|
|
itertools = { workspace = true }
|
|
|
|
miette = { workspace = true, features = ["fancy"] }
|
2023-08-02 01:10:53 +00:00
|
|
|
strum = { workspace = true, features = ["derive"] }
|
2023-07-07 19:22:30 +00:00
|
|
|
thiserror = { 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
|
|
|
|
2024-11-15 19:39:13 +00:00
|
|
|
kdl = { workspace = true }
|
2024-11-12 21:37:18 +00:00
|
|
|
rmp-serde = { workspace = true }
|
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 }
|
2024-01-09 21:29:06 +00:00
|
|
|
serde_urlencoded = { workspace = true }
|
2023-07-07 19:22:30 +00:00
|
|
|
toml = { workspace = true }
|
2024-03-31 03:10:48 +00:00
|
|
|
quick-xml = { workspace = true, features = ["serialize", "overlapped-lists"] }
|
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]
|
2023-10-05 19:21:23 +00:00
|
|
|
lto = true
|