1f6121a04Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2f6121a04Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3f6121a04Sopenharmony_ci# you may not use this file except in compliance with the License.
4f6121a04Sopenharmony_ci# You may obtain a copy of the License at
5f6121a04Sopenharmony_ci#
6f6121a04Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7f6121a04Sopenharmony_ci#
8f6121a04Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9f6121a04Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10f6121a04Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11f6121a04Sopenharmony_ci# See the License for the specific language governing permissions and
12f6121a04Sopenharmony_ci# limitations under the License.
13f6121a04Sopenharmony_ci
14f6121a04Sopenharmony_ciimport("//build/ohos.gni")
15f6121a04Sopenharmony_ci
16f6121a04Sopenharmony_ciohos_cargo_crate("lib") {
17f6121a04Sopenharmony_ci    crate_name = "lazycell"
18f6121a04Sopenharmony_ci    crate_type = "rlib"
19f6121a04Sopenharmony_ci    crate_root = "src/lib.rs"
20f6121a04Sopenharmony_ci
21f6121a04Sopenharmony_ci    sources = ["src/lib.rs"]
22f6121a04Sopenharmony_ci    edition = "2015"
23f6121a04Sopenharmony_ci    cargo_pkg_version = "1.3.0"
24f6121a04Sopenharmony_ci    cargo_pkg_authors = "Alex Crichton <alex@alexcrichton.com>, Nikita Pekin <contact@nikitapek.in>"
25f6121a04Sopenharmony_ci    cargo_pkg_name = "lazycell"
26f6121a04Sopenharmony_ci    cargo_pkg_description = "A library providing a lazily filled Cell struct"
27f6121a04Sopenharmony_ci}
28