New
spring-rs 0.1.0
0.1.0 - 2024.9.8
- added: add ConfigRegistry trait. (#31)
- added: add Config extractor for spring-web,spring-job,spring-stream. (#31)
- changed: refactor app configuration management: Configuration and plugins are independent of each other. (#31)
Migrating from 0.0 to 0.1
-#[derive(Configurable)]
-#[config_prefix = "my-plugin"]
struct MyPlugin;
#[derive(Debug, Configurable, Deserialize)]
+#[config_prefix = "my-plugin"]
struct Config {
a: u32,
b: bool,
}