paupino / rust-decimal

Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
https://docs.rs/rust_decimal/
MIT License
972 stars 177 forks source link

Hotfix: force version number during macros feature resolution #642

Closed paupino closed 7 months ago

paupino commented 7 months ago

This forces a version number during macro resolution with the macros feature. This hopefully will resolve #641.

The ultimate fix is to decouple Rust Decimal from the macros altogether. This requires a bit of a refactor which makes this a little more than a revision bump however (though will definitely look into for 1.35).

If this fails to resolve the issue still then I will pull the feature (since it is new) and reintroduce it in 1.35, however I have a strong suspicion this may help resolve the circular dependency since we lock it to 1.33.1 (as opposed to before it was ^1.31).