1cbd624adSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 2cbd624adSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3cbd624adSopenharmony_ci# you may not use this file except in compliance with the License. 4cbd624adSopenharmony_ci# You may obtain a copy of the License at 5cbd624adSopenharmony_ci# 6cbd624adSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7cbd624adSopenharmony_ci# 8cbd624adSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9cbd624adSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10cbd624adSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11cbd624adSopenharmony_ci# See the License for the specific language governing permissions and 12cbd624adSopenharmony_ci# limitations under the License. 13cbd624adSopenharmony_ci 14cbd624adSopenharmony_ciimport("//build/ohos.gni") 15cbd624adSopenharmony_ci 16cbd624adSopenharmony_ciohos_cargo_crate("lib") { 17cbd624adSopenharmony_ci crate_name = "minimal_lexical" 18cbd624adSopenharmony_ci crate_type = "rlib" 19cbd624adSopenharmony_ci crate_root = "src/lib.rs" 20cbd624adSopenharmony_ci 21cbd624adSopenharmony_ci sources = ["src/lib.rs"] 22cbd624adSopenharmony_ci edition = "2018" 23cbd624adSopenharmony_ci cargo_pkg_version = "0.2.1" 24cbd624adSopenharmony_ci cargo_pkg_authors = "Alex Huszagh <ahuszagh@gmail.com>" 25cbd624adSopenharmony_ci cargo_pkg_name = "minimal-lexical" 26cbd624adSopenharmony_ci cargo_pkg_description = "Fast float parsing conversion routines." 27cbd624adSopenharmony_ci features = ["std"] 28cbd624adSopenharmony_ci} 29