10 releases

0.2.7 Mar 24, 2024
0.2.6 Mar 8, 2024
0.2.4 Jan 23, 2024
0.2.3 Nov 23, 2023
0.1.1 Mar 22, 2021

#192 in Asynchronous

Download history 1075/week @ 2023-12-14 862/week @ 2023-12-21 1749/week @ 2023-12-28 1259/week @ 2024-01-04 1299/week @ 2024-01-11 1820/week @ 2024-01-18 1479/week @ 2024-01-25 1584/week @ 2024-02-01 1628/week @ 2024-02-08 1265/week @ 2024-02-15 804/week @ 2024-02-22 1125/week @ 2024-02-29 1621/week @ 2024-03-07 1782/week @ 2024-03-14 2409/week @ 2024-03-21 1986/week @ 2024-03-28

7,939 downloads per month
Used in 49 crates (3 directly)

MIT/Apache

14KB
242 lines

stopper

Stopper is an async concurrency primitive to stop both streams and futures. This was created to facilitate graceful shutdown in a http framework, but likely has utility beyond that.

For a more complete graceful shutdown story, see Swansong, which uses this crate.

Safety

This crate uses #![deny(unsafe_code)].

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~570KB