From 1b3922d6a51797fed14080605b34e4a4ed04a21a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 12 Nov 2020 17:35:14 +1000 Subject: [PATCH] rs dep updates --- cargo/BUILD.bazel | 4 +- cargo/Cargo.lock | 29 +++++---- cargo/crates.bzl | 60 +++++++++++-------- cargo/remote/BUILD.fluent-0.13.1.bazel | 2 +- ...bazel => BUILD.fluent-bundle-0.13.2.bazel} | 2 +- cargo/remote/BUILD.futures-task-0.3.8.bazel | 2 +- cargo/remote/BUILD.hyper-0.13.9.bazel | 2 +- cargo/remote/BUILD.idna-0.2.0.bazel | 2 +- cargo/remote/BUILD.libc-0.2.80.bazel | 2 + ....4.1.bazel => BUILD.once_cell-1.5.1.bazel} | 5 +- cargo/remote/BUILD.ring-0.16.15.bazel | 2 +- ....3.15.bazel => BUILD.socket2-0.3.16.bazel} | 2 +- ...-0.3.4.bazel => BUILD.tinyvec-1.0.1.bazel} | 4 +- cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel | 52 ++++++++++++++++ ... BUILD.unicode-normalization-0.1.14.bazel} | 4 +- 15 files changed, 125 insertions(+), 49 deletions(-) rename cargo/remote/{BUILD.fluent-bundle-0.13.1.bazel => BUILD.fluent-bundle-0.13.2.bazel} (98%) rename cargo/remote/{BUILD.once_cell-1.4.1.bazel => BUILD.once_cell-1.5.1.bazel} (94%) rename cargo/remote/{BUILD.socket2-0.3.15.bazel => BUILD.socket2-0.3.16.bazel} (98%) rename cargo/remote/{BUILD.tinyvec-0.3.4.bazel => BUILD.tinyvec-1.0.1.bazel} (91%) create mode 100644 cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel rename cargo/remote/{BUILD.unicode-normalization-0.1.13.bazel => BUILD.unicode-normalization-0.1.14.bazel} (94%) diff --git a/cargo/BUILD.bazel b/cargo/BUILD.bazel index 5adc85c20..93aa17e0a 100644 --- a/cargo/BUILD.bazel +++ b/cargo/BUILD.bazel @@ -203,7 +203,7 @@ alias( alias( name = "once_cell", - actual = "@raze__once_cell__1_4_1//:once_cell", + actual = "@raze__once_cell__1_5_1//:once_cell", tags = [ "cargo-raze", "manual", @@ -428,7 +428,7 @@ alias( alias( name = "unicode_normalization", - actual = "@raze__unicode_normalization__0_1_13//:unicode_normalization", + actual = "@raze__unicode_normalization__0_1_14//:unicode_normalization", tags = [ "cargo-raze", "manual", diff --git a/cargo/Cargo.lock b/cargo/Cargo.lock index f05656fe2..6e485b5d7 100644 --- a/cargo/Cargo.lock +++ b/cargo/Cargo.lock @@ -542,9 +542,9 @@ dependencies = [ [[package]] name = "fluent-bundle" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a79916560098f0a57215a489e37b7fc83088949eab7f7977dcc329b254d50c17" +checksum = "092ebd50cd3f8a6d664bf156e3550d2f7232fbe446da6707d727cca53f707ce2" dependencies = [ "fluent-langneg", "fluent-syntax", @@ -1284,9 +1284,9 @@ checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397" [[package]] name = "once_cell" -version = "1.4.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad" +checksum = "f53cef67919d7d247eb9a2f128ca9e522789967ef1eb4ccd8c71a95a8aedf596" [[package]] name = "openssl-probe" @@ -1993,9 +1993,9 @@ checksum = "fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252" [[package]] name = "socket2" -version = "0.3.15" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44" +checksum = "7fd8b795c389288baa5f355489c65e71fd48a02104600d15c4cfbc561e9e429d" dependencies = [ "cfg-if 0.1.10", "libc", @@ -2137,9 +2137,18 @@ checksum = "29738eedb4388d9ea620eeab9384884fc3f06f586a2eddb56bedc5885126c7c1" [[package]] name = "tinyvec" -version = "0.3.4" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117" +checksum = "b78a366903f506d2ad52ca8dc552102ffdd3e937ba8a227f024dc1d1eae28575" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" @@ -2337,9 +2346,9 @@ dependencies = [ [[package]] name = "unicode-normalization" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977" +checksum = "b7f98e67a4d84f730d343392f9bfff7d21e3fca562b9cb7a43b768350beeddc6" dependencies = [ "tinyvec", ] diff --git a/cargo/crates.bzl b/cargo/crates.bzl index 2b55dd506..c9239be1b 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -563,12 +563,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__fluent_bundle__0_13_1", - url = "https://crates.io/api/v1/crates/fluent-bundle/0.13.1/download", + name = "raze__fluent_bundle__0_13_2", + url = "https://crates.io/api/v1/crates/fluent-bundle/0.13.2/download", type = "tar.gz", - sha256 = "a79916560098f0a57215a489e37b7fc83088949eab7f7977dcc329b254d50c17", - strip_prefix = "fluent-bundle-0.13.1", - build_file = Label("//cargo/remote:BUILD.fluent-bundle-0.13.1.bazel"), + sha256 = "092ebd50cd3f8a6d664bf156e3550d2f7232fbe446da6707d727cca53f707ce2", + strip_prefix = "fluent-bundle-0.13.2", + build_file = Label("//cargo/remote:BUILD.fluent-bundle-0.13.2.bazel"), ) maybe( @@ -1333,12 +1333,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__once_cell__1_4_1", - url = "https://crates.io/api/v1/crates/once_cell/1.4.1/download", + name = "raze__once_cell__1_5_1", + url = "https://crates.io/api/v1/crates/once_cell/1.5.1/download", type = "tar.gz", - sha256 = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad", - strip_prefix = "once_cell-1.4.1", - build_file = Label("//cargo/remote:BUILD.once_cell-1.4.1.bazel"), + sha256 = "f53cef67919d7d247eb9a2f128ca9e522789967ef1eb4ccd8c71a95a8aedf596", + strip_prefix = "once_cell-1.5.1", + build_file = Label("//cargo/remote:BUILD.once_cell-1.5.1.bazel"), ) maybe( @@ -2033,12 +2033,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__socket2__0_3_15", - url = "https://crates.io/api/v1/crates/socket2/0.3.15/download", + name = "raze__socket2__0_3_16", + url = "https://crates.io/api/v1/crates/socket2/0.3.16/download", type = "tar.gz", - sha256 = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44", - strip_prefix = "socket2-0.3.15", - build_file = Label("//cargo/remote:BUILD.socket2-0.3.15.bazel"), + sha256 = "7fd8b795c389288baa5f355489c65e71fd48a02104600d15c4cfbc561e9e429d", + strip_prefix = "socket2-0.3.16", + build_file = Label("//cargo/remote:BUILD.socket2-0.3.16.bazel"), ) maybe( @@ -2193,12 +2193,22 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__tinyvec__0_3_4", - url = "https://crates.io/api/v1/crates/tinyvec/0.3.4/download", + name = "raze__tinyvec__1_0_1", + url = "https://crates.io/api/v1/crates/tinyvec/1.0.1/download", type = "tar.gz", - sha256 = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117", - strip_prefix = "tinyvec-0.3.4", - build_file = Label("//cargo/remote:BUILD.tinyvec-0.3.4.bazel"), + sha256 = "b78a366903f506d2ad52ca8dc552102ffdd3e937ba8a227f024dc1d1eae28575", + strip_prefix = "tinyvec-1.0.1", + build_file = Label("//cargo/remote:BUILD.tinyvec-1.0.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__tinyvec_macros__0_1_0", + url = "https://crates.io/api/v1/crates/tinyvec_macros/0.1.0/download", + type = "tar.gz", + sha256 = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c", + strip_prefix = "tinyvec_macros-0.1.0", + build_file = Label("//cargo/remote:BUILD.tinyvec_macros-0.1.0.bazel"), ) maybe( @@ -2393,12 +2403,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__unicode_normalization__0_1_13", - url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.13/download", + name = "raze__unicode_normalization__0_1_14", + url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.14/download", type = "tar.gz", - sha256 = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977", - strip_prefix = "unicode-normalization-0.1.13", - build_file = Label("//cargo/remote:BUILD.unicode-normalization-0.1.13.bazel"), + sha256 = "b7f98e67a4d84f730d343392f9bfff7d21e3fca562b9cb7a43b768350beeddc6", + strip_prefix = "unicode-normalization-0.1.14", + build_file = Label("//cargo/remote:BUILD.unicode-normalization-0.1.14.bazel"), ) maybe( diff --git a/cargo/remote/BUILD.fluent-0.13.1.bazel b/cargo/remote/BUILD.fluent-0.13.1.bazel index 7608dc5e5..dabec9836 100644 --- a/cargo/remote/BUILD.fluent-0.13.1.bazel +++ b/cargo/remote/BUILD.fluent-0.13.1.bazel @@ -48,7 +48,7 @@ rust_library( version = "0.13.1", # buildifier: leave-alone deps = [ - "@raze__fluent_bundle__0_13_1//:fluent_bundle", + "@raze__fluent_bundle__0_13_2//:fluent_bundle", "@raze__unic_langid__0_9_0//:unic_langid", ], ) diff --git a/cargo/remote/BUILD.fluent-bundle-0.13.1.bazel b/cargo/remote/BUILD.fluent-bundle-0.13.2.bazel similarity index 98% rename from cargo/remote/BUILD.fluent-bundle-0.13.1.bazel rename to cargo/remote/BUILD.fluent-bundle-0.13.2.bazel index 015bc79b2..19fddf575 100644 --- a/cargo/remote/BUILD.fluent-bundle-0.13.1.bazel +++ b/cargo/remote/BUILD.fluent-bundle-0.13.2.bazel @@ -47,7 +47,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.13.1", + version = "0.13.2", # buildifier: leave-alone deps = [ "@raze__fluent_langneg__0_13_0//:fluent_langneg", diff --git a/cargo/remote/BUILD.futures-task-0.3.8.bazel b/cargo/remote/BUILD.futures-task-0.3.8.bazel index ec27e366d..8cbdd96cf 100644 --- a/cargo/remote/BUILD.futures-task-0.3.8.bazel +++ b/cargo/remote/BUILD.futures-task-0.3.8.bazel @@ -51,6 +51,6 @@ rust_library( version = "0.3.8", # buildifier: leave-alone deps = [ - "@raze__once_cell__1_4_1//:once_cell", + "@raze__once_cell__1_5_1//:once_cell", ], ) diff --git a/cargo/remote/BUILD.hyper-0.13.9.bazel b/cargo/remote/BUILD.hyper-0.13.9.bazel index 187c2de37..090f453a1 100644 --- a/cargo/remote/BUILD.hyper-0.13.9.bazel +++ b/cargo/remote/BUILD.hyper-0.13.9.bazel @@ -105,7 +105,7 @@ rust_library( "@raze__httpdate__0_3_2//:httpdate", "@raze__itoa__0_4_6//:itoa", "@raze__pin_project__1_0_1//:pin_project", - "@raze__socket2__0_3_15//:socket2", + "@raze__socket2__0_3_16//:socket2", "@raze__tokio__0_2_22//:tokio", "@raze__tower_service__0_3_0//:tower_service", "@raze__tracing__0_1_21//:tracing", diff --git a/cargo/remote/BUILD.idna-0.2.0.bazel b/cargo/remote/BUILD.idna-0.2.0.bazel index 378434e10..b00b48614 100644 --- a/cargo/remote/BUILD.idna-0.2.0.bazel +++ b/cargo/remote/BUILD.idna-0.2.0.bazel @@ -50,7 +50,7 @@ rust_library( deps = [ "@raze__matches__0_1_8//:matches", "@raze__unicode_bidi__0_3_4//:unicode_bidi", - "@raze__unicode_normalization__0_1_13//:unicode_normalization", + "@raze__unicode_normalization__0_1_14//:unicode_normalization", ], ) diff --git a/cargo/remote/BUILD.libc-0.2.80.bazel b/cargo/remote/BUILD.libc-0.2.80.bazel index c7c411e58..8e74e2d50 100644 --- a/cargo/remote/BUILD.libc-0.2.80.bazel +++ b/cargo/remote/BUILD.libc-0.2.80.bazel @@ -40,6 +40,7 @@ cargo_build_script( build_script_env = { }, crate_features = [ + "align", "default", "std", ], @@ -63,6 +64,7 @@ rust_library( name = "libc", srcs = glob(["**/*.rs"]), crate_features = [ + "align", "default", "std", ], diff --git a/cargo/remote/BUILD.once_cell-1.4.1.bazel b/cargo/remote/BUILD.once_cell-1.5.1.bazel similarity index 94% rename from cargo/remote/BUILD.once_cell-1.4.1.bazel rename to cargo/remote/BUILD.once_cell-1.5.1.bazel index bdde03682..0b750163a 100644 --- a/cargo/remote/BUILD.once_cell-1.4.1.bazel +++ b/cargo/remote/BUILD.once_cell-1.5.1.bazel @@ -48,6 +48,7 @@ rust_library( name = "once_cell", srcs = glob(["**/*.rs"]), crate_features = [ + "alloc", "default", "std", ], @@ -61,10 +62,10 @@ rust_library( "cargo-raze", "manual", ], - version = "1.4.1", + version = "1.5.1", # buildifier: leave-alone deps = [ ], ) -# Unsupported target "test" with type "test" omitted +# Unsupported target "it" with type "test" omitted diff --git a/cargo/remote/BUILD.ring-0.16.15.bazel b/cargo/remote/BUILD.ring-0.16.15.bazel index 83e85b267..922cabc90 100644 --- a/cargo/remote/BUILD.ring-0.16.15.bazel +++ b/cargo/remote/BUILD.ring-0.16.15.bazel @@ -158,7 +158,7 @@ rust_library( "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ - "@raze__once_cell__1_4_1//:once_cell", + "@raze__once_cell__1_5_1//:once_cell", ], "//conditions:default": [], }) + selects.with_or({ diff --git a/cargo/remote/BUILD.socket2-0.3.15.bazel b/cargo/remote/BUILD.socket2-0.3.16.bazel similarity index 98% rename from cargo/remote/BUILD.socket2-0.3.15.bazel rename to cargo/remote/BUILD.socket2-0.3.16.bazel index c4c45b357..0b568104a 100644 --- a/cargo/remote/BUILD.socket2-0.3.15.bazel +++ b/cargo/remote/BUILD.socket2-0.3.16.bazel @@ -47,7 +47,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.15", + version = "0.3.16", # buildifier: leave-alone deps = [ ] + selects.with_or({ diff --git a/cargo/remote/BUILD.tinyvec-0.3.4.bazel b/cargo/remote/BUILD.tinyvec-1.0.1.bazel similarity index 91% rename from cargo/remote/BUILD.tinyvec-0.3.4.bazel rename to cargo/remote/BUILD.tinyvec-1.0.1.bazel index 84505ea56..62bba115f 100644 --- a/cargo/remote/BUILD.tinyvec-0.3.4.bazel +++ b/cargo/remote/BUILD.tinyvec-1.0.1.bazel @@ -38,6 +38,7 @@ rust_library( crate_features = [ "alloc", "default", + "tinyvec_macros", ], crate_root = "src/lib.rs", crate_type = "lib", @@ -49,9 +50,10 @@ rust_library( "cargo-raze", "manual", ], - version = "0.3.4", + version = "1.0.1", # buildifier: leave-alone deps = [ + "@raze__tinyvec_macros__0_1_0//:tinyvec_macros", ], ) diff --git a/cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel b/cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel new file mode 100644 index 000000000..ce7bc3c65 --- /dev/null +++ b/cargo/remote/BUILD.tinyvec_macros-0.1.0.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR (Apache-2.0 OR Zlib)" +]) + +# Generated Targets + +rust_library( + name = "tinyvec_macros", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.0", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/remote/BUILD.unicode-normalization-0.1.13.bazel b/cargo/remote/BUILD.unicode-normalization-0.1.14.bazel similarity index 94% rename from cargo/remote/BUILD.unicode-normalization-0.1.13.bazel rename to cargo/remote/BUILD.unicode-normalization-0.1.14.bazel index fff82dbdf..45eae7f3d 100644 --- a/cargo/remote/BUILD.unicode-normalization-0.1.13.bazel +++ b/cargo/remote/BUILD.unicode-normalization-0.1.14.bazel @@ -49,9 +49,9 @@ rust_library( "cargo-raze", "manual", ], - version = "0.1.13", + version = "0.1.14", # buildifier: leave-alone deps = [ - "@raze__tinyvec__0_3_4//:tinyvec", + "@raze__tinyvec__1_0_1//:tinyvec", ], )