Skip to content

Commit

Permalink
msrv: bump to Rust 1.61
Browse files Browse the repository at this point in the history
Because this is what memchr now requires because of its new aarch64 SIMD
routines.
  • Loading branch information
BurntSushi committed Oct 3, 2023
1 parent 8ed833b commit 0813537
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
include:
- build: pinned
os: ubuntu-latest
rust: 1.60.0
rust: 1.61.0
- build: stable
os: ubuntu-latest
rust: stable
Expand Down
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ license = "Unlicense/MIT"
categories = ["encoding", "parser-implementations"]
exclude = ["/.github", "/ci/*", "/scripts/*"]
edition = "2021"
resolver = "2"
rust-version = "1.60"
rust-version = "1.61"

[workspace]
members = ["csv-core", "csv-index"]
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,23 @@ Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
https://docs.rs/csv

If you're new to Rust, the
[tutorial](https://docs.rs/csv/1.0.0/csv/tutorial/index.html)
[tutorial](https://docs.rs/csv/1.*/csv/tutorial/index.html)
is a good place to start.


### Usage

Add this to your `Cargo.toml`:
To bring this crate into your repository, either add `csv` to your
`Cargo.toml`, or run `cargo add csv`.

```toml
[dependencies]
csv = "1.2"
```

### Example

This example shows how to read CSV data from stdin and print each record to
stdout.

There are more examples in the
[cookbook](https://docs.rs/csv/1.0.0/csv/cookbook/index.html).
[cookbook](https://docs.rs/csv/1.*/csv/cookbook/index.html).

```rust
use std::{error::Error, io, process};
Expand Down Expand Up @@ -103,7 +100,7 @@ fn main() {

The above example can be run like so:

```text
```
$ git clone git://github.com/BurntSushi/rust-csv
$ cd rust-csv
$ cargo run --example cookbook-read-serde < examples/data/smallpop.csv
Expand Down

0 comments on commit 0813537

Please sign in to comment.