Squashed 'third_party/rules_rust/' changes from 078c6908f..bf9ddeb7c
bf9ddeb7c Release 0.25.1 (#2049)
db5b2fd65 Update tinyjson (#2050)
6a7872ae3 Fix prost proto packages not sanitizing to valid module names (#2044)
c080d7bfa Moved legacy protobuf rules to `proto/protobuf` (#2043)
1281cc051 Remove debug code. (#2048)
cd126be1f Fix build failure finding crate_roots when mixed with generated sources (#2041)
7f751cddd Consolidate rust_prost_library and fix extension-only proto generation. (#2047)
6118c81f2 Release 0.25.0 (#2042)
a6f29fd07 Add Prost and Tonic rules. (#2033)
9442aed8c fix: `crate_type` more accurately corresponds to CC linking actions (#1975)
4f4e2b17b Re-enable zig example on CI (#2030)
2ded0c2f5 Fix flaky coverage test in CI (#2028)
36f8251f9 Exclude .tmp_git_root from globs (#1948)
ca750fa83 Eliminate Rustfmt action in Bindgen rules. Bindgen can run rustfmt (#2025)
c55ec0cfb Allow sysroots from cc_toolchains to be added to bindgen actions (#2024)
9314b1b0c Release 0.24.1 (#2023)
92ea74ade Making rust_std attr in rust_toolchain mandatory (#1984)
a54b8e14b Update `rust_library_group` to use `DepVariantInfo` (#2022)
47644346b Release v0.24.0 (#2020)
a6b0a7f39 Rust library group (#1848)
bc43f4841 Fix crate_universe's `all_crate_deps` and `aliases` functions failing in case the crate's Cargo.toml has condtional dependencies (#2018)
8f27ec7c5 fix: load cargo manifest without resolving abs path of deps (#2017)
23f99bb63 feature: `target_compatible_with` added to `CommonAttrs` (#1976)
11f8c9875 Make `rust_doc_test` inherit it's crate aliases attribute (#2007)
8e848414d Regenerated crate_universe outputs for all packages (#2011)
1b6365131 Don't use startup:windows (#2012)
e80582e75 Fix thumbv* platform resolution (#2010)
367f90ef0 Update bindgen version to 0.65.1 (#2008)
e6ed5bf90 Release 0.23.0 (#2003)
93b230bb8 Fix code coverage collection. (#2001)
0a14bfbb0 Minor CI and test cleanup (#2004)
3e2ee941a Update bindgen rules to build clang from source. (#1998)
5a1a7577d Split up cargo_build_script tests (#2002)
eb6413e83 Update various bash scripts to pipe errors to stderr (#1999)
affe947ac Update stardoc version (#1997)
7073146f8 Add support for armv8-m (#1993)
73a06f130 Added Rust 1.70.0 (#1991)
23c20a93f Fixes crates_vendor workspace name detection when using bzlmod (#1990)
f5813fa08 Set windows flags in platform-specific bazelrc (#1988)
c1632b5b5 Fix up anchor link (#1987)
56e760487 Fix typo in crate_universe-generated defs.bzl comment (#1981)
94cbe4c2c Symlink in the exec-root so that relative paths will work, unchanged. (#1781)
af8ef62eb Release 0.22.0 (#1974)
4aaa6de30 Allow specifying exec and target compatibility constraints (#1971)
f1b19c394 Update rules_apple in tests (#1972)
937e63399 Add T2 support for x86_64-unknown-none (#1967)
66b1bf165 fix: lld-link (MSVC) fix flags including `-l` prefix (#1958)
285dcbbb9 feature: expose `extra_rustc_flags` and `extra_exec_rustc_flags` at `rust_register_toolchains` (#1959)
0f25cb462 Removed `rust_toolchain.os` in favor of `rust_toolchain.exec_triple`. (#1960)
a2a1109dc Add T2 support for thumbv7em-none-eabi (#1957)
80f0eb488 Support for `no_std` mode (#1934)
99aaf0830 Rename crates_vendor_manifests to cvm to shorten windows path lengths (#1944)
0a57da049 Added tests for build script dependencies to crate_universe (#1943)
caffb0a08 Release 0.21.1 (#1936)
c869a17c7 Fix regression in building zlib (#1935)
24b9dea4f Release 0.21.0 (#1933)
7677c617e Add support for rustc flags to `rust_proto_library` (#1932)
fa304ae48 Updated zlib BUILD file to support darwin-arm64 (#1931)
a86313282 Added Rust 1.69.0 (#1930)
f0e12c707 Make BuildInfo provider public (#1920)
c6ad23aba Respect `#[global_allocator]` in `cc_common.link` builds (#1926)
d78752504 Exclude target directory from release tars (#1922)
0339cd18a [wasm-bindgen] Update to v0.2.84 (#1919)
07af5678e Handle corner case for windows architecture detection (#1915)
c56e7660d Fix optional deps by platform (#1911)
4663ff6a3 cc_common_link: also respect --custom_malloc if set (#1912)
dab425760 Add Rust 1.68.2 (#1908)
e4bd39f95 Add empty rustfmt.toml (#1907)
eaf513865 Support bzlmod (#1528)
1074ecbab Release v0.20.0 (#1900)
44aec0a79 ci: fix test config in cc_common_link_ubuntu2004 (#1904)
6571cde64 Adds per_crate_rustc_flag build setting. (#1827)
7a47449df Added Rust 1.68.1 (#1898)
e3bcdbad1 Fixed rustdoc warnings in crate_universe (#1897)
529f45900 Added `rustdoc_flags` attribute to rust_doc rule (#1867)
9e3499405 Have rustdoc return its output directory instead of zip default. (#1868)
9d6741f40 Implement support for optional crates enabled with dep: features (#1885)
fd10963ea Skip adding -lstatic to libtest and libstd on Darwin (#1620)
b3314b45e Release 0.19.1 (#1895)
c1a9fd86f Accumulate all features from cargo tree output (#1884)
206f71c95 Disable zig example (#1893)
1a5d07cd2 Add runfiles support to rust_stdlib_filegroup (#1890)
6996cd550 Deleted unused targets and cleanup docs (#1889)
a85e24e20 Fix triple constraints for iOS and watchOS (#1888)
e13fd3bad Release rules_rust and cargo-bazel (#1882)
9e9853d63 Add support for thumbv7em with hard float (#1871)
b3cd5962e Added Rust 1.68.0 (#1866)
f1b7aedf5 Support sparse indexes (#1857)
7f2dd433a Make fetch_shas work with mktemp from coreutils 8.32 (#1870)
a9cc01230 Update crate_universe dependencies (#1872)
c038e94ae Pipe stderr from cargo tree processes (#1879)
222d60322 Parallelize cargo tree calls (#1874)
cdbbf7131 Add Fuchsia platform support (#1833)
17e5b04c2 Use `_make_link_flags_darwin` when target os is `ios`. (#1843)
d9ecc8df4 crate_universe: Support fetching crates with git branch, tag or rev (#1846)
1c694cd60 Forward `toolchains` to `cargo_build_script` targets (#1862)
9affcbfa7 Skip detecting abi for empty values (#1830)
6193fe823 Re-enable crate_universe MacOS tests (#1861)
c25db95ae Updated Rust to 1.67.1 (#1864)
7b8fd06be Support `[patch]` in crate_universe when using multiple `Cargo.toml`s (#1856)
c645fe399 Silence windows build failure (#1863)
75bba7b50 Make rust_clippy providers match rustfmt_test (#1806)
f09d72755 Fix test assertion for arm64 macs (#1845)
f4113bfe1 Fix tests for new Apple toolchain (#1844)
20ce44e30 fix: use target_triple struct instead of string (#1835)
bdbded181 Fix code example in doc (#1838)
4f4014052 Fix typo: plced -> placed (#1834)
baeb0664d Remove ios/android/wasm support for gen_rust_project deps (#1684)
02557a47a Add `render_config` attribute to `crates_vendor`. (#1832)
4357fb154 Updated rules_rust to version 0.18.0 (#1829)
9adfdca9b Various cleanups (#1828)
4fa412385 Added update known shas to include T1-T2 triples (#1824)
905731ad9 Instructions on how to perform `rustfmt` check (#1822) (#1823)
108b1a187 Encapsulate running cargo into a struct (#1815)
57a099b63 Fixes resolver issue with root packages and another dependency format (#1819)
78ca9ba0a Use env method recently added to cargo_metadata (#1813)
92834930f Updated `rust_toolchain.target_json` to take encoded json strings (#1810)
84f1d0657 support `resolver = "2"` target-specific features (#1710)
a5853fd37 Use correct dynamic link args fro proc-macro crates (#1803)
b656e2553 Added tests for the `triple` constructor (#1811)
ea4a79ad9 Disable job in CI to avoid infrastructure failure. (#1816)
2fc02f030 Delete `rust_toolchain.rusrc_srcs` (#1807)
804d5fc1f Convert `rust_toolchain` attrs `exec_triple` and `target_triple` to structs (#1808)
499a2ca38 Updated platform triple values from strings to structs ("triple") (#1804)
aae1dbdcb Unify functions for computing constraint values for platform triple abi (#1805)
0d6d2b1eb Updated rules_rust version to `0.17.0` (#1800)
88e83f2df Added Rust 1.67.0 (#1799)
6922b5012 rustdoc_test: fix and test OUT_DIR (#1779)
ad01d1b0e [crate_universe] add an annotation to disable pipelining (#1733)
f651cd18f Add `CARGO_BAZEL_REPIN_ONLY` repinning allowlist (#1798)
d7f0debb0 Revert "Disable broken clang and ldd CI jobs (#1785)" (#1796)
96f82aaad Fix `cc_common.link` file output name (#1795)
5079b64d5 Fix use of `rustfmt_toolchain` when `rustc` is not provided (#1794)
23c650f35 Have `--experimental_use_cc_common_link` cover `rust_shared_library` (#1792)
ba0fb5956 Added support for `--nolegacy_external_runfiles` to `rust_doc_test` (#1790)
112242bb7 Prevent crates_vendor from restarting bazel. (#1791)
52231ef9f Added compatibility flags to `.bazelrc` to prevent regressions (#1789)
91cd399a0 Add "crate-name={}" tag to Crate Universe targets (#1787)
1b1dae196 Added Rust 1.66.1 (#1767)
fe17e8b8e Add file:// prefix to env var in docs (#1788)
0fe742bff Updated `rust_bindgen` to use `rustfmt_toolchain` (#1770)
042fd6c1c Update docs on setting Rust versions (#1786)
dddd8a0d4 Updated crate_universe dependencies (#1775)
a1330a71f Download `rustc` in `rustfmt_toolchain_repository` (#1769)
e96aad9aa Updated the ios_build example to use `crates_vendor` (#1778)
e315007df Disable broken clang and ldd CI jobs (#1785)
4e89d52a9 rustdoc_test: substitute the root of the current crate (#1777)
a52041fb5 Support `target_settings` in `rust_repository_set` and `rust_toolchain_repository` (#1758)
49906eb29 Update clippy and rustfmt aspects to require CrateInfo providers (#1772)
85564208e Updated rules_rust version to `0.16.1` (#1761)
614499a5b Fixed inability to deserialize crate_universe lockfiles (#1760)
9803d3034 Fix data and compile_data for rust_doc (#1741)
927a364cb Update Release github pipeline to trigger automatically (#1757)
7d03e05f8 Fix release pipeline (#1756)
cf7ca5dfd Updated rules_rust to version `0.16.0` (#1750)
203fe4b9a Remove unnecessary binary file (#1755)
941c7cca9 Don't propagate `compatible_with` to the underlying `cargo_build_script` `rust_binary` target (#1754)
a31490d9a Make loads from @rules_rust//rust:defs.bzl come out on one line (#1753)
7ebad4d50 Generate only the needed subset of binaries for bindgen and proto (#1751)
4ef3d4aaa Repin examples/crate_universe_unnamed (#1752)
d6e300359 Regenerate BUILD files using serde_starlark renderer (#1746)
e7c8a97d1 Convert BUILD.$name-$version.bazel to serde_starlark (#1743)
c09818d3b Exclude generated files from language stats and collapse in code review (#1747)
26a24f030 Added CI for single toolchain channel workspaces (#1712)
caed7d814 Report context on error failing to get version (#1744)
36b57af7b Add gen_binaries annotation to control which bins to make target for (#1718)
d916a6f52 crate_universe re-pinning now defaults to "workspace" (#1723)
f34661ee1 Propagate `compatible_with` attribute to the underlying `_build_script_run` target (#1745)
92977d1bf Re-pinned all dependencies managed by crate_universe (#1735)
d5289ad1c Added `rustfmt_toolchain` and refactored toolchain repository rules (#1719)
532e60ff0 Collect targets in a deterministic order (#1736)
52e02c25b Eliminate all use of hash-based collections from crate_universe (#1737)
31073ff8e Replace tera template with serde_starlark (#1734)
d4e5586d0 Support the RUNFILES_DIR environment variable. (#1732)
1357b85b1 Addressed clippy warnings from `clippy 0.1.67 (ec56537c 2022-12-15)` (#1717)
8bc9f788d Support dsym_folder output group in tests (#1703)
90c5b6eb7 Added CI for minimum supported Rust version (#1720)
be82ff8bd Match prerelease versions with annotation wildcard (#1716)
36c7f285b Arm Thumb Embedded Targets. (#1721)
5ef52e465 Update current_toolchain_files tests to use a dedicated test rule (#1714)
c75ea6f9e Add `Runfiles::current_repository` to runfiles library (#1713)
2f0511782 Updated rules_rust to version `0.15.0` (#1706)
019f87178 Added Rust 1.66.0 (#1705)
1469cd7cb Fix labels to work with canonical label literals. (#1700)
5826a500a Add riscv32imc and riscv64gc to the known sha targets (#1698)
40dee95ce Fixed typos: normla -> normal (#1699)
8f08e77ac load_arbitrary_tool uses tool_suburl to look up sha256 (#1695)
8faec3060 Fix typos in crate_universe rendered comments (#1691)
bd64711ff Silence flaky test (#1693)
46b7ea5af Added a build setting for toolchain channels (#1671)
70b272aad Updated rules_rust to version `0.14.0` (#1669)
91e597dd1 Updated all crates_vendor outputs (#1687)
9a047b0b9 Updated crate_universe dependencies (#1686)
3a91d2f5b Add RV64GC target (#1683)
d9e752ab4 Add per-toolchain `rustc_flags` (#1635)
56237415e stardoc: Use backtick not `<code>` for attr default values (#1682)
d4b31a494 Allow passing a bazel path to vendor explicitly (#1661)
d51bf9ce0 Updated crate_universe to work with `--nolegacy_external_runfiles` (#1680)
7f40636d1 crate_universe/private/crates_vendor.bzl typo fix (#1678)
025bf7db8 Merge cc toolchain flags into build script env (#1675)
b7c36c051 Fix confusing/misleading crate_universe docs (#1677)
29233e354 Revert #1564 (#1663)
ed32b6de2 Common glob excludes (#1673)
61b99cdd1 fix: add space to crate data exclude list (#1665)
8bb25b8b7 Support Windows ARM64 (aarch64-pc-windows-msvc) (#1664)
ddf2a4c23 Re-render crate BUILD files after #1647 (#1655)
44c7e1588 Group deps and aliases by platform triple rather than by cfg string when generating BUILD files. This avoid bazel errors due to duplicate keys/deps. (#1647)
de18d8bb6 Allow `buildifier` attribute to be a file (#1660)
aa0815dc9 Fix naming of ambiguous libs (#1625)
ff314d4ab Also pass -c opt to tests in opt mode CI (#1626)
ff4e90515 Reenable windows job (#1658)
c45b8e91f Updated rules_rust to version `0.13.0` (#1644)
87d6b6c37 Update `//util/label` to support `+` in packages (#1654)
ab6959db5 fix: Fix issue with wasi-0.11.0+wasi-snapshot-preview1 (#1632)
28c090ed0 Replaced custom platform constraint values with aliases to `@platforms` (#1652)
dfbea4f52 Deprecated `rust_toolchain.rustc_srcs` (#1653)
fd1db4391 Remove deprecated attributes from rust_toolchain and cargo_bootstrap (#1651)
c8ab970c4 Generated rust-project.json files now include sysroot paths (#1641)
0a3e04cf9 Fix vendoring when not in a package (#1646)
aece1e37d Deduplicate expand_location targets in rust-project.json crate creation to avoid a bazel crash (#1639)
03a0b2483 [docs] Fixing typos in CargoConfig doc strings (#1638)
bd4fd2ac5 Upgraded cfg-expr dependency to 0.12.0. (#1636)
330554a13 Disable failing job in CI (#1640)
849f106e6 Consider compilation mode when choosing `pic`/`nopic` object files to link (#1624)
53491d719 Updated rules_rust to version `0.12.0` (#1630)
8e8843724 Remove empty glob (#1628)
1f621a944 Added Rust 1.65.0 (#1627)
c6af4d025 Add `-c opt` mode to CI (#1621)
95320cc8b process_wrapper: print line on error to parse message as json (#1566)
81eaccf39 Fixed CI breakage (#1619)
478fc3a57 Fix ambiguous native dependencies in `proc_macro`s and `staticlib`s (#1611)
9e3d8415e Build deps of _build_script_run in 'exec' mode (#1561)
ea031082b Fixed outdated docs (#1614)
a8c540e49 Restore support for old cargo_build_script load statements (#1613)
295b5ccc7 Renamed `_build_script_run` rule to `cargo_build_script` (#1612)
3778069ec Remove references to Google mirror in docs (#1607)
aad54ba29 Updated crate_universe dependencies (#1606)
c349df2a6 Remove Google mirror from Starlark snippet in release notes (#1604)
0493b998d Avoid rendering a mock root package when possible (#1596)
b04aa053c process_wrapper: Apply substitutions to param files (#1565)
b209b3e15 Updated rules_rust to version `0.11.0`. (#1587)
b1079453b Typo correction on doc (#1593)
ca5678266 Updated crate_universe dependencies (#1591)
a364d448f Fixes crates_vendor labels in remote mode when used from the root workspace (#1575)
1cc37c268 Expose the output directory from cargo_build_script (#1588)
7ffe0a555 Ignore non-utf8 text in build script output (#1583)
c5b38fe00 Merge runfiles from transitive dependencies of rust_test crate attr (#1487)
da3d522d5 Fix build scripts targeting the wrong architecture (#1564)
d288ed634 Add `out_dir` support in `cargo_dep_env` (#1571)
78d6c1b46 fix: incorrect rustfmt edition query (#1582)
48927127e Set CARGO_MANIFEST_DIR at runtime for tests (#1559)
76bd69033 Add an output group for the .rmeta (#1585)
352bfeb05 Cleanup deprecated code (#1577)
86dc561f9 Move crate_root_src to utils (#1570)
beb554eb9 update to wasm-bindgen v0.2.83 (#1567)
73fd1616b Export AbsoluteLabel functionality (#1568)
c57e7a399 Remap $PWD to empty string instead of "." (#1563)
f0cdcedc2 Added Rust 1.64.0 (#1562)
1d326554a Update docs to show release policies and support (#1560)
78c793a0a Fix markdown typo in rust_analyzer.md (#1553)
c13980fb6 Add iOS examples (#1546)
8a5e07e9f Update apple_support (#1549)
6dacd9803 Strip leading '@'s for labels in the splicing manifest (#1547)
f73d1d6fb use crate_info.deps in establish_cc_info (#1543)
4845af6c0 Add android example (#1545)
9570b7aa7 Remove -lgcc from Android builds (#1541)
cb9ca1b81 Fix crate_universe/private/srcs.bzl to work with repo mappings (#1540)
d1fc9accc Minor cleanup of CI pipelines (#1534)
2bb077b3b Updated rules_rust to version 0.10.0 (#1533)
b8751b860 add cc config info to dummy wasm32 cc toolchain (#1532)
f5ed797ee Updates rust_test to use main.rs as the root when use_libtest_harness is false (#1518)
cfcaf21d5 Preserve directory structure of source files when some are generated (#1526)
51c065841 migrating to rbe_preconfig and remove bazel_toolchains (#1524)
055abd402 Fix typo in an example of crates_repository rule (#1520)
8bfed1cd2 Added Rust 1.63.0 (#1512)
3a69ce09b Update wasm_bindgen to 0.2.82 (#1513)
git-subtree-dir: third_party/rules_rust
git-subtree-split: bf9ddeb7c83a9fe8a7d87c76134cdd8e16131b62
Signed-off-by: Adam Snaider <adsnaider@gmail.com>
Change-Id: Id9490c68d6221da66953a915a25042ef8b848505
diff --git a/proto/prost/private/3rdparty/BUILD.bazel b/proto/prost/private/3rdparty/BUILD.bazel
new file mode 100644
index 0000000..21bb1f2
--- /dev/null
+++ b/proto/prost/private/3rdparty/BUILD.bazel
@@ -0,0 +1,62 @@
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+load("//crate_universe:defs.bzl", "crate", "crates_vendor")
+
+crates_vendor(
+ name = "crates_vendor",
+ annotations = {
+ "protoc-gen-prost": [crate.annotation(
+ gen_binaries = ["protoc-gen-prost"],
+ patch_args = [
+ "-p1",
+ ],
+ patches = [
+ # This patch is needed to handle duplicate package names.
+ # See: https://github.com/neoeinstein/protoc-gen-prost/issues/70
+ "@rules_rust//proto/prost/private/3rdparty/patches:protoc-gen-prost.patch",
+ ],
+ )],
+ "protoc-gen-tonic": [crate.annotation(
+ gen_binaries = ["protoc-gen-tonic"],
+ )],
+ },
+ cargo_lockfile = "Cargo.Bazel.lock",
+ mode = "remote",
+ packages = {
+ "h2": crate.spec(
+ version = "0.3.19",
+ ),
+ "prost": crate.spec(
+ version = "0.11.9",
+ ),
+ "prost-types": crate.spec(
+ version = "0.11.9",
+ ),
+ "protoc-gen-prost": crate.spec(
+ version = "0.2.2",
+ ),
+ "protoc-gen-tonic": crate.spec(
+ version = "0.2.2",
+ ),
+ "tokio": crate.spec(
+ features = ["full"],
+ version = "1.28.2",
+ ),
+ "tokio-stream": crate.spec(
+ version = "0.1.14",
+ ),
+ "tonic": crate.spec(
+ version = "0.9.2",
+ ),
+ },
+ repository_name = "rules_rust_prost",
+ tags = ["manual"],
+)
+
+bzl_library(
+ name = "bzl_lib",
+ srcs = [
+ "//proto/prost/private/3rdparty/crates:crates.bzl",
+ "//proto/prost/private/3rdparty/crates:defs.bzl",
+ ],
+ visibility = ["//proto/prost/private:__pkg__"],
+)
diff --git a/proto/prost/private/3rdparty/BUILD.heck.bazel b/proto/prost/private/3rdparty/BUILD.heck.bazel
new file mode 100644
index 0000000..c672379
--- /dev/null
+++ b/proto/prost/private/3rdparty/BUILD.heck.bazel
@@ -0,0 +1,20 @@
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+rust_library(
+ name = "heck",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.1",
+)
diff --git a/proto/prost/private/3rdparty/Cargo.Bazel.lock b/proto/prost/private/3rdparty/Cargo.Bazel.lock
new file mode 100644
index 0000000..d659b57
--- /dev/null
+++ b/proto/prost/private/3rdparty/Cargo.Bazel.lock
@@ -0,0 +1,1106 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "anyhow"
+version = "1.0.71"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8"
+
+[[package]]
+name = "async-trait"
+version = "0.1.68"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.18",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+[[package]]
+name = "axum"
+version = "0.6.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8175979259124331c1d7bf6586ee7e0da434155e4b2d48ec2c8386281d8df39"
+dependencies = [
+ "async-trait",
+ "axum-core",
+ "bitflags",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "hyper",
+ "itoa",
+ "matchit",
+ "memchr",
+ "mime",
+ "percent-encoding",
+ "pin-project-lite",
+ "rustversion",
+ "serde",
+ "sync_wrapper",
+ "tower",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "axum-core"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c"
+dependencies = [
+ "async-trait",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "mime",
+ "rustversion",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "base64"
+version = "0.21.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "bytes"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"
+
+[[package]]
+name = "cc"
+version = "1.0.79"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "direct-cargo-bazel-deps"
+version = "0.0.1"
+dependencies = [
+ "h2",
+ "prost",
+ "prost-types",
+ "protoc-gen-prost",
+ "protoc-gen-tonic",
+ "tokio",
+ "tokio-stream",
+ "tonic",
+]
+
+[[package]]
+name = "either"
+version = "1.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
+
+[[package]]
+name = "errno"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
+dependencies = [
+ "errno-dragonfly",
+ "libc",
+ "windows-sys",
+]
+
+[[package]]
+name = "errno-dragonfly"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
+dependencies = [
+ "cc",
+ "libc",
+]
+
+[[package]]
+name = "fastrand"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
+dependencies = [
+ "instant",
+]
+
+[[package]]
+name = "fixedbitset"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "futures-channel"
+version = "0.3.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
+
+[[package]]
+name = "futures-sink"
+version = "0.3.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
+
+[[package]]
+name = "futures-task"
+version = "0.3.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
+
+[[package]]
+name = "futures-util"
+version = "0.3.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
+dependencies = [
+ "futures-core",
+ "futures-task",
+ "pin-project-lite",
+ "pin-utils",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "h2"
+version = "0.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782"
+dependencies = [
+ "bytes",
+ "fnv",
+ "futures-core",
+ "futures-sink",
+ "futures-util",
+ "http",
+ "indexmap",
+ "slab",
+ "tokio",
+ "tokio-util",
+ "tracing",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+
+[[package]]
+name = "heck"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+
+[[package]]
+name = "hermit-abi"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "hermit-abi"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
+
+[[package]]
+name = "http"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482"
+dependencies = [
+ "bytes",
+ "fnv",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
+dependencies = [
+ "bytes",
+ "http",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "httparse"
+version = "1.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
+
+[[package]]
+name = "httpdate"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
+
+[[package]]
+name = "hyper"
+version = "0.14.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "futures-util",
+ "h2",
+ "http",
+ "http-body",
+ "httparse",
+ "httpdate",
+ "itoa",
+ "pin-project-lite",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+ "want",
+]
+
+[[package]]
+name = "hyper-timeout"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1"
+dependencies = [
+ "hyper",
+ "pin-project-lite",
+ "tokio",
+ "tokio-io-timeout",
+]
+
+[[package]]
+name = "indexmap"
+version = "1.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
+name = "instant"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "io-lifetimes"
+version = "1.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
+dependencies = [
+ "hermit-abi 0.3.1",
+ "libc",
+ "windows-sys",
+]
+
+[[package]]
+name = "itertools"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
+
+[[package]]
+name = "lazy_static"
+version = "1.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+[[package]]
+name = "libc"
+version = "0.2.146"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b"
+
+[[package]]
+name = "linux-raw-sys"
+version = "0.3.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
+
+[[package]]
+name = "lock_api"
+version = "0.4.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"
+dependencies = [
+ "autocfg",
+ "scopeguard",
+]
+
+[[package]]
+name = "log"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
+
+[[package]]
+name = "matchit"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40"
+
+[[package]]
+name = "memchr"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
+
+[[package]]
+name = "mime"
+version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+
+[[package]]
+name = "mio"
+version = "0.8.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"
+dependencies = [
+ "libc",
+ "wasi",
+ "windows-sys",
+]
+
+[[package]]
+name = "multimap"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+
+[[package]]
+name = "num_cpus"
+version = "1.15.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
+dependencies = [
+ "hermit-abi 0.2.6",
+ "libc",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
+
+[[package]]
+name = "parking_lot"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+dependencies = [
+ "lock_api",
+ "parking_lot_core",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.9.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "redox_syscall",
+ "smallvec",
+ "windows-targets",
+]
+
+[[package]]
+name = "percent-encoding"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
+
+[[package]]
+name = "petgraph"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4"
+dependencies = [
+ "fixedbitset",
+ "indexmap",
+]
+
+[[package]]
+name = "pin-project"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead"
+dependencies = [
+ "pin-project-internal",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.18",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
+
+[[package]]
+name = "pin-utils"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
+
+[[package]]
+name = "prettyplease"
+version = "0.1.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86"
+dependencies = [
+ "proc-macro2",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.60"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "prost"
+version = "0.11.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
+dependencies = [
+ "bytes",
+ "prost-derive",
+]
+
+[[package]]
+name = "prost-build"
+version = "0.11.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270"
+dependencies = [
+ "bytes",
+ "heck",
+ "itertools",
+ "lazy_static",
+ "log",
+ "multimap",
+ "petgraph",
+ "prettyplease",
+ "prost",
+ "prost-types",
+ "regex",
+ "syn 1.0.109",
+ "tempfile",
+ "which",
+]
+
+[[package]]
+name = "prost-derive"
+version = "0.11.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
+dependencies = [
+ "anyhow",
+ "itertools",
+ "proc-macro2",
+ "quote",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "prost-types"
+version = "0.11.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13"
+dependencies = [
+ "prost",
+]
+
+[[package]]
+name = "protoc-gen-prost"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a81e3a9bb429fec47008b209896f0b9ab99fbcbc1c3733b385d43fbfd64dd2ca"
+dependencies = [
+ "once_cell",
+ "prost",
+ "prost-build",
+ "prost-types",
+ "regex",
+]
+
+[[package]]
+name = "protoc-gen-tonic"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "725a07a704f9cf7a956b302c21d81b5516ed5ee6cfbbf827edb69beeaae6cc30"
+dependencies = [
+ "heck",
+ "prettyplease",
+ "prost",
+ "prost-build",
+ "prost-types",
+ "protoc-gen-prost",
+ "regex",
+ "syn 1.0.109",
+ "tonic-build",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.8.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+dependencies = [
+ "libc",
+ "rand_chacha",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+dependencies = [
+ "getrandom",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "regex"
+version = "1.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f"
+dependencies = [
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
+
+[[package]]
+name = "rustix"
+version = "0.37.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0"
+dependencies = [
+ "bitflags",
+ "errno",
+ "io-lifetimes",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys",
+]
+
+[[package]]
+name = "rustversion"
+version = "1.0.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06"
+
+[[package]]
+name = "scopeguard"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+[[package]]
+name = "serde"
+version = "1.0.164"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d"
+
+[[package]]
+name = "signal-hook-registry"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "slab"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "smallvec"
+version = "1.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
+
+[[package]]
+name = "socket2"
+version = "0.4.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662"
+dependencies = [
+ "libc",
+ "winapi",
+]
+
+[[package]]
+name = "syn"
+version = "1.0.109"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "2.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "sync_wrapper"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
+
+[[package]]
+name = "tempfile"
+version = "3.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
+dependencies = [
+ "autocfg",
+ "cfg-if",
+ "fastrand",
+ "redox_syscall",
+ "rustix",
+ "windows-sys",
+]
+
+[[package]]
+name = "tokio"
+version = "1.28.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2"
+dependencies = [
+ "autocfg",
+ "bytes",
+ "libc",
+ "mio",
+ "num_cpus",
+ "parking_lot",
+ "pin-project-lite",
+ "signal-hook-registry",
+ "socket2",
+ "tokio-macros",
+ "windows-sys",
+]
+
+[[package]]
+name = "tokio-io-timeout"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf"
+dependencies = [
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.18",
+]
+
+[[package]]
+name = "tokio-stream"
+version = "0.1.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"
+dependencies = [
+ "futures-core",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-util"
+version = "0.7.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "futures-sink",
+ "pin-project-lite",
+ "tokio",
+ "tracing",
+]
+
+[[package]]
+name = "tonic"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a"
+dependencies = [
+ "async-trait",
+ "axum",
+ "base64",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "h2",
+ "http",
+ "http-body",
+ "hyper",
+ "hyper-timeout",
+ "percent-encoding",
+ "pin-project",
+ "prost",
+ "tokio",
+ "tokio-stream",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tonic-build"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4"
+dependencies = [
+ "prettyplease",
+ "proc-macro2",
+ "prost-build",
+ "quote",
+ "syn 1.0.109",
+]
+
+[[package]]
+name = "tower"
+version = "0.4.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "indexmap",
+ "pin-project",
+ "pin-project-lite",
+ "rand",
+ "slab",
+ "tokio",
+ "tokio-util",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
+
+[[package]]
+name = "tower-service"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
+
+[[package]]
+name = "tracing"
+version = "0.1.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
+dependencies = [
+ "cfg-if",
+ "pin-project-lite",
+ "tracing-attributes",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-attributes"
+version = "0.1.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.18",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"
+
+[[package]]
+name = "want"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+dependencies = [
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.0+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+
+[[package]]
+name = "which"
+version = "4.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
+dependencies = [
+ "either",
+ "libc",
+ "once_cell",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "windows-sys"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
diff --git a/proto/prost/private/3rdparty/crates/BUILD.anyhow-1.0.71.bazel b/proto/prost/private/3rdparty/crates/BUILD.anyhow-1.0.71.bazel
new file mode 100644
index 0000000..b22fb73
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.anyhow-1.0.71.bazel
@@ -0,0 +1,125 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "anyhow",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anyhow",
+ "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.71",
+ deps = [
+ "@rules_rust_prost__anyhow-1.0.71//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "anyhow_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anyhow",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.71",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "anyhow_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel b/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel
new file mode 100644
index 0000000..d6ab28e
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.async-trait-0.1.68.bazel
@@ -0,0 +1,120 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_proc_macro(
+ name = "async_trait",
+ 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=async-trait",
+ "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.68",
+ deps = [
+ "@rules_rust_prost__async-trait-0.1.68//:build_script_build",
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-2.0.18//:syn",
+ ],
+)
+
+cargo_build_script(
+ name = "async-trait_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=async-trait",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.68",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "async-trait_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
new file mode 100644
index 0000000..4cb2ab6
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.autocfg-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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "autocfg",
+ 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=autocfg",
+ "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/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel b/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel
new file mode 100644
index 0000000..dc329e7
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.axum-0.6.18.bazel
@@ -0,0 +1,141 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "axum",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__async-trait-0.1.68//:async_trait",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=axum",
+ "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.6.18",
+ deps = [
+ "@rules_rust_prost__axum-0.6.18//:build_script_build",
+ "@rules_rust_prost__axum-core-0.3.4//:axum_core",
+ "@rules_rust_prost__bitflags-1.3.2//:bitflags",
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__futures-util-0.3.28//:futures_util",
+ "@rules_rust_prost__http-0.2.9//:http",
+ "@rules_rust_prost__http-body-0.4.5//:http_body",
+ "@rules_rust_prost__hyper-0.14.26//:hyper",
+ "@rules_rust_prost__itoa-1.0.6//:itoa",
+ "@rules_rust_prost__matchit-0.7.0//:matchit",
+ "@rules_rust_prost__memchr-2.5.0//:memchr",
+ "@rules_rust_prost__mime-0.3.17//:mime",
+ "@rules_rust_prost__percent-encoding-2.3.0//:percent_encoding",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__serde-1.0.164//:serde",
+ "@rules_rust_prost__sync_wrapper-0.1.2//:sync_wrapper",
+ "@rules_rust_prost__tower-0.4.13//:tower",
+ "@rules_rust_prost__tower-layer-0.3.2//:tower_layer",
+ "@rules_rust_prost__tower-service-0.3.2//:tower_service",
+ ],
+)
+
+cargo_build_script(
+ name = "axum_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__rustversion-1.0.12//:rustversion",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=axum",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.6.18",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "axum_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.axum-core-0.3.4.bazel b/proto/prost/private/3rdparty/crates/BUILD.axum-core-0.3.4.bazel
new file mode 100644
index 0000000..43ef780
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.axum-core-0.3.4.bazel
@@ -0,0 +1,130 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "axum_core",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__async-trait-0.1.68//:async_trait",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=axum-core",
+ "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.3.4",
+ deps = [
+ "@rules_rust_prost__axum-core-0.3.4//:build_script_build",
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__futures-util-0.3.28//:futures_util",
+ "@rules_rust_prost__http-0.2.9//:http",
+ "@rules_rust_prost__http-body-0.4.5//:http_body",
+ "@rules_rust_prost__mime-0.3.17//:mime",
+ "@rules_rust_prost__tower-layer-0.3.2//:tower_layer",
+ "@rules_rust_prost__tower-service-0.3.2//:tower_service",
+ ],
+)
+
+cargo_build_script(
+ name = "axum-core_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__rustversion-1.0.12//:rustversion",
+ ],
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=axum-core",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.4",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "axum-core_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.base64-0.21.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.base64-0.21.2.bazel
new file mode 100644
index 0000000..8bbe9dc
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.base64-0.21.2.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "base64",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=base64",
+ "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.21.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.bazel b/proto/prost/private/3rdparty/crates/BUILD.bazel
new file mode 100644
index 0000000..047ad27
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.bazel
@@ -0,0 +1,87 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+package(default_visibility = ["//visibility:public"])
+
+exports_files(
+ [
+ "cargo-bazel.json",
+ "crates.bzl",
+ "defs.bzl",
+ ] + glob(["*.bazel"]),
+)
+
+filegroup(
+ name = "srcs",
+ srcs = glob([
+ "*.bazel",
+ "*.bzl",
+ ]),
+)
+
+# Workspace Member Dependencies
+alias(
+ name = "h2",
+ actual = "@rules_rust_prost__h2-0.3.19//:h2",
+ tags = ["manual"],
+)
+
+alias(
+ name = "prost",
+ actual = "@rules_rust_prost__prost-0.11.9//:prost",
+ tags = ["manual"],
+)
+
+alias(
+ name = "prost-types",
+ actual = "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protoc-gen-prost",
+ actual = "@rules_rust_prost__protoc-gen-prost-0.2.2//:protoc_gen_prost",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protoc-gen-tonic",
+ actual = "@rules_rust_prost__protoc-gen-tonic-0.2.2//:protoc_gen_tonic",
+ tags = ["manual"],
+)
+
+alias(
+ name = "tokio",
+ actual = "@rules_rust_prost__tokio-1.28.2//:tokio",
+ tags = ["manual"],
+)
+
+alias(
+ name = "tokio-stream",
+ actual = "@rules_rust_prost__tokio-stream-0.1.14//:tokio_stream",
+ tags = ["manual"],
+)
+
+alias(
+ name = "tonic",
+ actual = "@rules_rust_prost__tonic-0.9.2//:tonic",
+ tags = ["manual"],
+)
+
+# Binaries
+alias(
+ name = "protoc-gen-prost__protoc-gen-prost",
+ actual = "@rules_rust_prost__protoc-gen-prost-0.2.2//:protoc-gen-prost__bin",
+ tags = ["manual"],
+)
+
+alias(
+ name = "protoc-gen-tonic__protoc-gen-tonic",
+ actual = "@rules_rust_prost__protoc-gen-tonic-0.2.2//:protoc-gen-tonic__bin",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
new file mode 100644
index 0000000..3ae59e1
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "bitflags",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=bitflags",
+ "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.3.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.bytes-1.4.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.bytes-1.4.0.bazel
new file mode 100644
index 0000000..f4bc919
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.bytes-1.4.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "bytes",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=bytes",
+ "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.4.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.cc-1.0.79.bazel b/proto/prost/private/3rdparty/crates/BUILD.cc-1.0.79.bazel
new file mode 100644
index 0000000..c451cea
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.cc-1.0.79.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "cc",
+ 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=cc",
+ "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.79",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
new file mode 100644
index 0000000..18c8eeb
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.cfg-if-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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "cfg_if",
+ 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=cfg-if",
+ "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/proto/prost/private/3rdparty/crates/BUILD.either-1.8.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.either-1.8.1.bazel
new file mode 100644
index 0000000..2f3ed73
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.either-1.8.1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "either",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=either",
+ "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.8.1",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.errno-0.3.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.errno-0.3.1.bazel
new file mode 100644
index 0000000..ffd2e52
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.errno-0.3.1.bazel
@@ -0,0 +1,154 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "errno",
+ 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=errno",
+ "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.3.1",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(target_os = "wasi")
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel
new file mode 100644
index 0000000..31b9730
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel
@@ -0,0 +1,121 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "errno_dragonfly",
+ 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=errno-dragonfly",
+ "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.2",
+ deps = [
+ "@rules_rust_prost__errno-dragonfly-0.1.2//:build_script_build",
+ "@rules_rust_prost__libc-0.2.146//:libc",
+ ],
+)
+
+cargo_build_script(
+ name = "errno-dragonfly_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=errno-dragonfly",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_prost__cc-1.0.79//:cc",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "errno-dragonfly_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.fastrand-1.9.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.fastrand-1.9.0.bazel
new file mode 100644
index 0000000..a729bd3
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.fastrand-1.9.0.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "fastrand",
+ 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=fastrand",
+ "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.9.0",
+ deps = select({
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [
+ "@rules_rust_prost__instant-0.1.12//:instant", # cfg(all(target_arch = "wasm32", not(target_os = "wasi")))
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.fixedbitset-0.4.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.fixedbitset-0.4.2.bazel
new file mode 100644
index 0000000..6b8ce4a
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.fixedbitset-0.4.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "fixedbitset",
+ 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=fixedbitset",
+ "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.4.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.fnv-1.0.7.bazel b/proto/prost/private/3rdparty/crates/BUILD.fnv-1.0.7.bazel
new file mode 100644
index 0000000..a476be0
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.fnv-1.0.7.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 / MIT
+# ])
+
+rust_library(
+ name = "fnv",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=fnv",
+ "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.7",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.futures-channel-0.3.28.bazel b/proto/prost/private/3rdparty/crates/BUILD.futures-channel-0.3.28.bazel
new file mode 100644
index 0000000..a8c6c4c
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.futures-channel-0.3.28.bazel
@@ -0,0 +1,128 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "futures_channel",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-channel",
+ "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.3.28",
+ deps = [
+ "@rules_rust_prost__futures-channel-0.3.28//:build_script_build",
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ ],
+)
+
+cargo_build_script(
+ name = "futures-channel_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-channel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.28",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "futures-channel_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.futures-core-0.3.28.bazel b/proto/prost/private/3rdparty/crates/BUILD.futures-core-0.3.28.bazel
new file mode 100644
index 0000000..f5e308a
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.futures-core-0.3.28.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "futures_core",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-core",
+ "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.3.28",
+ deps = [
+ "@rules_rust_prost__futures-core-0.3.28//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "futures-core_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-core",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.28",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "futures-core_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.futures-sink-0.3.28.bazel b/proto/prost/private/3rdparty/crates/BUILD.futures-sink-0.3.28.bazel
new file mode 100644
index 0000000..c0f3488
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.futures-sink-0.3.28.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "futures_sink",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-sink",
+ "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.3.28",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.futures-task-0.3.28.bazel b/proto/prost/private/3rdparty/crates/BUILD.futures-task-0.3.28.bazel
new file mode 100644
index 0000000..f6c682f
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.futures-task-0.3.28.bazel
@@ -0,0 +1,123 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "futures_task",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-task",
+ "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.3.28",
+ deps = [
+ "@rules_rust_prost__futures-task-0.3.28//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "futures-task_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-task",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.28",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "futures-task_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.futures-util-0.3.28.bazel b/proto/prost/private/3rdparty/crates/BUILD.futures-util-0.3.28.bazel
new file mode 100644
index 0000000..1191141
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.futures-util-0.3.28.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "futures_util",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-util",
+ "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.3.28",
+ deps = [
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__futures-task-0.3.28//:futures_task",
+ "@rules_rust_prost__futures-util-0.3.28//:build_script_build",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__pin-utils-0.1.0//:pin_utils",
+ ],
+)
+
+cargo_build_script(
+ name = "futures-util_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "alloc",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=futures-util",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.28",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "futures-util_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.getrandom-0.2.10.bazel b/proto/prost/private/3rdparty/crates/BUILD.getrandom-0.2.10.bazel
new file mode 100644
index 0000000..d7927b9
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.getrandom-0.2.10.bazel
@@ -0,0 +1,150 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "getrandom",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=getrandom",
+ "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.10",
+ deps = [
+ "@rules_rust_prost__cfg-if-1.0.0//:cfg_if",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi")
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.h2-0.3.19.bazel b/proto/prost/private/3rdparty/crates/BUILD.h2-0.3.19.bazel
new file mode 100644
index 0000000..bf5d851
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.h2-0.3.19.bazel
@@ -0,0 +1,89 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "h2",
+ 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=h2",
+ "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.3.19",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__fnv-1.0.7//:fnv",
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__futures-sink-0.3.28//:futures_sink",
+ "@rules_rust_prost__futures-util-0.3.28//:futures_util",
+ "@rules_rust_prost__http-0.2.9//:http",
+ "@rules_rust_prost__indexmap-1.9.3//:indexmap",
+ "@rules_rust_prost__slab-0.4.8//:slab",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "@rules_rust_prost__tokio-util-0.7.8//:tokio_util",
+ "@rules_rust_prost__tracing-0.1.37//:tracing",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel b/proto/prost/private/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel
new file mode 100644
index 0000000..bc2a643
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "hashbrown",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "raw",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=hashbrown",
+ "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.12.3",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.heck-0.4.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.heck-0.4.1.bazel
new file mode 100644
index 0000000..884904f
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.heck-0.4.1.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "heck",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=heck",
+ "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.4.1",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.hermit-abi-0.2.6.bazel b/proto/prost/private/3rdparty/crates/BUILD.hermit-abi-0.2.6.bazel
new file mode 100644
index 0000000..a05ccde
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.hermit-abi-0.2.6.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "hermit_abi",
+ 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=hermit-abi",
+ "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.6",
+ deps = [
+ "@rules_rust_prost__libc-0.2.146//:libc",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel
new file mode 100644
index 0000000..b46369d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.hermit-abi-0.3.1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "hermit_abi",
+ 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=hermit-abi",
+ "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.3.1",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.http-0.2.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.http-0.2.9.bazel
new file mode 100644
index 0000000..ea8f8d4
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.http-0.2.9.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "http",
+ 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=http",
+ "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.9",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__fnv-1.0.7//:fnv",
+ "@rules_rust_prost__itoa-1.0.6//:itoa",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.http-body-0.4.5.bazel b/proto/prost/private/3rdparty/crates/BUILD.http-body-0.4.5.bazel
new file mode 100644
index 0000000..7dd08fa
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.http-body-0.4.5.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "http_body",
+ 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=http-body",
+ "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.4.5",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__http-0.2.9//:http",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.httparse-1.8.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.httparse-1.8.0.bazel
new file mode 100644
index 0000000..26e1fe8
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.httparse-1.8.0.bazel
@@ -0,0 +1,125 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "httparse",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=httparse",
+ "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.8.0",
+ deps = [
+ "@rules_rust_prost__httparse-1.8.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "httparse_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=httparse",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.8.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "httparse_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.httpdate-1.0.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.httpdate-1.0.2.bazel
new file mode 100644
index 0000000..e6de6af
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.httpdate-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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "httpdate",
+ 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=httpdate",
+ "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/proto/prost/private/3rdparty/crates/BUILD.hyper-0.14.26.bazel b/proto/prost/private/3rdparty/crates/BUILD.hyper-0.14.26.bazel
new file mode 100644
index 0000000..f52df86
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.hyper-0.14.26.bazel
@@ -0,0 +1,107 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "hyper",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "client",
+ "default",
+ "full",
+ "h2",
+ "http1",
+ "http2",
+ "runtime",
+ "server",
+ "socket2",
+ "stream",
+ "tcp",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=hyper",
+ "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.14.26",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__futures-channel-0.3.28//:futures_channel",
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__futures-util-0.3.28//:futures_util",
+ "@rules_rust_prost__h2-0.3.19//:h2",
+ "@rules_rust_prost__http-0.2.9//:http",
+ "@rules_rust_prost__http-body-0.4.5//:http_body",
+ "@rules_rust_prost__httparse-1.8.0//:httparse",
+ "@rules_rust_prost__httpdate-1.0.2//:httpdate",
+ "@rules_rust_prost__itoa-1.0.6//:itoa",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__socket2-0.4.9//:socket2",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "@rules_rust_prost__tower-service-0.3.2//:tower_service",
+ "@rules_rust_prost__tracing-0.1.37//:tracing",
+ "@rules_rust_prost__want-0.3.1//:want",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.hyper-timeout-0.4.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.hyper-timeout-0.4.1.bazel
new file mode 100644
index 0000000..a3f5e82
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.hyper-timeout-0.4.1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "hyper_timeout",
+ 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=hyper-timeout",
+ "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.4.1",
+ deps = [
+ "@rules_rust_prost__hyper-0.14.26//:hyper",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "@rules_rust_prost__tokio-io-timeout-1.2.0//:tokio_io_timeout",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.indexmap-1.9.3.bazel b/proto/prost/private/3rdparty/crates/BUILD.indexmap-1.9.3.bazel
new file mode 100644
index 0000000..0734ef5
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.indexmap-1.9.3.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "indexmap",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=indexmap",
+ "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.9.3",
+ deps = [
+ "@rules_rust_prost__hashbrown-0.12.3//:hashbrown",
+ "@rules_rust_prost__indexmap-1.9.3//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "indexmap_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2021",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=indexmap",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.9.3",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_prost__autocfg-1.1.0//:autocfg",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "indexmap_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.instant-0.1.12.bazel b/proto/prost/private/3rdparty/crates/BUILD.instant-0.1.12.bazel
new file mode 100644
index 0000000..0d8b582
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.instant-0.1.12.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-3-Clause
+# ])
+
+rust_library(
+ name = "instant",
+ 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=instant",
+ "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.12",
+ deps = [
+ "@rules_rust_prost__cfg-if-1.0.0//:cfg_if",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel b/proto/prost/private/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel
new file mode 100644
index 0000000..62196e2
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel
@@ -0,0 +1,224 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "io_lifetimes",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "close",
+ "hermit-abi",
+ "libc",
+ "windows-sys",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=io-lifetimes",
+ "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.11",
+ deps = [
+ "@rules_rust_prost__io-lifetimes-1.0.11//:build_script_build",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+cargo_build_script(
+ name = "io-lifetimes_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "close",
+ "hermit-abi",
+ "libc",
+ "windows-sys",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=io-lifetimes",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.11",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "io-lifetimes_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.itertools-0.10.5.bazel b/proto/prost/private/3rdparty/crates/BUILD.itertools-0.10.5.bazel
new file mode 100644
index 0000000..edef3f7
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.itertools-0.10.5.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "itertools",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "use_alloc",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=itertools",
+ "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.10.5",
+ deps = [
+ "@rules_rust_prost__either-1.8.1//:either",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.itoa-1.0.6.bazel b/proto/prost/private/3rdparty/crates/BUILD.itoa-1.0.6.bazel
new file mode 100644
index 0000000..61a4fa1
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.itoa-1.0.6.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "itoa",
+ 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=itoa",
+ "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.6",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
new file mode 100644
index 0000000..3a8bd5f
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.lazy_static-1.4.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "lazy_static",
+ 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=lazy_static",
+ "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.4.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.libc-0.2.146.bazel b/proto/prost/private/3rdparty/crates/BUILD.libc-0.2.146.bazel
new file mode 100644
index 0000000..7e7800e
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.libc-0.2.146.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "extra_traits",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=libc",
+ "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.146",
+ deps = [
+ "@rules_rust_prost__libc-0.2.146//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "libc_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "extra_traits",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=libc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.146",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "libc_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel b/proto/prost/private/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel
new file mode 100644
index 0000000..d51da67
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "linux_raw_sys",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "errno",
+ "general",
+ "ioctl",
+ "no_std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=linux-raw-sys",
+ "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.3.8",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.lock_api-0.4.10.bazel b/proto/prost/private/3rdparty/crates/BUILD.lock_api-0.4.10.bazel
new file mode 100644
index 0000000..97aaada
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.lock_api-0.4.10.bazel
@@ -0,0 +1,129 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "lock_api",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "atomic_usize",
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=lock_api",
+ "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.4.10",
+ deps = [
+ "@rules_rust_prost__lock_api-0.4.10//:build_script_build",
+ "@rules_rust_prost__scopeguard-1.1.0//:scopeguard",
+ ],
+)
+
+cargo_build_script(
+ name = "lock_api_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "atomic_usize",
+ "default",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=lock_api",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.10",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_prost__autocfg-1.1.0//:autocfg",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "lock_api_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.log-0.4.19.bazel b/proto/prost/private/3rdparty/crates/BUILD.log-0.4.19.bazel
new file mode 100644
index 0000000..6dbb9dc
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.log-0.4.19.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "log",
+ 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=log",
+ "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.4.19",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.matchit-0.7.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.matchit-0.7.0.bazel
new file mode 100644
index 0000000..5b02f02
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.matchit-0.7.0.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "matchit",
+ srcs = glob(["**/*.rs"]),
+ 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=matchit",
+ "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.7.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.memchr-2.5.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.memchr-2.5.0.bazel
new file mode 100644
index 0000000..0b87521
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.memchr-2.5.0.bazel
@@ -0,0 +1,125 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense/MIT
+# ])
+
+rust_library(
+ name = "memchr",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=memchr",
+ "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 = "2.5.0",
+ deps = [
+ "@rules_rust_prost__memchr-2.5.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "memchr_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=memchr",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "2.5.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "memchr_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.mime-0.3.17.bazel b/proto/prost/private/3rdparty/crates/BUILD.mime-0.3.17.bazel
new file mode 100644
index 0000000..885a5d4
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.mime-0.3.17.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "mime",
+ 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=mime",
+ "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.3.17",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.mio-0.8.8.bazel b/proto/prost/private/3rdparty/crates/BUILD.mio-0.8.8.bazel
new file mode 100644
index 0000000..889082c
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.mio-0.8.8.bazel
@@ -0,0 +1,160 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "mio",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "net",
+ "os-ext",
+ "os-poll",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=mio",
+ "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.8.8",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(target_os = "wasi")
+ "@rules_rust_prost__wasi-0.11.0-wasi-snapshot-preview1//:wasi", # cfg(target_os = "wasi")
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.multimap-0.8.3.bazel b/proto/prost/private/3rdparty/crates/BUILD.multimap-0.8.3.bazel
new file mode 100644
index 0000000..c95794b
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.multimap-0.8.3.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "multimap",
+ 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=multimap",
+ "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.8.3",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.num_cpus-1.15.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.num_cpus-1.15.0.bazel
new file mode 100644
index 0000000..d40d44d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.num_cpus-1.15.0.bazel
@@ -0,0 +1,163 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "num_cpus",
+ 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=num_cpus",
+ "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.15.0",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.once_cell-1.18.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.once_cell-1.18.0.bazel
new file mode 100644
index 0000000..601e985
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.once_cell-1.18.0.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "once_cell",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "race",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=once_cell",
+ "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.18.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.parking_lot-0.12.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.parking_lot-0.12.1.bazel
new file mode 100644
index 0000000..d0838e3
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.parking_lot-0.12.1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "parking_lot",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=parking_lot",
+ "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.12.1",
+ deps = [
+ "@rules_rust_prost__lock_api-0.4.10//:lock_api",
+ "@rules_rust_prost__parking_lot_core-0.9.8//:parking_lot_core",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.parking_lot_core-0.9.8.bazel b/proto/prost/private/3rdparty/crates/BUILD.parking_lot_core-0.9.8.bazel
new file mode 100644
index 0000000..b739e9e
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.parking_lot_core-0.9.8.bazel
@@ -0,0 +1,193 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "parking_lot_core",
+ 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=parking_lot_core",
+ "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.9.8",
+ deps = [
+ "@rules_rust_prost__cfg-if-1.0.0//:cfg_if",
+ "@rules_rust_prost__parking_lot_core-0.9.8//:build_script_build",
+ "@rules_rust_prost__smallvec-1.10.0//:smallvec",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-targets-0.48.0//:windows_targets", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__windows-targets-0.48.0//:windows_targets", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-targets-0.48.0//:windows_targets", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+cargo_build_script(
+ name = "parking_lot_core_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=parking_lot_core",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.9.8",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "parking_lot_core_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.percent-encoding-2.3.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.percent-encoding-2.3.0.bazel
new file mode 100644
index 0000000..a120863
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.percent-encoding-2.3.0.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "percent_encoding",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=percent-encoding",
+ "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 = "2.3.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.petgraph-0.6.3.bazel b/proto/prost/private/3rdparty/crates/BUILD.petgraph-0.6.3.bazel
new file mode 100644
index 0000000..5a5a60a
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.petgraph-0.6.3.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "petgraph",
+ 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=petgraph",
+ "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.6.3",
+ deps = [
+ "@rules_rust_prost__fixedbitset-0.4.2//:fixedbitset",
+ "@rules_rust_prost__indexmap-1.9.3//:indexmap",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.pin-project-1.1.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.pin-project-1.1.0.bazel
new file mode 100644
index 0000000..08b3571
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.pin-project-1.1.0.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "pin_project",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ proc_macro_deps = [
+ "@rules_rust_prost__pin-project-internal-1.1.0//:pin_project_internal",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=pin-project",
+ "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/proto/prost/private/3rdparty/crates/BUILD.pin-project-internal-1.1.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.pin-project-internal-1.1.0.bazel
new file mode 100644
index 0000000..2f26229
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.pin-project-internal-1.1.0.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_proc_macro(
+ name = "pin_project_internal",
+ 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=pin-project-internal",
+ "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",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-2.0.18//:syn",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.pin-project-lite-0.2.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.pin-project-lite-0.2.9.bazel
new file mode 100644
index 0000000..4644668
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.pin-project-lite-0.2.9.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "pin_project_lite",
+ 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=pin-project-lite",
+ "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.9",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.pin-utils-0.1.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.pin-utils-0.1.0.bazel
new file mode 100644
index 0000000..0221057
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.pin-utils-0.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "pin_utils",
+ 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=pin-utils",
+ "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.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.ppv-lite86-0.2.17.bazel b/proto/prost/private/3rdparty/crates/BUILD.ppv-lite86-0.2.17.bazel
new file mode 100644
index 0000000..1ec4b73
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.ppv-lite86-0.2.17.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "ppv_lite86",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "simd",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=ppv-lite86",
+ "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.17",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel b/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel
new file mode 100644
index 0000000..4effccf
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.prettyplease-0.1.25.bazel
@@ -0,0 +1,120 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "prettyplease",
+ 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=prettyplease",
+ "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.25",
+ deps = [
+ "@rules_rust_prost__prettyplease-0.1.25//:build_script_build",
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__syn-1.0.109//:syn",
+ ],
+)
+
+cargo_build_script(
+ name = "prettyplease_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2021",
+ links = "prettyplease01",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=prettyplease",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.25",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "prettyplease_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.proc-macro2-1.0.60.bazel b/proto/prost/private/3rdparty/crates/BUILD.proc-macro2-1.0.60.bazel
new file mode 100644
index 0000000..4e1c886
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.proc-macro2-1.0.60.bazel
@@ -0,0 +1,126 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "proc_macro2",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=proc-macro2",
+ "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.60",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:build_script_build",
+ "@rules_rust_prost__unicode-ident-1.0.9//:unicode_ident",
+ ],
+)
+
+cargo_build_script(
+ name = "proc-macro2_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=proc-macro2",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.60",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "proc-macro2_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.prost-0.11.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.prost-0.11.9.bazel
new file mode 100644
index 0000000..f97d8d1
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.prost-0.11.9.bazel
@@ -0,0 +1,87 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "prost",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "prost-derive",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__prost-derive-0.11.9//:prost_derive",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=prost",
+ "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.11.9",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.prost-build-0.11.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.prost-build-0.11.9.bazel
new file mode 100644
index 0000000..f6f9e84
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.prost-build-0.11.9.bazel
@@ -0,0 +1,98 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "prost_build",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "format",
+ "prettyplease",
+ "syn",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=prost-build",
+ "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.11.9",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__heck-0.4.1//:heck",
+ "@rules_rust_prost__itertools-0.10.5//:itertools",
+ "@rules_rust_prost__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_prost__log-0.4.19//:log",
+ "@rules_rust_prost__multimap-0.8.3//:multimap",
+ "@rules_rust_prost__petgraph-0.6.3//:petgraph",
+ "@rules_rust_prost__prettyplease-0.1.25//:prettyplease",
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ "@rules_rust_prost__regex-1.8.4//:regex",
+ "@rules_rust_prost__syn-1.0.109//:syn",
+ "@rules_rust_prost__tempfile-3.6.0//:tempfile",
+ "@rules_rust_prost__which-4.4.0//:which",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.prost-derive-0.11.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.prost-derive-0.11.9.bazel
new file mode 100644
index 0000000..507bd30
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.prost-derive-0.11.9.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_proc_macro(
+ name = "prost_derive",
+ 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=prost-derive",
+ "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.11.9",
+ deps = [
+ "@rules_rust_prost__anyhow-1.0.71//:anyhow",
+ "@rules_rust_prost__itertools-0.10.5//:itertools",
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-1.0.109//:syn",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.prost-types-0.11.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.prost-types-0.11.9.bazel
new file mode 100644
index 0000000..78e9160
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.prost-types-0.11.9.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "prost_types",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=prost-types",
+ "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.11.9",
+ deps = [
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel
new file mode 100644
index 0000000..b8b2e2c
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-prost-0.2.2.bazel
@@ -0,0 +1,156 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "protoc_gen_prost",
+ 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=protoc-gen-prost",
+ "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.2",
+ deps = [
+ "@rules_rust_prost__once_cell-1.18.0//:once_cell",
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ "@rules_rust_prost__prost-build-0.11.9//:prost_build",
+ "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ "@rules_rust_prost__regex-1.8.4//:regex",
+ ],
+)
+
+rust_binary(
+ name = "protoc-gen-prost__bin",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/main.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=protoc-gen-prost",
+ "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.2",
+ deps = [
+ ":protoc_gen_prost",
+ "@rules_rust_prost__once_cell-1.18.0//:once_cell",
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ "@rules_rust_prost__prost-build-0.11.9//:prost_build",
+ "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ "@rules_rust_prost__regex-1.8.4//:regex",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-tonic-0.2.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-tonic-0.2.2.bazel
new file mode 100644
index 0000000..fd9a149
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.protoc-gen-tonic-0.2.2.bazel
@@ -0,0 +1,164 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load(
+ "@rules_rust//rust:defs.bzl",
+ "rust_binary",
+ "rust_library",
+)
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "protoc_gen_tonic",
+ 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=protoc-gen-tonic",
+ "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.2",
+ deps = [
+ "@rules_rust_prost__heck-0.4.1//:heck",
+ "@rules_rust_prost__prettyplease-0.1.25//:prettyplease",
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ "@rules_rust_prost__prost-build-0.11.9//:prost_build",
+ "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ "@rules_rust_prost__protoc-gen-prost-0.2.2//:protoc_gen_prost",
+ "@rules_rust_prost__regex-1.8.4//:regex",
+ "@rules_rust_prost__syn-1.0.109//:syn",
+ "@rules_rust_prost__tonic-build-0.8.4//:tonic_build",
+ ],
+)
+
+rust_binary(
+ name = "protoc-gen-tonic__bin",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/main.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=protoc-gen-tonic",
+ "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.2",
+ deps = [
+ ":protoc_gen_tonic",
+ "@rules_rust_prost__heck-0.4.1//:heck",
+ "@rules_rust_prost__prettyplease-0.1.25//:prettyplease",
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ "@rules_rust_prost__prost-build-0.11.9//:prost_build",
+ "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ "@rules_rust_prost__protoc-gen-prost-0.2.2//:protoc_gen_prost",
+ "@rules_rust_prost__regex-1.8.4//:regex",
+ "@rules_rust_prost__syn-1.0.109//:syn",
+ "@rules_rust_prost__tonic-build-0.8.4//:tonic_build",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.quote-1.0.28.bazel b/proto/prost/private/3rdparty/crates/BUILD.quote-1.0.28.bazel
new file mode 100644
index 0000000..7036e66
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.quote-1.0.28.bazel
@@ -0,0 +1,126 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "quote",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=quote",
+ "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.28",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "quote_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=quote",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.28",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "quote_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.rand-0.8.5.bazel b/proto/prost/private/3rdparty/crates/BUILD.rand-0.8.5.bazel
new file mode 100644
index 0000000..84ec27b
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.rand-0.8.5.bazel
@@ -0,0 +1,155 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "rand",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "getrandom",
+ "libc",
+ "rand_chacha",
+ "small_rng",
+ "std",
+ "std_rng",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rand",
+ "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.8.5",
+ deps = [
+ "@rules_rust_prost__rand_chacha-0.3.1//:rand_chacha",
+ "@rules_rust_prost__rand_core-0.6.4//:rand_core",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.rand_chacha-0.3.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.rand_chacha-0.3.1.bazel
new file mode 100644
index 0000000..434b6e0
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.rand_chacha-0.3.1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "rand_chacha",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rand_chacha",
+ "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.3.1",
+ deps = [
+ "@rules_rust_prost__ppv-lite86-0.2.17//:ppv_lite86",
+ "@rules_rust_prost__rand_core-0.6.4//:rand_core",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.rand_core-0.6.4.bazel b/proto/prost/private/3rdparty/crates/BUILD.rand_core-0.6.4.bazel
new file mode 100644
index 0000000..5b316d4
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.rand_core-0.6.4.bazel
@@ -0,0 +1,84 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "rand_core",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "getrandom",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rand_core",
+ "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.6.4",
+ deps = [
+ "@rules_rust_prost__getrandom-0.2.10//:getrandom",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel b/proto/prost/private/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel
new file mode 100644
index 0000000..831f653
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.redox_syscall-0.3.5.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "syscall",
+ 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=redox_syscall",
+ "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.3.5",
+ deps = [
+ "@rules_rust_prost__bitflags-1.3.2//:bitflags",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.regex-1.8.4.bazel b/proto/prost/private/3rdparty/crates/BUILD.regex-1.8.4.bazel
new file mode 100644
index 0000000..bd6f7e4
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.regex-1.8.4.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "regex",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "std",
+ "unicode-bool",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=regex",
+ "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.8.4",
+ deps = [
+ "@rules_rust_prost__regex-syntax-0.7.2//:regex_syntax",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel
new file mode 100644
index 0000000..9db75a5
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "regex_syntax",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "unicode-bool",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=regex-syntax",
+ "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.7.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.rustix-0.37.20.bazel b/proto/prost/private/3rdparty/crates/BUILD.rustix-0.37.20.bazel
new file mode 100644
index 0000000..ba9d7f2
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.rustix-0.37.20.bazel
@@ -0,0 +1,348 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "rustix",
+ srcs = glob(["**/*.rs"]),
+ aliases = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-apple-ios": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-fuchsia": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-linux-android": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(windows)
+ },
+ "@rules_rust//rust/platform:armv7-linux-androideabi": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:i686-apple-darwin": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:i686-linux-android": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(windows)
+ },
+ "@rules_rust//rust/platform:i686-unknown-freebsd": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:wasm32-wasi": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-apple-darwin": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-apple-ios": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-fuchsia": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-linux-android": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(windows)
+ },
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-unknown-none": {
+ "@rules_rust_prost__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "//conditions:default": {},
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "fs",
+ "io-lifetimes",
+ "libc",
+ "std",
+ "use-libc-auxv",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rustix",
+ "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.37.20",
+ deps = [
+ "@rules_rust_prost__bitflags-1.3.2//:bitflags",
+ "@rules_rust_prost__io-lifetimes-1.0.11//:io_lifetimes",
+ "@rules_rust_prost__rustix-0.37.20//:build_script_build",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(windows)
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(windows)
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(windows)
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_prost__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_prost__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+cargo_build_script(
+ name = "rustix_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "fs",
+ "io-lifetimes",
+ "libc",
+ "std",
+ "use-libc-auxv",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rustix",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.37.20",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "rustix_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.rustversion-1.0.12.bazel b/proto/prost/private/3rdparty/crates/BUILD.rustversion-1.0.12.bazel
new file mode 100644
index 0000000..9599a5d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.rustversion-1.0.12.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_proc_macro(
+ name = "rustversion",
+ 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=rustversion",
+ "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.12",
+ deps = [
+ "@rules_rust_prost__rustversion-1.0.12//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "rustversion_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build/build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rustversion",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.12",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "rustversion_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.scopeguard-1.1.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.scopeguard-1.1.0.bazel
new file mode 100644
index 0000000..aba41eb
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.scopeguard-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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "scopeguard",
+ 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=scopeguard",
+ "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/proto/prost/private/3rdparty/crates/BUILD.serde-1.0.164.bazel b/proto/prost/private/3rdparty/crates/BUILD.serde-1.0.164.bazel
new file mode 100644
index 0000000..60105ec
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.serde-1.0.164.bazel
@@ -0,0 +1,125 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "serde",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=serde",
+ "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.164",
+ deps = [
+ "@rules_rust_prost__serde-1.0.164//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "serde_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=serde",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.164",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "serde_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.signal-hook-registry-1.4.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.signal-hook-registry-1.4.1.bazel
new file mode 100644
index 0000000..cdeb49c
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.signal-hook-registry-1.4.1.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "signal_hook_registry",
+ 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=signal-hook-registry",
+ "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.4.1",
+ deps = [
+ "@rules_rust_prost__libc-0.2.146//:libc",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.slab-0.4.8.bazel b/proto/prost/private/3rdparty/crates/BUILD.slab-0.4.8.bazel
new file mode 100644
index 0000000..9675421
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.slab-0.4.8.bazel
@@ -0,0 +1,128 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "slab",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=slab",
+ "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.4.8",
+ deps = [
+ "@rules_rust_prost__slab-0.4.8//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "slab_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=slab",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.8",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_prost__autocfg-1.1.0//:autocfg",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "slab_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.smallvec-1.10.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.smallvec-1.10.0.bazel
new file mode 100644
index 0000000..ba71fea
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.smallvec-1.10.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "smallvec",
+ 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=smallvec",
+ "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.10.0",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.socket2-0.4.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.socket2-0.4.9.bazel
new file mode 100644
index 0000000..3d80980
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.socket2-0.4.9.bazel
@@ -0,0 +1,154 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "socket2",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "all",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=socket2",
+ "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.4.9",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.syn-1.0.109.bazel b/proto/prost/private/3rdparty/crates/BUILD.syn-1.0.109.bazel
new file mode 100644
index 0000000..0493332
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.syn-1.0.109.bazel
@@ -0,0 +1,142 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "syn",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "extra-traits",
+ "full",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=syn",
+ "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.109",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-1.0.109//:build_script_build",
+ "@rules_rust_prost__unicode-ident-1.0.9//:unicode_ident",
+ ],
+)
+
+cargo_build_script(
+ name = "syn_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "extra-traits",
+ "full",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=syn",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.109",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "syn_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.syn-2.0.18.bazel b/proto/prost/private/3rdparty/crates/BUILD.syn-2.0.18.bazel
new file mode 100644
index 0000000..596aa5e
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.syn-2.0.18.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "syn",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "extra-traits",
+ "full",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ "visit-mut",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=syn",
+ "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 = "2.0.18",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__unicode-ident-1.0.9//:unicode_ident",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.sync_wrapper-0.1.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.sync_wrapper-0.1.2.bazel
new file mode 100644
index 0000000..11e2aee
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.sync_wrapper-0.1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "sync_wrapper",
+ 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=sync_wrapper",
+ "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.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tempfile-3.6.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.tempfile-3.6.0.bazel
new file mode 100644
index 0000000..3632e40
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tempfile-3.6.0.bazel
@@ -0,0 +1,199 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "tempfile",
+ 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=tempfile",
+ "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 = "3.6.0",
+ deps = [
+ "@rules_rust_prost__cfg-if-1.0.0//:cfg_if",
+ "@rules_rust_prost__fastrand-1.9.0//:fastrand",
+ "@rules_rust_prost__tempfile-3.6.0//:build_script_build",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__rustix-0.37.20//:rustix", # cfg(any(unix, target_os = "wasi"))
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+cargo_build_script(
+ name = "tempfile_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tempfile",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "3.6.0",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_prost__autocfg-1.1.0//:autocfg",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "tempfile_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel
new file mode 100644
index 0000000..719be65
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tokio-1.28.2.bazel
@@ -0,0 +1,310 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "bytes",
+ "default",
+ "fs",
+ "full",
+ "io-std",
+ "io-util",
+ "libc",
+ "macros",
+ "mio",
+ "net",
+ "num_cpus",
+ "parking_lot",
+ "process",
+ "rt",
+ "rt-multi-thread",
+ "signal",
+ "signal-hook-registry",
+ "socket2",
+ "sync",
+ "time",
+ "tokio-macros",
+ "windows-sys",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__tokio-macros-2.1.0//:tokio_macros",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tokio",
+ "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.28.2",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__mio-0.8.8//:mio",
+ "@rules_rust_prost__num_cpus-1.15.0//:num_cpus",
+ "@rules_rust_prost__parking_lot-0.12.1//:parking_lot",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__tokio-1.28.2//:build_script_build",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ "@rules_rust_prost__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__libc-0.2.146//:libc", # cfg(unix)
+ "@rules_rust_prost__signal-hook-registry-1.4.1//:signal_hook_registry", # cfg(unix)
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_prost__socket2-0.4.9//:socket2", # cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+cargo_build_script(
+ name = "tokio_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "bytes",
+ "default",
+ "fs",
+ "full",
+ "io-std",
+ "io-util",
+ "libc",
+ "macros",
+ "mio",
+ "net",
+ "num_cpus",
+ "parking_lot",
+ "process",
+ "rt",
+ "rt-multi-thread",
+ "signal",
+ "signal-hook-registry",
+ "socket2",
+ "sync",
+ "time",
+ "tokio-macros",
+ "windows-sys",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2021",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tokio",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.28.2",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_prost__autocfg-1.1.0//:autocfg",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "tokio_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tokio-io-timeout-1.2.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.tokio-io-timeout-1.2.0.bazel
new file mode 100644
index 0000000..561346a
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tokio-io-timeout-1.2.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "tokio_io_timeout",
+ 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=tokio-io-timeout",
+ "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.2.0",
+ deps = [
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tokio-macros-2.1.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.tokio-macros-2.1.0.bazel
new file mode 100644
index 0000000..52f7314
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tokio-macros-2.1.0.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_proc_macro(
+ name = "tokio_macros",
+ 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=tokio-macros",
+ "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 = "2.1.0",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-2.0.18//:syn",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tokio-stream-0.1.14.bazel b/proto/prost/private/3rdparty/crates/BUILD.tokio-stream-0.1.14.bazel
new file mode 100644
index 0000000..bef1a88
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tokio-stream-0.1.14.bazel
@@ -0,0 +1,85 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_stream",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "time",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tokio-stream",
+ "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.14",
+ deps = [
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tokio-util-0.7.8.bazel b/proto/prost/private/3rdparty/crates/BUILD.tokio-util-0.7.8.bazel
new file mode 100644
index 0000000..d9f12b9
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tokio-util-0.7.8.bazel
@@ -0,0 +1,89 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tokio_util",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "codec",
+ "default",
+ "tracing",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tokio-util",
+ "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.7.8",
+ deps = [
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__futures-sink-0.3.28//:futures_sink",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "@rules_rust_prost__tracing-0.1.37//:tracing",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tonic-0.9.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.tonic-0.9.2.bazel
new file mode 100644
index 0000000..6fd480f
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tonic-0.9.2.bazel
@@ -0,0 +1,107 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tonic",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "channel",
+ "codegen",
+ "default",
+ "prost",
+ "transport",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_prost__async-trait-0.1.68//:async_trait",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tonic",
+ "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.9.2",
+ deps = [
+ "@rules_rust_prost__axum-0.6.18//:axum",
+ "@rules_rust_prost__base64-0.21.2//:base64",
+ "@rules_rust_prost__bytes-1.4.0//:bytes",
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__futures-util-0.3.28//:futures_util",
+ "@rules_rust_prost__h2-0.3.19//:h2",
+ "@rules_rust_prost__http-0.2.9//:http",
+ "@rules_rust_prost__http-body-0.4.5//:http_body",
+ "@rules_rust_prost__hyper-0.14.26//:hyper",
+ "@rules_rust_prost__hyper-timeout-0.4.1//:hyper_timeout",
+ "@rules_rust_prost__percent-encoding-2.3.0//:percent_encoding",
+ "@rules_rust_prost__pin-project-1.1.0//:pin_project",
+ "@rules_rust_prost__prost-0.11.9//:prost",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "@rules_rust_prost__tokio-stream-0.1.14//:tokio_stream",
+ "@rules_rust_prost__tower-0.4.13//:tower",
+ "@rules_rust_prost__tower-layer-0.3.2//:tower_layer",
+ "@rules_rust_prost__tower-service-0.3.2//:tower_service",
+ "@rules_rust_prost__tracing-0.1.37//:tracing",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tonic-build-0.8.4.bazel b/proto/prost/private/3rdparty/crates/BUILD.tonic-build-0.8.4.bazel
new file mode 100644
index 0000000..5059f9d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tonic-build-0.8.4.bazel
@@ -0,0 +1,89 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tonic_build",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "prost",
+ "prost-build",
+ "transport",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tonic-build",
+ "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.8.4",
+ deps = [
+ "@rules_rust_prost__prettyplease-0.1.25//:prettyplease",
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__prost-build-0.11.9//:prost_build",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-1.0.109//:syn",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tower-0.4.13.bazel b/proto/prost/private/3rdparty/crates/BUILD.tower-0.4.13.bazel
new file mode 100644
index 0000000..aed674c
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tower-0.4.13.bazel
@@ -0,0 +1,112 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tower",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "__common",
+ "balance",
+ "buffer",
+ "discover",
+ "futures-core",
+ "futures-util",
+ "indexmap",
+ "limit",
+ "load",
+ "make",
+ "pin-project",
+ "pin-project-lite",
+ "rand",
+ "ready-cache",
+ "slab",
+ "timeout",
+ "tokio",
+ "tokio-util",
+ "tracing",
+ "util",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tower",
+ "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.4.13",
+ deps = [
+ "@rules_rust_prost__futures-core-0.3.28//:futures_core",
+ "@rules_rust_prost__futures-util-0.3.28//:futures_util",
+ "@rules_rust_prost__indexmap-1.9.3//:indexmap",
+ "@rules_rust_prost__pin-project-1.1.0//:pin_project",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__rand-0.8.5//:rand",
+ "@rules_rust_prost__slab-0.4.8//:slab",
+ "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "@rules_rust_prost__tokio-util-0.7.8//:tokio_util",
+ "@rules_rust_prost__tower-layer-0.3.2//:tower_layer",
+ "@rules_rust_prost__tower-service-0.3.2//:tower_service",
+ "@rules_rust_prost__tracing-0.1.37//:tracing",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tower-layer-0.3.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.tower-layer-0.3.2.bazel
new file mode 100644
index 0000000..adea423
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tower-layer-0.3.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tower_layer",
+ 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=tower-layer",
+ "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.3.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tower-service-0.3.2.bazel b/proto/prost/private/3rdparty/crates/BUILD.tower-service-0.3.2.bazel
new file mode 100644
index 0000000..68aa5d3
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tower-service-0.3.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tower_service",
+ 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=tower-service",
+ "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.3.2",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tracing-0.1.37.bazel b/proto/prost/private/3rdparty/crates/BUILD.tracing-0.1.37.bazel
new file mode 100644
index 0000000..e3f1bcc
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tracing-0.1.37.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tracing",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "attributes",
+ "default",
+ "std",
+ "tracing-attributes",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ proc_macro_deps = [
+ "@rules_rust_prost__tracing-attributes-0.1.26//:tracing_attributes",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tracing",
+ "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.37",
+ deps = [
+ "@rules_rust_prost__cfg-if-1.0.0//:cfg_if",
+ "@rules_rust_prost__pin-project-lite-0.2.9//:pin_project_lite",
+ "@rules_rust_prost__tracing-core-0.1.31//:tracing_core",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tracing-attributes-0.1.26.bazel b/proto/prost/private/3rdparty/crates/BUILD.tracing-attributes-0.1.26.bazel
new file mode 100644
index 0000000..d9d6dfa
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tracing-attributes-0.1.26.bazel
@@ -0,0 +1,81 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_proc_macro(
+ name = "tracing_attributes",
+ 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=tracing-attributes",
+ "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.26",
+ deps = [
+ "@rules_rust_prost__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_prost__quote-1.0.28//:quote",
+ "@rules_rust_prost__syn-2.0.18//:syn",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.tracing-core-0.1.31.bazel b/proto/prost/private/3rdparty/crates/BUILD.tracing-core-0.1.31.bazel
new file mode 100644
index 0000000..c471cfe
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.tracing-core-0.1.31.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "tracing_core",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "once_cell",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=tracing-core",
+ "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.31",
+ deps = [
+ "@rules_rust_prost__once_cell-1.18.0//:once_cell",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.try-lock-0.2.4.bazel b/proto/prost/private/3rdparty/crates/BUILD.try-lock-0.2.4.bazel
new file mode 100644
index 0000000..67e9b77
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.try-lock-0.2.4.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "try_lock",
+ 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=try-lock",
+ "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.4",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel
new file mode 100644
index 0000000..171fdcd
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.unicode-ident-1.0.9.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# ])
+
+rust_library(
+ name = "unicode_ident",
+ 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=unicode-ident",
+ "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.9",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.want-0.3.1.bazel b/proto/prost/private/3rdparty/crates/BUILD.want-0.3.1.bazel
new file mode 100644
index 0000000..8a3d348
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.want-0.3.1.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "want",
+ 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=want",
+ "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.3.1",
+ deps = [
+ "@rules_rust_prost__try-lock-0.2.4//:try_lock",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel b/proto/prost/private/3rdparty/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel
new file mode 100644
index 0000000..b64a530
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.wasi-0.11.0+wasi-snapshot-preview1.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "wasi",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=wasi",
+ "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.11.0+wasi-snapshot-preview1",
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.which-4.4.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.which-4.4.0.bazel
new file mode 100644
index 0000000..7d8f4b5
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.which-4.4.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 @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "which",
+ 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=which",
+ "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 = "4.4.0",
+ deps = [
+ "@rules_rust_prost__either-1.8.1//:either",
+ "@rules_rust_prost__libc-0.2.146//:libc",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__once_cell-1.18.0//:once_cell", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__once_cell-1.18.0//:once_cell", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__once_cell-1.18.0//:once_cell", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/proto/prost/private/3rdparty/crates/BUILD.winapi-0.3.9.bazel
new file mode 100644
index 0000000..fc9d24d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.winapi-0.3.9.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "handleapi",
+ "ws2ipdef",
+ "ws2tcpip",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=winapi",
+ "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.3.9",
+ deps = [
+ "@rules_rust_prost__winapi-0.3.9//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "handleapi",
+ "ws2ipdef",
+ "ws2tcpip",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=winapi",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.3.9",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "winapi_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000..f8bc68d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi_i686_pc_windows_gnu",
+ 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=winapi-i686-pc-windows-gnu",
+ "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.4.0",
+ deps = [
+ "@rules_rust_prost__winapi-i686-pc-windows-gnu-0.4.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "winapi-i686-pc-windows-gnu_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=winapi-i686-pc-windows-gnu",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "winapi-i686-pc-windows-gnu_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
new file mode 100644
index 0000000..369d56d
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "winapi_x86_64_pc_windows_gnu",
+ 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=winapi-x86_64-pc-windows-gnu",
+ "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.4.0",
+ deps = [
+ "@rules_rust_prost__winapi-x86_64-pc-windows-gnu-0.4.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "winapi-x86_64-pc-windows-gnu_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=winapi-x86_64-pc-windows-gnu",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.4.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "winapi-x86_64-pc-windows-gnu_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel
new file mode 100644
index 0000000..1313977
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel
@@ -0,0 +1,101 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_sys",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "Win32",
+ "Win32_Foundation",
+ "Win32_NetworkManagement",
+ "Win32_NetworkManagement_IpHelper",
+ "Win32_Networking",
+ "Win32_Networking_WinSock",
+ "Win32_Security",
+ "Win32_Security_Authorization",
+ "Win32_Storage",
+ "Win32_Storage_FileSystem",
+ "Win32_System",
+ "Win32_System_Console",
+ "Win32_System_Diagnostics",
+ "Win32_System_Diagnostics_Debug",
+ "Win32_System_IO",
+ "Win32_System_Pipes",
+ "Win32_System_SystemServices",
+ "Win32_System_Threading",
+ "Win32_System_WindowsProgramming",
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows-sys",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows-targets-0.48.0//:windows_targets",
+ ],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel
new file mode 100644
index 0000000..4d1babc
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_targets",
+ 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=windows-targets",
+ "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.48.0",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_prost__windows_aarch64_msvc-0.48.0//:windows_aarch64_msvc", # cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_prost__windows_i686_msvc-0.48.0//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_prost__windows_i686_gnu-0.48.0//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_prost__windows_x86_64_msvc-0.48.0//:windows_x86_64_msvc", # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_prost__windows_x86_64_gnu-0.48.0//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel
new file mode 100644
index 0000000..70c6724
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_aarch64_gnullvm",
+ 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=windows_aarch64_gnullvm",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_aarch64_gnullvm-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_aarch64_gnullvm_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_aarch64_gnullvm",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_aarch64_gnullvm_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel
new file mode 100644
index 0000000..a51ab4e
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_aarch64_msvc",
+ 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=windows_aarch64_msvc",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_aarch64_msvc-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_aarch64_msvc_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_aarch64_msvc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_aarch64_msvc_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel
new file mode 100644
index 0000000..e814a5f
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_i686_gnu",
+ 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=windows_i686_gnu",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_i686_gnu-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_i686_gnu_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_i686_gnu",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_i686_gnu_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel
new file mode 100644
index 0000000..511c611
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_i686_msvc",
+ 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=windows_i686_msvc",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_i686_msvc-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_i686_msvc_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_i686_msvc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_i686_msvc_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel
new file mode 100644
index 0000000..20667f6
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_x86_64_gnu",
+ 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=windows_x86_64_gnu",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_x86_64_gnu-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_x86_64_gnu_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_x86_64_gnu",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_x86_64_gnu_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel
new file mode 100644
index 0000000..10623aa
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_x86_64_gnullvm",
+ 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=windows_x86_64_gnullvm",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_x86_64_gnullvm-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_x86_64_gnullvm_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_x86_64_gnullvm",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_x86_64_gnullvm_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel b/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel
new file mode 100644
index 0000000..b4caa5f
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel
@@ -0,0 +1,117 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_x86_64_msvc",
+ 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=windows_x86_64_msvc",
+ "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.48.0",
+ deps = [
+ "@rules_rust_prost__windows_x86_64_msvc-0.48.0//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "windows_x86_64_msvc_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_x86_64_msvc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.48.0",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "windows_x86_64_msvc_build_script",
+ tags = ["manual"],
+)
diff --git a/proto/prost/private/3rdparty/crates/crates.bzl b/proto/prost/private/3rdparty/crates/crates.bzl
new file mode 100644
index 0000000..3fc5b69
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/crates.bzl
@@ -0,0 +1,25 @@
+###############################################################################
+# @generated
+# This file is auto-generated by the cargo-bazel tool.
+#
+# DO NOT MODIFY: Local changes may be replaced in future executions.
+###############################################################################
+"""Rules for defining repositories for remote `crates_vendor` repositories"""
+
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:crates_vendor.bzl", "crates_vendor_remote_repository")
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//proto/prost/private/3rdparty/crates:defs.bzl", _crate_repositories = "crate_repositories")
+
+def crate_repositories():
+ maybe(
+ crates_vendor_remote_repository,
+ name = "rules_rust_prost",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.bazel"),
+ defs_module = Label("@rules_rust//proto/prost/private/3rdparty/crates:defs.bzl"),
+ )
+
+ _crate_repositories()
diff --git a/proto/prost/private/3rdparty/crates/defs.bzl b/proto/prost/private/3rdparty/crates/defs.bzl
new file mode 100644
index 0000000..e39d781
--- /dev/null
+++ b/proto/prost/private/3rdparty/crates/defs.bzl
@@ -0,0 +1,1562 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//proto/prost/private/3rdparty:crates_vendor
+###############################################################################
+"""
+# `crates_repository` API
+
+- [aliases](#aliases)
+- [crate_deps](#crate_deps)
+- [all_crate_deps](#all_crate_deps)
+- [crate_repositories](#crate_repositories)
+
+"""
+
+load("@bazel_skylib//lib:selects.bzl", "selects")
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
+###############################################################################
+# MACROS API
+###############################################################################
+
+# An identifier that represent common dependencies (unconditional).
+_COMMON_CONDITION = ""
+
+def _flatten_dependency_maps(all_dependency_maps):
+ """Flatten a list of dependency maps into one dictionary.
+
+ Dependency maps have the following structure:
+
+ ```python
+ DEPENDENCIES_MAP = {
+ # The first key in the map is a Bazel package
+ # name of the workspace this file is defined in.
+ "workspace_member_package": {
+
+ # Not all dependencies are supported for all platforms.
+ # the condition key is the condition required to be true
+ # on the host platform.
+ "condition": {
+
+ # An alias to a crate target. # The label of the crate target the
+ # Aliases are only crate names. # package name refers to.
+ "package_name": "@full//:label",
+ }
+ }
+ }
+ ```
+
+ Args:
+ all_dependency_maps (list): A list of dicts as described above
+
+ Returns:
+ dict: A dictionary as described above
+ """
+ dependencies = {}
+
+ for workspace_deps_map in all_dependency_maps:
+ for pkg_name, conditional_deps_map in workspace_deps_map.items():
+ if pkg_name not in dependencies:
+ non_frozen_map = dict()
+ for key, values in conditional_deps_map.items():
+ non_frozen_map.update({key: dict(values.items())})
+ dependencies.setdefault(pkg_name, non_frozen_map)
+ continue
+
+ for condition, deps_map in conditional_deps_map.items():
+ # If the condition has not been recorded, do so and continue
+ if condition not in dependencies[pkg_name]:
+ dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
+ continue
+
+ # Alert on any miss-matched dependencies
+ inconsistent_entries = []
+ for crate_name, crate_label in deps_map.items():
+ existing = dependencies[pkg_name][condition].get(crate_name)
+ if existing and existing != crate_label:
+ inconsistent_entries.append((crate_name, existing, crate_label))
+ dependencies[pkg_name][condition].update({crate_name: crate_label})
+
+ return dependencies
+
+def crate_deps(deps, package_name = None):
+ """Finds the fully qualified label of the requested crates for the package where this macro is called.
+
+ Args:
+ deps (list): The desired list of crate targets.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()`.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if not deps:
+ return []
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Join both sets of dependencies
+ dependencies = _flatten_dependency_maps([
+ _NORMAL_DEPENDENCIES,
+ _NORMAL_DEV_DEPENDENCIES,
+ _PROC_MACRO_DEPENDENCIES,
+ _PROC_MACRO_DEV_DEPENDENCIES,
+ _BUILD_DEPENDENCIES,
+ _BUILD_PROC_MACRO_DEPENDENCIES,
+ ]).pop(package_name, {})
+
+ # Combine all conditional packages so we can easily index over a flat list
+ # TODO: Perhaps this should actually return select statements and maintain
+ # the conditionals of the dependencies
+ flat_deps = {}
+ for deps_set in dependencies.values():
+ for crate_name, crate_label in deps_set.items():
+ flat_deps.update({crate_name: crate_label})
+
+ missing_crates = []
+ crate_targets = []
+ for crate_target in deps:
+ if crate_target not in flat_deps:
+ missing_crates.append(crate_target)
+ else:
+ crate_targets.append(flat_deps[crate_target])
+
+ if missing_crates:
+ fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
+ missing_crates,
+ package_name,
+ dependencies,
+ ))
+
+ return crate_targets
+
+def all_crate_deps(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Finds the fully qualified label of all requested direct crate dependencies \
+ for the package where this macro is called.
+
+ If no parameters are set, all normal dependencies are returned. Setting any one flag will
+ otherwise impact the contents of the returned list.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normal dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ list: A list of labels to generated rust targets (str)
+ """
+
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_dependency_maps = []
+ if normal:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+ if normal_dev:
+ all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
+ if proc_macro:
+ all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
+ if proc_macro_dev:
+ all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
+ if build:
+ all_dependency_maps.append(_BUILD_DEPENDENCIES)
+ if build_proc_macro:
+ all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
+
+ # Default to always using normal dependencies
+ if not all_dependency_maps:
+ all_dependency_maps.append(_NORMAL_DEPENDENCIES)
+
+ dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
+
+ if not dependencies:
+ if dependencies == None:
+ fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
+ else:
+ return []
+
+ crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
+ for condition, deps in dependencies.items():
+ crate_deps += selects.with_or({
+ tuple(_CONDITIONS[condition]): deps.values(),
+ "//conditions:default": [],
+ })
+
+ return crate_deps
+
+def aliases(
+ normal = False,
+ normal_dev = False,
+ proc_macro = False,
+ proc_macro_dev = False,
+ build = False,
+ build_proc_macro = False,
+ package_name = None):
+ """Produces a map of Crate alias names to their original label
+
+ If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
+ Setting any one flag will otherwise determine the contents of the returned dict.
+
+ Args:
+ normal (bool, optional): If True, normal dependencies are included in the
+ output list.
+ normal_dev (bool, optional): If True, normal dev dependencies will be
+ included in the output list..
+ proc_macro (bool, optional): If True, proc_macro dependencies are included
+ in the output list.
+ proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
+ included in the output list.
+ build (bool, optional): If True, build dependencies are included
+ in the output list.
+ build_proc_macro (bool, optional): If True, build proc_macro dependencies are
+ included in the output list.
+ package_name (str, optional): The package name of the set of dependencies to look up.
+ Defaults to `native.package_name()` when unset.
+
+ Returns:
+ dict: The aliases of all associated packages
+ """
+ if package_name == None:
+ package_name = native.package_name()
+
+ # Determine the relevant maps to use
+ all_aliases_maps = []
+ if normal:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ if normal_dev:
+ all_aliases_maps.append(_NORMAL_DEV_ALIASES)
+ if proc_macro:
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+ if proc_macro_dev:
+ all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
+ if build:
+ all_aliases_maps.append(_BUILD_ALIASES)
+ if build_proc_macro:
+ all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
+
+ # Default to always using normal aliases
+ if not all_aliases_maps:
+ all_aliases_maps.append(_NORMAL_ALIASES)
+ all_aliases_maps.append(_PROC_MACRO_ALIASES)
+
+ aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
+
+ if not aliases:
+ return dict()
+
+ common_items = aliases.pop(_COMMON_CONDITION, {}).items()
+
+ # If there are only common items in the dictionary, immediately return them
+ if not len(aliases.keys()) == 1:
+ return dict(common_items)
+
+ # Build a single select statement where each conditional has accounted for the
+ # common set of aliases.
+ crate_aliases = {"//conditions:default": dict(common_items)}
+ for condition, deps in aliases.items():
+ condition_triples = _CONDITIONS[condition]
+ for triple in condition_triples:
+ if triple in crate_aliases:
+ crate_aliases[triple].update(deps)
+ else:
+ crate_aliases.update({triple: dict(deps.items() + common_items)})
+
+ return select(crate_aliases)
+
+###############################################################################
+# WORKSPACE MEMBER DEPS AND ALIASES
+###############################################################################
+
+_NORMAL_DEPENDENCIES = {
+ "": {
+ _COMMON_CONDITION: {
+ "h2": "@rules_rust_prost__h2-0.3.19//:h2",
+ "prost": "@rules_rust_prost__prost-0.11.9//:prost",
+ "prost-types": "@rules_rust_prost__prost-types-0.11.9//:prost_types",
+ "protoc-gen-prost": "@rules_rust_prost__protoc-gen-prost-0.2.2//:protoc_gen_prost",
+ "protoc-gen-tonic": "@rules_rust_prost__protoc-gen-tonic-0.2.2//:protoc_gen_tonic",
+ "tokio": "@rules_rust_prost__tokio-1.28.2//:tokio",
+ "tokio-stream": "@rules_rust_prost__tokio-stream-0.1.14//:tokio_stream",
+ "tonic": "@rules_rust_prost__tonic-0.9.2//:tonic",
+ },
+ },
+}
+
+_NORMAL_ALIASES = {
+ "": {
+ _COMMON_CONDITION: {
+ },
+ },
+}
+
+_NORMAL_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_NORMAL_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_PROC_MACRO_DEV_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_ALIASES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_DEPENDENCIES = {
+ "": {
+ },
+}
+
+_BUILD_PROC_MACRO_ALIASES = {
+ "": {
+ },
+}
+
+_CONDITIONS = {
+ "cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))": [],
+ "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"],
+ "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@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:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@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-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"],
+ "cfg(all(target_arch = \"aarch64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
+ "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
+ "cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))": ["@rules_rust//rust/platform:wasm32-unknown-unknown"],
+ "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"],
+ "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"],
+ "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
+ "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
+ "cfg(any(unix, target_os = \"wasi\"))": ["@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-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-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@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-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(docsrs)": [],
+ "cfg(not(any(target_arch = \"wasm32\", target_arch = \"wasm64\")))": ["@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: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"],
+ "cfg(not(windows))": ["@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-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-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-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"],
+ "cfg(target_os = \"dragonfly\")": [],
+ "cfg(target_os = \"hermit\")": [],
+ "cfg(target_os = \"redox\")": [],
+ "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"],
+ "cfg(unix)": ["@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-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-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@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-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
+ "i686-pc-windows-gnu": [],
+ "x86_64-pc-windows-gnu": [],
+}
+
+###############################################################################
+
+def crate_repositories():
+ """A macro for defining repositories for all generated crates"""
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__anyhow-1.0.71",
+ sha256 = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/anyhow/1.0.71/download"],
+ strip_prefix = "anyhow-1.0.71",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.anyhow-1.0.71.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__async-trait-0.1.68",
+ sha256 = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/async-trait/0.1.68/download"],
+ strip_prefix = "async-trait-0.1.68",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.async-trait-0.1.68.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__autocfg-1.1.0",
+ sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/autocfg/1.1.0/download"],
+ strip_prefix = "autocfg-1.1.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__axum-0.6.18",
+ sha256 = "f8175979259124331c1d7bf6586ee7e0da434155e4b2d48ec2c8386281d8df39",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/axum/0.6.18/download"],
+ strip_prefix = "axum-0.6.18",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.axum-0.6.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__axum-core-0.3.4",
+ sha256 = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/axum-core/0.3.4/download"],
+ strip_prefix = "axum-core-0.3.4",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.axum-core-0.3.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__base64-0.21.2",
+ sha256 = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/base64/0.21.2/download"],
+ strip_prefix = "base64-0.21.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.base64-0.21.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__bitflags-1.3.2",
+ sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bitflags/1.3.2/download"],
+ strip_prefix = "bitflags-1.3.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__bytes-1.4.0",
+ sha256 = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bytes/1.4.0/download"],
+ strip_prefix = "bytes-1.4.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.bytes-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__cc-1.0.79",
+ sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cc/1.0.79/download"],
+ strip_prefix = "cc-1.0.79",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.cc-1.0.79.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__cfg-if-1.0.0",
+ sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cfg-if/1.0.0/download"],
+ strip_prefix = "cfg-if-1.0.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__either-1.8.1",
+ sha256 = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/either/1.8.1/download"],
+ strip_prefix = "either-1.8.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.either-1.8.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__errno-0.3.1",
+ sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/errno/0.3.1/download"],
+ strip_prefix = "errno-0.3.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.errno-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__errno-dragonfly-0.1.2",
+ sha256 = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/errno-dragonfly/0.1.2/download"],
+ strip_prefix = "errno-dragonfly-0.1.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.errno-dragonfly-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__fastrand-1.9.0",
+ sha256 = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/fastrand/1.9.0/download"],
+ strip_prefix = "fastrand-1.9.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.fastrand-1.9.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__fixedbitset-0.4.2",
+ sha256 = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/fixedbitset/0.4.2/download"],
+ strip_prefix = "fixedbitset-0.4.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.fixedbitset-0.4.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__fnv-1.0.7",
+ sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/fnv/1.0.7/download"],
+ strip_prefix = "fnv-1.0.7",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.fnv-1.0.7.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__futures-channel-0.3.28",
+ sha256 = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures-channel/0.3.28/download"],
+ strip_prefix = "futures-channel-0.3.28",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-channel-0.3.28.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__futures-core-0.3.28",
+ sha256 = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures-core/0.3.28/download"],
+ strip_prefix = "futures-core-0.3.28",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-core-0.3.28.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__futures-sink-0.3.28",
+ sha256 = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures-sink/0.3.28/download"],
+ strip_prefix = "futures-sink-0.3.28",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-sink-0.3.28.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__futures-task-0.3.28",
+ sha256 = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures-task/0.3.28/download"],
+ strip_prefix = "futures-task-0.3.28",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-task-0.3.28.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__futures-util-0.3.28",
+ sha256 = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/futures-util/0.3.28/download"],
+ strip_prefix = "futures-util-0.3.28",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-util-0.3.28.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__getrandom-0.2.10",
+ sha256 = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/getrandom/0.2.10/download"],
+ strip_prefix = "getrandom-0.2.10",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.getrandom-0.2.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__h2-0.3.19",
+ sha256 = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/h2/0.3.19/download"],
+ strip_prefix = "h2-0.3.19",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.h2-0.3.19.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__hashbrown-0.12.3",
+ sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hashbrown/0.12.3/download"],
+ strip_prefix = "hashbrown-0.12.3",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__heck-0.4.1",
+ sha256 = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/heck/0.4.1/download"],
+ strip_prefix = "heck-0.4.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.heck-0.4.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__hermit-abi-0.2.6",
+ sha256 = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hermit-abi/0.2.6/download"],
+ strip_prefix = "hermit-abi-0.2.6",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hermit-abi-0.2.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__hermit-abi-0.3.1",
+ sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hermit-abi/0.3.1/download"],
+ strip_prefix = "hermit-abi-0.3.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hermit-abi-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__http-0.2.9",
+ sha256 = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/http/0.2.9/download"],
+ strip_prefix = "http-0.2.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.http-0.2.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__http-body-0.4.5",
+ sha256 = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/http-body/0.4.5/download"],
+ strip_prefix = "http-body-0.4.5",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.http-body-0.4.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__httparse-1.8.0",
+ sha256 = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/httparse/1.8.0/download"],
+ strip_prefix = "httparse-1.8.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.httparse-1.8.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__httpdate-1.0.2",
+ sha256 = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/httpdate/1.0.2/download"],
+ strip_prefix = "httpdate-1.0.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.httpdate-1.0.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__hyper-0.14.26",
+ sha256 = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hyper/0.14.26/download"],
+ strip_prefix = "hyper-0.14.26",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hyper-0.14.26.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__hyper-timeout-0.4.1",
+ sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hyper-timeout/0.4.1/download"],
+ strip_prefix = "hyper-timeout-0.4.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hyper-timeout-0.4.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__indexmap-1.9.3",
+ sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/indexmap/1.9.3/download"],
+ strip_prefix = "indexmap-1.9.3",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.indexmap-1.9.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__instant-0.1.12",
+ sha256 = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/instant/0.1.12/download"],
+ strip_prefix = "instant-0.1.12",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.instant-0.1.12.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__io-lifetimes-1.0.11",
+ sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/io-lifetimes/1.0.11/download"],
+ strip_prefix = "io-lifetimes-1.0.11",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__itertools-0.10.5",
+ sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/itertools/0.10.5/download"],
+ strip_prefix = "itertools-0.10.5",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.itertools-0.10.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__itoa-1.0.6",
+ sha256 = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/itoa/1.0.6/download"],
+ strip_prefix = "itoa-1.0.6",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.itoa-1.0.6.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__lazy_static-1.4.0",
+ sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/lazy_static/1.4.0/download"],
+ strip_prefix = "lazy_static-1.4.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__libc-0.2.146",
+ sha256 = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/libc/0.2.146/download"],
+ strip_prefix = "libc-0.2.146",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.libc-0.2.146.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__linux-raw-sys-0.3.8",
+ sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/linux-raw-sys/0.3.8/download"],
+ strip_prefix = "linux-raw-sys-0.3.8",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__lock_api-0.4.10",
+ sha256 = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/lock_api/0.4.10/download"],
+ strip_prefix = "lock_api-0.4.10",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.lock_api-0.4.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__log-0.4.19",
+ sha256 = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/log/0.4.19/download"],
+ strip_prefix = "log-0.4.19",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.log-0.4.19.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__matchit-0.7.0",
+ sha256 = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/matchit/0.7.0/download"],
+ strip_prefix = "matchit-0.7.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.matchit-0.7.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__memchr-2.5.0",
+ sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/memchr/2.5.0/download"],
+ strip_prefix = "memchr-2.5.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.memchr-2.5.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__mime-0.3.17",
+ sha256 = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/mime/0.3.17/download"],
+ strip_prefix = "mime-0.3.17",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.mime-0.3.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__mio-0.8.8",
+ sha256 = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/mio/0.8.8/download"],
+ strip_prefix = "mio-0.8.8",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.mio-0.8.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__multimap-0.8.3",
+ sha256 = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/multimap/0.8.3/download"],
+ strip_prefix = "multimap-0.8.3",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.multimap-0.8.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__num_cpus-1.15.0",
+ sha256 = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/num_cpus/1.15.0/download"],
+ strip_prefix = "num_cpus-1.15.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.num_cpus-1.15.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__once_cell-1.18.0",
+ sha256 = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/once_cell/1.18.0/download"],
+ strip_prefix = "once_cell-1.18.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.once_cell-1.18.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__parking_lot-0.12.1",
+ sha256 = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/parking_lot/0.12.1/download"],
+ strip_prefix = "parking_lot-0.12.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.parking_lot-0.12.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__parking_lot_core-0.9.8",
+ sha256 = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/parking_lot_core/0.9.8/download"],
+ strip_prefix = "parking_lot_core-0.9.8",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.parking_lot_core-0.9.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__percent-encoding-2.3.0",
+ sha256 = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/percent-encoding/2.3.0/download"],
+ strip_prefix = "percent-encoding-2.3.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.percent-encoding-2.3.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__petgraph-0.6.3",
+ sha256 = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/petgraph/0.6.3/download"],
+ strip_prefix = "petgraph-0.6.3",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.petgraph-0.6.3.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__pin-project-1.1.0",
+ sha256 = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/pin-project/1.1.0/download"],
+ strip_prefix = "pin-project-1.1.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-project-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__pin-project-internal-1.1.0",
+ sha256 = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/pin-project-internal/1.1.0/download"],
+ strip_prefix = "pin-project-internal-1.1.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-project-internal-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__pin-project-lite-0.2.9",
+ sha256 = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/pin-project-lite/0.2.9/download"],
+ strip_prefix = "pin-project-lite-0.2.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-project-lite-0.2.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__pin-utils-0.1.0",
+ sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/pin-utils/0.1.0/download"],
+ strip_prefix = "pin-utils-0.1.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-utils-0.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__ppv-lite86-0.2.17",
+ sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/ppv-lite86/0.2.17/download"],
+ strip_prefix = "ppv-lite86-0.2.17",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.ppv-lite86-0.2.17.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__prettyplease-0.1.25",
+ sha256 = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/prettyplease/0.1.25/download"],
+ strip_prefix = "prettyplease-0.1.25",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prettyplease-0.1.25.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__proc-macro2-1.0.60",
+ sha256 = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.60/download"],
+ strip_prefix = "proc-macro2-1.0.60",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.proc-macro2-1.0.60.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__prost-0.11.9",
+ sha256 = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/prost/0.11.9/download"],
+ strip_prefix = "prost-0.11.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-0.11.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__prost-build-0.11.9",
+ sha256 = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/prost-build/0.11.9/download"],
+ strip_prefix = "prost-build-0.11.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-build-0.11.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__prost-derive-0.11.9",
+ sha256 = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/prost-derive/0.11.9/download"],
+ strip_prefix = "prost-derive-0.11.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-derive-0.11.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__prost-types-0.11.9",
+ sha256 = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/prost-types/0.11.9/download"],
+ strip_prefix = "prost-types-0.11.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-types-0.11.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__protoc-gen-prost-0.2.2",
+ patch_args = [
+ "-p1",
+ ],
+ patches = [
+ "@rules_rust//proto/prost/private/3rdparty/patches:protoc-gen-prost.patch",
+ ],
+ sha256 = "a81e3a9bb429fec47008b209896f0b9ab99fbcbc1c3733b385d43fbfd64dd2ca",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/protoc-gen-prost/0.2.2/download"],
+ strip_prefix = "protoc-gen-prost-0.2.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.protoc-gen-prost-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__protoc-gen-tonic-0.2.2",
+ sha256 = "725a07a704f9cf7a956b302c21d81b5516ed5ee6cfbbf827edb69beeaae6cc30",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/protoc-gen-tonic/0.2.2/download"],
+ strip_prefix = "protoc-gen-tonic-0.2.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.protoc-gen-tonic-0.2.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__quote-1.0.28",
+ sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/quote/1.0.28/download"],
+ strip_prefix = "quote-1.0.28",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.quote-1.0.28.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__rand-0.8.5",
+ sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rand/0.8.5/download"],
+ strip_prefix = "rand-0.8.5",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rand-0.8.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__rand_chacha-0.3.1",
+ sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rand_chacha/0.3.1/download"],
+ strip_prefix = "rand_chacha-0.3.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rand_chacha-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__rand_core-0.6.4",
+ sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rand_core/0.6.4/download"],
+ strip_prefix = "rand_core-0.6.4",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rand_core-0.6.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__redox_syscall-0.3.5",
+ sha256 = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/redox_syscall/0.3.5/download"],
+ strip_prefix = "redox_syscall-0.3.5",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.redox_syscall-0.3.5.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__regex-1.8.4",
+ sha256 = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/regex/1.8.4/download"],
+ strip_prefix = "regex-1.8.4",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.regex-1.8.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__regex-syntax-0.7.2",
+ sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/regex-syntax/0.7.2/download"],
+ strip_prefix = "regex-syntax-0.7.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.regex-syntax-0.7.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__rustix-0.37.20",
+ sha256 = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rustix/0.37.20/download"],
+ strip_prefix = "rustix-0.37.20",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rustix-0.37.20.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__rustversion-1.0.12",
+ sha256 = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rustversion/1.0.12/download"],
+ strip_prefix = "rustversion-1.0.12",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rustversion-1.0.12.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__scopeguard-1.1.0",
+ sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/scopeguard/1.1.0/download"],
+ strip_prefix = "scopeguard-1.1.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.scopeguard-1.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__serde-1.0.164",
+ sha256 = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/serde/1.0.164/download"],
+ strip_prefix = "serde-1.0.164",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.serde-1.0.164.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__signal-hook-registry-1.4.1",
+ sha256 = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/signal-hook-registry/1.4.1/download"],
+ strip_prefix = "signal-hook-registry-1.4.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.signal-hook-registry-1.4.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__slab-0.4.8",
+ sha256 = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/slab/0.4.8/download"],
+ strip_prefix = "slab-0.4.8",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.slab-0.4.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__smallvec-1.10.0",
+ sha256 = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/smallvec/1.10.0/download"],
+ strip_prefix = "smallvec-1.10.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.smallvec-1.10.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__socket2-0.4.9",
+ sha256 = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/socket2/0.4.9/download"],
+ strip_prefix = "socket2-0.4.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.socket2-0.4.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__syn-1.0.109",
+ sha256 = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/syn/1.0.109/download"],
+ strip_prefix = "syn-1.0.109",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.syn-1.0.109.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__syn-2.0.18",
+ sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/syn/2.0.18/download"],
+ strip_prefix = "syn-2.0.18",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.syn-2.0.18.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__sync_wrapper-0.1.2",
+ sha256 = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/sync_wrapper/0.1.2/download"],
+ strip_prefix = "sync_wrapper-0.1.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.sync_wrapper-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tempfile-3.6.0",
+ sha256 = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tempfile/3.6.0/download"],
+ strip_prefix = "tempfile-3.6.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tempfile-3.6.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tokio-1.28.2",
+ sha256 = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio/1.28.2/download"],
+ strip_prefix = "tokio-1.28.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-1.28.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tokio-io-timeout-1.2.0",
+ sha256 = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-io-timeout/1.2.0/download"],
+ strip_prefix = "tokio-io-timeout-1.2.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-io-timeout-1.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tokio-macros-2.1.0",
+ sha256 = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-macros/2.1.0/download"],
+ strip_prefix = "tokio-macros-2.1.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-macros-2.1.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tokio-stream-0.1.14",
+ sha256 = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-stream/0.1.14/download"],
+ strip_prefix = "tokio-stream-0.1.14",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-stream-0.1.14.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tokio-util-0.7.8",
+ sha256 = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tokio-util/0.7.8/download"],
+ strip_prefix = "tokio-util-0.7.8",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-util-0.7.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tonic-0.9.2",
+ sha256 = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tonic/0.9.2/download"],
+ strip_prefix = "tonic-0.9.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tonic-0.9.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tonic-build-0.8.4",
+ sha256 = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tonic-build/0.8.4/download"],
+ strip_prefix = "tonic-build-0.8.4",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tonic-build-0.8.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tower-0.4.13",
+ sha256 = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tower/0.4.13/download"],
+ strip_prefix = "tower-0.4.13",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tower-0.4.13.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tower-layer-0.3.2",
+ sha256 = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tower-layer/0.3.2/download"],
+ strip_prefix = "tower-layer-0.3.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tower-layer-0.3.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tower-service-0.3.2",
+ sha256 = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tower-service/0.3.2/download"],
+ strip_prefix = "tower-service-0.3.2",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tower-service-0.3.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tracing-0.1.37",
+ sha256 = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tracing/0.1.37/download"],
+ strip_prefix = "tracing-0.1.37",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tracing-0.1.37.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tracing-attributes-0.1.26",
+ sha256 = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tracing-attributes/0.1.26/download"],
+ strip_prefix = "tracing-attributes-0.1.26",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tracing-attributes-0.1.26.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__tracing-core-0.1.31",
+ sha256 = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/tracing-core/0.1.31/download"],
+ strip_prefix = "tracing-core-0.1.31",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tracing-core-0.1.31.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__try-lock-0.2.4",
+ sha256 = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/try-lock/0.2.4/download"],
+ strip_prefix = "try-lock-0.2.4",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.try-lock-0.2.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__unicode-ident-1.0.9",
+ sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.9/download"],
+ strip_prefix = "unicode-ident-1.0.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.unicode-ident-1.0.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__want-0.3.1",
+ sha256 = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/want/0.3.1/download"],
+ strip_prefix = "want-0.3.1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.want-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__wasi-0.11.0-wasi-snapshot-preview1",
+ sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download"],
+ strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__which-4.4.0",
+ sha256 = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/which/4.4.0/download"],
+ strip_prefix = "which-4.4.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.which-4.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__winapi-0.3.9",
+ sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi/0.3.9/download"],
+ strip_prefix = "winapi-0.3.9",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.winapi-0.3.9.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__winapi-i686-pc-windows-gnu-0.4.0",
+ sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download"],
+ strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__winapi-x86_64-pc-windows-gnu-0.4.0",
+ sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"],
+ strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows-sys-0.48.0",
+ sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows-sys/0.48.0/download"],
+ strip_prefix = "windows-sys-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows-targets-0.48.0",
+ sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows-targets/0.48.0/download"],
+ strip_prefix = "windows-targets-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows-targets-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_aarch64_gnullvm-0.48.0",
+ sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.48.0/download"],
+ strip_prefix = "windows_aarch64_gnullvm-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_aarch64_msvc-0.48.0",
+ sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_aarch64_msvc/0.48.0/download"],
+ strip_prefix = "windows_aarch64_msvc-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_i686_gnu-0.48.0",
+ sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_i686_gnu/0.48.0/download"],
+ strip_prefix = "windows_i686_gnu-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_i686_msvc-0.48.0",
+ sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_i686_msvc/0.48.0/download"],
+ strip_prefix = "windows_i686_msvc-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_x86_64_gnu-0.48.0",
+ sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnu/0.48.0/download"],
+ strip_prefix = "windows_x86_64_gnu-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_x86_64_gnullvm-0.48.0",
+ sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.48.0/download"],
+ strip_prefix = "windows_x86_64_gnullvm-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_prost__windows_x86_64_msvc-0.48.0",
+ sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_x86_64_msvc/0.48.0/download"],
+ strip_prefix = "windows_x86_64_msvc-0.48.0",
+ build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"),
+ )
diff --git a/proto/prost/private/3rdparty/patches/BUILD.bazel b/proto/prost/private/3rdparty/patches/BUILD.bazel
new file mode 100644
index 0000000..700d415
--- /dev/null
+++ b/proto/prost/private/3rdparty/patches/BUILD.bazel
@@ -0,0 +1,3 @@
+exports_files([
+ "protoc-gen-prost.patch",
+])
diff --git a/proto/prost/private/3rdparty/patches/README.md b/proto/prost/private/3rdparty/patches/README.md
new file mode 100644
index 0000000..45bf60c
--- /dev/null
+++ b/proto/prost/private/3rdparty/patches/README.md
@@ -0,0 +1,6 @@
+# Patches
+
+## [protoc-gen-prost](./protoc-gen-prost.patch)
+
+This patch addresses the issue described in https://github.com/neoeinstein/protoc-gen-prost/issues/70.
+Whenever a version greater than `0.2.2` is released it can be dropped.
diff --git a/proto/prost/private/3rdparty/patches/protoc-gen-prost.patch b/proto/prost/private/3rdparty/patches/protoc-gen-prost.patch
new file mode 100644
index 0000000..25ab69a
--- /dev/null
+++ b/proto/prost/private/3rdparty/patches/protoc-gen-prost.patch
@@ -0,0 +1,33 @@
+diff --git a/src/lib.rs b/src/lib.rs
+index 43fc5ba..2098949 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -86,17 +86,17 @@ impl ModuleRequestSet {
+ |mut acc, (proto, raw)| {
+ let module = Module::from_protobuf_package_name(proto.package());
+ let proto_filename = proto.name();
+- let entry = acc.entry(module).or_insert_with(|| {
+- let mut request = ModuleRequest::new(proto.package().to_owned());
+- if input_protos.contains(proto_filename) {
+- let filename = match proto.package() {
+- "" => default_package_filename.to_owned(),
+- package => format!("{package}.rs"),
+- };
+- request.with_output_filename(filename);
+- }
+- request
+- });
++ let entry = acc
++ .entry(module)
++ .or_insert_with(|| ModuleRequest::new(proto.package().to_owned()));
++
++ if entry.output_filename().is_none() && input_protos.contains(proto_filename) {
++ let filename = match proto.package() {
++ "" => default_package_filename.to_owned(),
++ package => format!("{package}.rs"),
++ };
++ entry.with_output_filename(filename);
++ }
+
+ entry.push_file_descriptor_proto(proto, raw);
+ acc
diff --git a/proto/prost/private/BUILD.bazel b/proto/prost/private/BUILD.bazel
new file mode 100644
index 0000000..4e261c9
--- /dev/null
+++ b/proto/prost/private/BUILD.bazel
@@ -0,0 +1,68 @@
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_test")
+load("//proto/prost:defs.bzl", "rust_prost_toolchain")
+load("//rust:defs.bzl", "rust_library_group")
+load(":prost.bzl", "RUST_EDITION", "current_prost_runtime")
+
+current_prost_runtime(
+ name = "current_prost_runtime",
+)
+
+rust_binary(
+ name = "protoc_wrapper",
+ srcs = ["protoc_wrapper.rs"],
+ edition = RUST_EDITION,
+ visibility = ["//visibility:public"],
+ deps = [
+ ":current_prost_runtime",
+ "@rules_rust_prost__heck//:heck",
+ ],
+)
+
+rust_test(
+ name = "protoc_wrapper_test",
+ crate = ":protoc_wrapper",
+ edition = RUST_EDITION,
+)
+
+bzl_library(
+ name = "bzl_lib",
+ srcs = glob(["**/*.bzl"]),
+ visibility = ["//proto/prost:__pkg__"],
+ deps = [
+ "//proto/prost/private/3rdparty:bzl_lib",
+ ],
+)
+
+rust_library_group(
+ name = "prost_runtime",
+ deps = [
+ "//proto/prost/private/3rdparty/crates:prost",
+ ],
+)
+
+rust_library_group(
+ name = "tonic_runtime",
+ deps = [
+ ":prost_runtime",
+ "//proto/prost/private/3rdparty/crates:tonic",
+ ],
+)
+
+rust_prost_toolchain(
+ name = "default_prost_toolchain_impl",
+ prost_plugin = "//proto/prost/private/3rdparty/crates:protoc-gen-prost__protoc-gen-prost",
+ prost_plugin_flag = "--plugin=protoc-gen-prost=%s",
+ prost_runtime = ":prost_runtime",
+ prost_types = "//proto/prost/private/3rdparty/crates:prost-types",
+ proto_compiler = "@com_google_protobuf//:protoc",
+ tonic_plugin = "//proto/prost/private/3rdparty/crates:protoc-gen-tonic__protoc-gen-tonic",
+ tonic_plugin_flag = "--plugin=protoc-gen-tonic=%s",
+ tonic_runtime = ":tonic_runtime",
+)
+
+toolchain(
+ name = "default_prost_toolchain",
+ toolchain = "default_prost_toolchain_impl",
+ toolchain_type = "//proto/prost:toolchain_type",
+)
diff --git a/proto/prost/private/prost.bzl b/proto/prost/private/prost.bzl
new file mode 100644
index 0000000..e2b6c39
--- /dev/null
+++ b/proto/prost/private/prost.bzl
@@ -0,0 +1,456 @@
+"""Rules for building protos in Rust with Prost and Tonic."""
+
+load("@rules_proto//proto:defs.bzl", "ProtoInfo", "proto_common")
+load("//rust:defs.bzl", "rust_common")
+
+# buildifier: disable=bzl-visibility
+load("//rust/private:rustc.bzl", "rustc_compile_action")
+
+# buildifier: disable=bzl-visibility
+load("//rust/private:utils.bzl", "can_build_metadata")
+
+RUST_EDITION = "2021"
+
+TOOLCHAIN_TYPE = "@rules_rust//proto/prost:toolchain_type"
+
+ProstProtoInfo = provider(
+ doc = "Rust Prost provider info",
+ fields = {
+ "dep_variant_info": "DepVariantInfo: For the compiled Rust gencode (also covers its " +
+ "transitive dependencies)",
+ "package_info": "File: A newline delimited file of `--extern_path` values for protoc.",
+ "transitive_dep_infos": "depset[DepVariantInfo]: Transitive dependencies of the compiled crate.",
+ },
+)
+
+def _create_proto_lang_toolchain(ctx, prost_toolchain):
+ proto_lang_toolchain = proto_common.ProtoLangToolchainInfo(
+ out_replacement_format_flag = "--prost_out=%s",
+ plugin_format_flag = prost_toolchain.prost_plugin_flag,
+ plugin = prost_toolchain.prost_plugin[DefaultInfo].files_to_run,
+ runtime = prost_toolchain.prost_runtime,
+ provided_proto_sources = depset(),
+ proto_compiler = ctx.attr._prost_process_wrapper[DefaultInfo].files_to_run,
+ protoc_opts = prost_toolchain.protoc_opts,
+ progress_message = "ProstGenProto %{label}",
+ mnemonic = "ProstGenProto",
+ )
+
+ return proto_lang_toolchain
+
+def _compile_proto(ctx, crate_name, proto_info, deps, prost_toolchain, rustfmt_toolchain = None):
+ deps_info_file = ctx.actions.declare_file(ctx.label.name + ".prost_deps_info")
+ dep_package_infos = [dep[ProstProtoInfo].package_info for dep in deps]
+ ctx.actions.write(
+ output = deps_info_file,
+ content = "\n".join([file.path for file in dep_package_infos]),
+ )
+
+ package_info_file = ctx.actions.declare_file(ctx.label.name + ".prost_package_info")
+ lib_rs = ctx.actions.declare_file("{}.lib.rs".format(ctx.label.name))
+
+ proto_compiler = prost_toolchain.proto_compiler[DefaultInfo].files_to_run
+ tools = depset([proto_compiler.executable])
+
+ additional_args = ctx.actions.args()
+
+ # Prost process wrapper specific args
+ additional_args.add("--protoc={}".format(proto_compiler.executable.path))
+ additional_args.add("--label={}".format(ctx.label))
+ additional_args.add("--out_librs={}".format(lib_rs.path))
+ additional_args.add("--package_info_output={}".format("{}={}".format(crate_name, package_info_file.path)))
+ additional_args.add("--deps_info={}".format(deps_info_file.path))
+ additional_args.add("--prost_opt=compile_well_known_types")
+ additional_args.add("--descriptor_set={}".format(proto_info.direct_descriptor_set.path))
+ additional_args.add_all(prost_toolchain.prost_opts, format_each = "--prost_opt=%s")
+
+ if prost_toolchain.tonic_plugin:
+ tonic_plugin = prost_toolchain.tonic_plugin[DefaultInfo].files_to_run
+ additional_args.add(prost_toolchain.tonic_plugin_flag % tonic_plugin.executable.path)
+ additional_args.add("--tonic_opt=no_include")
+ additional_args.add("--tonic_opt=compile_well_known_types")
+ additional_args.add("--is_tonic")
+ additional_args.add_all(prost_toolchain.tonic_opts, format_each = "--tonic_opt=%s")
+ tools = depset([tonic_plugin.executable], transitive = [tools])
+
+ if rustfmt_toolchain:
+ additional_args.add("--rustfmt={}".format(rustfmt_toolchain.rustfmt.path))
+ tools = depset(transitive = [tools, rustfmt_toolchain.all_files])
+
+ additional_inputs = depset([deps_info_file, proto_info.direct_descriptor_set] + [dep[ProstProtoInfo].package_info for dep in deps])
+
+ proto_common.compile(
+ actions = ctx.actions,
+ proto_info = proto_info,
+ additional_tools = tools.to_list(),
+ additional_inputs = additional_inputs,
+ additional_args = additional_args,
+ generated_files = [lib_rs, package_info_file],
+ proto_lang_toolchain_info = _create_proto_lang_toolchain(ctx, prost_toolchain),
+ plugin_output = ctx.bin_dir.path,
+ )
+
+ return lib_rs, package_info_file
+
+def _get_crate_info(providers):
+ """Finds the CrateInfo provider in the list of providers."""
+ for provider in providers:
+ if hasattr(provider, "name"):
+ return provider
+ fail("Couldn't find a CrateInfo in the list of providers")
+
+def _get_dep_info(providers):
+ """Finds the DepInfo provider in the list of providers."""
+ for provider in providers:
+ if hasattr(provider, "direct_crates"):
+ return provider
+ fail("Couldn't find a DepInfo in the list of providers")
+
+def _get_cc_info(providers):
+ """Finds the CcInfo provider in the list of providers."""
+ for provider in providers:
+ if hasattr(provider, "linking_context"):
+ return provider
+ fail("Couldn't find a CcInfo in the list of providers")
+
+def _compile_rust(ctx, attr, crate_name, src, deps, edition):
+ """Compiles a Rust source file.
+
+ Args:
+ ctx (RuleContext): The rule context.
+ attr (Attrs): The current rule's attributes (`ctx.attr` for rules, `ctx.rule.attr` for aspects)
+ crate_name (str): The crate module name to use.
+ src (File): The crate root source file to be compiled.
+ deps (List of DepVariantInfo): A list of dependencies needed.
+ edition (str): The Rust edition to use.
+
+ Returns:
+ A DepVariantInfo provider.
+ """
+ toolchain = ctx.toolchains["@rules_rust//rust:toolchain_type"]
+ output_hash = repr(hash(src.path + ".prost"))
+
+ lib_name = "{prefix}{name}-{lib_hash}{extension}".format(
+ prefix = "lib",
+ name = crate_name,
+ lib_hash = output_hash,
+ extension = ".rlib",
+ )
+
+ rmeta_name = "{prefix}{name}-{lib_hash}{extension}".format(
+ prefix = "lib",
+ name = crate_name,
+ lib_hash = output_hash,
+ extension = ".rmeta",
+ )
+
+ lib = ctx.actions.declare_file(lib_name)
+ rmeta = None
+
+ if can_build_metadata(toolchain, ctx, "rlib"):
+ rmeta_name = "{prefix}{name}-{lib_hash}{extension}".format(
+ prefix = "lib",
+ name = crate_name,
+ lib_hash = output_hash,
+ extension = ".rmeta",
+ )
+ rmeta = ctx.actions.declare_file(rmeta_name)
+
+ providers = rustc_compile_action(
+ ctx = ctx,
+ attr = attr,
+ toolchain = toolchain,
+ crate_info = rust_common.create_crate_info(
+ name = crate_name,
+ type = "rlib",
+ root = src,
+ srcs = depset([src]),
+ deps = depset(deps),
+ proc_macro_deps = depset([]),
+ aliases = {},
+ output = lib,
+ metadata = rmeta,
+ edition = edition,
+ is_test = False,
+ rustc_env = {},
+ compile_data = depset([]),
+ compile_data_targets = depset([]),
+ owner = ctx.label,
+ ),
+ output_hash = output_hash,
+ )
+
+ crate_info = _get_crate_info(providers)
+ dep_info = _get_dep_info(providers)
+ cc_info = _get_cc_info(providers)
+
+ return rust_common.dep_variant_info(
+ crate_info = crate_info,
+ dep_info = dep_info,
+ cc_info = cc_info,
+ build_info = None,
+ )
+
+def _rust_prost_aspect_impl(target, ctx):
+ if ProstProtoInfo in target:
+ return []
+
+ runtime_deps = []
+
+ rustfmt_toolchain = ctx.toolchains["@rules_rust//rust/rustfmt:toolchain_type"]
+ prost_toolchain = ctx.toolchains["@rules_rust//proto/prost:toolchain_type"]
+ for prost_runtime in [prost_toolchain.prost_runtime, prost_toolchain.tonic_runtime]:
+ if not prost_runtime:
+ continue
+ if rust_common.crate_group_info in prost_runtime:
+ crate_group_info = prost_runtime[rust_common.crate_group_info]
+ runtime_deps.extend(crate_group_info.dep_variant_infos.to_list())
+ else:
+ runtime_deps.append(rust_common.dep_variant_info(
+ crate_info = prost_runtime[rust_common.crate_info] if rust_common.crate_info in prost_runtime else None,
+ dep_info = prost_runtime[rust_common.dep_info] if rust_common.dep_info in prost_runtime else None,
+ cc_info = prost_runtime[CcInfo] if CcInfo in prost_runtime else None,
+ build_info = None,
+ ))
+
+ proto_deps = getattr(ctx.rule.attr, "deps", [])
+
+ direct_deps = []
+ transitive_deps = []
+ for proto_dep in proto_deps:
+ proto_info = proto_dep[ProstProtoInfo]
+
+ direct_deps.append(proto_info.dep_variant_info)
+ transitive_deps.append(depset(
+ [proto_info.dep_variant_info],
+ transitive = [proto_info.transitive_dep_infos],
+ ))
+
+ deps = runtime_deps + direct_deps
+
+ crate_name = ctx.label.name.replace("-", "_").replace("/", "_")
+
+ proto_info = target[ProtoInfo]
+
+ lib_rs, package_info_file = _compile_proto(
+ ctx = ctx,
+ crate_name = crate_name,
+ proto_info = proto_info,
+ deps = proto_deps,
+ prost_toolchain = prost_toolchain,
+ rustfmt_toolchain = rustfmt_toolchain,
+ )
+
+ dep_variant_info = _compile_rust(
+ ctx = ctx,
+ attr = ctx.rule.attr,
+ crate_name = crate_name,
+ src = lib_rs,
+ deps = deps,
+ edition = RUST_EDITION,
+ )
+
+ return [
+ ProstProtoInfo(
+ dep_variant_info = dep_variant_info,
+ transitive_dep_infos = depset(transitive = transitive_deps),
+ package_info = package_info_file,
+ ),
+ ]
+
+rust_prost_aspect = aspect(
+ doc = "An aspect used to generate and compile proto files with Prost.",
+ implementation = _rust_prost_aspect_impl,
+ attr_aspects = ["deps"],
+ attrs = {
+ "_cc_toolchain": attr.label(
+ doc = (
+ "In order to use find_cc_toolchain, your rule has to depend " +
+ "on C++ toolchain. See `@rules_cc//cc:find_cc_toolchain.bzl` " +
+ "docs for details."
+ ),
+ default = Label("@bazel_tools//tools/cpp:current_cc_toolchain"),
+ ),
+ "_collect_cc_coverage": attr.label(
+ default = Label("//util:collect_coverage"),
+ executable = True,
+ cfg = "exec",
+ ),
+ "_error_format": attr.label(
+ default = Label("//:error_format"),
+ ),
+ "_extra_exec_rustc_flag": attr.label(
+ default = Label("//:extra_exec_rustc_flag"),
+ ),
+ "_extra_exec_rustc_flags": attr.label(
+ default = Label("//:extra_exec_rustc_flags"),
+ ),
+ "_extra_rustc_flag": attr.label(
+ default = Label("//:extra_rustc_flag"),
+ ),
+ "_extra_rustc_flags": attr.label(
+ default = Label("//:extra_rustc_flags"),
+ ),
+ "_grep_includes": attr.label(
+ allow_single_file = True,
+ default = Label("@bazel_tools//tools/cpp:grep-includes"),
+ cfg = "exec",
+ ),
+ "_process_wrapper": attr.label(
+ doc = "A process wrapper for running rustc on all platforms.",
+ default = Label("//util/process_wrapper"),
+ executable = True,
+ allow_single_file = True,
+ cfg = "exec",
+ ),
+ "_prost_process_wrapper": attr.label(
+ doc = "The wrapper script for the Prost protoc plugin.",
+ cfg = "exec",
+ executable = True,
+ default = Label("//proto/prost/private:protoc_wrapper"),
+ ),
+ },
+ fragments = ["cpp"],
+ host_fragments = ["cpp"],
+ toolchains = [
+ TOOLCHAIN_TYPE,
+ "@bazel_tools//tools/cpp:toolchain_type",
+ "@rules_rust//rust:toolchain_type",
+ "@rules_rust//rust/rustfmt:toolchain_type",
+ ],
+ incompatible_use_toolchain_transition = True,
+)
+
+def _rust_prost_library_impl(ctx):
+ proto_dep = ctx.attr.proto
+ rust_proto_info = proto_dep[ProstProtoInfo]
+ dep_variant_info = rust_proto_info.dep_variant_info
+
+ return [
+ DefaultInfo(files = depset([dep_variant_info.crate_info.output])),
+ rust_common.crate_group_info(
+ dep_variant_infos = depset(
+ [dep_variant_info],
+ transitive = [rust_proto_info.transitive_dep_infos],
+ ),
+ ),
+ ]
+
+rust_prost_library = rule(
+ doc = "A rule for generating a Rust library using Prost.",
+ implementation = _rust_prost_library_impl,
+ attrs = {
+ "proto": attr.label(
+ doc = "A `proto_library` target for which to generate Rust gencode.",
+ providers = [ProtoInfo],
+ aspects = [rust_prost_aspect],
+ mandatory = True,
+ ),
+ "_collect_cc_coverage": attr.label(
+ default = Label("@rules_rust//util:collect_coverage"),
+ executable = True,
+ cfg = "exec",
+ ),
+ },
+)
+
+def _rust_prost_toolchain_impl(ctx):
+ tonic_attrs = [ctx.attr.tonic_plugin_flag, ctx.attr.tonic_plugin, ctx.attr.tonic_runtime]
+ if any(tonic_attrs) and not all(tonic_attrs):
+ fail("When one tonic attribute is added, all must be added")
+
+ return [platform_common.ToolchainInfo(
+ prost_opts = ctx.attr.prost_opts,
+ prost_plugin = ctx.attr.prost_plugin,
+ prost_plugin_flag = ctx.attr.prost_plugin_flag,
+ prost_runtime = ctx.attr.prost_runtime,
+ prost_types = ctx.attr.prost_types,
+ proto_compiler = ctx.attr.proto_compiler,
+ protoc_opts = ctx.fragments.proto.experimental_protoc_opts,
+ tonic_opts = ctx.attr.tonic_opts,
+ tonic_plugin = ctx.attr.tonic_plugin,
+ tonic_plugin_flag = ctx.attr.tonic_plugin_flag,
+ tonic_runtime = ctx.attr.tonic_runtime,
+ )]
+
+rust_prost_toolchain = rule(
+ implementation = _rust_prost_toolchain_impl,
+ doc = "Rust Prost toolchain rule.",
+ fragments = ["proto"],
+ attrs = {
+ "prost_opts": attr.string_list(
+ doc = "Additional options to add to Prost.",
+ ),
+ "prost_plugin": attr.label(
+ doc = "Additional plugins to add to Prost.",
+ cfg = "exec",
+ executable = True,
+ mandatory = True,
+ ),
+ "prost_plugin_flag": attr.string(
+ doc = "Prost plugin flag format. (e.g. `--plugin=protoc-gen-prost=%s`)",
+ mandatory = True,
+ default = "--plugin=protoc-gen-prost=%s",
+ ),
+ "prost_runtime": attr.label(
+ doc = "The Prost runtime crates to use.",
+ providers = [[rust_common.crate_info], [rust_common.crate_group_info]],
+ mandatory = True,
+ ),
+ "prost_types": attr.label(
+ doc = "The Prost types crates to use.",
+ providers = [[rust_common.crate_info], [rust_common.crate_group_info]],
+ mandatory = True,
+ ),
+ "proto_compiler": attr.label(
+ doc = "The protoc compiler to use.",
+ cfg = "exec",
+ executable = True,
+ mandatory = True,
+ ),
+ "tonic_opts": attr.string_list(
+ doc = "Additional options to add to Tonic.",
+ ),
+ "tonic_plugin": attr.label(
+ doc = "Additional plugins to add to Tonic.",
+ cfg = "exec",
+ executable = True,
+ ),
+ "tonic_plugin_flag": attr.string(
+ doc = "Tonic plugin flag format. (e.g. `--plugin=protoc-gen-tonic=%s`))",
+ default = "--plugin=protoc-gen-tonic=%s",
+ ),
+ "tonic_runtime": attr.label(
+ doc = "The Tonic runtime crates to use.",
+ providers = [[rust_common.crate_info], [rust_common.crate_group_info]],
+ ),
+ },
+)
+
+def _current_prost_runtime_impl(ctx):
+ toolchain = ctx.toolchains[TOOLCHAIN_TYPE]
+
+ runtime_deps = []
+
+ for target in [toolchain.prost_runtime, toolchain.prost_types]:
+ if rust_common.crate_group_info in target:
+ crate_group_info = target[rust_common.crate_group_info]
+ runtime_deps.extend(crate_group_info.dep_variant_infos.to_list())
+ else:
+ runtime_deps.append(rust_common.dep_variant_info(
+ crate_info = target[rust_common.crate_info] if rust_common.crate_info in target else None,
+ dep_info = target[rust_common.dep_info] if rust_common.dep_info in target else None,
+ cc_info = target[CcInfo] if CcInfo in target else None,
+ build_info = None,
+ ))
+
+ return [rust_common.crate_group_info(
+ dep_variant_infos = depset(runtime_deps),
+ )]
+
+current_prost_runtime = rule(
+ doc = "A rule for accessing the current Prost toolchain components needed by the process wrapper",
+ provides = [rust_common.crate_group_info],
+ implementation = _current_prost_runtime_impl,
+ toolchains = [TOOLCHAIN_TYPE],
+)
diff --git a/proto/prost/private/protoc_wrapper.rs b/proto/prost/private/protoc_wrapper.rs
new file mode 100644
index 0000000..2a0b555
--- /dev/null
+++ b/proto/prost/private/protoc_wrapper.rs
@@ -0,0 +1,1261 @@
+//! A process wrapper for running a Protobuf compiler configured for Prost or Tonic output in a Bazel rule.
+
+use std::collections::BTreeMap;
+use std::collections::BTreeSet;
+use std::fmt::{Display, Formatter, Write};
+use std::fs;
+use std::path::Path;
+use std::path::PathBuf;
+use std::process;
+use std::{env, fmt};
+
+use heck::ToSnakeCase;
+use prost::Message;
+use prost_types::{
+ DescriptorProto, EnumDescriptorProto, FileDescriptorProto, FileDescriptorSet,
+ OneofDescriptorProto,
+};
+
+/// Locate prost outputs in the protoc output directory.
+fn find_generated_rust_files(out_dir: &Path) -> BTreeSet<PathBuf> {
+ let mut all_rs_files: BTreeSet<PathBuf> = BTreeSet::new();
+ for entry in fs::read_dir(out_dir).expect("Failed to read directory") {
+ let entry = entry.expect("Failed to read entry");
+ let path = entry.path();
+ if path.is_dir() {
+ for f in find_generated_rust_files(&path) {
+ all_rs_files.insert(f);
+ }
+ } else if let Some(ext) = path.extension() {
+ if ext == "rs" {
+ all_rs_files.insert(path);
+ }
+ } else if let Some(name) = path.file_name() {
+ // The filename is set to `_` when the package name is empty.
+ if name == "_" {
+ let rs_name = path.parent().expect("Failed to get parent").join("_.rs");
+ fs::rename(&path, &rs_name).unwrap_or_else(|err| {
+ panic!("Failed to rename file: {err:?}: {path:?} -> {rs_name:?}")
+ });
+ all_rs_files.insert(rs_name);
+ }
+ }
+ }
+
+ all_rs_files
+}
+
+fn snake_cased_package_name(package: &str) -> String {
+ if package == "_" {
+ return package.to_owned();
+ }
+
+ package
+ .split('.')
+ .map(|s| s.to_snake_case())
+ .collect::<Vec<_>>()
+ .join(".")
+}
+
+/// Rust module definition.
+#[derive(Debug, Default)]
+struct Module {
+ /// The name of the module.
+ name: String,
+
+ /// The contents of the module.
+ contents: String,
+
+ /// The names of any other modules which are submodules of this module.
+ submodules: BTreeSet<String>,
+}
+
+/// Generate a lib.rs file with all prost/tonic outputs embeeded in modules which
+/// mirror the proto packages. For the example proto file we would expect to see
+/// the Rust output that follows it.
+///
+/// ```proto
+/// syntax = "proto3";
+/// package examples.prost.helloworld;
+///
+/// message HelloRequest {
+/// // Request message contains the name to be greeted
+/// string name = 1;
+/// }
+//
+/// message HelloReply {
+/// // Reply contains the greeting message
+/// string message = 1;
+/// }
+/// ```
+///
+/// This is expected to render out to something like the following. Note that
+/// formatting is not applied so indentation may be missing in the actual output.
+///
+/// ```ignore
+/// pub mod examples {
+/// pub mod prost {
+/// pub mod helloworld {
+/// // @generated
+/// #[allow(clippy::derive_partial_eq_without_eq)]
+/// #[derive(Clone, PartialEq, ::prost::Message)]
+/// pub struct HelloRequest {
+/// /// Request message contains the name to be greeted
+/// #[prost(string, tag = "1")]
+/// pub name: ::prost::alloc::string::String,
+/// }
+/// #[allow(clippy::derive_partial_eq_without_eq)]
+/// #[derive(Clone, PartialEq, ::prost::Message)]
+/// pub struct HelloReply {
+/// /// Reply contains the greeting message
+/// #[prost(string, tag = "1")]
+/// pub message: ::prost::alloc::string::String,
+/// }
+/// // @protoc_insertion_point(module)
+/// }
+/// }
+/// }
+/// ```
+fn generate_lib_rs(prost_outputs: &BTreeSet<PathBuf>, is_tonic: bool) -> String {
+ let mut module_info = BTreeMap::new();
+
+ for path in prost_outputs.iter() {
+ let mut package = path
+ .file_stem()
+ .expect("Failed to get file stem")
+ .to_str()
+ .expect("Failed to convert to str")
+ .to_string();
+
+ if is_tonic {
+ package = package
+ .strip_suffix(".tonic")
+ .expect("Failed to strip suffix")
+ .to_string()
+ };
+
+ if package.is_empty() {
+ continue;
+ }
+
+ let name = if package == "_" {
+ package.clone()
+ } else if package.contains('.') {
+ package
+ .rsplit_once('.')
+ .expect("Failed to split on '.'")
+ .1
+ .to_snake_case()
+ .to_string()
+ } else {
+ package.to_snake_case()
+ };
+
+ // Avoid a stack overflow by skipping a known bad package name
+ let module_name = snake_cased_package_name(&package);
+
+ module_info.insert(
+ module_name.clone(),
+ Module {
+ name,
+ contents: fs::read_to_string(path).expect("Failed to read file"),
+ submodules: BTreeSet::new(),
+ },
+ );
+
+ let module_parts = module_name.split('.').collect::<Vec<_>>();
+ for parent_module_index in 0..module_parts.len() {
+ let child_module_index = parent_module_index + 1;
+ if child_module_index >= module_parts.len() {
+ break;
+ }
+ let full_parent_module_name = module_parts[0..parent_module_index + 1].join(".");
+ let parent_module_name = module_parts[parent_module_index];
+ let child_module_name = module_parts[child_module_index];
+
+ module_info
+ .entry(full_parent_module_name.clone())
+ .and_modify(|parent_module| {
+ parent_module
+ .submodules
+ .insert(child_module_name.to_string());
+ })
+ .or_insert(Module {
+ name: parent_module_name.to_string(),
+ contents: "".to_string(),
+ submodules: [child_module_name.to_string()].iter().cloned().collect(),
+ });
+ }
+ }
+
+ let mut content = "// @generated\n\n".to_string();
+ write_module(&mut content, &module_info, "", 0);
+ content
+}
+
+/// Write out a rust module and all of its submodules.
+fn write_module(
+ content: &mut String,
+ module_info: &BTreeMap<String, Module>,
+ module_name: &str,
+ depth: usize,
+) {
+ if module_name.is_empty() {
+ for submodule_name in module_info.keys() {
+ write_module(content, module_info, submodule_name, depth + 1);
+ }
+ return;
+ }
+ let module = module_info.get(module_name).expect("Failed to get module");
+ let indent = " ".repeat(depth);
+ let is_rust_module = module.name != "_";
+
+ if is_rust_module {
+ let rust_module_name = escape_keyword(module.name.clone());
+ content
+ .write_str(&format!("{}pub mod {} {{\n", indent, rust_module_name))
+ .expect("Failed to write string");
+ }
+
+ content
+ .write_str(&module.contents)
+ .expect("Failed to write string");
+
+ for submodule_name in module.submodules.iter() {
+ write_module(
+ content,
+ module_info,
+ [module_name, submodule_name].join(".").as_str(),
+ depth + 1,
+ );
+ }
+
+ if is_rust_module {
+ content
+ .write_str(&format!("{}}}\n", indent))
+ .expect("Failed to write string");
+ }
+}
+
+/// ProtoPath is a path to a proto message, enum, or oneof.
+///
+/// Example: `helloworld.Greeter.HelloRequest`
+#[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq)]
+struct ProtoPath(String);
+
+impl ProtoPath {
+ /// Join a component to the end of the path.
+ fn join(&self, component: &str) -> ProtoPath {
+ if self.0.is_empty() {
+ return ProtoPath(component.to_string());
+ }
+ if component.is_empty() {
+ return self.clone();
+ }
+
+ ProtoPath(format!("{}.{}", self.0, component))
+ }
+}
+
+impl Display for ProtoPath {
+ fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
+ write!(f, "{}", self.0)
+ }
+}
+
+impl From<&str> for ProtoPath {
+ fn from(path: &str) -> Self {
+ ProtoPath(path.to_string())
+ }
+}
+
+/// RustModulePath is a path to a rust module.
+///
+/// Example: `helloworld::greeter::HelloRequest`
+#[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq)]
+struct RustModulePath(String);
+
+impl RustModulePath {
+ /// Join a path to the end of the module path.
+ fn join(&self, path: &str) -> RustModulePath {
+ if self.0.is_empty() {
+ return RustModulePath(path.to_string());
+ }
+ if path.is_empty() {
+ return self.clone();
+ }
+
+ RustModulePath(format!("{}::{}", self.0, path))
+ }
+}
+
+impl Display for RustModulePath {
+ fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
+ write!(f, "{}", self.0)
+ }
+}
+
+impl From<&str> for RustModulePath {
+ fn from(path: &str) -> Self {
+ RustModulePath(path.to_string())
+ }
+}
+
+/// Compute the `--extern_path` flags for a list of proto files. This is
+/// expected to convert proto files into a BTreeMap of
+/// `example.prost.helloworld`: `crate_name::example::prost::helloworld`.
+fn get_extern_paths(
+ descriptor_set: &FileDescriptorSet,
+ crate_name: &str,
+) -> Result<BTreeMap<ProtoPath, RustModulePath>, String> {
+ let mut extern_paths = BTreeMap::new();
+ let rust_path = RustModulePath(crate_name.to_string());
+
+ for file in descriptor_set.file.iter() {
+ descriptor_set_file_to_extern_paths(&mut extern_paths, &rust_path, file);
+ }
+
+ Ok(extern_paths)
+}
+
+/// Add the extern_path pairs for a file descriptor type.
+fn descriptor_set_file_to_extern_paths(
+ extern_paths: &mut BTreeMap<ProtoPath, RustModulePath>,
+ rust_path: &RustModulePath,
+ file: &FileDescriptorProto,
+) {
+ let package = file.package.clone().unwrap_or_default();
+ let rust_path = rust_path.join(&snake_cased_package_name(&package).replace('.', "::"));
+ let proto_path = ProtoPath(package);
+
+ for message_type in file.message_type.iter() {
+ message_type_to_extern_paths(extern_paths, &proto_path, &rust_path, message_type);
+ }
+
+ for enum_type in file.enum_type.iter() {
+ enum_type_to_extern_paths(extern_paths, &proto_path, &rust_path, enum_type);
+ }
+}
+
+/// Add the extern_path pairs for a message descriptor type.
+fn message_type_to_extern_paths(
+ extern_paths: &mut BTreeMap<ProtoPath, RustModulePath>,
+ proto_path: &ProtoPath,
+ rust_path: &RustModulePath,
+ message_type: &DescriptorProto,
+) {
+ let message_type_name = message_type
+ .name
+ .as_ref()
+ .expect("Failed to get message type name");
+
+ extern_paths.insert(
+ proto_path.join(message_type_name),
+ rust_path.join(message_type_name),
+ );
+
+ let name_lower = message_type_name.to_lowercase();
+ let proto_path = proto_path.join(&name_lower);
+ let rust_path = rust_path.join(&name_lower);
+
+ for nested_type in message_type.nested_type.iter() {
+ message_type_to_extern_paths(extern_paths, &proto_path, &rust_path, nested_type)
+ }
+
+ for enum_type in message_type.enum_type.iter() {
+ enum_type_to_extern_paths(extern_paths, &proto_path, &rust_path, enum_type);
+ }
+
+ for oneof_type in message_type.oneof_decl.iter() {
+ oneof_type_to_extern_paths(extern_paths, &proto_path, &rust_path, oneof_type);
+ }
+}
+
+/// Add the extern_path pairs for an enum type.
+fn enum_type_to_extern_paths(
+ extern_paths: &mut BTreeMap<ProtoPath, RustModulePath>,
+ proto_path: &ProtoPath,
+ rust_path: &RustModulePath,
+ enum_type: &EnumDescriptorProto,
+) {
+ let enum_type_name = enum_type
+ .name
+ .as_ref()
+ .expect("Failed to get enum type name");
+ extern_paths.insert(
+ proto_path.join(enum_type_name),
+ rust_path.join(enum_type_name),
+ );
+}
+
+fn oneof_type_to_extern_paths(
+ extern_paths: &mut BTreeMap<ProtoPath, RustModulePath>,
+ proto_path: &ProtoPath,
+ rust_path: &RustModulePath,
+ oneof_type: &OneofDescriptorProto,
+) {
+ let oneof_type_name = oneof_type
+ .name
+ .as_ref()
+ .expect("Failed to get oneof type name");
+ extern_paths.insert(
+ proto_path.join(oneof_type_name),
+ rust_path.join(oneof_type_name),
+ );
+}
+
+/// The parsed command-line arguments.
+struct Args {
+ /// The path to the protoc binary.
+ protoc: PathBuf,
+
+ /// The path to the output directory.
+ out_dir: PathBuf,
+
+ /// The name of the crate.
+ crate_name: String,
+
+ /// The bazel label.
+ label: String,
+
+ /// The path to the package info file.
+ package_info_file: PathBuf,
+
+ /// The proto files to compile.
+ proto_files: Vec<PathBuf>,
+
+ /// The include directories.
+ includes: Vec<String>,
+
+ /// Dependency descriptor sets.
+ descriptor_set: PathBuf,
+
+ /// The path to the generated lib.rs file.
+ out_librs: PathBuf,
+
+ /// The proto include paths.
+ proto_paths: Vec<String>,
+
+ /// The path to the rustfmt binary.
+ rustfmt: Option<PathBuf>,
+
+ /// Whether to generate tonic code.
+ is_tonic: bool,
+
+ /// Extra arguments to pass to protoc.
+ extra_args: Vec<String>,
+}
+
+impl Args {
+ /// Parse the command-line arguments.
+ fn parse() -> Result<Args, String> {
+ let mut protoc: Option<PathBuf> = None;
+ let mut out_dir: Option<PathBuf> = None;
+ let mut crate_name: Option<String> = None;
+ let mut package_info_file: Option<PathBuf> = None;
+ let mut proto_files: Vec<PathBuf> = Vec::new();
+ let mut includes = Vec::new();
+ let mut descriptor_set = None;
+ let mut out_librs: Option<PathBuf> = None;
+ let mut rustfmt: Option<PathBuf> = None;
+ let mut proto_paths = Vec::new();
+ let mut label: Option<String> = None;
+ let mut tonic_or_prost_opts = Vec::new();
+ let mut is_tonic = false;
+
+ let mut extra_args = Vec::new();
+
+ // Iterate over the given command line arguments parsing out arguments
+ // for the process runner and arguments for protoc and potentially spawn
+ // additional arguments needed by prost.
+ for arg in env::args().skip(1) {
+ if !arg.starts_with('-') {
+ proto_files.push(PathBuf::from(arg));
+ continue;
+ }
+
+ if arg.starts_with("-I") {
+ includes.push(
+ arg.strip_prefix("-I")
+ .expect("Failed to strip -I")
+ .to_string(),
+ );
+ continue;
+ }
+
+ if arg == "--is_tonic" {
+ is_tonic = true;
+ continue;
+ }
+
+ if !arg.contains('=') {
+ extra_args.push(arg);
+ continue;
+ }
+
+ let parts = arg.split_once('=').expect("Failed to split argument on =");
+ match parts {
+ ("--protoc", value) => {
+ protoc = Some(PathBuf::from(value));
+ }
+ ("--prost_out", value) => {
+ out_dir = Some(PathBuf::from(value));
+ }
+ ("--package_info_output", value) => {
+ let (key, value) = value
+ .split_once('=')
+ .map(|(a, b)| (a.to_string(), PathBuf::from(b)))
+ .expect("Failed to parse package info output");
+ crate_name = Some(key);
+ package_info_file = Some(value);
+ }
+ ("--deps_info", value) => {
+ for line in fs::read_to_string(value)
+ .expect("Failed to read file")
+ .lines()
+ {
+ let path = PathBuf::from(line.trim());
+ for flag in fs::read_to_string(path)
+ .expect("Failed to read file")
+ .lines()
+ {
+ tonic_or_prost_opts.push(format!("extern_path={}", flag.trim()));
+ }
+ }
+ }
+ ("--descriptor_set", value) => {
+ descriptor_set = Some(PathBuf::from(value));
+ }
+ ("--out_librs", value) => {
+ out_librs = Some(PathBuf::from(value));
+ }
+ ("--rustfmt", value) => {
+ rustfmt = Some(PathBuf::from(value));
+ }
+ ("--proto_path", value) => {
+ proto_paths.push(value.to_string());
+ }
+ ("--label", value) => {
+ label = Some(value.to_string());
+ }
+ (arg, value) => {
+ extra_args.push(format!("{}={}", arg, value));
+ }
+ }
+ }
+
+ for tonic_or_prost_opt in tonic_or_prost_opts {
+ extra_args.push(format!("--prost_opt={}", tonic_or_prost_opt));
+ if is_tonic {
+ extra_args.push(format!("--tonic_opt={}", tonic_or_prost_opt));
+ }
+ }
+
+ if protoc.is_none() {
+ return Err(
+ "No `--protoc` value was found. Unable to parse path to proto compiler."
+ .to_string(),
+ );
+ }
+ if out_dir.is_none() {
+ return Err(
+ "No `--prost_out` value was found. Unable to parse output directory.".to_string(),
+ );
+ }
+ if crate_name.is_none() {
+ return Err(
+ "No `--package_info_output` value was found. Unable to parse target crate name."
+ .to_string(),
+ );
+ }
+ if package_info_file.is_none() {
+ return Err("No `--package_info_output` value was found. Unable to parse package info output file.".to_string());
+ }
+ if out_librs.is_none() {
+ return Err("No `--out_librs` value was found. Unable to parse the output location for all combined prost outputs.".to_string());
+ }
+ if descriptor_set.is_none() {
+ return Err(
+ "No `--descriptor_set` value was found. Unable to parse descriptor set path."
+ .to_string(),
+ );
+ }
+ if label.is_none() {
+ return Err(
+ "No `--label` value was found. Unable to parse the label of the target crate."
+ .to_string(),
+ );
+ }
+
+ Ok(Args {
+ protoc: protoc.unwrap(),
+ out_dir: out_dir.unwrap(),
+ crate_name: crate_name.unwrap(),
+ package_info_file: package_info_file.unwrap(),
+ proto_files,
+ includes,
+ descriptor_set: descriptor_set.unwrap(),
+ out_librs: out_librs.unwrap(),
+ rustfmt,
+ proto_paths,
+ is_tonic,
+ label: label.unwrap(),
+ extra_args,
+ })
+ }
+}
+
+/// Get the output directory with the label suffixed.
+fn get_output_dir(out_dir: &Path, label: &str) -> PathBuf {
+ let label_as_path = label
+ .replace('@', "")
+ .replace("//", "_")
+ .replace(['/', ':'], "_");
+ PathBuf::from(format!(
+ "{}/prost-build-{}",
+ out_dir.display(),
+ label_as_path
+ ))
+}
+
+/// Get the output directory with the label suffixed, and create it if it doesn't exist.
+///
+/// This will remove the directory first if it already exists.
+fn get_and_create_output_dir(out_dir: &Path, label: &str) -> PathBuf {
+ let out_dir = get_output_dir(out_dir, label);
+ if out_dir.exists() {
+ fs::remove_dir_all(&out_dir).expect("Failed to remove old output directory");
+ }
+ fs::create_dir_all(&out_dir).expect("Failed to create output directory");
+ out_dir
+}
+
+/// Parse the descriptor set file into a `FileDescriptorSet`.
+fn parse_descriptor_set_file(descriptor_set_path: &PathBuf) -> FileDescriptorSet {
+ let descriptor_set_bytes =
+ fs::read(descriptor_set_path).expect("Failed to read descriptor set");
+ let descriptor_set = FileDescriptorSet::decode(descriptor_set_bytes.as_slice())
+ .expect("Failed to decode descriptor set");
+
+ descriptor_set
+}
+
+/// Get the package name from the descriptor set.
+fn get_package_name(descriptor_set: &FileDescriptorSet) -> Option<String> {
+ let mut package_name = None;
+
+ for file in &descriptor_set.file {
+ if let Some(package) = &file.package {
+ package_name = Some(package.clone());
+ break;
+ }
+ }
+
+ package_name
+}
+
+/// Whether the proto file should expect to generate a .rs file.
+///
+/// If the proto file contains any messages, enums, or services, then it should generate a rust file.
+/// If the proto file only contains extensions, then it will not generate any rust files.
+fn expect_fs_file_to_be_generated(descriptor_set: &FileDescriptorSet) -> bool {
+ let mut expect_rs = false;
+
+ for file in descriptor_set.file.iter() {
+ let has_messages = !file.message_type.is_empty();
+ let has_enums = !file.enum_type.is_empty();
+ let has_services = !file.service.is_empty();
+ let has_extensions = !file.extension.is_empty();
+
+ let has_definition = has_messages || has_enums || has_services;
+
+ if has_definition {
+ return true;
+ } else if !has_definition && !has_extensions {
+ expect_rs = true;
+ }
+ }
+
+ expect_rs
+}
+
+/// Whether the proto file should expect to generate service definitions.
+fn has_services(descriptor_set: &FileDescriptorSet) -> bool {
+ descriptor_set
+ .file
+ .iter()
+ .any(|file| !file.service.is_empty())
+}
+
+fn main() {
+ // Always enable backtraces for the protoc wrapper.
+ env::set_var("RUST_BACKTRACE", "1");
+
+ let Args {
+ protoc,
+ out_dir,
+ crate_name,
+ label,
+ package_info_file,
+ proto_files,
+ includes,
+ descriptor_set,
+ out_librs,
+ rustfmt,
+ proto_paths,
+ is_tonic,
+ extra_args,
+ } = Args::parse().expect("Failed to parse args");
+
+ let out_dir = get_and_create_output_dir(&out_dir, &label);
+
+ let descriptor_set = parse_descriptor_set_file(&descriptor_set);
+ let package_name = get_package_name(&descriptor_set).unwrap_or_default();
+ let expect_rs = expect_fs_file_to_be_generated(&descriptor_set);
+ let has_services = has_services(&descriptor_set);
+
+ if has_services && !is_tonic {
+ println!("Warning: Service definitions will not be generated because the prost toolchain did not define a tonic plugin.");
+ }
+
+ let mut cmd = process::Command::new(&protoc);
+ cmd.arg(format!("--prost_out={}", out_dir.display()));
+ if is_tonic {
+ cmd.arg(format!("--tonic_out={}", out_dir.display()));
+ }
+ cmd.args(extra_args);
+ cmd.args(
+ proto_paths
+ .iter()
+ .map(|proto_path| format!("--proto_path={}", proto_path)),
+ );
+ cmd.args(includes.iter().map(|include| format!("-I{}", include)));
+ cmd.args(&proto_files);
+
+ let status = cmd.status().expect("Failed to spawn protoc process");
+ if !status.success() {
+ panic!(
+ "protoc failed with status: {}",
+ status.code().expect("failed to get exit code")
+ );
+ }
+
+ // Not all proto files will consistently produce `.rs` or `.tonic.rs` files. This is
+ // caused by the proto file being transpiled not having an RPC service or other protos
+ // defined (a natural and expected situation). To guarantee consistent outputs, all
+ // `.rs` files are either renamed to `.tonic.rs` if there is no `.tonic.rs` or prepended
+ // to the existing `.tonic.rs`.
+ if is_tonic {
+ let tonic_files: BTreeSet<PathBuf> = find_generated_rust_files(&out_dir);
+
+ for tonic_file in tonic_files.iter() {
+ let tonic_path_str = tonic_file.to_str().expect("Failed to convert to str");
+ let filename = tonic_file
+ .file_name()
+ .expect("Failed to get file name")
+ .to_str()
+ .expect("Failed to convert to str");
+
+ let is_tonic_file = filename.ends_with(".tonic.rs");
+
+ if is_tonic_file {
+ let rs_file_str = format!(
+ "{}.rs",
+ tonic_path_str
+ .strip_suffix(".tonic.rs")
+ .expect("Failed to strip suffix.")
+ );
+ let rs_file = PathBuf::from(&rs_file_str);
+
+ if rs_file.exists() {
+ let rs_content = fs::read_to_string(&rs_file).expect("Failed to read file.");
+ let tonic_content =
+ fs::read_to_string(tonic_file).expect("Failed to read file.");
+ fs::write(tonic_file, format!("{}\n{}", rs_content, tonic_content))
+ .expect("Failed to write file.");
+ fs::remove_file(&rs_file).unwrap_or_else(|err| {
+ panic!("Failed to remove file: {err:?}: {rs_file:?}")
+ });
+ }
+ } else {
+ let real_tonic_file = PathBuf::from(format!(
+ "{}.tonic.rs",
+ tonic_path_str
+ .strip_suffix(".rs")
+ .expect("Failed to strip suffix.")
+ ));
+ if real_tonic_file.exists() {
+ continue;
+ }
+ fs::rename(tonic_file, &real_tonic_file).unwrap_or_else(|err| {
+ panic!("Failed to rename file: {err:?}: {tonic_file:?} -> {real_tonic_file:?}");
+ });
+ }
+ }
+ }
+
+ // Locate all prost-generated outputs.
+ let mut rust_files = find_generated_rust_files(&out_dir);
+ if rust_files.is_empty() {
+ if expect_rs {
+ panic!("No .rs files were generated by prost.");
+ } else {
+ let file_stem = if package_name.is_empty() {
+ "_"
+ } else {
+ &package_name
+ };
+ let file_stem = format!("{}{}", file_stem, if is_tonic { ".tonic" } else { "" });
+ let empty_rs_file = out_dir.join(format!("{}.rs", file_stem));
+ fs::write(&empty_rs_file, "").expect("Failed to write file.");
+ rust_files.insert(empty_rs_file);
+ }
+ }
+
+ let extern_paths = get_extern_paths(&descriptor_set, &crate_name)
+ .expect("Failed to compute proto package info");
+
+ // Write outputs
+ fs::write(&out_librs, generate_lib_rs(&rust_files, is_tonic)).expect("Failed to write file.");
+ fs::write(
+ package_info_file,
+ extern_paths
+ .into_iter()
+ .map(|(proto_path, rust_path)| format!(".{}=::{}", proto_path, rust_path))
+ .collect::<Vec<_>>()
+ .join("\n"),
+ )
+ .expect("Failed to write file.");
+
+ // Finally run rustfmt on the output lib.rs file
+ if let Some(rustfmt) = rustfmt {
+ let fmt_status = process::Command::new(rustfmt)
+ .arg("--edition")
+ .arg("2021")
+ .arg("--quiet")
+ .arg(&out_librs)
+ .status()
+ .expect("Failed to spawn rustfmt process");
+ if !fmt_status.success() {
+ panic!(
+ "rustfmt failed with exit code: {}",
+ fmt_status.code().expect("Failed to get exit code")
+ );
+ }
+ }
+}
+
+/// Rust built-in keywords and reserved keywords.
+const RUST_KEYWORDS: [&str; 51] = [
+ "abstract", "as", "async", "await", "become", "box", "break", "const", "continue", "crate",
+ "do", "dyn", "else", "enum", "extern", "false", "final", "fn", "for", "if", "impl", "in",
+ "let", "loop", "macro", "match", "mod", "move", "mut", "override", "priv", "pub", "ref",
+ "return", "self", "Self", "static", "struct", "super", "trait", "true", "try", "type",
+ "typeof", "unsafe", "unsized", "use", "virtual", "where", "while", "yield",
+];
+
+/// Returns true if the given string is a Rust keyword.
+fn is_keyword(s: &str) -> bool {
+ RUST_KEYWORDS.contains(&s)
+}
+
+/// Escapes a Rust keyword by prefixing it with `r#`.
+fn escape_keyword(s: String) -> String {
+ if is_keyword(&s) {
+ return format!("r#{s}");
+ }
+ s
+}
+
+#[cfg(test)]
+mod test {
+
+ use super::*;
+
+ use prost_types::{FieldDescriptorProto, FileDescriptorProto, ServiceDescriptorProto};
+ use std::collections::BTreeMap;
+
+ #[test]
+ fn oneof_type_to_extern_paths_test() {
+ let oneof_descriptor = OneofDescriptorProto {
+ name: Some("Foo".to_string()),
+ ..OneofDescriptorProto::default()
+ };
+
+ {
+ let mut extern_paths = BTreeMap::new();
+ oneof_type_to_extern_paths(
+ &mut extern_paths,
+ &ProtoPath::from("bar"),
+ &RustModulePath::from("bar"),
+ &oneof_descriptor,
+ );
+
+ assert_eq!(extern_paths.len(), 1);
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.Foo")),
+ Some(&RustModulePath::from("bar::Foo"))
+ );
+ }
+
+ {
+ let mut extern_paths = BTreeMap::new();
+ oneof_type_to_extern_paths(
+ &mut extern_paths,
+ &ProtoPath::from("bar.baz"),
+ &RustModulePath::from("bar::baz"),
+ &oneof_descriptor,
+ );
+
+ assert_eq!(extern_paths.len(), 1);
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.baz.Foo")),
+ Some(&RustModulePath::from("bar::baz::Foo"))
+ );
+ }
+ }
+
+ #[test]
+ fn enum_type_to_extern_paths_test() {
+ let enum_descriptor = EnumDescriptorProto {
+ name: Some("Foo".to_string()),
+ ..EnumDescriptorProto::default()
+ };
+
+ {
+ let mut extern_paths = BTreeMap::new();
+ enum_type_to_extern_paths(
+ &mut extern_paths,
+ &ProtoPath::from("bar"),
+ &RustModulePath::from("bar"),
+ &enum_descriptor,
+ );
+
+ assert_eq!(extern_paths.len(), 1);
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.Foo")),
+ Some(&RustModulePath::from("bar::Foo"))
+ );
+ }
+
+ {
+ let mut extern_paths = BTreeMap::new();
+ enum_type_to_extern_paths(
+ &mut extern_paths,
+ &ProtoPath::from("bar.baz"),
+ &RustModulePath::from("bar::baz"),
+ &enum_descriptor,
+ );
+
+ assert_eq!(extern_paths.len(), 1);
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.baz.Foo")),
+ Some(&RustModulePath::from("bar::baz::Foo"))
+ );
+ }
+ }
+
+ #[test]
+ fn message_type_to_extern_paths_test() {
+ let message_descriptor = DescriptorProto {
+ name: Some("Foo".to_string()),
+ nested_type: vec![
+ DescriptorProto {
+ name: Some("Bar".to_string()),
+ ..DescriptorProto::default()
+ },
+ DescriptorProto {
+ name: Some("Nested".to_string()),
+ nested_type: vec![DescriptorProto {
+ name: Some("Baz".to_string()),
+ enum_type: vec![EnumDescriptorProto {
+ name: Some("Chuck".to_string()),
+ ..EnumDescriptorProto::default()
+ }],
+ ..DescriptorProto::default()
+ }],
+ ..DescriptorProto::default()
+ },
+ ],
+ enum_type: vec![EnumDescriptorProto {
+ name: Some("Qux".to_string()),
+ ..EnumDescriptorProto::default()
+ }],
+ ..DescriptorProto::default()
+ };
+
+ {
+ let mut extern_paths = BTreeMap::new();
+ message_type_to_extern_paths(
+ &mut extern_paths,
+ &ProtoPath::from("bar"),
+ &RustModulePath::from("bar"),
+ &message_descriptor,
+ );
+ assert_eq!(extern_paths.len(), 6);
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.Foo")),
+ Some(&RustModulePath::from("bar::Foo"))
+ );
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.foo.Bar")),
+ Some(&RustModulePath::from("bar::foo::Bar"))
+ );
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.foo.Nested")),
+ Some(&RustModulePath::from("bar::foo::Nested"))
+ );
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.foo.nested.Baz")),
+ Some(&RustModulePath::from("bar::foo::nested::Baz"))
+ );
+ }
+
+ {
+ let mut extern_paths = BTreeMap::new();
+ message_type_to_extern_paths(
+ &mut extern_paths,
+ &ProtoPath::from("bar.bob"),
+ &RustModulePath::from("bar::bob"),
+ &message_descriptor,
+ );
+ assert_eq!(extern_paths.len(), 6);
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.bob.Foo")),
+ Some(&RustModulePath::from("bar::bob::Foo"))
+ );
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.bob.foo.Bar")),
+ Some(&RustModulePath::from("bar::bob::foo::Bar"))
+ );
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.bob.foo.Nested")),
+ Some(&RustModulePath::from("bar::bob::foo::Nested"))
+ );
+ assert_eq!(
+ extern_paths.get(&ProtoPath::from("bar.bob.foo.nested.Baz")),
+ Some(&RustModulePath::from("bar::bob::foo::nested::Baz"))
+ );
+ }
+ }
+
+ #[test]
+ fn proto_path_test() {
+ {
+ let proto_path = ProtoPath::from("");
+ assert_eq!(proto_path.to_string(), "");
+ assert_eq!(proto_path.join("foo"), ProtoPath::from("foo"));
+ }
+ {
+ let proto_path = ProtoPath::from("foo");
+ assert_eq!(proto_path.to_string(), "foo");
+ assert_eq!(proto_path.join(""), ProtoPath::from("foo"));
+ }
+ {
+ let proto_path = ProtoPath::from("foo");
+ assert_eq!(proto_path.to_string(), "foo");
+ assert_eq!(proto_path.join("bar"), ProtoPath::from("foo.bar"));
+ }
+ {
+ let proto_path = ProtoPath::from("foo.bar");
+ assert_eq!(proto_path.to_string(), "foo.bar");
+ assert_eq!(proto_path.join("baz"), ProtoPath::from("foo.bar.baz"));
+ }
+ {
+ let proto_path = ProtoPath::from("Foo.baR");
+ assert_eq!(proto_path.to_string(), "Foo.baR");
+ assert_eq!(proto_path.join("baz"), ProtoPath::from("Foo.baR.baz"));
+ }
+ }
+
+ #[test]
+ fn rust_module_path_test() {
+ {
+ let rust_module_path = RustModulePath::from("");
+ assert_eq!(rust_module_path.to_string(), "");
+ assert_eq!(rust_module_path.join("foo"), RustModulePath::from("foo"));
+ }
+ {
+ let rust_module_path = RustModulePath::from("foo");
+ assert_eq!(rust_module_path.to_string(), "foo");
+ assert_eq!(rust_module_path.join(""), RustModulePath::from("foo"));
+ }
+ {
+ let rust_module_path = RustModulePath::from("foo");
+ assert_eq!(rust_module_path.to_string(), "foo");
+ assert_eq!(
+ rust_module_path.join("bar"),
+ RustModulePath::from("foo::bar")
+ );
+ }
+ {
+ let rust_module_path = RustModulePath::from("foo::bar");
+ assert_eq!(rust_module_path.to_string(), "foo::bar");
+ assert_eq!(
+ rust_module_path.join("baz"),
+ RustModulePath::from("foo::bar::baz")
+ );
+ }
+ }
+
+ #[test]
+ fn expect_fs_file_to_be_generated_test() {
+ {
+ // Empty descriptor set should create a file.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(expect_fs_file_to_be_generated(&descriptor_set));
+ }
+ {
+ // Descriptor set with only message should create a file.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ message_type: vec![DescriptorProto {
+ name: Some("Foo".to_string()),
+ ..DescriptorProto::default()
+ }],
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(expect_fs_file_to_be_generated(&descriptor_set));
+ }
+ {
+ // Descriptor set with only enum should create a file.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ enum_type: vec![EnumDescriptorProto {
+ name: Some("Foo".to_string()),
+ ..EnumDescriptorProto::default()
+ }],
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(expect_fs_file_to_be_generated(&descriptor_set));
+ }
+ {
+ // Descriptor set with only service should create a file.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ service: vec![ServiceDescriptorProto {
+ name: Some("Foo".to_string()),
+ ..ServiceDescriptorProto::default()
+ }],
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(expect_fs_file_to_be_generated(&descriptor_set));
+ }
+ {
+ // Descriptor set with only extensions should not create a file.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ extension: vec![FieldDescriptorProto {
+ name: Some("Foo".to_string()),
+ ..FieldDescriptorProto::default()
+ }],
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(!expect_fs_file_to_be_generated(&descriptor_set));
+ }
+ }
+
+ #[test]
+ fn has_services_test() {
+ {
+ // Empty file should not have services.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(!has_services(&descriptor_set));
+ }
+ {
+ // File with only message should not have services.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ message_type: vec![DescriptorProto {
+ name: Some("Foo".to_string()),
+ ..DescriptorProto::default()
+ }],
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(!has_services(&descriptor_set));
+ }
+ {
+ // File with services should have services.
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ service: vec![ServiceDescriptorProto {
+ name: Some("Foo".to_string()),
+ ..ServiceDescriptorProto::default()
+ }],
+ ..FileDescriptorProto::default()
+ }],
+ };
+ assert!(has_services(&descriptor_set));
+ }
+ }
+
+ #[test]
+ fn get_package_name_test() {
+ let descriptor_set = FileDescriptorSet {
+ file: vec![FileDescriptorProto {
+ name: Some("foo.proto".to_string()),
+ package: Some("foo".to_string()),
+ ..FileDescriptorProto::default()
+ }],
+ };
+
+ assert_eq!(get_package_name(&descriptor_set), Some("foo".to_string()));
+ }
+
+ #[test]
+ fn is_keyword_test() {
+ let non_keywords = [
+ "foo", "bar", "baz", "qux", "quux", "corge", "grault", "garply", "waldo", "fred",
+ "plugh", "xyzzy", "thud",
+ ];
+ for non_keyword in &non_keywords {
+ assert!(!is_keyword(non_keyword));
+ }
+
+ for keyword in &RUST_KEYWORDS {
+ assert!(is_keyword(keyword));
+ }
+ }
+
+ #[test]
+ fn escape_keyword_test() {
+ let non_keywords = [
+ "foo", "bar", "baz", "qux", "quux", "corge", "grault", "garply", "waldo", "fred",
+ "plugh", "xyzzy", "thud",
+ ];
+ for non_keyword in &non_keywords {
+ assert_eq!(
+ escape_keyword(non_keyword.to_string()),
+ non_keyword.to_owned()
+ );
+ }
+
+ for keyword in &RUST_KEYWORDS {
+ assert_eq!(
+ escape_keyword(keyword.to_string()),
+ format!("r#{}", keyword)
+ );
+ }
+ }
+}
diff --git a/proto/prost/private/repositories.bzl b/proto/prost/private/repositories.bzl
new file mode 100644
index 0000000..cae70c9
--- /dev/null
+++ b/proto/prost/private/repositories.bzl
@@ -0,0 +1,21 @@
+"""Dependencies for Rust Prost rules"""
+
+load("//proto/prost:repositories.bzl", _rust_prost_dependencies = "rust_prost_dependencies")
+load("//proto/prost/private/3rdparty/crates:crates.bzl", "crate_repositories")
+
+def rust_prost_dependencies():
+ """Prost repository dependencies."""
+ crate_repositories()
+
+ _rust_prost_dependencies()
+
+# buildifier: disable=unnamed-macro
+def rust_prost_register_toolchains(register_toolchains = True):
+ """Register toolchains for proto compilation.
+
+ Args:
+ register_toolchains (bool, optional): Whether or not to register the default prost toolchain.
+ """
+
+ if register_toolchains:
+ native.register_toolchains(str(Label("//proto/prost/private:default_prost_toolchain")))
diff --git a/proto/prost/private/tests/BUILD.bazel b/proto/prost/private/tests/BUILD.bazel
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/proto/prost/private/tests/BUILD.bazel
diff --git a/proto/prost/private/tests/keywords/BUILD.bazel b/proto/prost/private/tests/keywords/BUILD.bazel
new file mode 100644
index 0000000..415301e
--- /dev/null
+++ b/proto/prost/private/tests/keywords/BUILD.bazel
@@ -0,0 +1,26 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "mod_named_mod_proto",
+ srcs = [
+ "mod_named_mod.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "mod_named_mod_rs_proto",
+ proto = ":mod_named_mod_proto",
+)
+
+rust_test(
+ name = "mod_named_mod_test",
+ srcs = ["mod_named_mod_test.rs"],
+ edition = "2021",
+ deps = [
+ ":mod_named_mod_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/keywords/mod_named_mod.proto b/proto/prost/private/tests/keywords/mod_named_mod.proto
new file mode 100644
index 0000000..8e6c611
--- /dev/null
+++ b/proto/prost/private/tests/keywords/mod_named_mod.proto
@@ -0,0 +1,7 @@
+syntax = "proto3";
+
+package mod;
+
+message A {
+ string name = 1;
+}
diff --git a/proto/prost/private/tests/keywords/mod_named_mod_test.rs b/proto/prost/private/tests/keywords/mod_named_mod_test.rs
new file mode 100644
index 0000000..4b326a6
--- /dev/null
+++ b/proto/prost/private/tests/keywords/mod_named_mod_test.rs
@@ -0,0 +1,12 @@
+//! Tests module names that are keywords.
+
+use mod_named_mod_proto::r#mod::A;
+
+#[test]
+fn test_nested_messages() {
+ let a = A {
+ name: "a".to_string(),
+ };
+
+ assert_eq!(a.name, "a");
+}
diff --git a/proto/prost/private/tests/nesting/BUILD.bazel b/proto/prost/private/tests/nesting/BUILD.bazel
new file mode 100644
index 0000000..d8642ef
--- /dev/null
+++ b/proto/prost/private/tests/nesting/BUILD.bazel
@@ -0,0 +1,26 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "nested_messages_proto",
+ srcs = [
+ "nested_messages.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "nested_messages_rs_proto",
+ proto = ":nested_messages_proto",
+)
+
+rust_test(
+ name = "nested_messages_test",
+ srcs = ["nested_messages_test.rs"],
+ edition = "2021",
+ deps = [
+ ":nested_messages_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/nesting/nested_messages.proto b/proto/prost/private/tests/nesting/nested_messages.proto
new file mode 100644
index 0000000..2f9a20f
--- /dev/null
+++ b/proto/prost/private/tests/nesting/nested_messages.proto
@@ -0,0 +1,26 @@
+syntax = "proto3";
+
+package nested_messages;
+
+message A {
+ string name = 1;
+
+ message B {
+ string name = 1;
+
+ message C {
+ string name = 1;
+ }
+
+ enum D {
+ E = 0;
+ F = 1;
+ }
+
+ C c = 2;
+
+ D d = 3;
+ }
+
+ B b = 2;
+}
diff --git a/proto/prost/private/tests/nesting/nested_messages_test.rs b/proto/prost/private/tests/nesting/nested_messages_test.rs
new file mode 100644
index 0000000..627ebaf
--- /dev/null
+++ b/proto/prost/private/tests/nesting/nested_messages_test.rs
@@ -0,0 +1,21 @@
+//! Tests the usage of nested messages.
+
+use nested_messages_proto::nested_messages::a::b::{C, D};
+use nested_messages_proto::nested_messages::a::B;
+use nested_messages_proto::nested_messages::A;
+
+#[test]
+fn test_nested_messages() {
+ let a = A {
+ name: "a".to_string(),
+ b: Some(B {
+ name: "b".to_string(),
+ c: Some(C {
+ name: "c".to_string(),
+ }),
+ d: D::E.into(),
+ }),
+ };
+
+ assert_eq!(a.name, "a");
+}
diff --git a/proto/prost/private/tests/package_imports/BUILD.bazel b/proto/prost/private/tests/package_imports/BUILD.bazel
new file mode 100644
index 0000000..20e313e
--- /dev/null
+++ b/proto/prost/private/tests/package_imports/BUILD.bazel
@@ -0,0 +1,43 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "package_import_proto",
+ srcs = [
+ "package_import.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests/package_imports",
+)
+
+rust_prost_library(
+ name = "package_import_rs_proto",
+ proto = ":package_import_proto",
+)
+
+proto_library(
+ name = "package_importer_proto",
+ srcs = [
+ "package_importer.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests/package_imports",
+ deps = [
+ ":package_import_proto",
+ ],
+)
+
+rust_prost_library(
+ name = "package_importer_rs_proto",
+ proto = ":package_importer_proto",
+)
+
+rust_test(
+ name = "package_importer_test",
+ srcs = ["package_importer_test.rs"],
+ edition = "2021",
+ deps = [
+ ":package_importer_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/package_imports/package_import.proto b/proto/prost/private/tests/package_imports/package_import.proto
new file mode 100644
index 0000000..164719a
--- /dev/null
+++ b/proto/prost/private/tests/package_imports/package_import.proto
@@ -0,0 +1,7 @@
+syntax = "proto3";
+
+package package.import;
+
+message A {
+ string name = 1;
+}
diff --git a/proto/prost/private/tests/package_imports/package_importer.proto b/proto/prost/private/tests/package_imports/package_importer.proto
new file mode 100644
index 0000000..dd584aa
--- /dev/null
+++ b/proto/prost/private/tests/package_imports/package_importer.proto
@@ -0,0 +1,9 @@
+syntax = "proto3";
+
+package package.import;
+
+import "package_import.proto";
+
+message B {
+ A a = 1;
+}
diff --git a/proto/prost/private/tests/package_imports/package_importer_test.rs b/proto/prost/private/tests/package_imports/package_importer_test.rs
new file mode 100644
index 0000000..9c89c98
--- /dev/null
+++ b/proto/prost/private/tests/package_imports/package_importer_test.rs
@@ -0,0 +1,15 @@
+//! Tests package importing with the same package name.
+
+use package_import_proto::package::import::A;
+use package_importer_proto::package::import::B;
+
+#[test]
+fn test_package_importer() {
+ let b = B {
+ a: Some(A {
+ name: "a".to_string(),
+ }),
+ };
+
+ assert_eq!(b.a.as_ref().unwrap().name, "a");
+}
diff --git a/proto/prost/private/tests/package_names/BUILD.bazel b/proto/prost/private/tests/package_names/BUILD.bazel
new file mode 100644
index 0000000..7c9cedc
--- /dev/null
+++ b/proto/prost/private/tests/package_names/BUILD.bazel
@@ -0,0 +1,65 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("@rules_rust//rust:defs.bzl", "rust_test")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "pkg_empty_proto",
+ srcs = [
+ "pkg.empty.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "pkg_empty_rs_proto",
+ proto = ":pkg_empty_proto",
+)
+
+proto_library(
+ name = "pkg_proto",
+ srcs = [
+ "pkg.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "pkg_rs_proto",
+ proto = ":pkg_proto",
+)
+
+proto_library(
+ name = "pkg_a_proto",
+ srcs = [
+ "pkg.a.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "pkg_a_rs_proto",
+ proto = ":pkg_a_proto",
+)
+
+proto_library(
+ name = "pkg_a_b_proto",
+ srcs = [
+ "pkg.a.b.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "pkg_a_b_rs_proto",
+ proto = ":pkg_a_b_proto",
+)
+
+rust_test(
+ name = "package_test",
+ srcs = ["package_test.rs"],
+ edition = "2021",
+ deps = [
+ ":pkg_a_b_rs_proto",
+ ":pkg_a_rs_proto",
+ ":pkg_empty_rs_proto",
+ ":pkg_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/package_names/package_test.rs b/proto/prost/private/tests/package_names/package_test.rs
new file mode 100644
index 0000000..df9520d
--- /dev/null
+++ b/proto/prost/private/tests/package_names/package_test.rs
@@ -0,0 +1,27 @@
+//! Tests variations of the package name, including empty package names.
+
+use pkg_a_b_proto::pkg::a::b::Message as PkgABMessage;
+use pkg_a_proto::pkg::a::Message as PkgAMessage;
+use pkg_empty_proto::Message as PkgEmptyMessage;
+use pkg_proto::pkg::Message as PkgMessage;
+
+#[test]
+fn test_packages() {
+ let pkg = PkgMessage {
+ name: "pkg".to_string(),
+ };
+ let pkg_a = PkgAMessage {
+ name: "pkg_a".to_string(),
+ };
+ let pkg_a_b = PkgABMessage {
+ name: "pkg_a_b".to_string(),
+ };
+ let pkg_empty = PkgEmptyMessage {
+ name: "pkg_empty".to_string(),
+ };
+
+ assert_eq!(pkg.name, "pkg");
+ assert_eq!(pkg_a.name, "pkg_a");
+ assert_eq!(pkg_a_b.name, "pkg_a_b");
+ assert_eq!(pkg_empty.name, "pkg_empty");
+}
diff --git a/proto/prost/private/tests/package_names/pkg.a.b.proto b/proto/prost/private/tests/package_names/pkg.a.b.proto
new file mode 100644
index 0000000..5475188
--- /dev/null
+++ b/proto/prost/private/tests/package_names/pkg.a.b.proto
@@ -0,0 +1,6 @@
+syntax = "proto3";
+package pkg.a.b;
+
+message Message {
+ string name = 1;
+}
diff --git a/proto/prost/private/tests/package_names/pkg.a.proto b/proto/prost/private/tests/package_names/pkg.a.proto
new file mode 100644
index 0000000..7859f4d
--- /dev/null
+++ b/proto/prost/private/tests/package_names/pkg.a.proto
@@ -0,0 +1,6 @@
+syntax = "proto3";
+package pkg.a;
+
+message Message {
+ string name = 1;
+}
diff --git a/proto/prost/private/tests/package_names/pkg.empty.proto b/proto/prost/private/tests/package_names/pkg.empty.proto
new file mode 100644
index 0000000..afe0d14
--- /dev/null
+++ b/proto/prost/private/tests/package_names/pkg.empty.proto
@@ -0,0 +1,5 @@
+syntax = "proto3";
+
+message Message {
+ string name = 1;
+}
diff --git a/proto/prost/private/tests/package_names/pkg.proto b/proto/prost/private/tests/package_names/pkg.proto
new file mode 100644
index 0000000..451ce10
--- /dev/null
+++ b/proto/prost/private/tests/package_names/pkg.proto
@@ -0,0 +1,6 @@
+syntax = "proto3";
+package pkg;
+
+message Message {
+ string name = 1;
+}
diff --git a/proto/prost/private/tests/remote/BUILD.bazel b/proto/prost/private/tests/remote/BUILD.bazel
new file mode 100644
index 0000000..3619c16
--- /dev/null
+++ b/proto/prost/private/tests/remote/BUILD.bazel
@@ -0,0 +1,6 @@
+load("//proto:defs.bzl", "rust_prost_library")
+
+rust_prost_library(
+ name = "annotations_rs_proto",
+ proto = "@com_google_googleapis//google/api:annotations_proto",
+)
diff --git a/proto/prost/private/tests/sanitized_modules/BUILD.bazel b/proto/prost/private/tests/sanitized_modules/BUILD.bazel
new file mode 100644
index 0000000..1df12d4
--- /dev/null
+++ b/proto/prost/private/tests/sanitized_modules/BUILD.bazel
@@ -0,0 +1,33 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("@rules_rust//rust:defs.bzl", "rust_test")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+
+proto_library(
+ name = "foo_proto",
+ srcs = [
+ "foo.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests/sanitized_modules",
+)
+
+proto_library(
+ name = "bar_proto",
+ srcs = [
+ "bar.proto",
+ ],
+ deps = [
+ "foo_proto",
+ ],
+)
+
+rust_prost_library(
+ name = "bar_proto_rs",
+ proto = ":bar_proto",
+)
+
+rust_test(
+ name = "sanitized_modules_test",
+ srcs = ["sanitized_modules_test.rs"],
+ edition = "2021",
+ deps = [":bar_proto_rs"],
+)
diff --git a/proto/prost/private/tests/sanitized_modules/bar.proto b/proto/prost/private/tests/sanitized_modules/bar.proto
new file mode 100644
index 0000000..e90e00e
--- /dev/null
+++ b/proto/prost/private/tests/sanitized_modules/bar.proto
@@ -0,0 +1,17 @@
+syntax = "proto3";
+
+import "foo.proto";
+
+package bAR.bAz.QAZ.QuX;
+
+message Bar {
+ string name = 1;
+
+ Foo.QuuX.CoRgE.GRAULT.gaRply.Foo foo = 2;
+
+ Foo.QuuX.CoRgE.GRAULT.gaRply.Foo.NestedFoo nested_foo = 3;
+
+ message Baz {
+ string name = 4;
+ }
+}
diff --git a/proto/prost/private/tests/sanitized_modules/foo.proto b/proto/prost/private/tests/sanitized_modules/foo.proto
new file mode 100644
index 0000000..d0cc785
--- /dev/null
+++ b/proto/prost/private/tests/sanitized_modules/foo.proto
@@ -0,0 +1,11 @@
+syntax = "proto3";
+
+package Foo.QuuX.CoRgE.GRAULT.gaRply;
+
+message Foo {
+ string name = 1;
+
+ message NestedFoo {
+ string name = 2;
+ }
+}
diff --git a/proto/prost/private/tests/sanitized_modules/sanitized_modules_test.rs b/proto/prost/private/tests/sanitized_modules/sanitized_modules_test.rs
new file mode 100644
index 0000000..2b852a3
--- /dev/null
+++ b/proto/prost/private/tests/sanitized_modules/sanitized_modules_test.rs
@@ -0,0 +1,26 @@
+//! Tests protos with various capitalizations in their package names are
+//! consumable in an expected way.
+
+use bar_proto::b_ar::b_az::qaz::qu_x::bar::Baz as BazMessage;
+use bar_proto::b_ar::b_az::qaz::qu_x::Bar as BarMessage;
+use foo_proto::foo::quu_x::co_rg_e::grault::ga_rply::foo::NestedFoo as NestedFooMessage;
+use foo_proto::foo::quu_x::co_rg_e::grault::ga_rply::Foo as FooMessage;
+
+#[test]
+fn test_packages() {
+ let bar_message = BarMessage {
+ name: "bar".to_string(),
+ foo: Some(FooMessage {
+ name: "foo".to_string(),
+ }),
+ nested_foo: Some(NestedFooMessage {
+ name: "nested_foo".to_string(),
+ }),
+ };
+ let baz_message = BazMessage {
+ name: "baz".to_string(),
+ };
+
+ assert_eq!(bar_message.name, "bar");
+ assert_eq!(baz_message.name, "baz");
+}
diff --git a/proto/prost/private/tests/services/BUILD.bazel b/proto/prost/private/tests/services/BUILD.bazel
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/proto/prost/private/tests/services/BUILD.bazel
diff --git a/proto/prost/private/tests/services/echo/BUILD.bazel b/proto/prost/private/tests/services/echo/BUILD.bazel
new file mode 100644
index 0000000..50ae7ab
--- /dev/null
+++ b/proto/prost/private/tests/services/echo/BUILD.bazel
@@ -0,0 +1,45 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_binary")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "echo_proto",
+ srcs = [
+ "echo.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "echo_rs_proto",
+ proto = ":echo_proto",
+)
+
+rust_binary(
+ name = "client",
+ srcs = ["client.rs"],
+ edition = "2021",
+ deps = [
+ ":echo_rs_proto",
+ "//proto/prost/private/3rdparty/crates:h2",
+ "//proto/prost/private/3rdparty/crates:prost",
+ "//proto/prost/private/3rdparty/crates:tokio",
+ "//proto/prost/private/3rdparty/crates:tokio-stream",
+ "//proto/prost/private/3rdparty/crates:tonic",
+ ],
+)
+
+rust_binary(
+ name = "server",
+ srcs = ["server.rs"],
+ edition = "2021",
+ deps = [
+ ":echo_rs_proto",
+ "//proto/prost/private/3rdparty/crates:h2",
+ "//proto/prost/private/3rdparty/crates:prost",
+ "//proto/prost/private/3rdparty/crates:tokio",
+ "//proto/prost/private/3rdparty/crates:tokio-stream",
+ "//proto/prost/private/3rdparty/crates:tonic",
+ ],
+)
diff --git a/proto/prost/private/tests/services/echo/client.rs b/proto/prost/private/tests/services/echo/client.rs
new file mode 100644
index 0000000..7263748
--- /dev/null
+++ b/proto/prost/private/tests/services/echo/client.rs
@@ -0,0 +1,81 @@
+use std::time::Duration;
+use tokio_stream::{Stream, StreamExt};
+use tonic::transport::Channel;
+
+use echo_proto::echo::{echo_client::EchoClient, EchoRequest};
+
+fn echo_requests_iter() -> impl Stream<Item = EchoRequest> {
+ tokio_stream::iter(1..usize::MAX).map(|i| EchoRequest {
+ message: format!("msg {:02}", i),
+ })
+}
+
+async fn streaming_echo(client: &mut EchoClient<Channel>, num: usize) {
+ let stream = client
+ .server_streaming_echo(EchoRequest {
+ message: "foo".into(),
+ })
+ .await
+ .unwrap()
+ .into_inner();
+
+ // stream is infinite - take just 5 elements and then disconnect
+ let mut stream = stream.take(num);
+ while let Some(item) = stream.next().await {
+ println!("\treceived: {}", item.unwrap().message);
+ }
+ // stream is droped here and the disconnect info is send to server
+}
+
+async fn bidirectional_streaming_echo(client: &mut EchoClient<Channel>, num: usize) {
+ let in_stream = echo_requests_iter().take(num);
+
+ let response = client
+ .bidirectional_streaming_echo(in_stream)
+ .await
+ .unwrap();
+
+ let mut resp_stream = response.into_inner();
+
+ while let Some(received) = resp_stream.next().await {
+ let received = received.unwrap();
+ println!("\treceived message: `{}`", received.message);
+ }
+}
+
+async fn bidirectional_streaming_echo_throttle(client: &mut EchoClient<Channel>, dur: Duration) {
+ let in_stream = echo_requests_iter().throttle(dur);
+
+ let response = client
+ .bidirectional_streaming_echo(in_stream)
+ .await
+ .unwrap();
+
+ let mut resp_stream = response.into_inner();
+
+ while let Some(received) = resp_stream.next().await {
+ let received = received.unwrap();
+ println!("\treceived message: `{}`", received.message);
+ }
+}
+
+#[tokio::main]
+async fn main() -> Result<(), Box<dyn std::error::Error>> {
+ let mut client = EchoClient::connect("http://[::1]:50051").await.unwrap();
+
+ println!("Streaming echo:");
+ streaming_echo(&mut client, 5).await;
+ tokio::time::sleep(Duration::from_secs(1)).await; //do not mess server println functions
+
+ // Echo stream that sends 17 requests then graceful end that connection
+ println!("\r\nBidirectional stream echo:");
+ bidirectional_streaming_echo(&mut client, 17).await;
+
+ // Echo stream that sends up to `usize::MAX` requests. One request each 2s.
+ // Exiting client with CTRL+C demonstrate how to distinguish broken pipe from
+ // graceful client disconnection (above example) on the server side.
+ println!("\r\nBidirectional stream echo (kill client with CTLR+C):");
+ bidirectional_streaming_echo_throttle(&mut client, Duration::from_secs(2)).await;
+
+ Ok(())
+}
diff --git a/proto/prost/private/tests/services/echo/echo.proto b/proto/prost/private/tests/services/echo/echo.proto
new file mode 100644
index 0000000..4093b3c
--- /dev/null
+++ b/proto/prost/private/tests/services/echo/echo.proto
@@ -0,0 +1,29 @@
+syntax = "proto3";
+
+package echo;
+
+// EchoRequest is the request for echo.
+message EchoRequest {
+ string message = 1;
+}
+
+// EchoResponse is the response for echo.
+message EchoResponse {
+ string message = 1;
+}
+
+// Echo is the echo service.
+service Echo {
+ // UnaryEcho is unary echo.
+ rpc UnaryEcho(EchoRequest) returns (EchoResponse) {}
+
+ // ServerStreamingEcho is server side streaming.
+ rpc ServerStreamingEcho(EchoRequest) returns (stream EchoResponse) {}
+
+ // ClientStreamingEcho is client side streaming.
+ rpc ClientStreamingEcho(stream EchoRequest) returns (EchoResponse) {}
+
+ // BidirectionalStreamingEcho is bidi streaming.
+ rpc BidirectionalStreamingEcho(stream EchoRequest)
+ returns (stream EchoResponse) {}
+}
diff --git a/proto/prost/private/tests/services/echo/server.rs b/proto/prost/private/tests/services/echo/server.rs
new file mode 100644
index 0000000..541117d
--- /dev/null
+++ b/proto/prost/private/tests/services/echo/server.rs
@@ -0,0 +1,150 @@
+use std::{error::Error, io::ErrorKind, net::ToSocketAddrs, pin::Pin, time::Duration};
+use tokio::sync::mpsc;
+use tokio_stream::{wrappers::ReceiverStream, Stream, StreamExt};
+use tonic::{transport::Server, Request, Response, Status, Streaming};
+
+use echo_proto::echo::{echo_server, EchoRequest, EchoResponse};
+
+type EchoResult<T> = Result<Response<T>, Status>;
+type ResponseStream = Pin<Box<dyn Stream<Item = Result<EchoResponse, Status>> + Send>>;
+
+fn match_for_io_error(err_status: &Status) -> Option<&std::io::Error> {
+ let mut err: &(dyn Error + 'static) = err_status;
+
+ loop {
+ if let Some(io_err) = err.downcast_ref::<std::io::Error>() {
+ return Some(io_err);
+ }
+
+ // h2::Error do not expose std::io::Error with `source()`
+ // https://github.com/hyperium/h2/pull/462
+ if let Some(h2_err) = err.downcast_ref::<h2::Error>() {
+ if let Some(io_err) = h2_err.get_io() {
+ return Some(io_err);
+ }
+ }
+
+ err = match err.source() {
+ Some(err) => err,
+ None => return None,
+ };
+ }
+}
+
+#[derive(Debug)]
+pub struct EchoServer {}
+
+#[tonic::async_trait]
+impl echo_server::Echo for EchoServer {
+ async fn unary_echo(&self, _: Request<EchoRequest>) -> EchoResult<EchoResponse> {
+ Err(Status::unimplemented("not implemented"))
+ }
+
+ type ServerStreamingEchoStream = ResponseStream;
+
+ async fn server_streaming_echo(
+ &self,
+ req: Request<EchoRequest>,
+ ) -> EchoResult<Self::ServerStreamingEchoStream> {
+ println!("EchoServer::server_streaming_echo");
+ println!("\tclient connected from: {:?}", req.remote_addr());
+
+ // creating infinite stream with requested message
+ let repeat = std::iter::repeat(EchoResponse {
+ message: req.into_inner().message,
+ });
+ let mut stream = Box::pin(tokio_stream::iter(repeat).throttle(Duration::from_millis(200)));
+
+ // spawn and channel are required if you want handle "disconnect" functionality
+ // the `out_stream` will not be polled after client disconnect
+ let (tx, rx) = mpsc::channel(128);
+ tokio::spawn(async move {
+ while let Some(item) = stream.next().await {
+ match tx.send(Result::<_, Status>::Ok(item)).await {
+ Ok(_) => {
+ // item (server response) was queued to be send to client
+ }
+ Err(_item) => {
+ // output_stream was build from rx and both are dropped
+ break;
+ }
+ }
+ }
+ println!("\tclient disconnected");
+ });
+
+ let output_stream = ReceiverStream::new(rx);
+ Ok(Response::new(
+ Box::pin(output_stream) as Self::ServerStreamingEchoStream
+ ))
+ }
+
+ async fn client_streaming_echo(
+ &self,
+ _: Request<Streaming<EchoRequest>>,
+ ) -> EchoResult<EchoResponse> {
+ Err(Status::unimplemented("not implemented"))
+ }
+
+ type BidirectionalStreamingEchoStream = ResponseStream;
+
+ async fn bidirectional_streaming_echo(
+ &self,
+ req: Request<Streaming<EchoRequest>>,
+ ) -> EchoResult<Self::BidirectionalStreamingEchoStream> {
+ println!("EchoServer::bidirectional_streaming_echo");
+
+ let mut in_stream = req.into_inner();
+ let (tx, rx) = mpsc::channel(128);
+
+ // this spawn here is required if you want to handle connection error.
+ // If we just map `in_stream` and write it back as `out_stream` the `out_stream`
+ // will be drooped when connection error occurs and error will never be propagated
+ // to mapped version of `in_stream`.
+ tokio::spawn(async move {
+ while let Some(result) = in_stream.next().await {
+ match result {
+ Ok(v) => tx
+ .send(Ok(EchoResponse { message: v.message }))
+ .await
+ .expect("working rx"),
+ Err(err) => {
+ if let Some(io_err) = match_for_io_error(&err) {
+ if io_err.kind() == ErrorKind::BrokenPipe {
+ // here you can handle special case when client
+ // disconnected in unexpected way
+ eprintln!("\tclient disconnected: broken pipe");
+ break;
+ }
+ }
+
+ match tx.send(Err(err)).await {
+ Ok(_) => (),
+ Err(_err) => break, // response was droped
+ }
+ }
+ }
+ }
+ println!("\tstream ended");
+ });
+
+ // echo just write the same data that was received
+ let out_stream = ReceiverStream::new(rx);
+
+ Ok(Response::new(
+ Box::pin(out_stream) as Self::BidirectionalStreamingEchoStream
+ ))
+ }
+}
+
+#[tokio::main]
+async fn main() -> Result<(), Box<dyn std::error::Error>> {
+ let server = EchoServer {};
+ Server::builder()
+ .add_service(echo_server::EchoServer::new(server))
+ .serve("[::1]:50051".to_socket_addrs().unwrap().next().unwrap())
+ .await
+ .unwrap();
+
+ Ok(())
+}
diff --git a/proto/prost/private/tests/services/helloworld/BUILD.bazel b/proto/prost/private/tests/services/helloworld/BUILD.bazel
new file mode 100644
index 0000000..796492f
--- /dev/null
+++ b/proto/prost/private/tests/services/helloworld/BUILD.bazel
@@ -0,0 +1,41 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_binary")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "helloworld_proto",
+ srcs = [
+ "helloworld.proto",
+ ],
+)
+
+rust_prost_library(
+ name = "helloworld_rs_proto",
+ proto = ":helloworld_proto",
+)
+
+rust_binary(
+ name = "client",
+ srcs = ["client.rs"],
+ edition = "2021",
+ deps = [
+ ":helloworld_rs_proto",
+ "//proto/prost/private/3rdparty/crates:prost",
+ "//proto/prost/private/3rdparty/crates:tokio",
+ "//proto/prost/private/3rdparty/crates:tonic",
+ ],
+)
+
+rust_binary(
+ name = "server",
+ srcs = ["server.rs"],
+ edition = "2021",
+ deps = [
+ ":helloworld_rs_proto",
+ "//proto/prost/private/3rdparty/crates:prost",
+ "//proto/prost/private/3rdparty/crates:tokio",
+ "//proto/prost/private/3rdparty/crates:tonic",
+ ],
+)
diff --git a/proto/prost/private/tests/services/helloworld/client.rs b/proto/prost/private/tests/services/helloworld/client.rs
new file mode 100644
index 0000000..0f51cf0
--- /dev/null
+++ b/proto/prost/private/tests/services/helloworld/client.rs
@@ -0,0 +1,17 @@
+use helloworld_proto::helloworld::greeter_client::GreeterClient;
+use helloworld_proto::helloworld::HelloRequest;
+
+#[tokio::main]
+async fn main() -> Result<(), Box<dyn std::error::Error>> {
+ let mut client = GreeterClient::connect("http://[::1]:50051").await?;
+
+ let request = tonic::Request::new(HelloRequest {
+ name: "Tonic".into(),
+ });
+
+ let response = client.say_hello(request).await?;
+
+ println!("RESPONSE={:?}", response);
+
+ Ok(())
+}
diff --git a/proto/prost/private/tests/services/helloworld/helloworld.proto b/proto/prost/private/tests/services/helloworld/helloworld.proto
new file mode 100644
index 0000000..e8e3ff5
--- /dev/null
+++ b/proto/prost/private/tests/services/helloworld/helloworld.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+package helloworld;
+
+// The greeting service definition.
+service Greeter {
+ // Sends a greeting
+ rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+// The request message containing the user's name.
+message HelloRequest {
+ string name = 1;
+}
+
+// The response message containing the greetings.
+message HelloReply {
+ string message = 1;
+}
diff --git a/proto/prost/private/tests/services/helloworld/server.rs b/proto/prost/private/tests/services/helloworld/server.rs
new file mode 100644
index 0000000..8d4abbd
--- /dev/null
+++ b/proto/prost/private/tests/services/helloworld/server.rs
@@ -0,0 +1,37 @@
+use tonic::{transport::Server, Request, Response, Status};
+
+use helloworld_proto::helloworld::greeter_server::{Greeter, GreeterServer};
+use helloworld_proto::helloworld::{HelloReply, HelloRequest};
+
+#[derive(Default)]
+pub struct MyGreeter {}
+
+#[tonic::async_trait]
+impl Greeter for MyGreeter {
+ async fn say_hello(
+ &self,
+ request: Request<HelloRequest>,
+ ) -> Result<Response<HelloReply>, Status> {
+ println!("Got a request from {:?}", request.remote_addr());
+
+ let reply = HelloReply {
+ message: format!("Hello {}!", request.into_inner().name),
+ };
+ Ok(Response::new(reply))
+ }
+}
+
+#[tokio::main]
+async fn main() -> Result<(), Box<dyn std::error::Error>> {
+ let addr = "[::1]:50051".parse().unwrap();
+ let greeter = MyGreeter::default();
+
+ println!("GreeterServer listening on {}", addr);
+
+ Server::builder()
+ .add_service(GreeterServer::new(greeter))
+ .serve(addr)
+ .await?;
+
+ Ok(())
+}
diff --git a/proto/prost/private/tests/transitive_dependencies/BUILD.bazel b/proto/prost/private/tests/transitive_dependencies/BUILD.bazel
new file mode 100644
index 0000000..5bc3b6a
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/BUILD.bazel
@@ -0,0 +1,33 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "a_proto",
+ srcs = [
+ "a.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests/transitive_dependencies",
+ deps = [
+ "//proto/prost/private/tests/transitive_dependencies/b:b_proto",
+ "//proto/prost/private/tests/types:types_proto",
+ "@com_google_protobuf//:duration_proto",
+ "@com_google_protobuf//:timestamp_proto",
+ ],
+)
+
+rust_prost_library(
+ name = "a_rs_proto",
+ proto = ":a_proto",
+)
+
+rust_test(
+ name = "a_test",
+ srcs = ["a_test.rs"],
+ edition = "2021",
+ deps = [
+ ":a_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/transitive_dependencies/a.proto b/proto/prost/private/tests/transitive_dependencies/a.proto
new file mode 100644
index 0000000..bea2efd
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/a.proto
@@ -0,0 +1,20 @@
+syntax = "proto3";
+
+import "google/protobuf/timestamp.proto";
+import "google/protobuf/duration.proto";
+import "b/b.proto";
+import "types/types.proto";
+
+package a;
+
+message A {
+ string name = 1;
+
+ a.b.B b = 2;
+
+ google.protobuf.Timestamp timestamp = 3;
+
+ google.protobuf.Duration duration = 4;
+
+ Types types = 5;
+}
diff --git a/proto/prost/private/tests/transitive_dependencies/a_test.rs b/proto/prost/private/tests/transitive_dependencies/a_test.rs
new file mode 100644
index 0000000..36b484a
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/a_test.rs
@@ -0,0 +1,43 @@
+//! Tests transitive dependencies.
+
+use a_proto::a::A;
+use b_proto::a::b::B;
+use c_proto::a::b::c::C;
+use duration_proto::google::protobuf::Duration;
+use timestamp_proto::google::protobuf::Timestamp;
+use types_proto::Types;
+
+#[test]
+fn test_b() {
+ let duration = Duration {
+ seconds: 1,
+ nanos: 2,
+ };
+
+ let a = A {
+ name: "a".to_string(),
+ b: Some(B {
+ name: "b".to_string(),
+ c: Some(C {
+ name: "c".to_string(),
+ duration: Some(duration.clone()),
+ ..Default::default()
+ }),
+ ..Default::default()
+ }),
+ timestamp: Some(Timestamp {
+ seconds: 1,
+ nanos: 2,
+ }),
+ duration: Some(duration),
+ types: Some(Types::default()),
+ };
+
+ let b_ref = a.b.as_ref().unwrap();
+ let c_ref = b_ref.c.as_ref().unwrap();
+
+ assert_eq!(a.name, "a");
+ assert_eq!(b_ref.name, "b");
+ assert_eq!(c_ref.name, "c");
+ assert_eq!(a.duration, c_ref.duration);
+}
diff --git a/proto/prost/private/tests/transitive_dependencies/b/BUILD.bazel b/proto/prost/private/tests/transitive_dependencies/b/BUILD.bazel
new file mode 100644
index 0000000..209a149
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/b/BUILD.bazel
@@ -0,0 +1,31 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "b_proto",
+ srcs = [
+ "b.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests/transitive_dependencies",
+ deps = [
+ "//proto/prost/private/tests/transitive_dependencies/b/c:c_proto",
+ "@com_google_protobuf//:empty_proto",
+ ],
+)
+
+rust_prost_library(
+ name = "b_rs_proto",
+ proto = ":b_proto",
+)
+
+rust_test(
+ name = "b_test",
+ srcs = ["b_test.rs"],
+ edition = "2021",
+ deps = [
+ ":b_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/transitive_dependencies/b/b.proto b/proto/prost/private/tests/transitive_dependencies/b/b.proto
new file mode 100644
index 0000000..8ab42ab
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/b/b.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+
+import "google/protobuf/empty.proto";
+import "b/c/c.proto";
+
+package a.b;
+
+message B {
+ string name = 1;
+
+ google.protobuf.Empty empty = 2;
+
+ a.b.c.C c = 3;
+}
diff --git a/proto/prost/private/tests/transitive_dependencies/b/b_test.rs b/proto/prost/private/tests/transitive_dependencies/b/b_test.rs
new file mode 100644
index 0000000..0b0fb99
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/b/b_test.rs
@@ -0,0 +1,19 @@
+//! Tests transitive dependencies.
+
+use b_proto::a::b::B;
+use c_proto::a::b::c::C;
+
+#[test]
+fn test_b() {
+ let b = B {
+ name: "b".to_string(),
+ c: Some(C {
+ name: "c".to_string(),
+ ..Default::default()
+ }),
+ ..Default::default()
+ };
+
+ assert_eq!(b.name, "b");
+ assert_eq!(b.c.unwrap().name, "c");
+}
diff --git a/proto/prost/private/tests/transitive_dependencies/b/c/BUILD.bazel b/proto/prost/private/tests/transitive_dependencies/b/c/BUILD.bazel
new file mode 100644
index 0000000..b9c3d0f
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/b/c/BUILD.bazel
@@ -0,0 +1,31 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "c_proto",
+ srcs = [
+ "c.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests/transitive_dependencies",
+ deps = [
+ "@com_google_protobuf//:any_proto",
+ "@com_google_protobuf//:duration_proto",
+ ],
+)
+
+rust_prost_library(
+ name = "c_rs_proto",
+ proto = ":c_proto",
+)
+
+rust_test(
+ name = "c_test",
+ srcs = ["c_test.rs"],
+ edition = "2021",
+ deps = [
+ ":c_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/transitive_dependencies/b/c/c.proto b/proto/prost/private/tests/transitive_dependencies/b/c/c.proto
new file mode 100644
index 0000000..b1b92b1
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/b/c/c.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+
+import "google/protobuf/any.proto";
+import "google/protobuf/duration.proto";
+
+package a.b.c;
+
+message C {
+ string name = 1;
+
+ google.protobuf.Any any = 3;
+
+ google.protobuf.Duration duration = 4;
+}
diff --git a/proto/prost/private/tests/transitive_dependencies/b/c/c_test.rs b/proto/prost/private/tests/transitive_dependencies/b/c/c_test.rs
new file mode 100644
index 0000000..c3e1bf3
--- /dev/null
+++ b/proto/prost/private/tests/transitive_dependencies/b/c/c_test.rs
@@ -0,0 +1,20 @@
+//! Tests transitive dependencies.
+
+use any_proto::google::protobuf::Any;
+use c_proto::a::b::c::C;
+use duration_proto::google::protobuf::Duration;
+
+#[test]
+fn test_c() {
+ let c = C {
+ name: "c".to_string(),
+ any: Some(Any::default()),
+ duration: Some(Duration {
+ seconds: 1,
+ nanos: 0,
+ }),
+ };
+
+ assert_eq!(c.name, "c");
+ assert_eq!(c.duration.unwrap().seconds, 1);
+}
diff --git a/proto/prost/private/tests/types/BUILD.bazel b/proto/prost/private/tests/types/BUILD.bazel
new file mode 100644
index 0000000..431bd14
--- /dev/null
+++ b/proto/prost/private/tests/types/BUILD.bazel
@@ -0,0 +1,27 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "types_proto",
+ srcs = [
+ "types.proto",
+ ],
+ strip_import_prefix = "/proto/prost/private/tests",
+)
+
+rust_prost_library(
+ name = "types_rs_proto",
+ proto = ":types_proto",
+)
+
+rust_test(
+ name = "types_test",
+ srcs = ["types_test.rs"],
+ edition = "2021",
+ deps = [
+ ":types_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/types/types.proto b/proto/prost/private/tests/types/types.proto
new file mode 100644
index 0000000..0f04fed
--- /dev/null
+++ b/proto/prost/private/tests/types/types.proto
@@ -0,0 +1,79 @@
+syntax = "proto3";
+
+enum Enum {
+ A = 0;
+ B = 1;
+ C = 2;
+}
+
+message Types {
+ Enum a_enum = 1;
+ double a_double = 2;
+ float a_float = 3;
+ int32 a_int32 = 4;
+ int64 a_int64 = 5;
+ uint32 a_uint32 = 6;
+ uint64 a_uint64 = 7;
+ sint32 a_sint32 = 8;
+ sint64 a_sint64 = 9;
+ fixed32 a_fixed32 = 10;
+ fixed64 a_fixed64 = 11;
+ sfixed32 a_sfixed32 = 12;
+ sfixed64 a_sfixed64 = 13;
+ bool a_bool = 14;
+ string a_string = 15;
+ bytes a_bytes = 16;
+
+ repeated Enum repeated_enum = 17;
+ repeated double repeated_double = 18;
+ repeated float repeated_float = 19;
+ repeated int32 repeated_int32 = 20;
+ repeated int64 repeated_int64 = 21;
+ repeated uint32 repeated_uint32 = 22;
+ repeated uint64 repeated_uint64 = 23;
+ repeated sint32 repeated_sint32 = 24;
+ repeated sint64 repeated_sint64 = 25;
+ repeated fixed32 repeated_fixed32 = 26;
+ repeated fixed64 repeated_fixed64 = 27;
+ repeated sfixed32 repeated_sfixed32 = 28;
+ repeated sfixed64 repeated_sfixed64 = 29;
+ repeated bool repeated_bool = 30;
+ repeated string repeated_string = 31;
+ repeated bytes repeated_bytes = 32;
+
+ map<string, Enum> map_string_enum = 33;
+ map<string, double> map_string_double = 34;
+ map<string, float> map_string_float = 35;
+ map<string, int32> map_string_int32 = 36;
+ map<string, int64> map_string_int64 = 37;
+ map<string, uint32> map_string_uint32 = 38;
+ map<string, uint64> map_string_uint64 = 39;
+ map<string, sint32> map_string_sint32 = 40;
+ map<string, sint64> map_string_sint64 = 41;
+ map<string, fixed32> map_string_fixed32 = 42;
+ map<string, fixed64> map_string_fixed64 = 43;
+ map<string, sfixed32> map_string_sfixed32 = 44;
+ map<string, sfixed64> map_string_sfixed64 = 45;
+ map<string, bool> map_string_bool = 46;
+ map<string, string> map_string_string = 47;
+ map<string, bytes> map_string_bytes = 48;
+
+ oneof OneOf {
+ Enum oneof_enum = 49;
+ double oneof_double = 50;
+ float oneof_float = 51;
+ int32 oneof_int32 = 52;
+ int64 oneof_int64 = 53;
+ uint32 oneof_uint32 = 54;
+ uint64 oneof_uint64 = 55;
+ sint32 oneof_sint32 = 56;
+ sint64 oneof_sint64 = 57;
+ fixed32 oneof_fixed32 = 58;
+ fixed64 oneof_fixed64 = 59;
+ sfixed32 oneof_sfixed32 = 60;
+ sfixed64 oneof_sfixed64 = 61;
+ bool oneof_bool = 62;
+ string oneof_string = 63;
+ bytes oneof_bytes = 64;
+ }
+}
diff --git a/proto/prost/private/tests/types/types_test.rs b/proto/prost/private/tests/types/types_test.rs
new file mode 100644
index 0000000..2253ef7
--- /dev/null
+++ b/proto/prost/private/tests/types/types_test.rs
@@ -0,0 +1,98 @@
+use types_proto::Enum;
+use types_proto::{types, Types};
+
+#[test]
+fn test_types() {
+ Types {
+ a_enum: Enum::C.into(),
+ a_double: 2.0,
+ a_float: 3.0,
+ a_int32: 4,
+ a_int64: 5,
+ a_uint32: 6,
+ a_uint64: 7,
+ a_sint32: 8,
+ a_sint64: 9,
+ a_fixed32: 10,
+ a_fixed64: 11,
+ a_sfixed32: 12,
+ a_sfixed64: 13,
+ a_bool: true,
+ a_string: "a".to_string(),
+ a_bytes: vec![1, 2, 3],
+ repeated_enum: vec![Enum::A.into(), Enum::B.into()],
+ repeated_double: vec![2.0, 3.0],
+ repeated_float: vec![3.0, 4.0],
+ repeated_int32: vec![4, 5],
+ repeated_int64: vec![5, 6],
+ repeated_uint32: vec![6, 7],
+ repeated_uint64: vec![7, 8],
+ repeated_sint32: vec![8, 9],
+ repeated_sint64: vec![9, 10],
+ repeated_fixed32: vec![10, 11],
+ repeated_fixed64: vec![11, 12],
+ repeated_sfixed32: vec![12, 13],
+ repeated_sfixed64: vec![13, 14],
+ repeated_bool: vec![true, false],
+ repeated_string: vec!["a".to_string(), "b".to_string()],
+ repeated_bytes: vec![vec![1, 2, 3], vec![4, 5, 6]],
+ map_string_enum: vec![
+ ("a".to_string(), Enum::A.into()),
+ ("b".to_string(), Enum::B.into()),
+ ]
+ .into_iter()
+ .collect(),
+ map_string_double: vec![("a".to_string(), 2.0), ("b".to_string(), 3.0)]
+ .into_iter()
+ .collect(),
+ map_string_float: vec![("a".to_string(), 3.0), ("b".to_string(), 4.0)]
+ .into_iter()
+ .collect(),
+ map_string_int32: vec![("a".to_string(), 4), ("b".to_string(), 5)]
+ .into_iter()
+ .collect(),
+ map_string_int64: vec![("a".to_string(), 5), ("b".to_string(), 6)]
+ .into_iter()
+ .collect(),
+ map_string_uint32: vec![("a".to_string(), 6), ("b".to_string(), 7)]
+ .into_iter()
+ .collect(),
+ map_string_uint64: vec![("a".to_string(), 7), ("b".to_string(), 8)]
+ .into_iter()
+ .collect(),
+ map_string_sint32: vec![("a".to_string(), 8), ("b".to_string(), 9)]
+ .into_iter()
+ .collect(),
+ map_string_sint64: vec![("a".to_string(), 9), ("b".to_string(), 10)]
+ .into_iter()
+ .collect(),
+ map_string_fixed32: vec![("a".to_string(), 10), ("b".to_string(), 11)]
+ .into_iter()
+ .collect(),
+ map_string_fixed64: vec![("a".to_string(), 11), ("b".to_string(), 12)]
+ .into_iter()
+ .collect(),
+ map_string_sfixed32: vec![("a".to_string(), 12), ("b".to_string(), 13)]
+ .into_iter()
+ .collect(),
+ map_string_sfixed64: vec![("a".to_string(), 13), ("b".to_string(), 14)]
+ .into_iter()
+ .collect(),
+ map_string_bool: vec![("a".to_string(), true), ("b".to_string(), false)]
+ .into_iter()
+ .collect(),
+ map_string_string: vec![
+ ("a".to_string(), "a".to_string()),
+ ("b".to_string(), "b".to_string()),
+ ]
+ .into_iter()
+ .collect(),
+ map_string_bytes: vec![
+ ("a".to_string(), vec![1, 2, 3]),
+ ("b".to_string(), vec![4, 5, 6]),
+ ]
+ .into_iter()
+ .collect(),
+ one_of: Some(types::OneOf::OneofFloat(1.0)),
+ };
+}
diff --git a/proto/prost/private/tests/well_known_types/BUILD.bazel b/proto/prost/private/tests/well_known_types/BUILD.bazel
new file mode 100644
index 0000000..1ca0eff
--- /dev/null
+++ b/proto/prost/private/tests/well_known_types/BUILD.bazel
@@ -0,0 +1,40 @@
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("//proto/prost:defs.bzl", "rust_prost_library")
+load("//rust:defs.bzl", "rust_test")
+
+package(default_visibility = ["//proto/prost/private/tests:__subpackages__"])
+
+proto_library(
+ name = "well_known_types_proto",
+ srcs = [
+ "well_known_types.proto",
+ ],
+ deps = [
+ "@com_google_protobuf//:any_proto",
+ "@com_google_protobuf//:api_proto",
+ "@com_google_protobuf//:compiler_plugin_proto",
+ "@com_google_protobuf//:descriptor_proto",
+ "@com_google_protobuf//:duration_proto",
+ "@com_google_protobuf//:empty_proto",
+ "@com_google_protobuf//:field_mask_proto",
+ "@com_google_protobuf//:source_context_proto",
+ "@com_google_protobuf//:struct_proto",
+ "@com_google_protobuf//:timestamp_proto",
+ "@com_google_protobuf//:type_proto",
+ "@com_google_protobuf//:wrappers_proto",
+ ],
+)
+
+rust_prost_library(
+ name = "well_known_types_rs_proto",
+ proto = ":well_known_types_proto",
+)
+
+rust_test(
+ name = "well_known_types_test",
+ srcs = ["well_known_types_test.rs"],
+ edition = "2021",
+ deps = [
+ ":well_known_types_rs_proto",
+ ],
+)
diff --git a/proto/prost/private/tests/well_known_types/well_known_types.proto b/proto/prost/private/tests/well_known_types/well_known_types.proto
new file mode 100644
index 0000000..e952053
--- /dev/null
+++ b/proto/prost/private/tests/well_known_types/well_known_types.proto
@@ -0,0 +1,65 @@
+syntax = "proto3";
+
+import "google/protobuf/any.proto";
+import "google/protobuf/api.proto";
+import "google/protobuf/compiler/plugin.proto";
+import "google/protobuf/descriptor.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/source_context.proto";
+import "google/protobuf/struct.proto";
+import "google/protobuf/timestamp.proto";
+import "google/protobuf/type.proto";
+import "google/protobuf/wrappers.proto";
+
+package wkt;
+
+message WellKnownTypes {
+
+ // Any
+ google.protobuf.Any any = 1;
+
+ // Api
+ google.protobuf.Api api = 2;
+ google.protobuf.Method method = 3;
+ google.protobuf.Mixin mixin = 4;
+
+ // Compiler Plugin
+ google.protobuf.compiler.Version compiler_version = 5;
+
+ // Descriptor
+ google.protobuf.DescriptorProto descriptor_proto = 6;
+
+ // Duration
+ google.protobuf.Duration duration = 7;
+
+ // Empty
+ google.protobuf.Empty empty = 8;
+
+ // Field Mask
+ google.protobuf.FieldMask field_mask = 9;
+
+ // Source Context
+ google.protobuf.SourceContext source_context = 10;
+
+ // Struct
+ google.protobuf.Struct struct = 11;
+
+ // Timestamp
+ google.protobuf.Timestamp timestamp = 12;
+
+ // Type
+ google.protobuf.Type type = 13;
+
+ // Wrappers
+ google.protobuf.BoolValue bool_value = 14;
+ google.protobuf.BytesValue bytes_value = 15;
+ google.protobuf.DoubleValue double_value = 16;
+ google.protobuf.FloatValue float_value = 17;
+ google.protobuf.Int32Value int32_value = 18;
+ google.protobuf.Int64Value int64_value = 19;
+ google.protobuf.StringValue string_value = 20;
+ google.protobuf.UInt32Value uint32_value = 21;
+ google.protobuf.UInt64Value uint64_value = 22;
+}
diff --git a/proto/prost/private/tests/well_known_types/well_known_types_test.rs b/proto/prost/private/tests/well_known_types/well_known_types_test.rs
new file mode 100644
index 0000000..3e6fbd8
--- /dev/null
+++ b/proto/prost/private/tests/well_known_types/well_known_types_test.rs
@@ -0,0 +1,107 @@
+//! Tests the Google well-known types.
+
+use any_proto::google::protobuf::Any;
+use api_proto::google::protobuf::{Api, Method, Mixin};
+use compiler_plugin_proto::google::protobuf::compiler::Version;
+use descriptor_proto::google::protobuf::DescriptorProto;
+use duration_proto::google::protobuf::Duration;
+use empty_proto::google::protobuf::Empty;
+use field_mask_proto::google::protobuf::FieldMask;
+use source_context_proto::google::protobuf::SourceContext;
+use struct_proto::google::protobuf::Struct;
+use struct_proto::google::protobuf::Value;
+use timestamp_proto::google::protobuf::Timestamp;
+use type_proto::google::protobuf::field::{Cardinality, Kind};
+use type_proto::google::protobuf::{Field, Option, Syntax, Type};
+use well_known_types_proto::wkt::WellKnownTypes;
+use wrappers_proto::google::protobuf::{
+ BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue,
+ UInt32Value, UInt64Value,
+};
+
+#[test]
+fn test_well_known_types() {
+ let wkt = WellKnownTypes {
+ any: Some(Any {
+ type_url: "type.googleapis.com/google.protobuf.Any".to_string(),
+ value: vec![],
+ }),
+ api: Some(Api {
+ name: "api".to_string(),
+ methods: vec![Method {
+ name: "method".to_string(),
+ ..Method::default()
+ }],
+ options: vec![Option {
+ name: "option".to_string(),
+ ..Option::default()
+ }],
+ version: "1.2.3".to_string(),
+ source_context: Some(SourceContext {
+ file_name: "file_name".to_string(),
+ }),
+ mixins: vec![Mixin {
+ name: "mixin".to_string(),
+ ..Mixin::default()
+ }],
+ syntax: Syntax::Proto3.into(),
+ }),
+ method: Some(Method {
+ name: "method".to_string(),
+ ..Method::default()
+ }),
+ mixin: Some(Mixin {
+ name: "mixin".to_string(),
+ ..Mixin::default()
+ }),
+ compiler_version: Some(Version {
+ major: Some(1),
+ minor: Some(2),
+ patch: Some(3),
+ suffix: Some("suffix".to_string()),
+ }),
+ descriptor_proto: Some(DescriptorProto::default()),
+ empty: Some(Empty::default()),
+ duration: Some(Duration {
+ seconds: 1,
+ nanos: 2,
+ }),
+ field_mask: Some(FieldMask {
+ paths: vec!["path".to_string()],
+ }),
+ source_context: Some(SourceContext {
+ file_name: "file_name".to_string(),
+ }),
+ r#struct: Some(Struct {
+ fields: vec![("field".to_string(), Value::default())]
+ .into_iter()
+ .collect(),
+ }),
+ timestamp: Some(Timestamp {
+ seconds: 1,
+ nanos: 2,
+ }),
+ r#type: Some(Type {
+ name: "type".to_string(),
+ fields: vec![Field {
+ kind: Kind::TypeDouble.into(),
+ cardinality: Cardinality::Required.into(),
+ ..Field::default()
+ }],
+ ..Type::default()
+ }),
+ bool_value: Some(BoolValue { value: true }),
+ bytes_value: Some(BytesValue { value: vec![] }),
+ double_value: Some(DoubleValue { value: 1.0 }),
+ float_value: Some(FloatValue { value: 1.1 }),
+ int32_value: Some(Int32Value { value: 2 }),
+ int64_value: Some(Int64Value { value: 3 }),
+ string_value: Some(StringValue {
+ value: "value".to_string(),
+ }),
+ uint32_value: Some(UInt32Value { value: 4 }),
+ uint64_value: Some(UInt64Value { value: 5 }),
+ };
+
+ assert!(wkt.any.is_some());
+}