From 8edc8bb25d5f153ce55f2024ec8d74bf6f2617ae Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 25 Feb 2026 11:58:33 -0500 Subject: [PATCH 1/2] chore: remove version from Rust readme --- rust/Cargo.lock | 2 +- rust/README.md | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 1e4260b..6f19756 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -77,7 +77,7 @@ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" [[package]] name = "merve" -version = "1.0.1" +version = "1.1.2" dependencies = [ "cc", "link_args", diff --git a/rust/README.md b/rust/README.md index 5c34152..6e4e198 100644 --- a/rust/README.md +++ b/rust/README.md @@ -9,9 +9,8 @@ This crate provides safe Rust bindings to the [merve](https://github.com/nodejs/ Add to your `Cargo.toml`: -```toml -[dependencies] -merve = "0.1" +```sh +> cargo add merve ``` Parse CommonJS source and iterate over exports: @@ -37,14 +36,14 @@ for export in analysis.exports() { **std** (default): Enables `std::error::Error` impl for `LexerError`. Disable for `no_std`: ```toml -merve = { version = "0.1", default-features = false } +merve = { version = "...", default-features = false } ``` **libcpp**: Build the underlying C++ code with `libc++` instead of `libstdc++`. Requires `libc++` to be installed: ```toml -merve = { version = "0.1", features = ["libcpp"] } +merve = { version = "...", features = ["libcpp"] } ``` ## API From b80987bb957cfd68b1da1d1cb9c6e0c8bd8ff7cf Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 25 Feb 2026 11:59:02 -0500 Subject: [PATCH 2/2] make copy and pasteable --- rust/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/README.md b/rust/README.md index 6e4e198..34c0044 100644 --- a/rust/README.md +++ b/rust/README.md @@ -10,7 +10,7 @@ This crate provides safe Rust bindings to the [merve](https://github.com/nodejs/ Add to your `Cargo.toml`: ```sh -> cargo add merve +cargo add merve ``` Parse CommonJS source and iterate over exports: