Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superwhiskers/unin
a (maintained) library providing integers of nonstandard widths for rust
https://github.com/superwhiskers/unin
Last synced: 13 days ago
JSON representation
a (maintained) library providing integers of nonstandard widths for rust
- Host: GitHub
- URL: https://github.com/superwhiskers/unin
- Owner: superwhiskers
- License: apache-2.0
- Created: 2021-04-06T23:06:31.000Z (almost 4 years ago)
- Default Branch: canon
- Last Pushed: 2022-05-17T15:16:14.000Z (over 2 years ago)
- Last Synced: 2024-12-07T21:43:12.217Z (about 1 month ago)
- Language: Rust
- Size: 88.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license-apache
Awesome Lists containing this project
README
# unin
a maintained, hard-forked implementation of integers in nonstandard widths for rust programs
## fork information
this is forked from [numX](https://github.com/AnyTimeTraveler/numX), which is itself forked from
[uX](https://github.com/kjetilkjeka/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- [adamnemecek](https://github.com/adamnemecek)
- [Atul Bhosale](https://github.com/Atul9)
- [Kevin Boos](https://github.com/kevinaboos)
- [Angelo Bulfone](https://github.com/boomshroom)
- [meh](https://github.com/meh)
- [Simon Struck](https://github.com/AnyTimeTraveler)## licensing information
this crate is licensed under either of the following
- [apache license](license-apache)
- [mit license](license-mit)## 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.