Allow deriving MakeSchema on simple structs!
This commit is contained in:
parent
fcb9d5d1c0
commit
5228ec65e5
9 changed files with 90 additions and 38 deletions
16
schemars_derive/Cargo.toml
Normal file
16
schemars_derive/Cargo.toml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue