fix: exclude examples from crate

crates.io is limited to 10MB crates

Signed-off-by: Stephen Waits <steve@waits.net>
This commit is contained in:
swaits committed 2023-02-07 22:09:28 -07:00
1 parent 880d604d87
commit 3cb28947f6
2 files changed
+15 -4

No files matched your search

+11 -3
View File
@@ -112,8 +112,9 @@ usage examples.
### Examples
Run an example which loads a n-to-n latency sample from PlanetLab and iterates
on `NetworkCoordinate`s until some low-enough mean error is reached. The output is a JSON array of elements that look like this:
The repository includes an example which loads a n-to-n latency sample from
PlanetLab and iterates on `NetworkCoordinate`s until some low-enough mean error
is reached. The output is a JSON array of elements that look like this:
```json
{
@@ -131,9 +132,16 @@ on `NetworkCoordinate`s until some low-enough mean error is reached. The output
},
```
To run the example:
To run the example, first clone the repository locally:
```bash
git clone https://git.sr.ht/~swaits/vivaldi-nc
```
Then `cd` into the local clone and run the example:
```bash
cd vivaldi-nc
cargo run --example planetlab
```