Skip to content

Commit

Permalink
repin crates after upgrading rules_rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Calsign committed Aug 12, 2023
1 parent 1595d07 commit ce54bc5
Show file tree
Hide file tree
Showing 45 changed files with 2,031 additions and 3,204 deletions.
103 changes: 51 additions & 52 deletions 3rdparty/crates/BUILD.atty-0.2.14.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run //3rdparty:crates_vendor
# bazel run @//3rdparty:crates_vendor
###############################################################################

# buildifier: disable=bzl-visibility
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

Expand All @@ -21,65 +16,64 @@ package(default_visibility = ["//visibility:public"])

rust_library(
name = "atty",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = select({
"//conditions:default": {
},
}),
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD.bazel",
".tmp_git_root/**/*",
"BUILD",
"WORKSPACE.bazel",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
],
),
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2015",
proc_macro_deps = [
] + select({
"//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",
],
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=atty",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-apple-ios": [],
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
"@rules_rust//rust/platform:aarch64-fuchsia": [],
"@rules_rust//rust/platform:aarch64-linux-android": [],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:i686-apple-darwin": [],
"@rules_rust//rust/platform:i686-linux-android": [],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [],
"@rules_rust//rust/platform:i686-unknown-freebsd": [],
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
"@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
"@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
"@rules_rust//rust/platform:thumbv7em-none-eabi": [],
"@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
"@rules_rust//rust/platform:wasm32-unknown-unknown": [],
"@rules_rust//rust/platform:wasm32-wasi": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-apple-ios": [],
"@rules_rust//rust/platform:x86_64-fuchsia": [],
"@rules_rust//rust/platform:x86_64-linux-android": [],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "0.2.14",
deps = [
] + select({
deps = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
Expand All @@ -89,6 +83,9 @@ rust_library(
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
"@rules_rust//rust/platform:aarch64-fuchsia": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
"@rules_rust//rust/platform:aarch64-linux-android": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
Expand Down Expand Up @@ -134,6 +131,9 @@ rust_library(
"@rules_rust//rust/platform:x86_64-apple-ios": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
"@rules_rust//rust/platform:x86_64-fuchsia": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
"@rules_rust//rust/platform:x86_64-linux-android": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
Expand All @@ -146,7 +146,6 @@ rust_library(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
"@crates_vendor__libc-0.2.132//:libc", # cfg(unix)
],
"//conditions:default": [
],
"//conditions:default": [],
}),
)
96 changes: 43 additions & 53 deletions 3rdparty/crates/BUILD.autocfg-1.1.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run //3rdparty:crates_vendor
# bazel run @//3rdparty:crates_vendor
###############################################################################

# buildifier: disable=bzl-visibility
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

Expand All @@ -21,66 +16,61 @@ package(default_visibility = ["//visibility:public"])

rust_library(
name = "autocfg",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = select({
"//conditions:default": {
},
}),
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD.bazel",
".tmp_git_root/**/*",
"BUILD",
"WORKSPACE.bazel",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
],
),
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2015",
proc_macro_deps = [
] + select({
"//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",
],
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=autocfg",
"manual",
"noclippy",
"norustfmt",
],
version = "1.1.0",
deps = [
] + select({
"//conditions:default": [
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-apple-ios": [],
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
"@rules_rust//rust/platform:aarch64-fuchsia": [],
"@rules_rust//rust/platform:aarch64-linux-android": [],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:i686-apple-darwin": [],
"@rules_rust//rust/platform:i686-linux-android": [],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [],
"@rules_rust//rust/platform:i686-unknown-freebsd": [],
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
"@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
"@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
"@rules_rust//rust/platform:thumbv7em-none-eabi": [],
"@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
"@rules_rust//rust/platform:wasm32-unknown-unknown": [],
"@rules_rust//rust/platform:wasm32-wasi": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-apple-ios": [],
"@rules_rust//rust/platform:x86_64-fuchsia": [],
"@rules_rust//rust/platform:x86_64-linux-android": [],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "1.1.0",
)
21 changes: 3 additions & 18 deletions 3rdparty/crates/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run //3rdparty:crates_vendor
# bazel run @//3rdparty:crates_vendor
###############################################################################

package(default_visibility = ["//visibility:public"])

exports_files(
[
"cargo-bazel.json",
"defs.bzl",
"crates.bzl",
] + glob([
"*.bazel",
]),
"defs.bzl",
] + glob(["*.bazel"]),
)

filegroup(
Expand Down Expand Up @@ -50,16 +48,3 @@ alias(
actual = "@crates_vendor__syn-1.0.99//:syn",
tags = ["manual"],
)

# Binaries
alias(
name = "cargo-lock__cargo-lock",
actual = "@crates_vendor__cargo-lock-8.0.2//:cargo-lock__bin",
tags = ["manual"],
)

alias(
name = "clap__stdio-fixture",
actual = "@crates_vendor__clap-3.2.20//:stdio-fixture__bin",
tags = ["manual"],
)
Loading

0 comments on commit ce54bc5

Please sign in to comment.