Brian Silverman | dae15a1 | 2022-07-23 12:55:20 -0700 | [diff] [blame^] | 1 | load("@rules_rust//rust:defs.bzl", "rust_library") |
2 | |||||
3 | rust_library( | ||||
4 | name = "rust", | ||||
5 | srcs = glob(["flatbuffers/**/*.rs"]), | ||||
6 | crate_name = "flatbuffers", | ||||
7 | crate_root = "flatbuffers/src/lib.rs", | ||||
8 | edition = "2018", | ||||
9 | version = "2.1.1", | ||||
10 | visibility = ["//visibility:public"], | ||||
11 | deps = [ | ||||
12 | "@//third_party/cargo:bitflags", | ||||
13 | "@//third_party/cargo:smallvec", | ||||
14 | "@//third_party/cargo:thiserror", | ||||
15 | ], | ||||
16 | ) |