1@README.md
2
3## Notes for agents
4
5**No function here defaults a content type or a cache policy.** A response that
6forgot one is a bug the compiler can find; keep it a required argument.
7
8**One crate for both families on purpose.** The Worker family answers over axum
9too, so a second adapter would duplicate every function. What needs `worker` goes
10in `aldebaran-worker`; do not add the `worker` dependency here, or the native
11family would build the Workers runtime.
12
13**axum is `default-features = false`** (the workspace entry). Add a feature to the
14consumer, not here.
15
16**The `keep-alive` feature exists because of wasm, not taste.** `event_stream` and everything else
17must keep building for `wasm32-unknown-unknown` with the feature off
18(`cargo check -p aldebaran-axum --target wasm32-unknown-unknown`). Anything that needs tokio's timer
19goes behind the feature. The keep-alive line and its 15 seconds are axum's own defaults, kept so a
20property that moves off `Sse` sends the same bytes on the wire.