Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ use_repo(
cargo_internal_deps = use_extension("//cargo/private:internal_extensions.bzl", "i")
use_repo(
cargo_internal_deps,
"rrcti",
"rrcti__cargo_toml-0.20.5",
"rules_rust_ctve",
"rules_rust_ctve__cargo-util-schemas-0.3.1",
"rules_rust_ctve__pathdiff-0.1.0",
"rules_rust_ctve__semver-1.0.25",
"rules_rust_ctve__toml-0.8.20",
"rrc",
"rrc__cargo-util-schemas-0.3.1",
"rrc__cargo_toml-0.20.5",
"rrc__pathdiff-0.1.0",
"rrc__semver-1.0.25",
"rrc__toml-0.8.20",
)

rust = use_extension("//rust:extensions.bzl", "rust")
Expand Down
14 changes: 14 additions & 0 deletions cargo/3rdparty/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
load("//crate_universe:defs.bzl", "crates_vendor", "render_config")

crates_vendor(
name = "crates_vendor",
cargo_lockfile = "Cargo.Bazel.lock",
manifests = [
"//cargo:Cargo.toml",
],
mode = "remote",
render_config = render_config(generate_cargo_toml_env_vars = False),
# `rrc` == `rules_rust_cargo`.
repository_name = "rrc",
tags = ["manual"],
)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -33,48 +33,60 @@ filegroup(
# Workspace Member Dependencies
alias(
name = "cargo-util-schemas-0.3.1",
actual = "@rules_rust_ctve__cargo-util-schemas-0.3.1//:cargo_util_schemas",
actual = "@rrc__cargo-util-schemas-0.3.1//:cargo_util_schemas",
tags = ["manual"],
)

alias(
name = "cargo-util-schemas",
actual = "@rules_rust_ctve__cargo-util-schemas-0.3.1//:cargo_util_schemas",
actual = "@rrc__cargo-util-schemas-0.3.1//:cargo_util_schemas",
tags = ["manual"],
)

alias(
name = "cargo_toml-0.20.5",
actual = "@rrc__cargo_toml-0.20.5//:cargo_toml",
tags = ["manual"],
)

alias(
name = "cargo_toml",
actual = "@rrc__cargo_toml-0.20.5//:cargo_toml",
tags = ["manual"],
)

alias(
name = "pathdiff-0.1.0",
actual = "@rules_rust_ctve__pathdiff-0.1.0//:pathdiff",
actual = "@rrc__pathdiff-0.1.0//:pathdiff",
tags = ["manual"],
)

alias(
name = "pathdiff",
actual = "@rules_rust_ctve__pathdiff-0.1.0//:pathdiff",
actual = "@rrc__pathdiff-0.1.0//:pathdiff",
tags = ["manual"],
)

alias(
name = "semver-1.0.25",
actual = "@rules_rust_ctve__semver-1.0.25//:semver",
actual = "@rrc__semver-1.0.25//:semver",
tags = ["manual"],
)

alias(
name = "semver",
actual = "@rules_rust_ctve__semver-1.0.25//:semver",
actual = "@rrc__semver-1.0.25//:semver",
tags = ["manual"],
)

alias(
name = "toml-0.8.20",
actual = "@rules_rust_ctve__toml-0.8.20//:toml",
actual = "@rrc__toml-0.8.20//:toml",
tags = ["manual"],
)

alias(
name = "toml",
actual = "@rules_rust_ctve__toml-0.8.20//:toml",
actual = "@rrc__toml-0.8.20//:toml",
tags = ["manual"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down Expand Up @@ -85,13 +85,13 @@ rust_library(
}),
version = "0.3.1",
deps = [
"@rules_rust_ctve__semver-1.0.25//:semver",
"@rules_rust_ctve__serde-1.0.217//:serde",
"@rules_rust_ctve__serde-untagged-0.1.6//:serde_untagged",
"@rules_rust_ctve__serde-value-0.7.0//:serde_value",
"@rules_rust_ctve__thiserror-1.0.69//:thiserror",
"@rules_rust_ctve__toml-0.8.20//:toml",
"@rules_rust_ctve__unicode-xid-0.2.6//:unicode_xid",
"@rules_rust_ctve__url-2.5.4//:url",
"@rrc__semver-1.0.25//:semver",
"@rrc__serde-1.0.217//:serde",
"@rrc__serde-untagged-0.1.6//:serde_untagged",
"@rrc__serde-value-0.7.0//:serde_value",
"@rrc__thiserror-1.0.69//:thiserror",
"@rrc__toml-0.8.20//:toml",
"@rrc__unicode-xid-0.2.6//:unicode_xid",
"@rrc__url-2.5.4//:url",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/private/cargo_toml_info/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
load("@rules_rust//rust:defs.bzl", "rust_library")

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

cargo_toml_env_vars(
name = "cargo_toml_env_vars",
src = "Cargo.toml",
)

rust_library(
name = "cargo_toml",
srcs = glob(
Expand All @@ -36,9 +30,6 @@ rust_library(
),
crate_root = "src/cargo_toml.rs",
edition = "2021",
rustc_env_files = [
":cargo_toml_env_vars",
],
rustc_flags = [
"--cap-lints=allow",
],
Expand Down Expand Up @@ -70,6 +61,7 @@ rust_library(
"@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-linux-gnu": [],
"@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
"@rules_rust//rust/platform:thumbv7em-none-eabi": [],
Expand All @@ -93,7 +85,7 @@ rust_library(
}),
version = "0.20.5",
deps = [
"@rrcti__serde-1.0.214//:serde",
"@rrcti__toml-0.8.19//:toml",
"@rrc__serde-1.0.217//:serde",
"@rrc__toml-0.8.20//:toml",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
Expand Down Expand Up @@ -85,8 +85,8 @@ rust_proc_macro(
}),
version = "0.2.5",
deps = [
"@rules_rust_ctve__proc-macro2-1.0.93//:proc_macro2",
"@rules_rust_ctve__quote-1.0.38//:quote",
"@rules_rust_ctve__syn-2.0.98//:syn",
"@rrc__proc-macro2-1.0.93//:proc_macro2",
"@rrc__quote-1.0.38//:quote",
"@rrc__syn-2.0.98//:syn",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down Expand Up @@ -88,7 +88,7 @@ rust_library(
}),
version = "0.4.5",
deps = [
"@rules_rust_ctve__serde-1.0.217//:serde",
"@rules_rust_ctve__typeid-1.0.2//:typeid",
"@rrc__serde-1.0.217//:serde",
"@rrc__typeid-1.0.2//:typeid",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down Expand Up @@ -89,6 +89,6 @@ rust_library(
}),
version = "1.2.1",
deps = [
"@rules_rust_ctve__percent-encoding-2.3.1//:percent_encoding",
"@rrc__percent-encoding-2.3.1//:percent_encoding",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down Expand Up @@ -31,7 +31,7 @@ rust_library(
crate_root = "src/lib.rs",
edition = "2021",
proc_macro_deps = [
"@rules_rust_ctve__displaydoc-0.2.5//:displaydoc",
"@rrc__displaydoc-0.2.5//:displaydoc",
],
rustc_flags = [
"--cap-lints=allow",
Expand Down Expand Up @@ -88,8 +88,8 @@ rust_library(
}),
version = "1.5.0",
deps = [
"@rules_rust_ctve__yoke-0.7.5//:yoke",
"@rules_rust_ctve__zerofrom-0.1.5//:zerofrom",
"@rules_rust_ctve__zerovec-0.10.4//:zerovec",
"@rrc__yoke-0.7.5//:yoke",
"@rrc__zerofrom-0.1.5//:zerofrom",
"@rrc__zerovec-0.10.4//:zerovec",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor
# bazel run @@//cargo/3rdparty:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")
Expand Down Expand Up @@ -34,7 +34,7 @@ rust_library(
crate_root = "src/lib.rs",
edition = "2021",
proc_macro_deps = [
"@rules_rust_ctve__displaydoc-0.2.5//:displaydoc",
"@rrc__displaydoc-0.2.5//:displaydoc",
],
rustc_flags = [
"--cap-lints=allow",
Expand Down Expand Up @@ -91,9 +91,9 @@ rust_library(
}),
version = "1.5.0",
deps = [
"@rules_rust_ctve__litemap-0.7.4//:litemap",
"@rules_rust_ctve__tinystr-0.7.6//:tinystr",
"@rules_rust_ctve__writeable-0.5.5//:writeable",
"@rules_rust_ctve__zerovec-0.10.4//:zerovec",
"@rrc__litemap-0.7.4//:litemap",
"@rrc__tinystr-0.7.6//:tinystr",
"@rrc__writeable-0.5.5//:writeable",
"@rrc__zerovec-0.10.4//:zerovec",
],
)
Loading