values with a single
Number type which is represented as an
IEEE 754 floating-point value.*
u64 types can contain values outside the range of what can be
This crate provides the types
UInt which wrap
respectively. These types add bounds checking to ensure the contained value is
Number. They provide useful
trait implementations to easily convert from Rust's primitive integer types.
for integers. There is a proposal for a
BigInt type type that is not
obsolete in any way though, since there will still be lots of JS code using
Number, and code in other languages that assumes its use.
This crate requires rustc >= 1.34.2.
This crate is
default-features = false. This will
std feature, which at the time of writing will only omit the
serde is supported via the
serde feature, even
UInt form values and path parameters for users
of the Rocket web framework version 0.4 are supported via the