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

#6 in #boxing

Download history 5418/week @ 2023-11-27 5540/week @ 2023-12-04 5392/week @ 2023-12-11 4912/week @ 2023-12-18 3255/week @ 2023-12-25 4315/week @ 2024-01-01 4013/week @ 2024-01-08 3770/week @ 2024-01-15 3660/week @ 2024-01-22 3448/week @ 2024-01-29 3581/week @ 2024-02-05 3540/week @ 2024-02-12 3503/week @ 2024-02-19 3658/week @ 2024-02-26 2974/week @ 2024-03-04 1078/week @ 2024-03-11

11,539 downloads per month
Used in 57 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