Closed nikis05 closed 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.
@djc For some reason I didn't think about this, but you are totally right, this is the way.
This adds, behind a feature flag, support for
schemars
crate, which allows generating JSON schemas from Rust code.