New
spring-rs 0.4.0 RELEASE
What's Changed
- job with local timezone by @holmofy in https://github.com/spring-rs/spring-rs/pull/111
- Prototype service with lifetime by @holmofy in https://github.com/spring-rs/spring-rs/pull/114
- chore: :sparkles: upgrade axum to 0.8 and remove async_trait usage in some places by @Phosphorus-M in https://github.com/spring-rs/spring-rs/pull/122
- Upgrade opentelemetry & support export trace id by @holmofy in https://github.com/spring-rs/spring-rs/pull/127
- feat: :sparkles: opentelemetry instrument support capturing HTTP request and response headers by @holmofy in https://github.com/spring-rs/spring-rs/pull/130
- feat: :sparkles: support grpc in tonic by @holmofy in https://github.com/spring-rs/spring-rs/pull/132
Full Changelog: https://github.com/spring-rs/spring-rs/compare/0.3.0...0.4.0
Migrating from 0.3 to 0.4
#[derive(Clone, Service)]
+#[service(prototype = "build")]
-#[prototype = "build"]
struct UserService {
#[inject(component)]
db: ConnectPool,
#[inject(config)]
config: UserConfig,
}