diff --git a/third_party/rust/crates/BUILD.bazel b/third_party/rust/crates/BUILD.bazel index 5914f411f6792..124e9704ed005 100644 --- a/third_party/rust/crates/BUILD.bazel +++ b/third_party/rust/crates/BUILD.bazel @@ -157,6 +157,12 @@ alias( tags = ["manual"], ) +alias( + name = "embedded-hal", + actual = "@crate_index__embedded-hal-1.0.0//:embedded_hal", + tags = ["manual"], +) + alias( name = "env_logger", actual = "@crate_index__env_logger-0.10.0//:env_logger", @@ -181,6 +187,18 @@ alias( tags = ["manual"], ) +alias( + name = "ftdi-embedded-hal", + actual = "@crate_index__ftdi-embedded-hal-0.22.0//:ftdi_embedded_hal", + tags = ["manual"], +) + +alias( + name = "ftdi-mpsse", + actual = "@crate_index__ftdi-mpsse-0.1.1//:ftdi_mpsse", + tags = ["manual"], +) + alias( name = "heck", actual = "@crate_index__heck-0.4.1//:heck", diff --git a/third_party/rust/crates/BUILD.embedded-hal-0.2.7.bazel b/third_party/rust/crates/BUILD.embedded-hal-0.2.7.bazel new file mode 100644 index 0000000000000..b7e67293a0166 --- /dev/null +++ b/third_party/rust/crates/BUILD.embedded-hal-0.2.7.bazel @@ -0,0 +1,83 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "embedded_hal", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "unproven", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=embedded-hal", + "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.7", + deps = [ + "@crate_index__nb-0.1.3//:nb", + "@crate_index__void-1.0.2//:void", + ], +) diff --git a/third_party/rust/crates/BUILD.embedded-hal-1.0.0.bazel b/third_party/rust/crates/BUILD.embedded-hal-1.0.0.bazel new file mode 100644 index 0000000000000..98477e1193afd --- /dev/null +++ b/third_party/rust/crates/BUILD.embedded-hal-1.0.0.bazel @@ -0,0 +1,76 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "embedded_hal", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=embedded-hal", + "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 = "1.0.0", +) diff --git a/third_party/rust/crates/BUILD.embedded-hal-nb-1.0.0.bazel b/third_party/rust/crates/BUILD.embedded-hal-nb-1.0.0.bazel new file mode 100644 index 0000000000000..cf6cd7a4967f2 --- /dev/null +++ b/third_party/rust/crates/BUILD.embedded-hal-nb-1.0.0.bazel @@ -0,0 +1,80 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "embedded_hal_nb", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=embedded-hal-nb", + "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 = "1.0.0", + deps = [ + "@crate_index__embedded-hal-1.0.0//:embedded_hal", + "@crate_index__nb-1.1.0//:nb", + ], +) diff --git a/third_party/rust/crates/BUILD.ftdi-embedded-hal-0.22.0.bazel b/third_party/rust/crates/BUILD.ftdi-embedded-hal-0.22.0.bazel new file mode 100644 index 0000000000000..6f78cb962b8ff --- /dev/null +++ b/third_party/rust/crates/BUILD.ftdi-embedded-hal-0.22.0.bazel @@ -0,0 +1,91 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "ftdi_embedded_hal", + srcs = glob(["**/*.rs"]), + aliases = { + "@crate_index__embedded-hal-0.2.7//:embedded_hal": "eh0", + "@crate_index__embedded-hal-1.0.0//:embedded_hal": "eh1", + "@crate_index__embedded-hal-nb-1.0.0//:embedded_hal_nb": "ehnb1", + }, + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + edition = "2021", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=ftdi-embedded-hal", + "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.22.0", + deps = [ + "@crate_index__embedded-hal-0.2.7//:embedded_hal", + "@crate_index__embedded-hal-1.0.0//:embedded_hal", + "@crate_index__embedded-hal-nb-1.0.0//:embedded_hal_nb", + "@crate_index__ftdi-mpsse-0.1.1//:ftdi_mpsse", + "@crate_index__nb-1.1.0//:nb", + ], +) diff --git a/third_party/rust/crates/BUILD.nb-0.1.3.bazel b/third_party/rust/crates/BUILD.nb-0.1.3.bazel new file mode 100644 index 0000000000000..053b22ac57167 --- /dev/null +++ b/third_party/rust/crates/BUILD.nb-0.1.3.bazel @@ -0,0 +1,82 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "nb", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_features = [ + "unstable", + ], + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=nb", + "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.1.3", + deps = [ + "@crate_index__nb-1.1.0//:nb", + ], +) diff --git a/third_party/rust/crates/BUILD.nb-1.1.0.bazel b/third_party/rust/crates/BUILD.nb-1.1.0.bazel new file mode 100644 index 0000000000000..b3009a73873b0 --- /dev/null +++ b/third_party/rust/crates/BUILD.nb-1.1.0.bazel @@ -0,0 +1,76 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT OR Apache-2.0 +# ]) + +rust_library( + name = "nb", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=nb", + "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 = "1.1.0", +) diff --git a/third_party/rust/crates/BUILD.void-1.0.2.bazel b/third_party/rust/crates/BUILD.void-1.0.2.bazel new file mode 100644 index 0000000000000..dba62937b782c --- /dev/null +++ b/third_party/rust/crates/BUILD.void-1.0.2.bazel @@ -0,0 +1,76 @@ +############################################################################### +# @generated +# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To +# regenerate this file, run the following: +# +# bazel run @//third_party/rust:crate_index +############################################################################### + +load("@rules_rust//rust:defs.bzl", "rust_library") + +package(default_visibility = ["//visibility:public"]) + +# licenses([ +# "TODO", # MIT +# ]) + +rust_library( + name = "void", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + ".tmp_git_root/**/*", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=void", + "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 = "1.0.2", +) diff --git a/third_party/rust/crates/defs.bzl b/third_party/rust/crates/defs.bzl index af093d4001f84..9a973bbe2b02b 100644 --- a/third_party/rust/crates/defs.bzl +++ b/third_party/rust/crates/defs.bzl @@ -317,10 +317,13 @@ _NORMAL_DEPENDENCIES = { "ecdsa": "@crate_index__ecdsa-0.16.9//:ecdsa", "elf": "@crate_index__elf-0.7.2//:elf", "elliptic-curve": "@crate_index__elliptic-curve-0.13.8//:elliptic_curve", + "embedded-hal": "@crate_index__embedded-hal-1.0.0//:embedded_hal", "env_logger": "@crate_index__env_logger-0.10.0//:env_logger", "erased-serde": "@crate_index__erased-serde-0.3.31//:erased_serde", "foreign-types": "@crate_index__foreign-types-0.3.2//:foreign_types", "ftdi": "@crate_index__ftdi-0.1.3//:ftdi", + "ftdi-embedded-hal": "@crate_index__ftdi-embedded-hal-0.22.0//:ftdi_embedded_hal", + "ftdi-mpsse": "@crate_index__ftdi-mpsse-0.1.1//:ftdi_mpsse", "heck": "@crate_index__heck-0.4.1//:heck", "hex": "@crate_index__hex-0.4.3//:hex", "humantime": "@crate_index__humantime-2.1.0//:humantime", @@ -1210,6 +1213,36 @@ def crate_repositories(): build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.elliptic-curve-0.13.8.bazel"), ) + maybe( + http_archive, + name = "crate_index__embedded-hal-0.2.7", + sha256 = "35949884794ad573cf46071e41c9b60efb0cb311e3ca01f7af807af1debc66ff", + type = "tar.gz", + urls = ["https://static.crates.io/crates/embedded-hal/0.2.7/download"], + strip_prefix = "embedded-hal-0.2.7", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.embedded-hal-0.2.7.bazel"), + ) + + maybe( + http_archive, + name = "crate_index__embedded-hal-1.0.0", + sha256 = "361a90feb7004eca4019fb28352a9465666b24f840f5c3cddf0ff13920590b89", + type = "tar.gz", + urls = ["https://static.crates.io/crates/embedded-hal/1.0.0/download"], + strip_prefix = "embedded-hal-1.0.0", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.embedded-hal-1.0.0.bazel"), + ) + + maybe( + http_archive, + name = "crate_index__embedded-hal-nb-1.0.0", + sha256 = "fba4268c14288c828995299e59b12babdbe170f6c6d73731af1b4648142e8605", + type = "tar.gz", + urls = ["https://static.crates.io/crates/embedded-hal-nb/1.0.0/download"], + strip_prefix = "embedded-hal-nb-1.0.0", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.embedded-hal-nb-1.0.0.bazel"), + ) + maybe( http_archive, name = "crate_index__encode_unicode-0.3.6", @@ -1350,6 +1383,16 @@ def crate_repositories(): build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.ftdi-0.1.3.bazel"), ) + maybe( + http_archive, + name = "crate_index__ftdi-embedded-hal-0.22.0", + sha256 = "5e328c2738c104e2649586bda4baabf376825db50014eb0d41bee74fb6064deb", + type = "tar.gz", + urls = ["https://static.crates.io/crates/ftdi-embedded-hal/0.22.0/download"], + strip_prefix = "ftdi-embedded-hal-0.22.0", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.ftdi-embedded-hal-0.22.0.bazel"), + ) + maybe( http_archive, name = "crate_index__ftdi-mpsse-0.1.1", @@ -1952,6 +1995,26 @@ def crate_repositories(): build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.mio-signals-0.2.0.bazel"), ) + maybe( + http_archive, + name = "crate_index__nb-0.1.3", + sha256 = "801d31da0513b6ec5214e9bf433a77966320625a37860f910be265be6e18d06f", + type = "tar.gz", + urls = ["https://static.crates.io/crates/nb/0.1.3/download"], + strip_prefix = "nb-0.1.3", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.nb-0.1.3.bazel"), + ) + + maybe( + http_archive, + name = "crate_index__nb-1.1.0", + sha256 = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/nb/1.1.0/download"], + strip_prefix = "nb-1.1.0", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.nb-1.1.0.bazel"), + ) + maybe( http_archive, name = "crate_index__new_debug_unreachable-1.0.4", @@ -3332,6 +3395,16 @@ def crate_repositories(): build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.version_check-0.9.4.bazel"), ) + maybe( + http_archive, + name = "crate_index__void-1.0.2", + sha256 = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d", + type = "tar.gz", + urls = ["https://static.crates.io/crates/void/1.0.2/download"], + strip_prefix = "void-1.0.2", + build_file = Label("@lowrisc_opentitan//third_party/rust/crates:BUILD.void-1.0.2.bazel"), + ) + maybe( http_archive, name = "crate_index__wasi-0.10.0-wasi-snapshot-preview1",