File tree 3 files changed +7
-11
lines changed
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 19
19
include :
20
20
- build : pinned
21
21
os : ubuntu-latest
22
- rust : 1.60 .0
22
+ rust : 1.61 .0
23
23
- build : stable
24
24
os : ubuntu-latest
25
25
rust : stable
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ license = "Unlicense/MIT"
12
12
categories = [" encoding" , " parser-implementations" ]
13
13
exclude = [" /.github" , " /ci/*" , " /scripts/*" ]
14
14
edition = " 2021"
15
- resolver = " 2"
16
- rust-version = " 1.60"
15
+ rust-version = " 1.61"
17
16
18
17
[workspace ]
19
18
members = [" csv-core" , " csv-index" ]
Original file line number Diff line number Diff line change @@ -13,26 +13,23 @@ Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
13
13
https://docs.rs/csv
14
14
15
15
If you're new to Rust, the
16
- [ tutorial] ( https://docs.rs/csv/1.0.0 /csv/tutorial/index.html )
16
+ [ tutorial] ( https://docs.rs/csv/1.* /csv/tutorial/index.html )
17
17
is a good place to start.
18
18
19
19
20
20
### Usage
21
21
22
- Add this to your ` Cargo.toml ` :
22
+ To bring this crate into your repository, either add ` csv ` to your
23
+ ` Cargo.toml ` , or run ` cargo add csv ` .
23
24
24
- ``` toml
25
- [dependencies ]
26
- csv = " 1.2"
27
- ```
28
25
29
26
### Example
30
27
31
28
This example shows how to read CSV data from stdin and print each record to
32
29
stdout.
33
30
34
31
There are more examples in the
35
- [ cookbook] ( https://docs.rs/csv/1.0.0 /csv/cookbook/index.html ) .
32
+ [ cookbook] ( https://docs.rs/csv/1.* /csv/cookbook/index.html ) .
36
33
37
34
``` rust
38
35
use std :: {error :: Error , io, process};
@@ -103,7 +100,7 @@ fn main() {
103
100
104
101
The above example can be run like so:
105
102
106
- ``` text
103
+ ```
107
104
$ git clone git://github.com/BurntSushi/rust-csv
108
105
$ cd rust-csv
109
106
$ cargo run --example cookbook-read-serde < examples/data/smallpop.csv
You can’t perform that action at this time.
0 commit comments