mitsuhiko / similar

A high level diffing library for rust based on diffs
https://insta.rs/similar
Apache License 2.0
974 stars 32 forks source link

WIT Bindings + WAPM #39

Open syrusakbary opened 2 years ago

syrusakbary commented 2 years ago

I created the Python library snapshottest a few years ago (similar to the insta that you created in Rust!).

This library requires a string diffing library in order to pretty print the differences, and to do it in python in a fast way I also created the fastdiff library, which is also implemented in Rust.

I would like to start using your Similar as a dependency in snapshottest (instead of fastdiff), and I was wondering if you may be interested on that. If that's the case, we will need:

Let me know your thoughts!

mitsuhiko commented 2 years ago

More than happy to accept whatever code is necessary to create bindings. I would probably not publish the bindings myself as I'm sure I will forget updating it later, but I'm happy to support whatever is necessary in the base library to make publishing as WASM module possible.