blob: 27c5ee79aecc94bbafdf185bcc254d864caa363c [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")
rustc_library("text") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.ui.input:fuchsia.ui.input-rustc",
"//sdk/fidl/fuchsia.ui.text:fuchsia.ui.text-rustc",
"//sdk/fidl/fuchsia.ui.text.testing:fuchsia.ui.text.testing-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:parking_lot",
"//third_party/rust_crates:pin-utils",
"//third_party/rust_crates:regex",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:unicode-segmentation",
]
sources = [
"src/lib.rs",
"src/text_field_state.rs",
]
}