rust-ux / uX

Non standard integer types like `u7`, `u9`, `u10`, `u63`, `i7`, `i9`
Apache License 2.0
119 stars 37 forks source link

Unconditionally be no_std and use core #46

Closed chrysn closed 1 year ago

chrysn commented 1 year ago

Closes: https://github.com/kjetilkjeka/uX/issues/30


As correctly observed by @Liamolucko, the std feature serves no purpose here: This crate can be no_std unconditionally, and still be used in std and no_std situations alike.

The feature is left around (so that compatibility is not broken for hypothetical users who selected this feature explicitly), but it is moved out of the default.

kjetilkjeka commented 1 year ago

Thanks for the PR. This seems reasonable.