mirror of
https://gitee.com/openharmony/third_party_rust_strsim-rs
synced 2024-11-23 07:39:51 +00:00
d6717dbac8
* [performance] Improve the performance of damerau_levenshtein My tests show the new version is approximately 2.5 times faster than the old ones. Most of the gains come from using hashbrown for the hashmap. * Switch back to rust 2015 to fix CI * Increase minimum required rust version to 1.31 * Simplify the levenshtein function
16 lines
157 B
YAML
16 lines
157 B
YAML
language: rust
|
|
|
|
os:
|
|
- linux
|
|
- windows
|
|
|
|
rust:
|
|
- 1.31.0
|
|
- nightly
|
|
- beta
|
|
- stable
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rust: nightly
|