123 lines
2.7 KiB
Plaintext
123 lines
2.7 KiB
Plaintext
|
"""
|
||
|
@generated
|
||
|
cargo-raze crate build file.
|
||
|
|
||
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
||
|
"""
|
||
|
|
||
|
# buildifier: disable=load
|
||
|
load(
|
||
|
"@io_bazel_rules_rust//rust:rust.bzl",
|
||
|
"rust_binary",
|
||
|
"rust_library",
|
||
|
"rust_test",
|
||
|
)
|
||
|
|
||
|
# buildifier: disable=load
|
||
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||
|
|
||
|
package(default_visibility = [
|
||
|
# Public for visibility by "@raze__crate__version//" targets.
|
||
|
#
|
||
|
# Prefer access through "//cargo", which limits external
|
||
|
# visibility to explicit Cargo.toml dependencies.
|
||
|
"//visibility:public",
|
||
|
])
|
||
|
|
||
|
licenses([
|
||
|
"notice", # MIT from expression "MIT"
|
||
|
])
|
||
|
|
||
|
# Generated targets
|
||
|
# buildifier: disable=load-on-top
|
||
|
load(
|
||
|
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
|
||
|
"cargo_build_script",
|
||
|
)
|
||
|
|
||
|
# buildifier: leave-alone
|
||
|
cargo_build_script(
|
||
|
name = "libsqlite3_sys_build_script",
|
||
|
srcs = glob(["**/*.rs"]),
|
||
|
crate_root = "build.rs",
|
||
|
edition = "2018",
|
||
|
deps = [
|
||
|
"@raze__cc__1_0_61//:cc",
|
||
|
"@raze__pkg_config__0_3_19//:pkg_config",
|
||
|
] + selects.with_or({
|
||
|
# cfg(target_env = "msvc")
|
||
|
(
|
||
|
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
|
||
|
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||
|
): [
|
||
|
"@raze__vcpkg__0_2_10//:vcpkg",
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
rustc_flags = [
|
||
|
"--cap-lints=allow",
|
||
|
],
|
||
|
crate_features = [
|
||
|
"bundled",
|
||
|
"bundled_bindings",
|
||
|
"cc",
|
||
|
"default",
|
||
|
"min_sqlite_version_3_6_23",
|
||
|
"min_sqlite_version_3_6_8",
|
||
|
"min_sqlite_version_3_7_7",
|
||
|
"pkg-config",
|
||
|
"vcpkg",
|
||
|
],
|
||
|
build_script_env = {
|
||
|
},
|
||
|
data = glob(["**"]),
|
||
|
tags = [
|
||
|
"cargo-raze",
|
||
|
"manual",
|
||
|
],
|
||
|
version = "0.18.0",
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
|
||
|
# buildifier: leave-alone
|
||
|
rust_library(
|
||
|
name = "libsqlite3_sys",
|
||
|
crate_type = "lib",
|
||
|
deps = [
|
||
|
":libsqlite3_sys_build_script",
|
||
|
] + selects.with_or({
|
||
|
# cfg(target_env = "msvc")
|
||
|
(
|
||
|
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
|
||
|
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||
|
): [
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
srcs = glob(["**/*.rs"]),
|
||
|
crate_root = "src/lib.rs",
|
||
|
edition = "2018",
|
||
|
rustc_flags = [
|
||
|
"--cap-lints=allow",
|
||
|
],
|
||
|
version = "0.18.0",
|
||
|
tags = [
|
||
|
"cargo-raze",
|
||
|
"manual",
|
||
|
],
|
||
|
crate_features = [
|
||
|
"bundled",
|
||
|
"bundled_bindings",
|
||
|
"cc",
|
||
|
"default",
|
||
|
"min_sqlite_version_3_6_23",
|
||
|
"min_sqlite_version_3_6_8",
|
||
|
"min_sqlite_version_3_7_7",
|
||
|
"pkg-config",
|
||
|
"vcpkg",
|
||
|
],
|
||
|
aliases = {
|
||
|
},
|
||
|
)
|