Skip to content

Commit

Permalink
readme: Use cargo add
Browse files Browse the repository at this point in the history
This avoids having to update the version in the example manifest on each
release.
  • Loading branch information
zaeleus committed Apr 3, 2024
1 parent 00f53a0 commit c29a697
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ but keep in mind that the API is still considered experimental.
noodles is split into multiple crates by file format. For convenience, a
top-level meta crate named `noodles` can be added to your project's dependency
list; and formats, listed as [features]. For example, to work with the BAM
format, enable the `bam` feature.
format, add the `noodles` crate and enable the `bam` feature.

```toml
noodles = { version = "0.67.0", features = ["bam"] }
```sh
cargo add noodles --features bam
```

Each enabled feature can then be imported by its re-exported name, e.g.,
Expand Down

0 comments on commit c29a697

Please sign in to comment.