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

#51 in #stable

Download history 838/week @ 2024-12-26 1648/week @ 2025-01-02 2155/week @ 2025-01-09 1909/week @ 2025-01-16 1761/week @ 2025-01-23 2129/week @ 2025-01-30 4525/week @ 2025-02-06 1764/week @ 2025-02-13 1785/week @ 2025-02-20 1753/week @ 2025-02-27 1972/week @ 2025-03-06 2605/week @ 2025-03-13 2546/week @ 2025-03-20 1991/week @ 2025-03-27 2142/week @ 2025-04-03 2918/week @ 2025-04-10

10,080 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.

No runtime deps