Replaced `crates_universe` rule with `crates_repository` (#1158)
* Added unmodified `cargo-bazel` source code
* Applied `rules_rust` specific updates to `cargo-bazel` impl
* Updated lockfiles
* Replaced `crate_universe` examples with `crates_repository` examples
* Applied `rules_rust` specific updates to `cargo-bazel` examples
* Updated examples lockfiles
* Updated `crate_universe` docs to represent `crates_repository`
* Regenerate documentation
diff --git a/crate_universe/3rdparty/crates/BUILD.itoa-1.0.1.bazel b/crate_universe/3rdparty/crates/BUILD.itoa-1.0.1.bazel
new file mode 100644
index 0000000..69bfcf9
--- /dev/null
+++ b/crate_universe/3rdparty/crates/BUILD.itoa-1.0.1.bazel
@@ -0,0 +1,84 @@
+###############################################################################
+# @generated
+# This file is auto-generated by the cargo-bazel tool.
+#
+# DO NOT MODIFY: Local changes may be replaced in future executions.
+###############################################################################
+
+load(
+ "@bazel_skylib//lib:selects.bzl",
+ "selects",
+)
+
+# buildifier: disable=bzl-visibility
+load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
+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(
+ include = [
+ "**/*.rs",
+ ],
+ exclude = [
+ ],
+ ),
+ aliases = selects.with_or({
+ "//conditions:default": {
+ },
+ }),
+ compile_data = glob(["**"]) + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ crate_features = [
+ ],
+ crate_root = "src/lib.rs",
+ data = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ edition = "2018",
+ proc_macro_deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_env = {
+ },
+ rustc_env_files = select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ rustc_flags = [
+ # In most cases, warnings in 3rd party crates are not interesting as
+ # they're out of the control of consumers. The flag here silences
+ # warnings. For more details see:
+ # https://doc.rust-lang.org/rustc/lints/levels.html
+ "--cap-lints=allow",
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+ tags = [
+ "cargo-bazel",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.0.1",
+ deps = [
+ ] + select_with_or({
+ "//conditions:default": [
+ ],
+ }),
+)