serde_scan
easily deserialize whitespace seperated data into any rust data structure supported by serde. useful for demos, programming contests, and the like.
current issues:
- no support for enums beyond basic c-style ones
- structs or tuples cannot contain an unbounded container, like a
VecorHashMap.
future features:
- defining custom whitespace characters
scanfstyle formatting for more complex inputs
examples
extern crate serde;
extern crate serde_scan;
extern crate serde_derive;