textdistance 1.1.1

Lots of algorithms to compare how similar two sequences are
Documentation
1
2
3
4
5
#[test]
fn test_str_hamming() {
    let res = textdistance::str::hamming("hello", "hi");
    assert_eq!(res, 4);
}