unin

Crates.iounin
lib.rsunin
version0.0.1
sourcesrc
created_at2021-04-06 23:42:24.185271
updated_at2022-05-17 15:16:37.840602
descriptiona (maintained) library providing integers of nonstandard widths for rust
homepage
repositoryhttps://github.com/superwhiskers/unin
max_upload_size
id380071
size95,499
(superwhiskers)

documentation

README

unin

a maintained, hard-forked implementation of integers in nonstandard widths for rust programs

fork information

this is forked from numX, which is itself forked from uX. the reasoning behind this is that neither have been updated for over a year (uX for over two years,) and i would like to be able to make upstreamable changes quicker than pull requests would allow

features

  • u1-u127 and i1-i127 types that should behave as similar as possible to the built in rust types (some methods may be missing. i plan to attempt to fix this)
  • lossless conversions implemented under the From trait
  • lossy conversions implemented under the TryFrom trait
  • support for serde by serializing into the next biggest container
  • implementations of conversions to isize and usize for the target architecture
  • implementations of some traits provided by num-traits

credits

i wouldn't typically include such a section, but in the spirit of the numX fork, here are the people who i've included contributions from

licensing information

this crate is licensed under either of the following

contribution

unless explicitly stated otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 89

cargo fmt