182e69de5Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 282e69de5Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 382e69de5Sopenharmony_ci# you may not use this file except in compliance with the License. 482e69de5Sopenharmony_ci# You may obtain a copy of the License at 582e69de5Sopenharmony_ci# 682e69de5Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 782e69de5Sopenharmony_ci# 882e69de5Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 982e69de5Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1082e69de5Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1182e69de5Sopenharmony_ci# See the License for the specific language governing permissions and 1282e69de5Sopenharmony_ci# limitations under the License. 1382e69de5Sopenharmony_ci 1482e69de5Sopenharmony_ciimport("//build/ohos.gni") 1582e69de5Sopenharmony_ci 1682e69de5Sopenharmony_ciohos_cargo_crate("lib") { 1782e69de5Sopenharmony_ci crate_name = "strsim" 1882e69de5Sopenharmony_ci crate_type = "rlib" 1982e69de5Sopenharmony_ci crate_root = "src/lib.rs" 2082e69de5Sopenharmony_ci 2182e69de5Sopenharmony_ci sources = ["src/lib.rs"] 2282e69de5Sopenharmony_ci edition = "2015" 2382e69de5Sopenharmony_ci cargo_pkg_version = "0.10.0" 2482e69de5Sopenharmony_ci cargo_pkg_authors = "Danny Guo <danny@dannyguo.com>" 2582e69de5Sopenharmony_ci cargo_pkg_name = "strsim" 2682e69de5Sopenharmony_ci cargo_pkg_description = "Implementations of string similarity metrics. Includes Hamming, Levenshtein,OSA, Damerau-Levenshtein, Jaro, Jaro-Winkler, and Sørensen-Dice." 2782e69de5Sopenharmony_ci} 28