119625d8cSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 219625d8cSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 319625d8cSopenharmony_ci# you may not use this file except in compliance with the License. 419625d8cSopenharmony_ci# You may obtain a copy of the License at 519625d8cSopenharmony_ci# 619625d8cSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 719625d8cSopenharmony_ci# 819625d8cSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 919625d8cSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1019625d8cSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1119625d8cSopenharmony_ci# See the License for the specific language governing permissions and 1219625d8cSopenharmony_ci# limitations under the License. 1319625d8cSopenharmony_ci 1419625d8cSopenharmony_ciimport("//build/ohos.gni") 1519625d8cSopenharmony_ci 1619625d8cSopenharmony_ciohos_cargo_crate("lib") { 1719625d8cSopenharmony_ci crate_name = "clap_lex" 1819625d8cSopenharmony_ci crate_type = "rlib" 1919625d8cSopenharmony_ci crate_root = "src/lib.rs" 2019625d8cSopenharmony_ci 2119625d8cSopenharmony_ci sources = [ "src/lib.rs" ] 2219625d8cSopenharmony_ci edition = "2021" 2319625d8cSopenharmony_ci cargo_pkg_version = "0.3.3" 2419625d8cSopenharmony_ci cargo_pkg_name = "clap_lex" 2519625d8cSopenharmony_ci cargo_pkg_description = "Minimal, flexible command line parser" 2619625d8cSopenharmony_ci deps = [ "//third_party/rust/crates/os_str_bytes:lib" ] 2719625d8cSopenharmony_ci} 28