Derive deserialize_from for tuples and structs

This adds a new "deserialize_from" feature (default off) that opts into
deriving deserialize_from with #[derive(Deserialize)].
This commit is contained in:
Alexis Beingessner
2017-11-13 15:35:14 -05:00
parent bc221abb04
commit e354dd0c7f
2 changed files with 617 additions and 3 deletions
+4
View File
@@ -14,6 +14,10 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-
[badges]
travis-ci = { repository = "serde-rs/serde" }
[features]
default = []
deserialize_from = []
[lib]
name = "serde_derive"
proc-macro = true