Skip to content

Commit 9215f2d

Browse files
committed
📝 added example
1 parent 7292aec commit 9215f2d

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ colored = "2"
2121
[dev-dependencies]
2222
csv = "1.1"
2323

24+
[[example]]
25+
name = "basic-with-csv-parsing"
26+
required-features = ["serde"]

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ fn main() {
5858
chart.draw();
5959
}
6060
```
61+
62+
# Examples
63+
- [Basic example with CSV parsing](https://github.com/Julien-R44/cli-candlestick-chart/blob/main/examples/basic-with-csv-parsing.rs)
64+
65+
`cargo run --example basic-with-csv-parsing --features=serde`

0 commit comments

Comments
 (0)