blob: 31a078f63302206fdb896b553e3c2ee45e1e87bf [file]
# Copyright 2026 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 = "safe_string"
version = "0.1.0"
edition = "2024"
with_unit_tests = true
sources = [ "src/lib.rs" ]
deps = [ "//third_party/rust_crates:serde" ]
test_deps = [
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:serde_json",
]
}
group("tests") {
testonly = true
deps = [ ":lib_test" ]
}
group("safe_string") {
testonly = true
deps = [
":lib",
":tests",
]
}