blob: 99e6aa434223f76bc6c11cd49f1e2f7c3b498bf2 [file] [log] [blame]
###############################################################################
# @generated
# This file is auto-generated by the cargo-bazel tool.
#
# DO NOT MODIFY: Local changes may be replaced in future executions.
###############################################################################
load(
"@bazel_skylib//lib:selects.bzl",
"selects",
)
# buildifier: disable=bzl-visibility
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
load(
"@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # Unlicense/MIT
# ])
rust_library(
name = "docopt",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = selects.with_or({
"//conditions:default": {
},
}),
compile_data = glob(["**"]) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
],
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2018",
proc_macro_deps = [
] + select_with_or({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.1.1",
deps = [
] + select_with_or({
"//conditions:default": [
"@rules_rust_wasm_bindgen__lazy_static-1.4.0//:lazy_static",
"@rules_rust_wasm_bindgen__regex-1.5.6//:regex",
"@rules_rust_wasm_bindgen__serde-1.0.137//:serde",
"@rules_rust_wasm_bindgen__strsim-0.10.0//:strsim",
],
}),
)
rust_binary(
name = "docopt-wordlist__bin",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = selects.with_or({
"//conditions:default": {
},
}),
compile_data = glob(["**"]) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
],
crate_root = "src/wordlist.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2018",
proc_macro_deps = [
] + select_with_or({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.1.1",
deps = [
":docopt",
] + select_with_or({
"//conditions:default": [
"@rules_rust_wasm_bindgen__lazy_static-1.4.0//:lazy_static",
"@rules_rust_wasm_bindgen__regex-1.5.6//:regex",
"@rules_rust_wasm_bindgen__serde-1.0.137//:serde",
"@rules_rust_wasm_bindgen__strsim-0.10.0//:strsim",
],
}),
)