valico
valico copied to clipboard
Separate JSON schema library?
Would it be at all possible to separate the JSON schema portion of this crate out into its own crate that's focused only on JSON schema validation?
:+1: I would like to use this for https://github.com/serde-rs/json/issues/176.
👍 I'd like to use this for creating a documentation generation tool. (the existing ones are all written in JS, and not a single one can currently handle non-trivial dependencies)
@s-panferov Are you in favor of this? I'd be be up for doing most of the implementation work on this if it's just a question of who does this, as opposed to whether this should be done at all.
@dtolnay How would that work, actually, given that this library depends on serde_json?
@jplatte that's fine, our use of this would not go into the serde_json crate.
How would this work together with serde? Would it be another proc macro that also looks at serde attributes? (I think it's really important that it does consider these attributes)