16e652d70Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
26e652d70Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
36e652d70Sopenharmony_ci# you may not use this file except in compliance with the License.
46e652d70Sopenharmony_ci# You may obtain a copy of the License at
56e652d70Sopenharmony_ci#
66e652d70Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
76e652d70Sopenharmony_ci#
86e652d70Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
96e652d70Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
106e652d70Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
116e652d70Sopenharmony_ci# See the License for the specific language governing permissions and
126e652d70Sopenharmony_ci# limitations under the License.
136e652d70Sopenharmony_ci
146e652d70Sopenharmony_ciimport("//build/ohos.gni")
156e652d70Sopenharmony_ci
166e652d70Sopenharmony_ciohos_cargo_crate("lib") {
176e652d70Sopenharmony_ci    crate_name = "unicode_ident"
186e652d70Sopenharmony_ci    crate_type = "rlib"
196e652d70Sopenharmony_ci    crate_root = "src/lib.rs"
206e652d70Sopenharmony_ci
216e652d70Sopenharmony_ci    sources = ["src/lib.rs"]
226e652d70Sopenharmony_ci    edition = "2018"
236e652d70Sopenharmony_ci    cargo_pkg_version = "1.0.6"
246e652d70Sopenharmony_ci    cargo_pkg_authors = "David Tolnay <dtolnay@gmail.com>"
256e652d70Sopenharmony_ci    cargo_pkg_name = "unicode-ident"
266e652d70Sopenharmony_ci    cargo_pkg_description = "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31"
276e652d70Sopenharmony_ci}
28