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