serde/examples/serde-syntex-example
2015-11-28 20:09:03 -08:00
..
src feat(example): Add an example 2015-11-28 20:09:03 -08:00
.gitignore feat(example): Add an example 2015-11-28 20:09:03 -08:00
build.rs feat(example): Add an example 2015-11-28 20:09:03 -08:00
Cargo.toml feat(example): Add an example 2015-11-28 20:09:03 -08:00
README.md feat(example): Add an example 2015-11-28 20:09:03 -08:00

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

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

% multirust 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:

% multirust run nightly cargo run --features nightly --no-default-features