| # 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. |
| |
| load("//build/bazel/rules/rust:defs.bzl", "rustc_library") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| rustc_library( |
| name = "rust", |
| srcs = ["src/lib.rs"], |
| crate_name = "version_history", |
| edition = "2024", |
| rustc_flags = ["-Dunused_results"], |
| with_host_unit_tests = True, |
| deps = [ |
| "//third_party/rust_crates/vendor:anyhow", |
| "//third_party/rust_crates/vendor:chrono", |
| "//third_party/rust_crates/vendor:itertools", |
| "//third_party/rust_crates/vendor:log", |
| "//third_party/rust_crates/vendor:serde", |
| "//third_party/rust_crates/vendor:serde_json", |
| "//third_party/rust_crates/vendor:thiserror", |
| ], |
| ) |