serde/examples/serde-syntex-example
2016-07-31 15:47:46 -07:00
..
src Fix nightly check in serde-syntex-example 2016-06-09 01:08:12 -07:00
.gitignore feat(example): Add an example 2015-11-28 20:09:03 -08:00
build.rs Remove unnecessary Syntexes 2016-06-12 15:50:45 -07:00
Cargo.toml Re-enable serde-syntex-example build in Travis 2016-07-29 09:53:44 -07:00
README.md Fix feature name in serde-syntex-example readme 2016-07-31 15:47:46 -07:00

This example demonstrates how to use Serde with Syntex. On stable or nightly with Syntex, it can be built with:

% rustup run stable cargo run
     Running `target/debug/serde-syntex-example`
{"x":1,"y":2}
Point { x: 1, y: 2 }

% rustup run nightly cargo run
     Running `target/debug/serde-syntex-example`
{"x":1,"y":2}
Point { x: 1, y: 2 }

On nightly, it can use a plugin with:

% rustup run nightly cargo run --features unstable --no-default-features