Skip to content

Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.

487 B
Raw Blame

fuzzy-rs

Rust port of packages/core/src/fuzzy.ts, bridged with napi-rs. Generated by rust-anything.

Functions

  • fuzzyScore (packages/core/src/fuzzy.ts:2)

Loop

rust-anything record .   # record what the TS code does
rust-anything build .    # build the napi-rs module
rust-anything diff .     # run the recorded cases against Rust
rust-anything shadow .   # run both in the app, log mismatches
rust-anything gate .     # fmt, clippy, tests, unsafe, API, diff