1a078c8edSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 2a078c8edSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3a078c8edSopenharmony_ci# you may not use this file except in compliance with the License. 4a078c8edSopenharmony_ci# You may obtain a copy of the License at 5a078c8edSopenharmony_ci# 6a078c8edSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7a078c8edSopenharmony_ci# 8a078c8edSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9a078c8edSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10a078c8edSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11a078c8edSopenharmony_ci# See the License for the specific language governing permissions and 12a078c8edSopenharmony_ci# limitations under the License. 13a078c8edSopenharmony_ci 14a078c8edSopenharmony_ciimport("//build/ohos.gni") 15a078c8edSopenharmony_ci 16a078c8edSopenharmony_ciohos_cargo_crate("lib") { 17a078c8edSopenharmony_ci crate_name = "shlex" 18a078c8edSopenharmony_ci crate_type = "rlib" 19a078c8edSopenharmony_ci crate_root = "src/lib.rs" 20a078c8edSopenharmony_ci 21a078c8edSopenharmony_ci sources = ["src/lib.rs"] 22a078c8edSopenharmony_ci edition = "2015" 23a078c8edSopenharmony_ci cargo_pkg_version = "1.1.0" 24a078c8edSopenharmony_ci cargo_pkg_authors = "comex <comexk@gmail.com>, Fenhl <fenhl@fenhl.net>" 25a078c8edSopenharmony_ci cargo_pkg_name = "shlex" 26a078c8edSopenharmony_ci cargo_pkg_description = "Split a string into shell words, like Python's shlex." 27a078c8edSopenharmony_ci features = ["std"] 28a078c8edSopenharmony_ci} 29