mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 15:25:38 +00:00
Use rustup in serde-syntex-example instead of multirust
This commit is contained in:
parent
58fa302007
commit
7afb8b52ae
@ -2,12 +2,12 @@ This example demonstrates how to use Serde with Syntex. On stable or nightly
|
|||||||
with Syntex, it can be built with:
|
with Syntex, it can be built with:
|
||||||
|
|
||||||
```
|
```
|
||||||
% multirust run stable cargo run
|
% rustup run stable cargo run
|
||||||
Running `target/debug/serde-syntex-example`
|
Running `target/debug/serde-syntex-example`
|
||||||
{"x":1,"y":2}
|
{"x":1,"y":2}
|
||||||
Point { x: 1, y: 2 }
|
Point { x: 1, y: 2 }
|
||||||
|
|
||||||
% multirust run nightly cargo run
|
% rustup run nightly cargo run
|
||||||
Running `target/debug/serde-syntex-example`
|
Running `target/debug/serde-syntex-example`
|
||||||
{"x":1,"y":2}
|
{"x":1,"y":2}
|
||||||
Point { x: 1, y: 2 }
|
Point { x: 1, y: 2 }
|
||||||
@ -16,5 +16,5 @@ Point { x: 1, y: 2 }
|
|||||||
On nightly, it can use a plugin with:
|
On nightly, it can use a plugin with:
|
||||||
|
|
||||||
```
|
```
|
||||||
% multirust run nightly cargo run --features nightly --no-default-features
|
% rustup run nightly cargo run --features nightly --no-default-features
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user