GREsau / schemars

Generate JSON Schema documents from Rust code
https://graham.cool/schemars/
MIT License
791 stars 220 forks source link

Switch to indexmap 2 for the `preserve_order` feature #285

Closed sandhose closed 4 weeks ago

sandhose commented 4 months ago

The preserve_order feature currently uses indexmap@1. It should probably use indexmap@2 instead? In my dependency tree, schemars is the only remaining dependency using indexmap@1 instead of indexmap@2

GREsau commented 4 weeks ago

This is fixed in schemars 1.0.0-alpha.1+ by nature of the preserve_order now just enabling the corresponding feature in serde_json