blob: 773cae647faf7fa8f20dc37904a11955a05602c2 [file] [log] [blame]
# Copyright 2020 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/host.gni")
import("//build/rust/rustc_library.gni")
group("model") {
testonly = true
public_deps = [
":lib",
":tests",
]
}
group("tests") {
testonly = true
public_deps = [ ":lib_test($host_toolchain)" ]
}
rustc_library("lib") {
name = "intl_model"
with_unit_tests = true
edition = "2021"
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
test_deps = []
sources = [ "src/lib.rs" ]
}