Skip to content

Commit 56ae38b

Browse files
authored
chore: remove version from Rust readme (#25)
1 parent b0b41b7 commit 56ae38b

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

rust/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ This crate provides safe Rust bindings to the [merve](https://github.com/nodejs/
99

1010
Add to your `Cargo.toml`:
1111

12-
```toml
13-
[dependencies]
14-
merve = "0.1"
12+
```sh
13+
cargo add merve
1514
```
1615

1716
Parse CommonJS source and iterate over exports:
@@ -37,14 +36,14 @@ for export in analysis.exports() {
3736
**std** (default): Enables `std::error::Error` impl for `LexerError`. Disable for `no_std`:
3837

3938
```toml
40-
merve = { version = "0.1", default-features = false }
39+
merve = { version = "...", default-features = false }
4140
```
4241

4342
**libcpp**: Build the underlying C++ code with `libc++` instead of `libstdc++`.
4443
Requires `libc++` to be installed:
4544

4645
```toml
47-
merve = { version = "0.1", features = ["libcpp"] }
46+
merve = { version = "...", features = ["libcpp"] }
4847
```
4948

5049
## API

0 commit comments

Comments
 (0)