1df783217Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2df783217Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3df783217Sopenharmony_ci# you may not use this file except in compliance with the License.
4df783217Sopenharmony_ci# You may obtain a copy of the License at
5df783217Sopenharmony_ci#
6df783217Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7df783217Sopenharmony_ci#
8df783217Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9df783217Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10df783217Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11df783217Sopenharmony_ci# See the License for the specific language governing permissions and
12df783217Sopenharmony_ci# limitations under the License.
13df783217Sopenharmony_ci
14df783217Sopenharmony_ciimport("//build/ohos.gni")
15df783217Sopenharmony_ci
16df783217Sopenharmony_ciohos_cargo_crate("lib") {
17df783217Sopenharmony_ci    crate_name = "unicode_width"
18df783217Sopenharmony_ci    crate_type = "rlib"
19df783217Sopenharmony_ci    crate_root = "src/lib.rs"
20df783217Sopenharmony_ci
21df783217Sopenharmony_ci    sources = ["src/lib.rs"]
22df783217Sopenharmony_ci    edition = "2015"
23df783217Sopenharmony_ci    cargo_pkg_version = "0.1.10"
24df783217Sopenharmony_ci    cargo_pkg_authors = "kwantam <kwantam@gmail.com>,  Manish Goregaokar <manishsmail@gmail.com>"
25df783217Sopenharmony_ci    cargo_pkg_name = "unicode-width"
26df783217Sopenharmony_ci}
27