From: Matthieu Date: Tue, 7 Sep 2021 17:19:01 +0000 (+0400) Subject: patch webpki and ring X-Git-Tag: v0.1~64^2^2~34 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=892c5ecf9adb1207c2408548f3415cbc3f2a51c9;p=matthieu%2Fnova.git patch webpki and ring --- diff --git a/Cargo.lock b/Cargo.lock index 977b315..59e777d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,6 +93,12 @@ dependencies = [ "generic-array", ] +[[package]] +name = "bumpalo" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" + [[package]] name = "byteorder" version = "1.4.3" @@ -456,6 +462,15 @@ version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" +[[package]] +name = "js-sys" +version = "0.3.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4bf49d50e2961077d9c99f4b7997d770a1114f087c3c2e0069b36c13fc2979d" +dependencies = [ + "wasm-bindgen", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -891,12 +906,40 @@ dependencies = [ "tonic-build", ] +[[package]] +name = "ring" +version = "0.16.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin", + "untrusted", + "web-sys", + "winapi", +] + [[package]] name = "rust-ini" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" +[[package]] +name = "rustls" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +dependencies = [ + "base64", + "log", + "ring", + "sct", + "webpki", +] + [[package]] name = "ryu" version = "1.0.5" @@ -918,6 +961,16 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "sct" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "serde" version = "0.8.23" @@ -1022,6 +1075,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + [[package]] name = "static_assertions" version = "1.1.0" @@ -1158,6 +1217,7 @@ dependencies = [ "futures-util", "log", "pin-project", + "rustls", "tokio", "tungstenite", ] @@ -1361,6 +1421,12 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + [[package]] name = "url" version = "2.2.2" @@ -1412,6 +1478,70 @@ version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +[[package]] +name = "wasm-bindgen" +version = "0.2.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ce9b1b516211d33767048e5d47fa2a381ed8b76fc48d2ce4aa39877f9f183e0" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe8dc78e2326ba5f845f4b5bf548401604fa20b1dd1d365fb73b6c1d6364041" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44468aa53335841d9d6b6c023eaab07c0cd4bddbcfdee3e2bb1e8d2cb8069fef" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0195807922713af1e67dc66132c7328206ed9766af3858164fb583eedc25fbad" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acdb075a845574a1fa5f09fd77e43f7747599301ea3417a9fbffdeedfc1f4a29" + +[[package]] +name = "web-sys" +version = "0.3.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224b2f6b67919060055ef1a67807367c2066ed520c3862cc013d26cf893a783c" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webhook" version = "0.1.0" @@ -1426,6 +1556,16 @@ dependencies = [ "tokio", ] +[[package]] +name = "webpki" +version = "0.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "which" version = "4.2.2" diff --git a/Cargo.toml b/Cargo.toml index d351a71..7f473a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,5 +29,14 @@ experimental_api = true skipped_deps = ["libc-0.2.101"] additional_deps = ["@raze__libc__0_2_101//:libc"] +[package.metadata.raze.crates.ring.'*'] +compile_data_attr = "glob([\"*/**\"])" +skipped_deps = ["once_cell-1.8.0"] +additional_deps = ["@raze__once_cell__1_8_0//:once_cell"] + + +[package.metadata.raze.crates.webpki.'*'] +compile_data_attr = "glob([\"*/**\"])" + [package.metadata.raze.crates.libsodium-sys.'*'] buildrs_additional_environment_variables = { PATH = "/usr/sbin:/usr/bin:/sbin:/bin", "NUM_JOBS" = "2" } diff --git a/cargo/crates.bzl b/cargo/crates.bzl index c773e0c..1495d5f 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -327,6 +327,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.block-buffer-0.9.0.bazel"), ) + maybe( + http_archive, + name = "raze__bumpalo__3_7_0", + url = "https://crates.io/api/v1/crates/bumpalo/3.7.0/download", + type = "tar.gz", + sha256 = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631", + strip_prefix = "bumpalo-3.7.0", + build_file = Label("//cargo/remote:BUILD.bumpalo-3.7.0.bazel"), + ) + maybe( http_archive, name = "raze__byteorder__1_4_3", @@ -687,6 +697,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.itoa-0.4.8.bazel"), ) + maybe( + http_archive, + name = "raze__js_sys__0_3_53", + url = "https://crates.io/api/v1/crates/js-sys/0.3.53/download", + type = "tar.gz", + sha256 = "e4bf49d50e2961077d9c99f4b7997d770a1114f087c3c2e0069b36c13fc2979d", + strip_prefix = "js-sys-0.3.53", + build_file = Label("//cargo/remote:BUILD.js-sys-0.3.53.bazel"), + ) + maybe( http_archive, name = "raze__lazy_static__1_4_0", @@ -1157,6 +1177,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.remove_dir_all-0.5.3.bazel"), ) + maybe( + http_archive, + name = "raze__ring__0_16_20", + url = "https://crates.io/api/v1/crates/ring/0.16.20/download", + type = "tar.gz", + sha256 = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc", + strip_prefix = "ring-0.16.20", + build_file = Label("//cargo/remote:BUILD.ring-0.16.20.bazel"), + ) + maybe( http_archive, name = "raze__rust_ini__0_13_0", @@ -1167,6 +1197,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.rust-ini-0.13.0.bazel"), ) + maybe( + http_archive, + name = "raze__rustls__0_19_1", + url = "https://crates.io/api/v1/crates/rustls/0.19.1/download", + type = "tar.gz", + sha256 = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7", + strip_prefix = "rustls-0.19.1", + build_file = Label("//cargo/remote:BUILD.rustls-0.19.1.bazel"), + ) + maybe( http_archive, name = "raze__ryu__1_0_5", @@ -1197,6 +1237,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.scopeguard-1.1.0.bazel"), ) + maybe( + http_archive, + name = "raze__sct__0_6_1", + url = "https://crates.io/api/v1/crates/sct/0.6.1/download", + type = "tar.gz", + sha256 = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce", + strip_prefix = "sct-0.6.1", + build_file = Label("//cargo/remote:BUILD.sct-0.6.1.bazel"), + ) + maybe( http_archive, name = "raze__serde__0_8_23", @@ -1307,6 +1357,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.socket2-0.4.1.bazel"), ) + maybe( + http_archive, + name = "raze__spin__0_5_2", + url = "https://crates.io/api/v1/crates/spin/0.5.2/download", + type = "tar.gz", + sha256 = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d", + strip_prefix = "spin-0.5.2", + build_file = Label("//cargo/remote:BUILD.spin-0.5.2.bazel"), + ) + maybe( http_archive, name = "raze__static_assertions__1_1_0", @@ -1617,6 +1677,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.unicode-xid-0.2.2.bazel"), ) + maybe( + http_archive, + name = "raze__untrusted__0_7_1", + url = "https://crates.io/api/v1/crates/untrusted/0.7.1/download", + type = "tar.gz", + sha256 = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a", + strip_prefix = "untrusted-0.7.1", + build_file = Label("//cargo/remote:BUILD.untrusted-0.7.1.bazel"), + ) + maybe( http_archive, name = "raze__url__2_2_2", @@ -1677,6 +1747,76 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"), ) + maybe( + http_archive, + name = "raze__wasm_bindgen__0_2_76", + url = "https://crates.io/api/v1/crates/wasm-bindgen/0.2.76/download", + type = "tar.gz", + sha256 = "8ce9b1b516211d33767048e5d47fa2a381ed8b76fc48d2ce4aa39877f9f183e0", + strip_prefix = "wasm-bindgen-0.2.76", + build_file = Label("//cargo/remote:BUILD.wasm-bindgen-0.2.76.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_backend__0_2_76", + url = "https://crates.io/api/v1/crates/wasm-bindgen-backend/0.2.76/download", + type = "tar.gz", + sha256 = "cfe8dc78e2326ba5f845f4b5bf548401604fa20b1dd1d365fb73b6c1d6364041", + strip_prefix = "wasm-bindgen-backend-0.2.76", + build_file = Label("//cargo/remote:BUILD.wasm-bindgen-backend-0.2.76.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_macro__0_2_76", + url = "https://crates.io/api/v1/crates/wasm-bindgen-macro/0.2.76/download", + type = "tar.gz", + sha256 = "44468aa53335841d9d6b6c023eaab07c0cd4bddbcfdee3e2bb1e8d2cb8069fef", + strip_prefix = "wasm-bindgen-macro-0.2.76", + build_file = Label("//cargo/remote:BUILD.wasm-bindgen-macro-0.2.76.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_macro_support__0_2_76", + url = "https://crates.io/api/v1/crates/wasm-bindgen-macro-support/0.2.76/download", + type = "tar.gz", + sha256 = "0195807922713af1e67dc66132c7328206ed9766af3858164fb583eedc25fbad", + strip_prefix = "wasm-bindgen-macro-support-0.2.76", + build_file = Label("//cargo/remote:BUILD.wasm-bindgen-macro-support-0.2.76.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_shared__0_2_76", + url = "https://crates.io/api/v1/crates/wasm-bindgen-shared/0.2.76/download", + type = "tar.gz", + sha256 = "acdb075a845574a1fa5f09fd77e43f7747599301ea3417a9fbffdeedfc1f4a29", + strip_prefix = "wasm-bindgen-shared-0.2.76", + build_file = Label("//cargo/remote:BUILD.wasm-bindgen-shared-0.2.76.bazel"), + ) + + maybe( + http_archive, + name = "raze__web_sys__0_3_53", + url = "https://crates.io/api/v1/crates/web-sys/0.3.53/download", + type = "tar.gz", + sha256 = "224b2f6b67919060055ef1a67807367c2066ed520c3862cc013d26cf893a783c", + strip_prefix = "web-sys-0.3.53", + build_file = Label("//cargo/remote:BUILD.web-sys-0.3.53.bazel"), + ) + + maybe( + http_archive, + name = "raze__webpki__0_21_4", + url = "https://crates.io/api/v1/crates/webpki/0.21.4/download", + type = "tar.gz", + sha256 = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea", + strip_prefix = "webpki-0.21.4", + build_file = Label("//cargo/remote:BUILD.webpki-0.21.4.bazel"), + ) + maybe( http_archive, name = "raze__which__4_2_2", diff --git a/cargo/remote/BUILD.bumpalo-3.7.0.bazel b/cargo/remote/BUILD.bumpalo-3.7.0.bazel new file mode 100644 index 0000000..01f3bb1 --- /dev/null +++ b/cargo/remote/BUILD.bumpalo-3.7.0.bazel @@ -0,0 +1,80 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +# Unsupported target "benches" with type "bench" omitted + +rust_library( + name = "bumpalo", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "3.7.0", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "alloc_fill" with type "test" omitted + +# Unsupported target "alloc_try_with" with type "test" omitted + +# Unsupported target "alloc_with" with type "test" omitted + +# Unsupported target "allocator_api" with type "test" omitted + +# Unsupported target "quickchecks" with type "test" omitted + +# Unsupported target "readme_up_to_date" with type "test" omitted + +# Unsupported target "string" with type "test" omitted + +# Unsupported target "tests" with type "test" omitted + +# Unsupported target "try_alloc" with type "test" omitted + +# Unsupported target "try_alloc_try_with" with type "test" omitted + +# Unsupported target "try_alloc_with" with type "test" omitted + +# Unsupported target "vec" with type "test" omitted diff --git a/cargo/remote/BUILD.js-sys-0.3.53.bazel b/cargo/remote/BUILD.js-sys-0.3.53.bazel new file mode 100644 index 0000000..1566973 --- /dev/null +++ b/cargo/remote/BUILD.js-sys-0.3.53.bazel @@ -0,0 +1,68 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +rust_library( + name = "js_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.53", + # buildifier: leave-alone + deps = [ + "@raze__wasm_bindgen__0_2_76//:wasm_bindgen", + ] + selects.with_or({ + # cfg(target_arch = "wasm32") + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "headless" with type "test" omitted + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/BUILD.ring-0.16.20.bazel b/cargo/remote/BUILD.ring-0.16.20.bazel new file mode 100644 index 0000000..feef50e --- /dev/null +++ b/cargo/remote/BUILD.ring-0.16.20.bazel @@ -0,0 +1,309 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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([ + "restricted", # no license +]) + +# 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 = "ring_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + "once_cell", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + links = "ring-asm", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.16.20", + visibility = ["//visibility:private"], + deps = [ + "@raze__cc__1_0_70//:cc", + ] + selects.with_or({ + # cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown", target_env = "")) + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + ): [ + "@raze__web_sys__0_3_53//:web_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux")))) + ( + "@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: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:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@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", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "android", target_os = "linux")) + ( + "@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:i686-linux-android", + "@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-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "illumos", target_os = "netbsd", target_os = "openbsd", target_os = "solaris")) + ( + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(unix, windows)) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@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: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: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-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", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_arch = "wasm32") + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_os = "windows") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), +) + +rust_library( + name = "ring", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + "once_cell", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + compile_data = glob(["*/**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.16.20", + # buildifier: leave-alone + deps = [ + ":ring_build_script", + "@raze__once_cell__1_8_0//:once_cell", + "@raze__untrusted__0_7_1//:untrusted", + ] + selects.with_or({ + # cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown", target_env = "")) + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + ): [ + "@raze__web_sys__0_3_53//:web_sys", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux")))) + ( + "@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: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:x86_64-apple-darwin", + "@rules_rust//rust/platform:x86_64-apple-ios", + "@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", + ): [ + "@raze__spin__0_5_2//:spin", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "android", target_os = "linux")) + ( + "@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:i686-linux-android", + "@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-linux-android", + "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_101//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "illumos", target_os = "netbsd", target_os = "openbsd", target_os = "solaris")) + ( + "@rules_rust//rust/platform:i686-unknown-freebsd", + "@rules_rust//rust/platform:x86_64-unknown-freebsd", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(unix, windows)) + ( + "@rules_rust//rust/platform:aarch64-apple-darwin", + "@rules_rust//rust/platform:aarch64-apple-ios", + "@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: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: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-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", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_arch = "wasm32") + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_os = "windows") + ( + "@rules_rust//rust/platform:i686-pc-windows-msvc", + "@rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), +) + +# Unsupported target "aead_tests" with type "test" omitted + +# Unsupported target "agreement_tests" with type "test" omitted + +# Unsupported target "constant_time_tests" with type "test" omitted + +# Unsupported target "digest_tests" with type "test" omitted + +# Unsupported target "ecdsa_tests" with type "test" omitted + +# Unsupported target "ed25519_tests" with type "test" omitted + +# Unsupported target "hkdf_tests" with type "test" omitted + +# Unsupported target "hmac_tests" with type "test" omitted + +# Unsupported target "pbkdf2_tests" with type "test" omitted + +# Unsupported target "quic_tests" with type "test" omitted + +# Unsupported target "rand_tests" with type "test" omitted + +# Unsupported target "rsa_tests" with type "test" omitted + +# Unsupported target "signature_tests" with type "test" omitted diff --git a/cargo/remote/BUILD.rustls-0.19.1.bazel b/cargo/remote/BUILD.rustls-0.19.1.bazel new file mode 100644 index 0000000..3cc63a9 --- /dev/null +++ b/cargo/remote/BUILD.rustls-0.19.1.bazel @@ -0,0 +1,79 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +# Generated Targets + +# Unsupported target "benchmarks" with type "bench" omitted + +# Unsupported target "bench" with type "example" omitted + +# Unsupported target "bogo_shim" with type "example" omitted + +# Unsupported target "limitedclient" with type "example" omitted + +# Unsupported target "simple_0rtt_client" with type "example" omitted + +# Unsupported target "simpleclient" with type "example" omitted + +# Unsupported target "trytls_shim" with type "example" omitted + +rust_library( + name = "rustls", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "log", + "logging", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.19.1", + # buildifier: leave-alone + deps = [ + "@raze__base64__0_13_0//:base64", + "@raze__log__0_4_14//:log", + "@raze__ring__0_16_20//:ring", + "@raze__sct__0_6_1//:sct", + "@raze__webpki__0_21_4//:webpki", + ], +) + +# Unsupported target "api" with type "test" omitted + +# Unsupported target "benchmarks" with type "test" omitted diff --git a/cargo/remote/BUILD.sct-0.6.1.bazel b/cargo/remote/BUILD.sct-0.6.1.bazel new file mode 100644 index 0000000..af21d62 --- /dev/null +++ b/cargo/remote/BUILD.sct-0.6.1.bazel @@ -0,0 +1,55 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +# Generated Targets + +rust_library( + name = "sct", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.6.1", + # buildifier: leave-alone + deps = [ + "@raze__ring__0_16_20//:ring", + "@raze__untrusted__0_7_1//:untrusted", + ], +) diff --git a/cargo/remote/BUILD.spin-0.5.2.bazel b/cargo/remote/BUILD.spin-0.5.2.bazel new file mode 100644 index 0000000..54893d1 --- /dev/null +++ b/cargo/remote/BUILD.spin-0.5.2.bazel @@ -0,0 +1,55 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +# Unsupported target "debug" with type "example" omitted + +rust_library( + name = "spin", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.5.2", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/remote/BUILD.tokio-tungstenite-0.15.0.bazel b/cargo/remote/BUILD.tokio-tungstenite-0.15.0.bazel index 06bd607..bbc43d5 100644 --- a/cargo/remote/BUILD.tokio-tungstenite-0.15.0.bazel +++ b/cargo/remote/BUILD.tokio-tungstenite-0.15.0.bazel @@ -48,6 +48,7 @@ rust_library( crate_features = [ "connect", "default", + "rustls", "stream", ], crate_root = "src/lib.rs", @@ -67,6 +68,7 @@ rust_library( "@raze__futures_util__0_3_17//:futures_util", "@raze__log__0_4_14//:log", "@raze__pin_project__1_0_8//:pin_project", + "@raze__rustls__0_19_1//:rustls", "@raze__tokio__1_11_0//:tokio", "@raze__tungstenite__0_14_0//:tungstenite", ], diff --git a/cargo/remote/BUILD.untrusted-0.7.1.bazel b/cargo/remote/BUILD.untrusted-0.7.1.bazel new file mode 100644 index 0000000..108628a --- /dev/null +++ b/cargo/remote/BUILD.untrusted-0.7.1.bazel @@ -0,0 +1,55 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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", # ISC from expression "ISC" +]) + +# Generated Targets + +rust_library( + name = "untrusted", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/untrusted.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.1", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/BUILD.wasm-bindgen-0.2.76.bazel b/cargo/remote/BUILD.wasm-bindgen-0.2.76.bazel new file mode 100644 index 0000000..b43bdae --- /dev/null +++ b/cargo/remote/BUILD.wasm-bindgen-0.2.76.bazel @@ -0,0 +1,123 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# 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 = "wasm_bindgen_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "default", + "spans", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + visibility = ["//visibility:private"], + deps = [ + ] + selects.with_or({ + # cfg(target_arch = "wasm32") + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + ], + "//conditions:default": [], + }), +) + +rust_library( + name = "wasm_bindgen", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "default", + "spans", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + proc_macro_deps = [ + "@raze__wasm_bindgen_macro__0_2_76//:wasm_bindgen_macro", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + # buildifier: leave-alone + deps = [ + ":wasm_bindgen_build_script", + "@raze__cfg_if__1_0_0//:cfg_if", + ] + selects.with_or({ + # cfg(target_arch = "wasm32") + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "headless" with type "test" omitted + +# Unsupported target "must_use" with type "test" omitted + +# Unsupported target "non_wasm" with type "test" omitted + +# Unsupported target "std-crate-no-std-dep" with type "test" omitted + +# Unsupported target "unwrap_throw" with type "test" omitted + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel b/cargo/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel new file mode 100644 index 0000000..94baffb --- /dev/null +++ b/cargo/remote/BUILD.wasm-bindgen-backend-0.2.76.bazel @@ -0,0 +1,61 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +rust_library( + name = "wasm_bindgen_backend", + srcs = glob(["**/*.rs"]), + crate_features = [ + "spans", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + # buildifier: leave-alone + deps = [ + "@raze__bumpalo__3_7_0//:bumpalo", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__log__0_4_14//:log", + "@raze__proc_macro2__1_0_29//:proc_macro2", + "@raze__quote__1_0_9//:quote", + "@raze__syn__1_0_76//:syn", + "@raze__wasm_bindgen_shared__0_2_76//:wasm_bindgen_shared", + ], +) diff --git a/cargo/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel b/cargo/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel new file mode 100644 index 0000000..81c6bf3 --- /dev/null +++ b/cargo/remote/BUILD.wasm-bindgen-macro-0.2.76.bazel @@ -0,0 +1,58 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +rust_library( + name = "wasm_bindgen_macro", + srcs = glob(["**/*.rs"]), + crate_features = [ + "spans", + ], + crate_root = "src/lib.rs", + crate_type = "proc-macro", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + # buildifier: leave-alone + deps = [ + "@raze__quote__1_0_9//:quote", + "@raze__wasm_bindgen_macro_support__0_2_76//:wasm_bindgen_macro_support", + ], +) + +# Unsupported target "ui" with type "test" omitted diff --git a/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel b/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel new file mode 100644 index 0000000..9c6d63a --- /dev/null +++ b/cargo/remote/BUILD.wasm-bindgen-macro-support-0.2.76.bazel @@ -0,0 +1,59 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +rust_library( + name = "wasm_bindgen_macro_support", + srcs = glob(["**/*.rs"]), + crate_features = [ + "spans", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + # buildifier: leave-alone + deps = [ + "@raze__proc_macro2__1_0_29//:proc_macro2", + "@raze__quote__1_0_9//:quote", + "@raze__syn__1_0_76//:syn", + "@raze__wasm_bindgen_backend__0_2_76//:wasm_bindgen_backend", + "@raze__wasm_bindgen_shared__0_2_76//:wasm_bindgen_shared", + ], +) diff --git a/cargo/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel b/cargo/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel new file mode 100644 index 0000000..1412a8f --- /dev/null +++ b/cargo/remote/BUILD.wasm-bindgen-shared-0.2.76.bazel @@ -0,0 +1,84 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# 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 = "wasm_bindgen_shared_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + links = "wasm_bindgen", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + visibility = ["//visibility:private"], + deps = [ + ], +) + +rust_library( + name = "wasm_bindgen_shared", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.76", + # buildifier: leave-alone + deps = [ + ":wasm_bindgen_shared_build_script", + ], +) diff --git a/cargo/remote/BUILD.web-sys-0.3.53.bazel b/cargo/remote/BUILD.web-sys-0.3.53.bazel new file mode 100644 index 0000000..a2007c2 --- /dev/null +++ b/cargo/remote/BUILD.web-sys-0.3.53.bazel @@ -0,0 +1,70 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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" +]) + +# Generated Targets + +rust_library( + name = "web_sys", + srcs = glob(["**/*.rs"]), + aliases = { + }, + crate_features = [ + "Crypto", + "EventTarget", + "Window", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.53", + # buildifier: leave-alone + deps = [ + "@raze__js_sys__0_3_53//:js_sys", + "@raze__wasm_bindgen__0_2_76//:wasm_bindgen", + ] + selects.with_or({ + # cfg(target_arch = "wasm32") + ( + "@rules_rust//rust/platform:wasm32-unknown-unknown", + "@rules_rust//rust/platform:wasm32-wasi", + ): [ + ], + "//conditions:default": [], + }), +) + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/BUILD.webpki-0.21.4.bazel b/cargo/remote/BUILD.webpki-0.21.4.bazel new file mode 100644 index 0000000..2646a6d --- /dev/null +++ b/cargo/remote/BUILD.webpki-0.21.4.bazel @@ -0,0 +1,63 @@ +""" +@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:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +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([ + "restricted", # no license +]) + +# Generated Targets + +rust_library( + name = "webpki", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + "trust_anchor_util", + ], + crate_root = "src/webpki.rs", + crate_type = "lib", + data = [], + compile_data = glob(["*/**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.21.4", + # buildifier: leave-alone + deps = [ + "@raze__ring__0_16_20//:ring", + "@raze__untrusted__0_7_1//:untrusted", + ], +) + +# Unsupported target "dns_name_tests" with type "test" omitted + +# Unsupported target "integration" with type "test" omitted diff --git a/cargo/remote/BUILD.winapi-0.3.9.bazel b/cargo/remote/BUILD.winapi-0.3.9.bazel index 79c44b2..0df65bc 100644 --- a/cargo/remote/BUILD.winapi-0.3.9.bazel +++ b/cargo/remote/BUILD.winapi-0.3.9.bazel @@ -73,6 +73,7 @@ cargo_build_script( "ws2def", "ws2ipdef", "ws2tcpip", + "wtypesbase", ], crate_root = "build.rs", data = glob(["**"]), @@ -125,6 +126,7 @@ rust_library( "ws2def", "ws2ipdef", "ws2tcpip", + "wtypesbase", ], crate_root = "src/lib.rs", crate_type = "lib", diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index 9543429..7b1e35d 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" [dependencies] tokio = { version = "1", features = ["full"] } -tokio-tungstenite = { version = "*" } +tokio-tungstenite = { version = "*", features = ["rustls"] } url = "2.2.2" futures-util = "0.3.17" log = { version = "0.4", features = ["std"] }