spring-rs is a application framework written in rust inspired by java's spring-boot
spring-rs is a application framework written in rust inspired by java's spring-boot
summer-rs is an application framework that emphasizes convention over configuration, inspired by Java's SpringBoot. summer-rs provides an easily extensible plug-in system for integrating excellent projects in the Rust community, such as axum, sqlx, sea-orm, etc.
Compared with SpringBoot in java, summer-rs has higher performance and lower memory usage, allowing you to completely get rid of the bloated JVM and travel light.
web
…job
…Add dependencies to your Cargo.toml:
[dependencies]
summer = "0.4"
tokio = { version = "1", features = ["full"] }Simple component registration with #[component] macro:
…The #[component] macro eliminates boilerplate code - no need to manually implement the Plugin trait! Learn more →
| Plugin | Crate | Integrated With | Description |
|---|---|---|---|
summer-web |
axum |
Web framework based on Axum | |
summer-sqlx |
sqlx |
Async SQL access | |
summer-postgres |
rust-postgres |
PostgreSQL client integration | |
summer-sea-orm |
sea-orm |
ORM support | |
summer-redis |
redis |
Redis integration | |
summer-mail |
lettre |
Email sending | |
summer-job |
tokio-cron-scheduler |
Scheduled jobs / Cron | |
summer-xxl-job |
xxljob-sdk-rs |
Distributed job executor for xxl-job / ratch-job | |
summer-stream |
sea-streamer |
Stream processing (Redis Streams / Kafka) | |
summer-opentelemetry |
opentelemetry |
Logging, metrics, and distributed tracing | |
summer-resilience |
backoff |
Named retry policies | |
summer-grpc |
tonic |
gRPC services and clients | |
summer-nacos |
nacos-sdk |
Nacos / r-nacos configuration and service discovery | |
summer-opendal |
opendal |
Unified object storage and data access | |
summer-apalis |
apalis |
High-performance background processing library | |
summer-sa-token |
sa-token-rust |
Sa-Token authentication and authorization |
summer-sqlx-migration-pluginsummer-lsp - IDE support for VSCode / compatible editor with LSPintellij-summer-rs - IDE support for RustRover / IntelliJ IDEAWe also welcome community experts to contribute their own plugins. Contributing →
Click here to view common problems encountered when using summer-rs Help →
No open issues yet, or sync has not completed.