blob: 5d6fae9b985f6b46284a4b4df034444090815765 [file] [log] [blame]
# Copyright 2021 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/rust/rustc_library.gni")
rustc_library("lib") {
name = "ffx_schema"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
sources = [
"src/ast.rs",
"src/de.rs",
"src/errors.rs",
"src/lib.rs",
"src/schema.rs",
]
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
}
group("tests") {
testonly = true
deps = [ ":lib_test($host_toolchain)" ]
}
group("schema") {
testonly = true
deps = [
":lib",
":tests",
]
}