160b26363Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
260b26363Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
360b26363Sopenharmony_ci# you may not use this file except in compliance with the License.
460b26363Sopenharmony_ci# You may obtain a copy of the License at
560b26363Sopenharmony_ci#
660b26363Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
760b26363Sopenharmony_ci#
860b26363Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
960b26363Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1060b26363Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1160b26363Sopenharmony_ci# See the License for the specific language governing permissions and
1260b26363Sopenharmony_ci# limitations under the License.
1360b26363Sopenharmony_ci
1460b26363Sopenharmony_ciimport("//build/templates/rust/ohos_cargo_crate.gni")
1560b26363Sopenharmony_ci
1660b26363Sopenharmony_ciohos_cargo_crate("lib") {
1760b26363Sopenharmony_ci    crate_name = "pin_utils"
1860b26363Sopenharmony_ci    crate_type = "rlib"
1960b26363Sopenharmony_ci    crate_root = "src/lib.rs"
2060b26363Sopenharmony_ci
2160b26363Sopenharmony_ci    sources = ["src/lib.rs"]
2260b26363Sopenharmony_ci    edition = "2018"
2360b26363Sopenharmony_ci    cargo_pkg_version = "0.1.0"
2460b26363Sopenharmony_ci    cargo_pkg_authors = "Josef Brandl <mail@josefbrandl.de>"
2560b26363Sopenharmony_ci    cargo_pkg_name = "pin-utils"
2660b26363Sopenharmony_ci    cargo_pkg_description = "Utilities for pinning"
2760b26363Sopenharmony_ci}
28