blob: 5e683636a939ec1166b8e84dc79fede4c72b71df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2022 The Chromium Authors.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/rust/cargo_crate.gni")
cargo_crate("lib") {
crate_name = "serde_json_lenient"
epoch = "0.1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.4"
cargo_pkg_authors = "Adrian Taylor <adetaylor@chromium.org>, Michael Bolin <bolinfest@gmail.com>, Erick Tryzelaar <erick.tryzelaar@gmail.com>, David Tolnay <dtolnay@gmail.com>"
cargo_pkg_name = "serde_json_lenient"
cargo_pkg_description = "A lenient JSON serialization file format"
deps = [
"//third_party/rust/itoa/v0_4:lib",
"//third_party/rust/ryu/v1:lib",
"//third_party/rust/serde/v1:lib",
]
features = [
"float_roundtrip",
"std",
"unbounded_depth",
]
build_root = "crate/build.rs"
build_sources = [ "crate/build.rs" ]
}
|