Introduction
spring-boot
is the core module of the spring
project, which includes: configuration management, plugin management, and component management.
All plugins need to implement the Plugin
feature.
How to write your own plugin
Add dependencies
= { = "0.0.6" } # This crate contains the definition of plugin traits
= { = true, = ["derive"] } # Used to parse plugin configuration items
;
/// Plugin configuration
For the complete code, refer to plugin-example
, or refer to other built-in plugin codes.