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