serde/examples/serde-syntex-example
2016-06-09 20:16:49 -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 Add serde_codegen::expand to avoid public Syntex dependency 2016-06-09 11:23:43 -07:00
Cargo.toml Release 0.7.9 2016-06-09 20:16:49 -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