chronotope / chrono-tz

TimeZone implementations for rust-chrono from the IANA database
Other
228 stars 55 forks source link

Support for `schemars` crate #146

Closed nikis05 closed 5 months ago

nikis05 commented 5 months ago

This adds, behind a feature flag, support for schemars crate, which allows generating JSON schemas from Rust code.

djc commented 5 months ago

I don't think it makes sense for chrono-tz (as a fairly low-level crate) to depend on schemars (a higher-level crate), sorry. I suggest you request that this implementation live inside the schemars crate.

nikis05 commented 5 months ago

@djc For some reason I didn't think about this, but you are totally right, this is the way.