Trying to build the rsa crate on no_std with the serde feature enabled, failed in building num-bigint due to following line:
|
let data: Vec<u32> = Vec::deserialize(deserializer)?; |
.
alloc::vec::Vec::deserialize is only available if serde itself has the alloc feature enabled (see https://docs.serde.rs/src/serde/de/impls.rs.html#840).
So shouldn't the serde alloc feature be enabled when serde is enabled ?
Trying to build the rsa crate on no_std with the serde feature enabled, failed in building num-bigint due to following line:
num-bigint/src/biguint.rs
Line 2582 in 41264ca
alloc::vec::Vec::deserializeis only available if serde itself has the alloc feature enabled (see https://docs.serde.rs/src/serde/de/impls.rs.html#840).So shouldn't the serde alloc feature be enabled when serde is enabled ?