I am building a rust package that has a dependency where deranged is a child dependency and I get the following error:
Building lib: RUSTC 'src/lib.rs' '--out-dir=/nix/store/z8smkvvlv80qm9rc3ws5nans6gzg6zyp-rust_deranged-0.3.11/lib' '->error[E0433]: failed to resolve: use of undeclared crate or module `serde`
--> src/lib.rs:1284:64
|
1284 | Self::new(internal).ok_or_else(|| <D::Error as serde::de::Error>::invalid_value(
| ^^^^^ use of undeclared crate or module `ser>...
1389 | / impl_ranged! {
1390 | | RangedU8 {
1391 | | mod_name: ranged_u8
1392 | | internal: u8
... |
1473 | | }
1474 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_ranged` (in Nightly builds, run with -Z macro-backtrace for mo>
The rust code can successfully cargo build. It seems like the deranged macros aren't working with the feature flagging stuff they have.
I am building a rust package that has a dependency where deranged is a child dependency and I get the following error:
The rust code can successfully
cargo build
. It seems like the deranged macros aren't working with the feature flagging stuff they have.