Crate shaku_actix

Crate shaku_actix 

Source
Expand description

This crate provides integration between the shaku and actix-web 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.