Bazel almost there but not really :(

This commit is contained in:
Noah Santschi-Cooney 2020-09-13 22:49:27 +01:00
parent 6a10a704cd
commit f43079366f
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
41 changed files with 597 additions and 1338 deletions

View file

@ -23,12 +23,39 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "anyhow_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.32",
visibility = ["//visibility:private"],
)
rust_library(
name = "anyhow",
crate_type = "lib",
deps = [
":anyhow_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
@ -44,7 +71,6 @@ rust_library(
],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "compiletest" with type "test" omitted
# Unsupported target "test_autotrait" with type "test" omitted
# Unsupported target "test_backtrace" with type "test" omitted

View file

@ -1,49 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
rust_library(
name = "autocfg",
crate_type = "lib",
deps = [
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.0",
tags = ["cargo-raze"],
crate_features = [
],
)
# Unsupported target "integers" with type "example" omitted
# Unsupported target "paths" with type "example" omitted
# Unsupported target "rustflags" with type "test" omitted
# Unsupported target "traits" with type "example" omitted
# Unsupported target "versions" with type "example" omitted

View file

@ -23,12 +23,38 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "bitflags_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.2.1",
visibility = ["//visibility:private"],
)
rust_library(
name = "bitflags",
crate_type = "lib",
deps = [
":bitflags_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
@ -43,4 +69,3 @@ rust_library(
],
)
# Unsupported target "build-script-build" with type "custom-build" omitted

View file

@ -1,50 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "bench" with type "bench" omitted
# Unsupported target "equivalent_trait" with type "test" omitted
# Unsupported target "faststring" with type "bench" omitted
rust_library(
name = "indexmap",
crate_type = "lib",
deps = [
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.2",
tags = ["cargo-raze"],
crate_features = [
],
)
# Unsupported target "quick" with type "test" omitted
# Unsupported target "serde" with type "test" omitted
# Unsupported target "tests" with type "test" omitted

View file

@ -1,52 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "bench" with type "bench" omitted
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "equivalent_trait" with type "test" omitted
# Unsupported target "faststring" with type "bench" omitted
rust_library(
name = "indexmap",
crate_type = "lib",
deps = [
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.4.0",
tags = ["cargo-raze"],
crate_features = [
],
)
# Unsupported target "macros_full_path" with type "test" omitted
# Unsupported target "quick" with type "test" omitted
# Unsupported target "serde" with type "test" omitted
# Unsupported target "tests" with type "test" omitted

View file

@ -23,9 +23,33 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "indexmap_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.6.0",
visibility = ["//visibility:private"],
)
# Unsupported target "bench" with type "bench" omitted
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "equivalent_trait" with type "test" omitted
# Unsupported target "faststring" with type "bench" omitted
@ -33,6 +57,7 @@ rust_library(
name = "indexmap",
crate_type = "lib",
deps = [
":indexmap_build_script",
"@server__hashbrown__0_9_0//:hashbrown",
],
srcs = glob(["**/*.rs"]),

View file

@ -1,48 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "const_fn" with type "test" omitted
rust_library(
name = "libc",
crate_type = "lib",
deps = [
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.2.72",
tags = ["cargo-raze"],
crate_features = [
"default",
"std",
],
)

View file

@ -23,14 +23,40 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "libc_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.2.77",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "const_fn" with type "test" omitted
rust_library(
name = "libc",
crate_type = "lib",
deps = [
":libc_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -1,47 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
rust_library(
name = "log",
crate_type = "lib",
deps = [
"@server__log__0_4_11//:log",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.3.9",
tags = ["cargo-raze"],
crate_features = [
"default",
"use_std",
],
)

View file

@ -23,14 +23,38 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "log_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.4.11",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "filters" with type "test" omitted
rust_library(
name = "log",
crate_type = "lib",
deps = [
":log_build_script",
"@server__cfg_if__0_1_10//:cfg_if",
],
srcs = glob(["**/*.rs"]),

View file

@ -1,48 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "filters" with type "test" omitted
rust_library(
name = "log",
crate_type = "lib",
deps = [
"@raze__cfg_if__0_1_10//:cfg_if",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.4.8",
tags = ["cargo-raze"],
crate_features = [
"std",
],
)

View file

@ -1,53 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
rust_library(
name = "lsp_types",
crate_type = "lib",
deps = [
"@server__base64__0_12_3//:base64",
"@server__bitflags__1_2_1//:bitflags",
"@server__serde__1_0_115//:serde",
"@server__serde_json__1_0_57//:serde_json",
"@server__url__2_1_1//:url",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2018",
proc_macro_deps = [
"@server__serde_repr__0_1_6//:serde_repr",
],
rustc_flags = [
"--cap-lints=allow",
],
version = "0.77.0",
tags = ["cargo-raze"],
crate_features = [
"default",
],
)

View file

@ -23,13 +23,40 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "memchr_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"std",
"use_std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "2.3.3",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "memchr",
crate_type = "lib",
deps = [
":memchr_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -23,6 +23,32 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "num_bigint_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.2.6",
visibility = ["//visibility:private"],
)
# Unsupported target "bigint" with type "bench" omitted
# Unsupported target "bigint" with type "test" omitted
@ -30,7 +56,6 @@ load(
# Unsupported target "bigint_scalar" with type "test" omitted
# Unsupported target "biguint" with type "test" omitted
# Unsupported target "biguint_scalar" with type "test" omitted
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "factorial" with type "bench" omitted
# Unsupported target "gcd" with type "bench" omitted
# Unsupported target "modpow" with type "test" omitted
@ -39,6 +64,7 @@ rust_library(
name = "num_bigint",
crate_type = "lib",
deps = [
":num_bigint_build_script",
"@server__num_integer__0_1_43//:num_integer",
"@server__num_traits__0_2_12//:num_traits",
],

View file

@ -23,13 +23,39 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "num_complex_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.2.4",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "num_complex",
crate_type = "lib",
deps = [
":num_complex_build_script",
"@server__num_traits__0_2_12//:num_traits",
],
srcs = glob(["**/*.rs"]),

View file

@ -23,16 +23,42 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "num_integer_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.1.43",
visibility = ["//visibility:private"],
)
# Unsupported target "average" with type "bench" omitted
# Unsupported target "average" with type "test" omitted
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "gcd" with type "bench" omitted
rust_library(
name = "num_integer",
crate_type = "lib",
deps = [
":num_integer_build_script",
"@server__num_traits__0_2_12//:num_traits",
],
srcs = glob(["**/*.rs"]),

View file

@ -23,13 +23,39 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "num_iter_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.1.41",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "num_iter",
crate_type = "lib",
deps = [
":num_iter_build_script",
"@server__num_integer__0_1_43//:num_integer",
"@server__num_traits__0_2_12//:num_traits",
],

View file

@ -23,13 +23,41 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "num_rational_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"bigint",
"num-bigint",
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.2.4",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "num_rational",
crate_type = "lib",
deps = [
":num_rational_build_script",
"@server__num_bigint__0_2_6//:num_bigint",
"@server__num_integer__0_1_43//:num_integer",
"@server__num_traits__0_2_12//:num_traits",

View file

@ -23,14 +23,40 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "num_traits_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
"@server__autocfg__1_0_1//:autocfg",
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.2.12",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "cast" with type "test" omitted
rust_library(
name = "num_traits",
crate_type = "lib",
deps = [
":num_traits_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -37,7 +37,7 @@ rust_library(
crate_type = "lib",
deps = [
"@server__fixedbitset__0_2_0//:fixedbitset",
"@server__indexmap__1_0_2//:indexmap",
"@server__indexmap__1_6_0//:indexmap",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -1,52 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "comments" with type "test" omitted
# Unsupported target "features" with type "test" omitted
# Unsupported target "marker" with type "test" omitted
rust_library(
name = "proc_macro2",
crate_type = "lib",
deps = [
"@server__unicode_xid__0_2_1//:unicode_xid",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.18",
tags = ["cargo-raze"],
crate_features = [
"default",
"proc-macro",
],
)
# Unsupported target "test" with type "test" omitted

View file

@ -23,8 +23,33 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "proc_macro2_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"proc-macro",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.21",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "comments" with type "test" omitted
# Unsupported target "features" with type "test" omitted
# Unsupported target "marker" with type "test" omitted
@ -33,6 +58,7 @@ rust_library(
name = "proc_macro2",
crate_type = "lib",
deps = [
":proc_macro2_build_script",
"@server__unicode_xid__0_2_1//:unicode_xid",
],
srcs = glob(["**/*.rs"]),

View file

@ -23,9 +23,32 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "ryu_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.5",
visibility = ["//visibility:private"],
)
# Unsupported target "bench" with type "bench" omitted
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "common_test" with type "test" omitted
# Unsupported target "d2s_table_test" with type "test" omitted
# Unsupported target "d2s_test" with type "test" omitted
@ -36,6 +59,7 @@ rust_library(
name = "ryu",
crate_type = "lib",
deps = [
":ryu_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -1,52 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "serde",
crate_type = "lib",
deps = [
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
proc_macro_deps = [
"@server__serde_derive__1_0_115//:serde_derive",
],
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.115",
tags = ["cargo-raze"],
crate_features = [
"default",
"derive",
"serde_derive",
"std",
],
)

View file

@ -23,13 +23,41 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "serde_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"derive",
"serde_derive",
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.116",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "serde",
crate_type = "lib",
deps = [
":serde_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -1,49 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "serde_derive",
crate_type = "proc-macro",
deps = [
"@server__proc_macro2__1_0_18//:proc_macro2",
"@server__quote__1_0_7//:quote",
"@server__syn__1_0_34//:syn",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.115",
tags = ["cargo-raze"],
crate_features = [
"default",
],
)

View file

@ -23,13 +23,38 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "serde_derive_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.116",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "serde_derive",
crate_type = "proc-macro",
deps = [
":serde_derive_build_script",
"@server__proc_macro2__1_0_21//:proc_macro2",
"@server__quote__1_0_7//:quote",
"@server__syn__1_0_40//:syn",

View file

@ -23,13 +23,39 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "serde_json_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"default",
"std",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.57",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "serde_json",
crate_type = "lib",
deps = [
":serde_json_build_script",
"@server__itoa__0_4_6//:itoa",
"@server__ryu__1_0_5//:ryu",
"@server__serde__1_0_116//:serde",

View file

@ -1,83 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "file" with type "bench" omitted
# Unsupported target "rust" with type "bench" omitted
rust_library(
name = "syn",
crate_type = "lib",
deps = [
"@server__proc_macro2__1_0_18//:proc_macro2",
"@server__quote__1_0_7//:quote",
"@server__unicode_xid__0_2_1//:unicode_xid",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.34",
tags = ["cargo-raze"],
crate_features = [
"clone-impls",
"default",
"derive",
"parsing",
"printing",
"proc-macro",
"quote",
"visit",
],
)
# Unsupported target "test_asyncness" with type "test" omitted
# Unsupported target "test_attribute" with type "test" omitted
# Unsupported target "test_derive_input" with type "test" omitted
# Unsupported target "test_expr" with type "test" omitted
# Unsupported target "test_generics" with type "test" omitted
# Unsupported target "test_grouping" with type "test" omitted
# Unsupported target "test_ident" with type "test" omitted
# Unsupported target "test_item" with type "test" omitted
# Unsupported target "test_iterators" with type "test" omitted
# Unsupported target "test_lit" with type "test" omitted
# Unsupported target "test_meta" with type "test" omitted
# Unsupported target "test_parse_buffer" with type "test" omitted
# Unsupported target "test_parse_stream" with type "test" omitted
# Unsupported target "test_pat" with type "test" omitted
# Unsupported target "test_path" with type "test" omitted
# Unsupported target "test_precedence" with type "test" omitted
# Unsupported target "test_receiver" with type "test" omitted
# Unsupported target "test_round_trip" with type "test" omitted
# Unsupported target "test_should_parse" with type "test" omitted
# Unsupported target "test_size" with type "test" omitted
# Unsupported target "test_stmt" with type "test" omitted
# Unsupported target "test_token_trees" with type "test" omitted
# Unsupported target "test_ty" with type "test" omitted
# Unsupported target "test_visibility" with type "test" omitted
# Unsupported target "zzz_stable" with type "test" omitted

View file

@ -23,8 +23,39 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "syn_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2018",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"clone-impls",
"default",
"derive",
"parsing",
"printing",
"proc-macro",
"quote",
"visit",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "1.0.40",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
# Unsupported target "file" with type "bench" omitted
# Unsupported target "rust" with type "bench" omitted
@ -32,6 +63,7 @@ rust_library(
name = "syn",
crate_type = "lib",
deps = [
":syn_build_script",
"@server__proc_macro2__1_0_21//:proc_macro2",
"@server__quote__1_0_7//:quote",
"@server__unicode_xid__0_2_1//:unicode_xid",

View file

@ -1,49 +0,0 @@
"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//server/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # Zlib from expression "Zlib"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_test",
)
# Unsupported target "arrayvec" with type "test" omitted
# Unsupported target "macros" with type "bench" omitted
rust_library(
name = "tinyvec",
crate_type = "lib",
deps = [
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.3.3",
tags = ["cargo-raze"],
crate_features = [
"alloc",
"default",
],
)
# Unsupported target "tinyvec" with type "test" omitted

View file

@ -23,13 +23,49 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "winapi_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
"consoleapi",
"errhandlingapi",
"fileapi",
"minwindef",
"ntsecapi",
"processenv",
"profileapi",
"std",
"winbase",
"wincon",
"winerror",
"winnt",
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.3.9",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "winapi",
crate_type = "lib",
deps = [
":winapi_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -23,13 +23,37 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "winapi_i686_pc_windows_gnu_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.4.0",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "winapi_i686_pc_windows_gnu",
crate_type = "lib",
deps = [
":winapi_i686_pc_windows_gnu_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",

View file

@ -23,13 +23,37 @@ load(
"rust_test",
)
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "winapi_x86_64_pc_windows_gnu_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = ["cargo-raze"],
version = "0.4.0",
visibility = ["//visibility:private"],
)
# Unsupported target "build-script-build" with type "custom-build" omitted
rust_library(
name = "winapi_x86_64_pc_windows_gnu",
crate_type = "lib",
deps = [
":winapi_x86_64_pc_windows_gnu_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",