blob: e46daf7f1eee7bfcdf1d479607eacf616dad135b [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT OR Apache-2.0"
29])
30
31# Generated Targets
32
33# Unsupported target "lib" with type "bench" omitted
34
35# Unsupported target "sha1sum" with type "example" omitted
36
37alias(
38 name = "sha_1",
39 actual = ":sha1",
40 tags = [
41 "cargo-raze",
42 "manual",
43 ],
44)
45
46rust_library(
47 name = "sha1",
48 srcs = glob(["**/*.rs"]),
49 aliases = {
50 },
51 crate_features = [
52 "default",
53 "std",
54 ],
55 crate_root = "src/lib.rs",
56 crate_type = "lib",
57 data = [],
58 edition = "2018",
59 rustc_flags = [
60 "--cap-lints=allow",
61 ],
62 tags = [
63 "cargo-raze",
64 "manual",
65 ],
66 version = "0.9.6",
67 # buildifier: leave-alone
68 deps = [
69 "@raze__block_buffer__0_9_0//:block_buffer",
70 "@raze__cfg_if__1_0_0//:cfg_if",
71 "@raze__digest__0_9_0//:digest",
72 "@raze__opaque_debug__0_3_0//:opaque_debug",
73 ] + selects.with_or({
74 # cfg(any(target_arch = "x86", target_arch = "x86_64"))
75 (
76 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
77 ): [
78 "@raze__cpufeatures__0_1_5//:cpufeatures",
79 ],
80 "//conditions:default": [],
81 }),
82)
83
84# Unsupported target "lib" with type "test" omitted