2 unstable releases

Uses old Rust 2015

0.2.0 Jul 9, 2017
0.1.0 Apr 24, 2017

#22 in #nan

24 downloads per month

MIT license

15KB
403 lines

Nanbox

A Rust crate which defines a macro which generates a safe* nanboxed type.

* Some invariants need to be checked manually when defining your type. The crate is currently alpha quality so expect bugs.


lib.rs:

Defines the make_nanbox macro which defines a type which packs values of different types into the unused space of the NaN representation of f64.

Dependencies

~11KB