2020-01-18 23:27:25 +00:00
|
|
|
"""
|
2021-01-07 22:48:22 +00:00
|
|
|
@generated
|
2020-01-18 23:27:25 +00:00
|
|
|
cargo-raze crate build file.
|
|
|
|
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
|
|
"""
|
|
|
|
|
2021-05-03 21:43:36 +00:00
|
|
|
# buildifier: disable=load
|
|
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
|
2021-01-07 22:48:22 +00:00
|
|
|
# buildifier: disable=load
|
2020-01-18 23:27:25 +00:00
|
|
|
load(
|
2021-03-21 22:26:42 +00:00
|
|
|
"@rules_rust//rust:rust.bzl",
|
2020-01-18 23:27:25 +00:00
|
|
|
"rust_binary",
|
2021-01-07 22:48:22 +00:00
|
|
|
"rust_library",
|
2020-01-18 23:27:25 +00:00
|
|
|
"rust_test",
|
|
|
|
)
|
|
|
|
|
2021-01-07 22:48:22 +00:00
|
|
|
package(default_visibility = [
|
|
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
|
|
#
|
|
|
|
# Prefer access through "//third_party/cargo", which limits external
|
|
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
|
|
"//visibility:public",
|
|
|
|
])
|
|
|
|
|
|
|
|
licenses([
|
|
|
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
|
|
|
])
|
|
|
|
|
|
|
|
# Generated Targets
|
2020-01-18 23:27:25 +00:00
|
|
|
|
|
|
|
rust_library(
|
|
|
|
name = "vulkano_win",
|
2021-01-07 22:48:22 +00:00
|
|
|
srcs = glob(["**/*.rs"]),
|
|
|
|
crate_features = [
|
2021-01-07 23:38:16 +00:00
|
|
|
"cocoa",
|
|
|
|
"default",
|
|
|
|
"metal",
|
|
|
|
"objc",
|
|
|
|
"raw-window-handle",
|
|
|
|
"raw-window-handle_",
|
|
|
|
"winit",
|
|
|
|
"winit_",
|
2021-01-07 22:48:22 +00:00
|
|
|
],
|
2020-01-18 23:27:25 +00:00
|
|
|
crate_root = "src/lib.rs",
|
|
|
|
crate_type = "lib",
|
2021-01-07 22:48:22 +00:00
|
|
|
data = [],
|
2020-03-16 23:00:50 +00:00
|
|
|
edition = "2018",
|
2020-01-18 23:27:25 +00:00
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
2021-01-07 22:48:22 +00:00
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
|
|
|
"manual",
|
|
|
|
],
|
2021-01-07 23:38:16 +00:00
|
|
|
version = "0.20.0",
|
2021-01-07 22:48:22 +00:00
|
|
|
# buildifier: leave-alone
|
|
|
|
deps = [
|
2021-01-07 23:38:16 +00:00
|
|
|
"//third_party/cargo/vendor/raw-window-handle-0.3.3:raw_window_handle",
|
|
|
|
"//third_party/cargo/vendor/vulkano-0.20.0:vulkano",
|
|
|
|
"//third_party/cargo/vendor/winit-0.24.0:winit",
|
2020-01-18 23:27:25 +00:00
|
|
|
],
|
|
|
|
)
|