Crate shaku_actix[][src]

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 Module. The module should be stored in Actix's app data, wrapped in an Arc. Use this struct as an extractor.

InjectProvided

Used to create a provided service from a shaku Module. The module should be stored in Actix's app data, wrapped in an Arc. Use this struct as an extractor.