Allow deriving MakeSchema on simple structs!

This commit is contained in:
Graham Esau 2019-08-04 16:44:09 +01:00
parent fcb9d5d1c0
commit 5228ec65e5
9 changed files with 90 additions and 38 deletions

View file

@ -0,0 +1,16 @@
[package]
name = "schemars_derive"
version = "0.1.0"
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
proc-macro = true
[dependencies]
proc-macro2 = "0.4"
quote = "0.6.13"
syn = { version = "0.15.22", features = ["visit"] } # do we need visit?
serde_derive_internals = "0.24.1"