Separate out the init
and router
parts in reign_plugin
#16
Labels
C: plugin
Context: Plugin library
D3: medium
Difficulty: Medium to implement
E: rust
External: Rust
T: ergonomics
Type: Ergonomic improvement
U2: need to have
Urgency: Need to have
W: external
Waiting: External
This can be achievable by adding default
router
plugin trait if not defined for allinit
plugin trait implementations.Needs rust trait specialization
For example, the redis plugin doesn't need the
router
part of the plugin, and thus does not need to bring thereign_router
dep inreign_plugin
.The text was updated successfully, but these errors were encountered: