Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randomairborne/vss
Simple graceful shutdowns for Axum
https://github.com/randomairborne/vss
Last synced: 20 days ago
JSON representation
Simple graceful shutdowns for Axum
- Host: GitHub
- URL: https://github.com/randomairborne/vss
- Owner: randomairborne
- Created: 2023-12-29T18:38:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-29T18:38:51.000Z (11 months ago)
- Last Synced: 2024-10-13T11:48:11.565Z (about 1 month ago)
- Language: Rust
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vss
### valkyrie_pilot's `shutdown_signal`This is a very simple crate, made to be used with
axum's `graceful_shutdown` method, like so:```rust
#[tokio::main]
async fn main() {
axum::serve(tcp, app)
.with_graceful_shutdown(vss::shutdown_signal())
.await
.unwrap();
}
```