akubera / bigdecimal-rs

Arbitrary precision decimal crate for Rust
Other
275 stars 71 forks source link

BUG: expose serde feature #102

Closed qdrs closed 1 year ago

qdrs commented 1 year ago

The serde feature wasn't exposed as a feature flag.

akubera commented 1 year ago

https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies

Marking dependencies as optional = true creates an implicit feature with the name of the dependency. Also the set of features get passed to those dependencies, so num-bigint/serde is redundant too.