5 releases

Uses old Rust 2015

0.1.1 Feb 2, 2019
0.1.0 Jan 30, 2018
0.0.3 Mar 13, 2017
0.0.2 Feb 1, 2017
0.0.1 Feb 1, 2017

#7 in #boxing

Download history 3293/week @ 2024-03-31 2502/week @ 2024-04-07 3185/week @ 2024-04-14 3084/week @ 2024-04-21 2812/week @ 2024-04-28 2957/week @ 2024-05-05 2595/week @ 2024-05-12 3104/week @ 2024-05-19 2594/week @ 2024-05-26 3176/week @ 2024-06-02 2787/week @ 2024-06-09 3149/week @ 2024-06-16 2947/week @ 2024-06-23 2371/week @ 2024-06-30 2937/week @ 2024-07-07 3032/week @ 2024-07-14

11,647 downloads per month
Used in 56 crates (4 directly)

MIT license

17KB
355 lines

Travis Build Status AppVeyor Status crates.io MIT licensed

This library provide a safe way to box FnOnce types. It doesn't use any unstable features and is therefore fully compatible with rust stable.

This library is provided because Box<FnOnce()> doesn't work yet, and Box<FnBox()> will never be available in rust stable.

The documentation for master is located at https://stbuehler.github.io/rustdocs/boxfnonce/boxfnonce/; released versions are documented at https://docs.rs/boxfnonce.


lib.rs:

See BoxFnOnce and SendBoxFnOnce.

No runtime deps