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

#5 in #boxing

Download history 2961/week @ 2024-07-22 2881/week @ 2024-07-29 2671/week @ 2024-08-05 2792/week @ 2024-08-12 2711/week @ 2024-08-19 2948/week @ 2024-08-26 2547/week @ 2024-09-02 2716/week @ 2024-09-09 2231/week @ 2024-09-16 2902/week @ 2024-09-23 2588/week @ 2024-09-30 2204/week @ 2024-10-07 2541/week @ 2024-10-14 3621/week @ 2024-10-21 2599/week @ 2024-10-28 1968/week @ 2024-11-04

10,989 downloads per month
Used in 53 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