[][src]Crate shaku_rocket

This crate provides integration between the shaku and rocket crates.

See Inject and InjectProvided for details.

Structs

Inject

Used to retrieve a reference to a component from a shaku Container. The container should be stored in Rocket's state. Use this struct as a request guard.

InjectProvided

Used to create a provided service using a provider from a shaku Container. The container should be stored in Rocket's state. Use this struct as a request guard.