upub/Cargo.toml
alemi 0c1160b42f
chore!: HUGE REFACTOR
not even sure stuff will stay this way but phewwwwww this was time
consuming asffff
2024-06-01 05:21:57 +02:00

47 lines
1 KiB
TOML

[workspace]
members = [
"apb",
"upub/core",
"upub/cli",
"upub/migrations",
"upub/routes",
"upub/processor",
"web",
"utils/httpsign",
"utils/mdhtml",
"utils/uriproxy"
]
[package]
name = "upub-bin"
version = "0.2.0"
edition = "2021"
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"
[[bin]]
name = "upub"
path = "main.rs"
[dependencies]
toml = "0.8"
tracing = "0.1"
tracing-subscriber = "0.3"
sea-orm = "0.12"
clap = { version = "4.5", features = ["derive"] }
tokio = { version = "1.35", features = ["full"] } # TODO slim this down
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 }
[features]
default = ["serve", "migrate", "cli"]
serve = ["dep:upub-routes"]
migrate = ["dep:upub-migrations"]
cli = ["dep:upub-cli"]