diff --git a/impl/Cargo.lock b/impl/Cargo.lock index 0c7e956b7..c0c4cecba 100644 --- a/impl/Cargo.lock +++ b/impl/Cargo.lock @@ -347,6 +347,15 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" +[[package]] +name = "camino" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4648c6d00a709aa069a236adcaae4f605a6241c72bf5bee79331a4b625921a9" +dependencies = [ + "serde", +] + [[package]] name = "cargo-clone-crate" version = "0.1.6" @@ -358,18 +367,18 @@ dependencies = [ "log", "regex", "reqwest", - "semver", + "semver 0.11.0", "serde_json", "tar", ] [[package]] name = "cargo-lock" -version = "6.0.1" +version = "7.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6f16e7adc20969298b1e137ac21ab3a7e7a9412fec71f963ff2fdc41663d70f" +checksum = "7fb04b88bd5b2036e30704f95c6ee16f3b5ca3b4ca307da2889d9006648e5c88" dependencies = [ - "semver", + "semver 1.0.3", "serde", "toml", "url", @@ -408,7 +417,7 @@ dependencies = [ "pathdiff", "regex", "rustc-serialize", - "semver", + "semver 1.0.3", "serde", "serde_derive", "serde_json", @@ -423,13 +432,13 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.12.3" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7714a157da7991e23d90686b9524b9e12e0407a108647f52e9328f4b3d51ac7f" +checksum = "c297bd3135f558552f99a0daa180876984ea2c4ffa7470314540dff8c654109a" dependencies = [ + "camino", "cargo-platform", - "semver", - "semver-parser", + "semver 1.0.3", "serde", "serde_json", ] @@ -525,16 +534,16 @@ checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" [[package]] name = "crates-index" -version = "0.16.4" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f01dd064c9e221dd92ad85fce4530969b555ee01a284983da55b46e38690028b" +checksum = "8ad4af5c8dd9940a497ef4473e6e558b660a4a1b6e5ce2cb9d85454e2aaaf947" dependencies = [ "git2", "glob", "hex", "home", "memchr", - "semver", + "semver 1.0.3", "serde", "serde_derive", "serde_json", @@ -887,9 +896,9 @@ dependencies = [ [[package]] name = "git2" -version = "0.13.17" +version = "0.13.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d250f5f82326884bd39c2853577e70a121775db76818ffa452ed1e80de12986" +checksum = "d9831e983241f8c5591ed53f17d874833e2fa82cac2625f3888c50cbfe136cba" dependencies = [ "bitflags", "libc", @@ -1291,9 +1300,9 @@ checksum = "56d855069fafbb9b344c0f962150cd2c1187975cb1c22c1522c240d8c4986714" [[package]] name = "libgit2-sys" -version = "0.12.18+1.1.0" +version = "0.12.21+1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da6a42da88fc37ee1ecda212ffa254c25713532980005d5f7c0b0fbe7e6e885" +checksum = "86271bacd72b2b9e854c3dcfb82efd538f15f870e4c11af66900effb462f6825" dependencies = [ "cc", "libc", @@ -1372,9 +1381,9 @@ checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" [[package]] name = "memchr" -version = "2.3.4" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" +checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" [[package]] name = "mime" @@ -1992,6 +2001,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" dependencies = [ "semver-parser", +] + +[[package]] +name = "semver" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe" +dependencies = [ "serde", ] @@ -2006,18 +2023,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.125" +version = "1.0.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171" +checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.125" +version = "1.0.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d" +checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" dependencies = [ "proc-macro2", "quote", diff --git a/impl/Cargo.toml b/impl/Cargo.toml index db7252209..342ce0ddf 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -23,13 +23,13 @@ path = "src/bin/cargo-raze.rs" [dependencies] anyhow = "1.0.38" -cargo_metadata = "0.12.3" +cargo_metadata = "0.14" cargo_toml = "0.8.1" cargo-clone-crate = { version = "0.1.6", default-features = false } -cargo-lock = "6.0.0" +cargo-lock = "7" cargo-platform = "0.1.1" cfg-expr = "0.6.0" -crates-index = "0.16.2" +crates-index = "0.17" docopt = "1.1.0" glob = "0.3.0" itertools = "0.10.0" @@ -37,7 +37,7 @@ log = "0.4.13" pathdiff = "0.2.0" regex = "1.4.3" rustc-serialize = "0.3.24" -semver = { version = "0.11.0", features = ["serde"] } +semver = { version = "1", features = ["serde"] } serde = "1.0.120" serde_derive = "1.0.120" serde_json = "1.0.61" diff --git a/impl/src/bin/cargo-raze.rs b/impl/src/bin/cargo-raze.rs index 2fec9035c..b0abcc7f1 100644 --- a/impl/src/bin/cargo-raze.rs +++ b/impl/src/bin/cargo-raze.rs @@ -184,8 +184,8 @@ fn fetch_raze_metadata( None => RazeMetadataFetcher::default(), }; - let cargo_raze_working_dir = - find_bazel_workspace_root(&local_metadata.workspace_root).unwrap_or(env::current_dir()?); + let cargo_raze_working_dir = find_bazel_workspace_root(local_metadata.workspace_root.as_ref()) + .unwrap_or(env::current_dir()?); let binary_dep_info = if settings.genmode == GenMode::Remote { Some(&settings.binary_deps) @@ -195,15 +195,17 @@ fn fetch_raze_metadata( let reused_lockfile = if !options.flag_generate_lockfile.unwrap_or(false) { find_lockfile( - &local_metadata.workspace_root, - &cargo_raze_working_dir.join(settings.workspace_path.trim_start_matches('/')), + local_metadata.workspace_root.as_ref(), + cargo_raze_working_dir + .join(settings.workspace_path.trim_start_matches('/')) + .as_ref(), ) } else { None }; let raze_metadata = metadata_fetcher.fetch_metadata( - &local_metadata.workspace_root, + local_metadata.workspace_root.as_ref(), binary_dep_info, reused_lockfile, )?; @@ -227,8 +229,8 @@ fn render_files( planned_build: &PlannedBuild, local_metadata: &Metadata, ) -> Result<(RenderDetails, Vec)> { - let cargo_raze_working_dir = - find_bazel_workspace_root(&local_metadata.workspace_root).unwrap_or(env::current_dir()?); + let cargo_raze_working_dir = find_bazel_workspace_root(local_metadata.workspace_root.as_ref()) + .unwrap_or(env::current_dir()?); let mut bazel_renderer = BazelRenderer::new(); let render_details = RenderDetails { diff --git a/impl/src/metadata.rs b/impl/src/metadata.rs index e78467588..744006641 100644 --- a/impl/src/metadata.rs +++ b/impl/src/metadata.rs @@ -288,8 +288,7 @@ impl RazeMetadataFetcher { // Copy over the Cargo.toml files of each workspace member self.link_src_to_workspace(&no_deps_metadata, temp_dir.as_ref())?; - - Ok((temp_dir, no_deps_metadata.workspace_root)) + Ok((temp_dir, no_deps_metadata.workspace_root.into())) } /// Download a crate's source code from the current registry url diff --git a/impl/src/planning.rs b/impl/src/planning.rs index b6ee39746..b802a78b0 100644 --- a/impl/src/planning.rs +++ b/impl/src/planning.rs @@ -809,12 +809,12 @@ mod tests { assert!(planned_build .crate_contexts .iter() - .any(|ctx| ctx.pkg_name == "unicode-xid" && ctx.pkg_version == Version::from((0, 1, 0)))); + .any(|ctx| ctx.pkg_name == "unicode-xid" && ctx.pkg_version == Version::new(0, 1, 0))); assert!(planned_build .crate_contexts .iter() - .any(|ctx| ctx.pkg_name == "unicode-xid" && ctx.pkg_version == Version::from((0, 2, 1)))); + .any(|ctx| ctx.pkg_name == "unicode-xid" && ctx.pkg_version == Version::new(0, 2, 1))); } // TODO(acmcarther): Add tests: // TODO(acmcarther): Extra flags work diff --git a/impl/src/planning/subplanners.rs b/impl/src/planning/subplanners.rs index f3dd0ce9a..cf30e21f9 100644 --- a/impl/src/planning/subplanners.rs +++ b/impl/src/planning/subplanners.rs @@ -106,8 +106,8 @@ impl<'planner> WorkspaceSubplanner<'planner> { None } else { util::get_workspace_member_path( - &pkg.manifest_path, - &self.metadata.metadata.workspace_root, + pkg.manifest_path.as_ref(), + self.metadata.metadata.workspace_root.as_ref(), ) } } else { @@ -257,7 +257,7 @@ impl<'planner> WorkspaceSubplanner<'planner> { .get(&target) .map(|x| x.to_string()) .unwrap_or(pkg_name); - let dep_alias = DependencyAlias { alias, target }; + let dep_alias = DependencyAlias { target, alias }; to_alias .raze_settings @@ -313,8 +313,8 @@ impl<'planner> CrateSubplanner<'planner> { .collect(); Ok(CrateTargetedDepContext { - deps, target, + deps, platform_targets, }) }) @@ -347,14 +347,14 @@ impl<'planner> CrateSubplanner<'planner> { .unwrap(); let workspace_member_path = util::get_workspace_member_path( - &member.manifest_path, - &self.crate_catalog.metadata.workspace_root, + member.manifest_path.as_ref(), + self.crate_catalog.metadata.workspace_root.as_ref(), ) .ok_or_else(|| { anyhow!( "Failed to generate workspace_member_path for {} and {}", - &package.manifest_path.display(), - &self.crate_catalog.metadata.workspace_root.display() + &package.manifest_path, + &self.crate_catalog.metadata.workspace_root ) })?; @@ -642,7 +642,7 @@ impl<'planner> CrateSubplanner<'planner> { let manifest_parent = package.manifest_path.parent().unwrap(); let path_to_crate_root = manifest_parent.strip_prefix(package_root).unwrap(); let path_to_crate_root = if path_to_crate_root.components().next().is_some() { - Some(path_to_crate_root.to_string_lossy().to_string()) + Some(path_to_crate_root.to_string()) } else { None }; diff --git a/impl/src/settings.rs b/impl/src/settings.rs index e807c5ccb..77dae49cf 100644 --- a/impl/src/settings.rs +++ b/impl/src/settings.rs @@ -659,12 +659,8 @@ pub struct LegacyCargoToml { fn parse_raze_settings_legacy(metadata: &Metadata) -> Result { let root_toml = metadata.workspace_root.join("Cargo.toml"); let toml_contents = std::fs::read_to_string(&root_toml)?; - let data = toml::from_str::(&toml_contents).with_context(|| { - format!( - "Failed to read `[raze]` settings from {}", - root_toml.display() - ) - })?; + let data = toml::from_str::(&toml_contents) + .with_context(|| format!("Failed to read `[raze]` settings from {}", root_toml))?; Ok(data.raze) } @@ -775,7 +771,7 @@ pub fn load_settings(metadata: &Metadata) -> Result { result.unwrap() }; - validate_settings(&mut settings, &metadata.workspace_root)?; + validate_settings(&mut settings, metadata.workspace_root.as_ref())?; Ok(settings) } diff --git a/third_party/cargo/crates.bzl b/third_party/cargo/crates.bzl index 1f6999ec1..4900a8e0b 100644 --- a/third_party/cargo/crates.bzl +++ b/third_party/cargo/crates.bzl @@ -14,12 +14,12 @@ _DEPENDENCIES = { "impl": { "anyhow": "@cargo_raze__anyhow__1_0_40//:anyhow", "cargo-clone-crate": "@cargo_raze__cargo_clone_crate__0_1_6//:cargo_clone_crate", - "cargo-lock": "@cargo_raze__cargo_lock__6_0_1//:cargo_lock", + "cargo-lock": "@cargo_raze__cargo_lock__7_0_1//:cargo_lock", "cargo-platform": "@cargo_raze__cargo_platform__0_1_1//:cargo_platform", - "cargo_metadata": "@cargo_raze__cargo_metadata__0_12_3//:cargo_metadata", + "cargo_metadata": "@cargo_raze__cargo_metadata__0_14_0//:cargo_metadata", "cargo_toml": "@cargo_raze__cargo_toml__0_8_1//:cargo_toml", "cfg-expr": "@cargo_raze__cfg_expr__0_6_0//:cfg_expr", - "crates-index": "@cargo_raze__crates_index__0_16_4//:crates_index", + "crates-index": "@cargo_raze__crates_index__0_17_0//:crates_index", "docopt": "@cargo_raze__docopt__1_1_1//:docopt", "glob": "@cargo_raze__glob__0_3_0//:glob", "itertools": "@cargo_raze__itertools__0_10_0//:itertools", @@ -27,8 +27,8 @@ _DEPENDENCIES = { "pathdiff": "@cargo_raze__pathdiff__0_2_0//:pathdiff", "regex": "@cargo_raze__regex__1_4_5//:regex", "rustc-serialize": "@cargo_raze__rustc_serialize__0_3_24//:rustc_serialize", - "semver": "@cargo_raze__semver__0_11_0//:semver", - "serde": "@cargo_raze__serde__1_0_125//:serde", + "semver": "@cargo_raze__semver__1_0_3//:semver", + "serde": "@cargo_raze__serde__1_0_126//:serde", "serde_json": "@cargo_raze__serde_json__1_0_64//:serde_json", "slug": "@cargo_raze__slug__0_1_4//:slug", "spdx": "@cargo_raze__spdx__0_3_6//:spdx", @@ -42,7 +42,7 @@ _DEPENDENCIES = { # EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dependencies for the Rust targets of that package. _PROC_MACRO_DEPENDENCIES = { "impl": { - "serde_derive": "@cargo_raze__serde_derive__1_0_125//:serde_derive", + "serde_derive": "@cargo_raze__serde_derive__1_0_126//:serde_derive", }, } @@ -559,6 +559,16 @@ def cargo_raze_fetch_remote_crates(): build_file = Label("//third_party/cargo/remote:BUILD.cache-padded-1.1.1.bazel"), ) + maybe( + http_archive, + name = "cargo_raze__camino__1_0_4", + url = "https://crates.io/api/v1/crates/camino/1.0.4/download", + type = "tar.gz", + sha256 = "d4648c6d00a709aa069a236adcaae4f605a6241c72bf5bee79331a4b625921a9", + strip_prefix = "camino-1.0.4", + build_file = Label("//third_party/cargo/remote:BUILD.camino-1.0.4.bazel"), + ) + maybe( http_archive, name = "cargo_raze__cargo_clone_crate__0_1_6", @@ -571,12 +581,12 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__cargo_lock__6_0_1", - url = "https://crates.io/api/v1/crates/cargo-lock/6.0.1/download", + name = "cargo_raze__cargo_lock__7_0_1", + url = "https://crates.io/api/v1/crates/cargo-lock/7.0.1/download", type = "tar.gz", - sha256 = "e6f16e7adc20969298b1e137ac21ab3a7e7a9412fec71f963ff2fdc41663d70f", - strip_prefix = "cargo-lock-6.0.1", - build_file = Label("//third_party/cargo/remote:BUILD.cargo-lock-6.0.1.bazel"), + sha256 = "7fb04b88bd5b2036e30704f95c6ee16f3b5ca3b4ca307da2889d9006648e5c88", + strip_prefix = "cargo-lock-7.0.1", + build_file = Label("//third_party/cargo/remote:BUILD.cargo-lock-7.0.1.bazel"), ) maybe( @@ -591,12 +601,12 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__cargo_metadata__0_12_3", - url = "https://crates.io/api/v1/crates/cargo_metadata/0.12.3/download", + name = "cargo_raze__cargo_metadata__0_14_0", + url = "https://crates.io/api/v1/crates/cargo_metadata/0.14.0/download", type = "tar.gz", - sha256 = "7714a157da7991e23d90686b9524b9e12e0407a108647f52e9328f4b3d51ac7f", - strip_prefix = "cargo_metadata-0.12.3", - build_file = Label("//third_party/cargo/remote:BUILD.cargo_metadata-0.12.3.bazel"), + sha256 = "c297bd3135f558552f99a0daa180876984ea2c4ffa7470314540dff8c654109a", + strip_prefix = "cargo_metadata-0.14.0", + build_file = Label("//third_party/cargo/remote:BUILD.cargo_metadata-0.14.0.bazel"), ) maybe( @@ -701,12 +711,12 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__crates_index__0_16_4", - url = "https://crates.io/api/v1/crates/crates-index/0.16.4/download", + name = "cargo_raze__crates_index__0_17_0", + url = "https://crates.io/api/v1/crates/crates-index/0.17.0/download", type = "tar.gz", - sha256 = "f01dd064c9e221dd92ad85fce4530969b555ee01a284983da55b46e38690028b", - strip_prefix = "crates-index-0.16.4", - build_file = Label("//third_party/cargo/remote:BUILD.crates-index-0.16.4.bazel"), + sha256 = "8ad4af5c8dd9940a497ef4473e6e558b660a4a1b6e5ce2cb9d85454e2aaaf947", + strip_prefix = "crates-index-0.17.0", + build_file = Label("//third_party/cargo/remote:BUILD.crates-index-0.17.0.bazel"), ) maybe( @@ -1081,12 +1091,12 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__git2__0_13_17", - url = "https://crates.io/api/v1/crates/git2/0.13.17/download", + name = "cargo_raze__git2__0_13_20", + url = "https://crates.io/api/v1/crates/git2/0.13.20/download", type = "tar.gz", - sha256 = "1d250f5f82326884bd39c2853577e70a121775db76818ffa452ed1e80de12986", - strip_prefix = "git2-0.13.17", - build_file = Label("//third_party/cargo/remote:BUILD.git2-0.13.17.bazel"), + sha256 = "d9831e983241f8c5591ed53f17d874833e2fa82cac2625f3888c50cbfe136cba", + strip_prefix = "git2-0.13.20", + build_file = Label("//third_party/cargo/remote:BUILD.git2-0.13.20.bazel"), ) maybe( @@ -1441,12 +1451,12 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__libgit2_sys__0_12_18_1_1_0", - url = "https://crates.io/api/v1/crates/libgit2-sys/0.12.18+1.1.0/download", + name = "cargo_raze__libgit2_sys__0_12_21_1_1_0", + url = "https://crates.io/api/v1/crates/libgit2-sys/0.12.21+1.1.0/download", type = "tar.gz", - sha256 = "3da6a42da88fc37ee1ecda212ffa254c25713532980005d5f7c0b0fbe7e6e885", - strip_prefix = "libgit2-sys-0.12.18+1.1.0", - build_file = Label("//third_party/cargo/remote:BUILD.libgit2-sys-0.12.18+1.1.0.bazel"), + sha256 = "86271bacd72b2b9e854c3dcfb82efd538f15f870e4c11af66900effb462f6825", + strip_prefix = "libgit2-sys-0.12.21+1.1.0", + build_file = Label("//third_party/cargo/remote:BUILD.libgit2-sys-0.12.21+1.1.0.bazel"), ) maybe( @@ -1521,12 +1531,12 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__memchr__2_3_4", - url = "https://crates.io/api/v1/crates/memchr/2.3.4/download", + name = "cargo_raze__memchr__2_4_0", + url = "https://crates.io/api/v1/crates/memchr/2.4.0/download", type = "tar.gz", - sha256 = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525", - strip_prefix = "memchr-2.3.4", - build_file = Label("//third_party/cargo/remote:BUILD.memchr-2.3.4.bazel"), + sha256 = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc", + strip_prefix = "memchr-2.4.0", + build_file = Label("//third_party/cargo/remote:BUILD.memchr-2.4.0.bazel"), ) maybe( @@ -2179,6 +2189,16 @@ def cargo_raze_fetch_remote_crates(): build_file = Label("//third_party/cargo/remote:BUILD.semver-0.11.0.bazel"), ) + maybe( + http_archive, + name = "cargo_raze__semver__1_0_3", + url = "https://crates.io/api/v1/crates/semver/1.0.3/download", + type = "tar.gz", + sha256 = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe", + strip_prefix = "semver-1.0.3", + build_file = Label("//third_party/cargo/remote:BUILD.semver-1.0.3.bazel"), + ) + maybe( http_archive, name = "cargo_raze__semver_parser__0_10_2", @@ -2191,22 +2211,22 @@ def cargo_raze_fetch_remote_crates(): maybe( http_archive, - name = "cargo_raze__serde__1_0_125", - url = "https://crates.io/api/v1/crates/serde/1.0.125/download", + name = "cargo_raze__serde__1_0_126", + url = "https://crates.io/api/v1/crates/serde/1.0.126/download", type = "tar.gz", - sha256 = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171", - strip_prefix = "serde-1.0.125", - build_file = Label("//third_party/cargo/remote:BUILD.serde-1.0.125.bazel"), + sha256 = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03", + strip_prefix = "serde-1.0.126", + build_file = Label("//third_party/cargo/remote:BUILD.serde-1.0.126.bazel"), ) maybe( http_archive, - name = "cargo_raze__serde_derive__1_0_125", - url = "https://crates.io/api/v1/crates/serde_derive/1.0.125/download", + name = "cargo_raze__serde_derive__1_0_126", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.126/download", type = "tar.gz", - sha256 = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d", - strip_prefix = "serde_derive-1.0.125", - build_file = Label("//third_party/cargo/remote:BUILD.serde_derive-1.0.125.bazel"), + sha256 = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43", + strip_prefix = "serde_derive-1.0.126", + build_file = Label("//third_party/cargo/remote:BUILD.serde_derive-1.0.126.bazel"), ) maybe( diff --git a/third_party/cargo/remote/BUILD.aho-corasick-0.7.15.bazel b/third_party/cargo/remote/BUILD.aho-corasick-0.7.15.bazel index bcf0db966..b85c5831e 100644 --- a/third_party/cargo/remote/BUILD.aho-corasick-0.7.15.bazel +++ b/third_party/cargo/remote/BUILD.aho-corasick-0.7.15.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.7.15", # buildifier: leave-alone deps = [ - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", ], ) diff --git a/third_party/cargo/remote/BUILD.assert-json-diff-2.0.1.bazel b/third_party/cargo/remote/BUILD.assert-json-diff-2.0.1.bazel index 960418d81..c7bd8309d 100644 --- a/third_party/cargo/remote/BUILD.assert-json-diff-2.0.1.bazel +++ b/third_party/cargo/remote/BUILD.assert-json-diff-2.0.1.bazel @@ -49,7 +49,7 @@ rust_library( version = "2.0.1", # buildifier: leave-alone deps = [ - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", ], ) diff --git a/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel b/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel index 8858554cf..02121167d 100644 --- a/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel +++ b/third_party/cargo/remote/BUILD.async-std-1.9.0.bazel @@ -122,7 +122,7 @@ rust_library( "@cargo_raze__futures_io__0_3_13//:futures_io", "@cargo_raze__kv_log_macro__1_0_7//:kv_log_macro", "@cargo_raze__log__0_4_14//:log", - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", "@cargo_raze__num_cpus__1_13_0//:num_cpus", "@cargo_raze__once_cell__1_7_2//:once_cell", "@cargo_raze__pin_project_lite__0_2_6//:pin_project_lite", diff --git a/third_party/cargo/remote/BUILD.bstr-0.2.15.bazel b/third_party/cargo/remote/BUILD.bstr-0.2.15.bazel index cde1b9927..54152d1f6 100644 --- a/third_party/cargo/remote/BUILD.bstr-0.2.15.bazel +++ b/third_party/cargo/remote/BUILD.bstr-0.2.15.bazel @@ -66,6 +66,6 @@ rust_library( version = "0.2.15", # buildifier: leave-alone deps = [ - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", ], ) diff --git a/third_party/cargo/remote/BUILD.camino-1.0.4.bazel b/third_party/cargo/remote/BUILD.camino-1.0.4.bazel new file mode 100644 index 000000000..ec22fadc9 --- /dev/null +++ b/third_party/cargo/remote/BUILD.camino-1.0.4.bazel @@ -0,0 +1,94 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "camino_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "serde", + "serde1", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.4", + visibility = ["//visibility:private"], + deps = [ + ], +) + +# Unsupported target "serde" with type "example" omitted + +# Unsupported target "structopt" with type "example" omitted + +rust_library( + name = "camino", + srcs = glob(["**/*.rs"]), + crate_features = [ + "serde", + "serde1", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.4", + # buildifier: leave-alone + deps = [ + ":camino_build_script", + "@cargo_raze__serde__1_0_126//:serde", + ], +) + +# Unsupported target "integration_tests" with type "test" omitted diff --git a/third_party/cargo/remote/BUILD.cargo-lock-6.0.1.bazel b/third_party/cargo/remote/BUILD.cargo-lock-7.0.1.bazel similarity index 88% rename from third_party/cargo/remote/BUILD.cargo-lock-6.0.1.bazel rename to third_party/cargo/remote/BUILD.cargo-lock-7.0.1.bazel index 16a1acaab..158747d8d 100644 --- a/third_party/cargo/remote/BUILD.cargo-lock-6.0.1.bazel +++ b/third_party/cargo/remote/BUILD.cargo-lock-7.0.1.bazel @@ -48,12 +48,12 @@ rust_binary( "cargo-raze", "manual", ], - version = "6.0.1", + version = "7.0.1", # buildifier: leave-alone deps = [ ":cargo_lock", - "@cargo_raze__semver__0_11_0//:semver", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__semver__1_0_3//:semver", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__toml__0_5_8//:toml", "@cargo_raze__url__2_2_1//:url", ], @@ -74,11 +74,11 @@ rust_library( "cargo-raze", "manual", ], - version = "6.0.1", + version = "7.0.1", # buildifier: leave-alone deps = [ - "@cargo_raze__semver__0_11_0//:semver", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__semver__1_0_3//:semver", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__toml__0_5_8//:toml", "@cargo_raze__url__2_2_1//:url", ], diff --git a/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.bazel b/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.bazel index e3cb21618..f198dc0eb 100644 --- a/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.bazel +++ b/third_party/cargo/remote/BUILD.cargo-platform-0.1.1.bazel @@ -51,7 +51,7 @@ rust_library( version = "0.1.1", # buildifier: leave-alone deps = [ - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.cargo_metadata-0.12.3.bazel b/third_party/cargo/remote/BUILD.cargo_metadata-0.14.0.bazel similarity index 87% rename from third_party/cargo/remote/BUILD.cargo_metadata-0.12.3.bazel rename to third_party/cargo/remote/BUILD.cargo_metadata-0.14.0.bazel index 70c118781..0dfd05fa2 100644 --- a/third_party/cargo/remote/BUILD.cargo_metadata-0.12.3.bazel +++ b/third_party/cargo/remote/BUILD.cargo_metadata-0.14.0.bazel @@ -47,13 +47,13 @@ rust_library( "cargo-raze", "manual", ], - version = "0.12.3", + version = "0.14.0", # buildifier: leave-alone deps = [ + "@cargo_raze__camino__1_0_4//:camino", "@cargo_raze__cargo_platform__0_1_1//:cargo_platform", - "@cargo_raze__semver__0_11_0//:semver", - "@cargo_raze__semver_parser__0_10_2//:semver_parser", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__semver__1_0_3//:semver", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", ], ) diff --git a/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.bazel b/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.bazel index 37bb02dea..7278ea41b 100644 --- a/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.bazel +++ b/third_party/cargo/remote/BUILD.cargo_toml-0.8.1.bazel @@ -40,7 +40,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@cargo_raze__serde_derive__1_0_125//:serde_derive", + "@cargo_raze__serde_derive__1_0_126//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -52,7 +52,7 @@ rust_library( version = "0.8.1", # buildifier: leave-alone deps = [ - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__toml__0_5_8//:toml", ], ) diff --git a/third_party/cargo/remote/BUILD.crates-index-0.16.4.bazel b/third_party/cargo/remote/BUILD.crates-index-0.17.0.bazel similarity index 79% rename from third_party/cargo/remote/BUILD.crates-index-0.16.4.bazel rename to third_party/cargo/remote/BUILD.crates-index-0.17.0.bazel index c48d144b6..7485d9948 100644 --- a/third_party/cargo/remote/BUILD.crates-index-0.16.4.bazel +++ b/third_party/cargo/remote/BUILD.crates-index-0.17.0.bazel @@ -40,7 +40,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@cargo_raze__serde_derive__1_0_125//:serde_derive", + "@cargo_raze__serde_derive__1_0_126//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -49,17 +49,19 @@ rust_library( "cargo-raze", "manual", ], - version = "0.16.4", + version = "0.17.0", # buildifier: leave-alone deps = [ - "@cargo_raze__git2__0_13_17//:git2", + "@cargo_raze__git2__0_13_20//:git2", "@cargo_raze__glob__0_3_0//:glob", "@cargo_raze__hex__0_4_3//:hex", "@cargo_raze__home__0_5_3//:home", - "@cargo_raze__memchr__2_3_4//:memchr", - "@cargo_raze__semver__0_11_0//:semver", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__memchr__2_4_0//:memchr", + "@cargo_raze__semver__1_0_3//:semver", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", "@cargo_raze__smartstring__0_2_6//:smartstring", ], ) + +# Unsupported target "mem" with type "test" omitted diff --git a/third_party/cargo/remote/BUILD.docopt-1.1.1.bazel b/third_party/cargo/remote/BUILD.docopt-1.1.1.bazel index 147b2021e..befd39bd9 100644 --- a/third_party/cargo/remote/BUILD.docopt-1.1.1.bazel +++ b/third_party/cargo/remote/BUILD.docopt-1.1.1.bazel @@ -54,7 +54,7 @@ rust_binary( ":docopt", "@cargo_raze__lazy_static__1_4_0//:lazy_static", "@cargo_raze__regex__1_4_5//:regex", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__strsim__0_10_0//:strsim", ], ) @@ -91,7 +91,7 @@ rust_library( deps = [ "@cargo_raze__lazy_static__1_4_0//:lazy_static", "@cargo_raze__regex__1_4_5//:regex", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__strsim__0_10_0//:strsim", ], ) diff --git a/third_party/cargo/remote/BUILD.futures-lite-1.11.3.bazel b/third_party/cargo/remote/BUILD.futures-lite-1.11.3.bazel index e735d8019..15119a8a6 100644 --- a/third_party/cargo/remote/BUILD.futures-lite-1.11.3.bazel +++ b/third_party/cargo/remote/BUILD.futures-lite-1.11.3.bazel @@ -59,7 +59,7 @@ rust_library( "@cargo_raze__fastrand__1_4_0//:fastrand", "@cargo_raze__futures_core__0_3_13//:futures_core", "@cargo_raze__futures_io__0_3_13//:futures_io", - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", "@cargo_raze__parking__2_0_0//:parking", "@cargo_raze__pin_project_lite__0_2_6//:pin_project_lite", "@cargo_raze__waker_fn__1_1_0//:waker_fn", diff --git a/third_party/cargo/remote/BUILD.futures-util-0.3.13.bazel b/third_party/cargo/remote/BUILD.futures-util-0.3.13.bazel index d7e916cbe..8fe2e2827 100644 --- a/third_party/cargo/remote/BUILD.futures-util-0.3.13.bazel +++ b/third_party/cargo/remote/BUILD.futures-util-0.3.13.bazel @@ -70,7 +70,7 @@ rust_library( "@cargo_raze__futures_core__0_3_13//:futures_core", "@cargo_raze__futures_io__0_3_13//:futures_io", "@cargo_raze__futures_task__0_3_13//:futures_task", - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", "@cargo_raze__pin_project_lite__0_2_6//:pin_project_lite", "@cargo_raze__pin_utils__0_1_0//:pin_utils", "@cargo_raze__proc_macro_nested__0_1_7//:proc_macro_nested", diff --git a/third_party/cargo/remote/BUILD.git2-0.13.17.bazel b/third_party/cargo/remote/BUILD.git2-0.13.20.bazel similarity index 96% rename from third_party/cargo/remote/BUILD.git2-0.13.17.bazel rename to third_party/cargo/remote/BUILD.git2-0.13.20.bazel index 67a4da2ef..e638cc156 100644 --- a/third_party/cargo/remote/BUILD.git2-0.13.17.bazel +++ b/third_party/cargo/remote/BUILD.git2-0.13.20.bazel @@ -82,12 +82,12 @@ rust_library( "cargo-raze", "manual", ], - version = "0.13.17", + version = "0.13.20", # buildifier: leave-alone deps = [ "@cargo_raze__bitflags__1_2_1//:bitflags", "@cargo_raze__libc__0_2_92//:libc", - "@cargo_raze__libgit2_sys__0_12_18_1_1_0//:libgit2_sys", + "@cargo_raze__libgit2_sys__0_12_21_1_1_0//:libgit2_sys", "@cargo_raze__log__0_4_14//:log", "@cargo_raze__url__2_2_1//:url", ] + selects.with_or({ diff --git a/third_party/cargo/remote/BUILD.hex-0.4.3.bazel b/third_party/cargo/remote/BUILD.hex-0.4.3.bazel index ba0094fb2..0017913f2 100644 --- a/third_party/cargo/remote/BUILD.hex-0.4.3.bazel +++ b/third_party/cargo/remote/BUILD.hex-0.4.3.bazel @@ -55,7 +55,7 @@ rust_library( version = "0.4.3", # buildifier: leave-alone deps = [ - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.httpmock-0.5.7.bazel b/third_party/cargo/remote/BUILD.httpmock-0.5.7.bazel index f8f63f70e..9192bcf39 100644 --- a/third_party/cargo/remote/BUILD.httpmock-0.5.7.bazel +++ b/third_party/cargo/remote/BUILD.httpmock-0.5.7.bazel @@ -69,7 +69,7 @@ rust_binary( "@cargo_raze__log__0_4_14//:log", "@cargo_raze__qstring__0_7_2//:qstring", "@cargo_raze__regex__1_4_5//:regex", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", "@cargo_raze__serde_regex__1_1_0//:serde_regex", "@cargo_raze__tokio__1_4_0//:tokio", @@ -111,7 +111,7 @@ rust_library( "@cargo_raze__log__0_4_14//:log", "@cargo_raze__qstring__0_7_2//:qstring", "@cargo_raze__regex__1_4_5//:regex", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", "@cargo_raze__serde_regex__1_1_0//:serde_regex", "@cargo_raze__tokio__1_4_0//:tokio", diff --git a/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel b/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel index e683480df..030201393 100644 --- a/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel +++ b/third_party/cargo/remote/BUILD.ignore-0.4.17.bazel @@ -57,7 +57,7 @@ rust_library( "@cargo_raze__globset__0_4_6//:globset", "@cargo_raze__lazy_static__1_4_0//:lazy_static", "@cargo_raze__log__0_4_14//:log", - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", "@cargo_raze__regex__1_4_5//:regex", "@cargo_raze__same_file__1_0_6//:same_file", "@cargo_raze__thread_local__1_1_3//:thread_local", diff --git a/third_party/cargo/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel b/third_party/cargo/remote/BUILD.libgit2-sys-0.12.21+1.1.0.bazel similarity index 98% rename from third_party/cargo/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel rename to third_party/cargo/remote/BUILD.libgit2-sys-0.12.21+1.1.0.bazel index a7907a68b..cf0583d21 100644 --- a/third_party/cargo/remote/BUILD.libgit2-sys-0.12.18+1.1.0.bazel +++ b/third_party/cargo/remote/BUILD.libgit2-sys-0.12.21+1.1.0.bazel @@ -55,7 +55,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.12.18+1.1.0", + version = "0.12.21+1.1.0", # buildifier: leave-alone deps = [ "@cargo_raze__libc__0_2_92//:libc", diff --git a/third_party/cargo/remote/BUILD.memchr-2.3.4.bazel b/third_party/cargo/remote/BUILD.memchr-2.4.0.bazel similarity index 94% rename from third_party/cargo/remote/BUILD.memchr-2.3.4.bazel rename to third_party/cargo/remote/BUILD.memchr-2.4.0.bazel index eca754f77..38a1548db 100644 --- a/third_party/cargo/remote/BUILD.memchr-2.3.4.bazel +++ b/third_party/cargo/remote/BUILD.memchr-2.4.0.bazel @@ -49,7 +49,7 @@ cargo_build_script( ], crate_root = "build.rs", data = glob(["**"]), - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -57,7 +57,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "2.3.4", + version = "2.4.0", visibility = ["//visibility:private"], deps = [ ], @@ -73,7 +73,7 @@ rust_library( ], crate_root = "src/lib.rs", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -81,7 +81,7 @@ rust_library( "cargo-raze", "manual", ], - version = "2.3.4", + version = "2.4.0", # buildifier: leave-alone deps = [ ":memchr_build_script", diff --git a/third_party/cargo/remote/BUILD.regex-1.4.5.bazel b/third_party/cargo/remote/BUILD.regex-1.4.5.bazel index d498a7816..013aba6e6 100644 --- a/third_party/cargo/remote/BUILD.regex-1.4.5.bazel +++ b/third_party/cargo/remote/BUILD.regex-1.4.5.bazel @@ -79,7 +79,7 @@ rust_library( # buildifier: leave-alone deps = [ "@cargo_raze__aho_corasick__0_7_15//:aho_corasick", - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", "@cargo_raze__regex_syntax__0_6_23//:regex_syntax", ], ) diff --git a/third_party/cargo/remote/BUILD.reqwest-0.11.2.bazel b/third_party/cargo/remote/BUILD.reqwest-0.11.2.bazel index fd7764161..d36294411 100644 --- a/third_party/cargo/remote/BUILD.reqwest-0.11.2.bazel +++ b/third_party/cargo/remote/BUILD.reqwest-0.11.2.bazel @@ -75,7 +75,7 @@ rust_library( deps = [ "@cargo_raze__bytes__1_0_1//:bytes", "@cargo_raze__http__0_2_3//:http", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", "@cargo_raze__serde_urlencoded__0_7_0//:serde_urlencoded", "@cargo_raze__url__2_2_1//:url", diff --git a/third_party/cargo/remote/BUILD.semver-0.11.0.bazel b/third_party/cargo/remote/BUILD.semver-0.11.0.bazel index 707ad18df..7f282fe56 100644 --- a/third_party/cargo/remote/BUILD.semver-0.11.0.bazel +++ b/third_party/cargo/remote/BUILD.semver-0.11.0.bazel @@ -36,7 +36,6 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "default", - "serde", ], crate_root = "src/lib.rs", data = [], @@ -52,7 +51,6 @@ rust_library( # buildifier: leave-alone deps = [ "@cargo_raze__semver_parser__0_10_2//:semver_parser", - "@cargo_raze__serde__1_0_125//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.semver-1.0.3.bazel b/third_party/cargo/remote/BUILD.semver-1.0.3.bazel new file mode 100644 index 000000000..e23737d5a --- /dev/null +++ b/third_party/cargo/remote/BUILD.semver-1.0.3.bazel @@ -0,0 +1,98 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:defs.bzl", + "rust_binary", + "rust_library", + "rust_proc_macro", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//third_party/cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "semver_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "serde", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.3", + visibility = ["//visibility:private"], + deps = [ + ], +) + +# Unsupported target "parse" with type "bench" omitted + +rust_library( + name = "semver", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "serde", + "std", + ], + crate_root = "src/lib.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.3", + # buildifier: leave-alone + deps = [ + ":semver_build_script", + "@cargo_raze__serde__1_0_126//:serde", + ], +) + +# Unsupported target "test_identifier" with type "test" omitted + +# Unsupported target "test_version" with type "test" omitted + +# Unsupported target "test_version_req" with type "test" omitted diff --git a/third_party/cargo/remote/BUILD.serde-1.0.125.bazel b/third_party/cargo/remote/BUILD.serde-1.0.126.bazel similarity index 92% rename from third_party/cargo/remote/BUILD.serde-1.0.125.bazel rename to third_party/cargo/remote/BUILD.serde-1.0.126.bazel index b5618335f..cd876baf5 100644 --- a/third_party/cargo/remote/BUILD.serde-1.0.125.bazel +++ b/third_party/cargo/remote/BUILD.serde-1.0.126.bazel @@ -45,6 +45,7 @@ cargo_build_script( crate_features = [ "default", "derive", + "rc", "serde_derive", "std", ], @@ -58,7 +59,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.125", + version = "1.0.126", visibility = ["//visibility:private"], deps = [ ], @@ -70,6 +71,7 @@ rust_library( crate_features = [ "default", "derive", + "rc", "serde_derive", "std", ], @@ -77,7 +79,7 @@ rust_library( data = [], edition = "2015", proc_macro_deps = [ - "@cargo_raze__serde_derive__1_0_125//:serde_derive", + "@cargo_raze__serde_derive__1_0_126//:serde_derive", ], rustc_flags = [ "--cap-lints=allow", @@ -86,7 +88,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.125", + version = "1.0.126", # buildifier: leave-alone deps = [ ":serde_build_script", diff --git a/third_party/cargo/remote/BUILD.serde_derive-1.0.125.bazel b/third_party/cargo/remote/BUILD.serde_derive-1.0.126.bazel similarity index 97% rename from third_party/cargo/remote/BUILD.serde_derive-1.0.125.bazel rename to third_party/cargo/remote/BUILD.serde_derive-1.0.126.bazel index 75017e046..5cc846254 100644 --- a/third_party/cargo/remote/BUILD.serde_derive-1.0.125.bazel +++ b/third_party/cargo/remote/BUILD.serde_derive-1.0.126.bazel @@ -55,7 +55,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.125", + version = "1.0.126", visibility = ["//visibility:private"], deps = [ ], @@ -77,7 +77,7 @@ rust_proc_macro( "cargo-raze", "manual", ], - version = "1.0.125", + version = "1.0.126", # buildifier: leave-alone deps = [ ":serde_derive_build_script", diff --git a/third_party/cargo/remote/BUILD.serde_json-1.0.64.bazel b/third_party/cargo/remote/BUILD.serde_json-1.0.64.bazel index 506966a8e..9b3a95041 100644 --- a/third_party/cargo/remote/BUILD.serde_json-1.0.64.bazel +++ b/third_party/cargo/remote/BUILD.serde_json-1.0.64.bazel @@ -87,6 +87,6 @@ rust_library( ":serde_json_build_script", "@cargo_raze__itoa__0_4_7//:itoa", "@cargo_raze__ryu__1_0_5//:ryu", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.serde_regex-1.1.0.bazel b/third_party/cargo/remote/BUILD.serde_regex-1.1.0.bazel index b074c69dc..f258b68c1 100644 --- a/third_party/cargo/remote/BUILD.serde_regex-1.1.0.bazel +++ b/third_party/cargo/remote/BUILD.serde_regex-1.1.0.bazel @@ -50,6 +50,6 @@ rust_library( # buildifier: leave-alone deps = [ "@cargo_raze__regex__1_4_5//:regex", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.bazel b/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.bazel index e9d5b0c7e..8a08491d1 100644 --- a/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.bazel +++ b/third_party/cargo/remote/BUILD.serde_urlencoded-0.7.0.bazel @@ -52,7 +52,7 @@ rust_library( "@cargo_raze__form_urlencoded__1_0_1//:form_urlencoded", "@cargo_raze__itoa__0_4_7//:itoa", "@cargo_raze__ryu__1_0_5//:ryu", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.smartstring-0.2.6.bazel b/third_party/cargo/remote/BUILD.smartstring-0.2.6.bazel index e8ded0b20..0e4dc9351 100644 --- a/third_party/cargo/remote/BUILD.smartstring-0.2.6.bazel +++ b/third_party/cargo/remote/BUILD.smartstring-0.2.6.bazel @@ -54,7 +54,7 @@ rust_library( version = "0.2.6", # buildifier: leave-alone deps = [ - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__static_assertions__1_1_0//:static_assertions", ], ) diff --git a/third_party/cargo/remote/BUILD.tera-1.7.0.bazel b/third_party/cargo/remote/BUILD.tera-1.7.0.bazel index f1e13bbb6..15315fa03 100644 --- a/third_party/cargo/remote/BUILD.tera-1.7.0.bazel +++ b/third_party/cargo/remote/BUILD.tera-1.7.0.bazel @@ -70,7 +70,7 @@ rust_library( "@cargo_raze__pest__2_1_3//:pest", "@cargo_raze__rand__0_8_3//:rand", "@cargo_raze__regex__1_4_5//:regex", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", "@cargo_raze__slug__0_1_4//:slug", "@cargo_raze__unic_segment__0_9_0//:unic_segment", diff --git a/third_party/cargo/remote/BUILD.tokio-1.4.0.bazel b/third_party/cargo/remote/BUILD.tokio-1.4.0.bazel index 3f7590e39..c1d147ead 100644 --- a/third_party/cargo/remote/BUILD.tokio-1.4.0.bazel +++ b/third_party/cargo/remote/BUILD.tokio-1.4.0.bazel @@ -142,7 +142,7 @@ rust_library( deps = [ ":tokio_build_script", "@cargo_raze__bytes__1_0_1//:bytes", - "@cargo_raze__memchr__2_3_4//:memchr", + "@cargo_raze__memchr__2_4_0//:memchr", "@cargo_raze__mio__0_7_11//:mio", "@cargo_raze__num_cpus__1_13_0//:num_cpus", "@cargo_raze__once_cell__1_7_2//:once_cell", diff --git a/third_party/cargo/remote/BUILD.toml-0.5.8.bazel b/third_party/cargo/remote/BUILD.toml-0.5.8.bazel index cfee22dff..5a7ae0e1d 100644 --- a/third_party/cargo/remote/BUILD.toml-0.5.8.bazel +++ b/third_party/cargo/remote/BUILD.toml-0.5.8.bazel @@ -56,7 +56,7 @@ rust_library( version = "0.5.8", # buildifier: leave-alone deps = [ - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", ], ) diff --git a/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.73.bazel b/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.73.bazel index 400d11fb5..67f78cbc4 100644 --- a/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.73.bazel +++ b/third_party/cargo/remote/BUILD.wasm-bindgen-0.2.73.bazel @@ -95,7 +95,7 @@ rust_library( deps = [ ":wasm_bindgen_build_script", "@cargo_raze__cfg_if__1_0_0//:cfg_if", - "@cargo_raze__serde__1_0_125//:serde", + "@cargo_raze__serde__1_0_126//:serde", "@cargo_raze__serde_json__1_0_64//:serde_json", ], )