This commit is contained in:
Graham Esau 2019-12-09 21:06:44 +00:00
parent 3fb625e08c
commit 351ff1572a
4 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
name = "schemars_derive"
description = "Macros for #[derive(JsonSchema)], for use with schemars"
repository = "https://github.com/GREsau/schemars"
version = "0.6.0-alpha-2"
version = "0.6.0"
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2018"
license = "MIT"

View file

@ -12,7 +12,7 @@ pub fn get_with_from_attrs(field: &syn::Field) -> Option<syn::Result<syn::ExprPa
.attrs
.iter()
.filter(|at| match at.path.get_ident() {
// FIXME this is relying on order of attributes (schemars before serde) from preprocess.rs
// FIXME this is relying on order of attributes (schemars before serde) from schemars_to_serde.rs
Some(i) => i == "schemars" || i == "serde",
None => false,
})