Service composition
Components from every linked crate are discovered, built, and mounted when the application starts.
- With Axum, Tokio, and SQLx alone, your team builds
- Tokio startup code that gathers Axum routers, component registrations, and configuration across crates.
- rsfly provides
- Component discovery, async bean factories, mounted controllers and handlers, and reloadable typed configuration.
How it works
Component scanning registers and autowires your beans at startup. ReloadableConfig merges configuration sources, resolves placeholders, and publishes a new typed snapshot on each reload.
A crate’s registrations reach the application only if the binary links it, as the sample does with firefly::link!.

