1[package]
2name = "aldebaran-axum"
3description = "Responses for an Aldebaran site over `http` and axum's body, which both the Worker family and the native family use."
4version.workspace = true
5edition.workspace = true
6license.workspace = true
7authors.workspace = true
8publish.workspace = true
9
10[features]
11# The keep-alive timer needs tokio's clock, which a Worker does not have; the native family turns it on.
12keep-alive = ["dep:tokio"]
13
14[dependencies]
15aldebaran-assets.workspace = true
16aldebaran-datastar.workspace = true
17aldebaran-gate.workspace = true
18aldebaran-headers.workspace = true
19axum.workspace = true
20http.workspace = true
21futures-util.workspace = true
22tokio = { workspace = true, features = ["time"], optional = true }
23
24[dev-dependencies]
25# So that `cargo test` of the workspace runs the keep-alive tests without a flag.
26aldebaran-axum = { path = ".", features = ["keep-alive"] }
27tokio = { workspace = true, features = ["time", "sync", "test-util"] }