Closed lrubasze closed 1 year ago
It looks like other dependencies: serde
, serde-big-array
and rand
might also override the features chosen.
Fixed. All dependencies now have default-features = false
, so you should be able to use the new release (v0.4.0) with no_std
.
thanks for prompt fix and release. really appreciate it 👍 btw. discovered that there is some issue here: https://docs.rs/crate/bnum/latest
no idea, what could be the root cause.
No worries at all, and thanks for pointing this out, I hadn't noticed this.
Thanks again for mentioning the docs.rs build error, I have now fixed this issue, it was because v0.4.0 didn't compile with the latest version of nightly. v0.5.0 has now been published which fixes this.
I need to use num-traits or num-integer without default features (
no_std
in fact), eg.Cargo.toml
:In such configuration
bnum
overrides my settings and sets num-integer and num-traits to default (withstd
).