41 lines
1.5 KiB
TOML
41 lines
1.5 KiB
TOML
[package]
|
|
name = "http-axum"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
description = "Axum HTTP adapter: JSON API, classic HTML UI, optional ActivityPub-facing routes"
|
|
license = "MIT"
|
|
|
|
[features]
|
|
default = ["federation"]
|
|
# Enables federation-gated handlers; forwards to application/federation
|
|
federation = ["application/federation"]
|
|
|
|
[dependencies]
|
|
tower-http = { workspace = true, features = ["cors", "fs", "trace", "tracing"] }
|
|
infer = { workspace = true }
|
|
percent-encoding = { workspace = true }
|
|
axum-governor = { workspace = true }
|
|
|
|
axum = { workspace = true, features = ["macros", "multipart", "http1", "json", "query", "form", "tokio", "matched-path", "original-uri", "tower-log", "tracing"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
tracing = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4", "serde"] }
|
|
chrono = { workspace = true, features = ["clock", "serde"] }
|
|
chrono-tz = { workspace = true }
|
|
futures = { workspace = true }
|
|
|
|
api-types = { workspace = true }
|
|
domain = { workspace = true }
|
|
application = { workspace = true }
|
|
askama = { workspace = true }
|
|
utoipa = { workspace = true, features = ["axum_extras", "uuid"] }
|
|
utoipa-swagger-ui = { workspace = true, features = ["axum", "vendored"] }
|
|
|
|
[dev-dependencies]
|
|
bytes = { workspace = true }
|
|
futures = { workspace = true }
|
|
tower = { workspace = true, features = ["util"] }
|
|
tokio = { workspace = true, features = ["rt", "macros"] }
|
|
domain = { workspace = true, features = ["test-helpers"] }
|