blob: e227eaa49719f42e80f6331a0de313f6c3e28ccd [file] [log] [blame]
# Copyright 2019 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")
import("//build/test/test_package.gni")
# Library for working with collections of Unicode code points.
rustc_library("char_set") {
edition = "2018"
with_unit_tests = true
deps = [
"//src/lib/intl/unicode_utils/char_collection",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
test_package("char_set_tests") {
deps = [ ":char_set_test" ]
tests = [
{
name = "char_set_lib_test"
},
]
}
group("tests") {
testonly = true
public_deps = [ ":char_set_tests" ]
}