Skip to content

feat: add rust crate#14

Merged
anonrig merged 3 commits intomainfrom
yagiz/add-rust-crate
Feb 25, 2026
Merged

feat: add rust crate#14
anonrig merged 3 commits intomainfrom
yagiz/add-rust-crate

Conversation

@anonrig
Copy link
Member

@anonrig anonrig commented Feb 24, 2026

Adds a Rust crate so Deno folks can use this rather than maintain their own library. Hopefully, this will bring the ecosystem one step closer to each other.

I released the first version: https://crates.io/crates/merve

cc @nodejs/tsc This will be the first project released to Crates.io. I'm not sure what's the best approach to share the ownership of this crate with TSC. For now, I've added a CARGO_REGISTRY_TOKEN secret to the repository.

@anonrig anonrig force-pushed the yagiz/add-rust-crate branch from 7a85dc3 to dc36f2e Compare February 24, 2026 21:35
@anonrig anonrig requested review from guybedford and lemire February 24, 2026 21:35
@legendecas
Copy link
Member

I think we'll need to create a GitHub org team to be the owner team of the crate package, as documented at https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner

Copy link
Collaborator

@guybedford guybedford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if there's an easy way to run the test harness against the Rust version to verify. Or at the very least get coverage on the various usage edge cases.

toolchain: stable
- os: windows-latest
toolchain: stable

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dsherret @bartlomieju
Is it better to test on windows-11-arm?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably fine.

@anonrig
Copy link
Member Author

anonrig commented Feb 25, 2026

I wonder if there's an easy way to run the test harness against the Rust version to verify. Or at the very least get coverage on the various usage edge cases.

Not that I know of, but we can always iterate!

@anonrig anonrig merged commit f4e857e into main Feb 25, 2026
18 checks passed
@anonrig anonrig deleted the yagiz/add-rust-crate branch February 25, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants