1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
6 #[cfg(buildflag__build_rust_json_parser)]
8 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
9 #[cfg(buildflag__build_rust_json_parser)]
11 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
12 #[cfg(buildflag__build_rust_json_parser)]
14 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
15 #[cfg(buildflag__build_rust_json_parser)]
16 mod values_deserialization;
18 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
19 #[cfg(buildflag__build_rust_json_parser)]
20 pub use json::json_parser::{decode_json, JsonOptions};
21 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
22 #[cfg(buildflag__build_rust_json_parser)]
23 pub use values::ValueSlotRef;
25 // TODO(crbug.com/1298039): A buildflag macro should be used instead.
26 #[cfg(buildflag__build_rust_json_parser)]
27 pub use rs_glue::ffi::NewValueSlotForTesting;