2024-04-06 16:56:13 +02:00
|
|
|
[workspace]
|
2024-05-31 04:07:39 +02:00
|
|
|
members = [
|
|
|
|
"apb",
|
|
|
|
"upub/core",
|
|
|
|
"upub/cli",
|
|
|
|
"upub/migrations",
|
|
|
|
"upub/routes",
|
2024-06-06 02:21:36 +02:00
|
|
|
"upub/worker",
|
2024-05-31 04:07:39 +02:00
|
|
|
"web",
|
2024-06-01 05:21:57 +02:00
|
|
|
"utils/httpsign",
|
2024-05-31 04:07:39 +02:00
|
|
|
"utils/mdhtml",
|
2024-07-15 20:19:27 +02:00
|
|
|
"utils/uriproxy",
|
2024-05-31 04:07:39 +02:00
|
|
|
]
|
2024-04-06 16:56:13 +02:00
|
|
|
|
2023-12-30 05:08:05 +01:00
|
|
|
[package]
|
2024-05-31 04:07:39 +02:00
|
|
|
name = "upub-bin"
|
2024-06-06 02:21:36 +02:00
|
|
|
version = "0.3.0"
|
2023-12-30 05:08:05 +01:00
|
|
|
edition = "2021"
|
2024-04-06 18:34:41 +02:00
|
|
|
authors = [ "alemi <me@alemi.dev>" ]
|
|
|
|
description = "Traits and types to handle ActivityPub objects"
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
keywords = ["activitypub", "activitystreams", "json"]
|
|
|
|
repository = "https://git.alemi.dev/upub.git"
|
|
|
|
readme = "README.md"
|
2023-12-30 05:08:05 +01:00
|
|
|
|
2024-05-31 04:07:39 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "upub"
|
|
|
|
path = "main.rs"
|
2023-12-30 05:08:05 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2024-05-13 14:41:37 +02:00
|
|
|
toml = "0.8"
|
2024-04-06 18:03:13 +02:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
clap = { version = "4.5", features = ["derive"] }
|
2024-06-10 04:13:15 +02:00
|
|
|
signal-hook = "0.3"
|
|
|
|
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
|
2024-09-19 15:56:22 +02:00
|
|
|
tokio = { version = "1.40", features = ["full"] } # TODO slim this down
|
2024-08-11 12:55:27 +02:00
|
|
|
sea-orm = { version = "1.0", features = ["sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls"] }
|
2024-06-10 04:13:15 +02:00
|
|
|
futures = "0.3"
|
2024-05-31 04:07:39 +02:00
|
|
|
|
|
|
|
upub = { path = "upub/core" }
|
|
|
|
upub-cli = { path = "upub/cli", optional = true }
|
|
|
|
upub-migrations = { path = "upub/migrations", optional = true }
|
|
|
|
upub-routes = { path = "upub/routes", optional = true }
|
2024-06-06 02:21:36 +02:00
|
|
|
upub-worker = { path = "upub/worker", optional = true }
|
2024-04-06 18:03:13 +02:00
|
|
|
|
|
|
|
[features]
|
2024-06-06 02:21:36 +02:00
|
|
|
default = ["serve", "migrate", "cli", "worker"]
|
2024-05-31 04:07:39 +02:00
|
|
|
serve = ["dep:upub-routes"]
|
|
|
|
migrate = ["dep:upub-migrations"]
|
|
|
|
cli = ["dep:upub-cli"]
|
2024-06-06 02:21:36 +02:00
|
|
|
worker = ["dep:upub-worker"]
|