serde/examples/serde-syntex-example
2016-07-05 20:06:10 -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 Release 0.7.13 2016-07-05 20:06:10 -07:00
README.md Use rustup in serde-syntex-example instead of multirust 2016-06-09 01:16:31 -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 nightly --no-default-features