strsim-rs
Rust implementations of string similarity metrics:
- Hamming
- Levenshtein - distance & normalized
- Optimal string alignment
- Damerau-Levenshtein - distance & normalized
- Jaro and Jaro-Winkler - this implementation of Jaro-Winkler does not limit the common prefix length
Installation
# Cargo.toml
[]
= "0.8.0"
Documentation
You can change the version in the url to see the documentation for an older version in the changelog.
Usage
extern crate strsim;
use ;
Development
If you don't want to install Rust itself, you can run $ ./dev
for a
development CLI if you have Docker installed.
Benchmarks require a Nightly toolchain. They are run by cargo +nightly bench
.