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.