Skip to content

Explanation

Background and reasoning. Nothing here is needed to use the crate; it is here so the shape of the API makes sense, and so the trade-offs are visible before you hit them.

Page Question it answers
Why App is not a container Why there is no get::<T>(), no service registry, and what you lose
Why registration happens at link time What a distributed slice buys over a runtime registry, and what it costs
Why the config is type-erased Why App is not generic over the config type, and where the seams are
Why test construction is sealed but not locked What the TestWitness seal actually prevents
What rtb-app does not do The complete list of things that are deliberately absent

For the how, see the how-to guides; for exact fields and defaults, the reference.