From: Matthieu Date: Mon, 20 Sep 2021 04:51:54 +0000 (+0400) Subject: add basic heartbeat X-Git-Tag: v0.1~64^2^2~6 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=95764cec87b3b87754bc75dc6f752aa994db024e;p=matthieu%2Fnova.git add basic heartbeat --- diff --git a/Cargo.lock b/Cargo.lock index fa35862..0696dd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,12 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "aho-corasick" version = "0.7.18" @@ -40,16 +34,6 @@ dependencies = [ "futures-core", ] -[[package]] -name = "async-nats" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dae854440faecce70f0664f41f09a588de1e7a4366931ec3962ded3d8f903c5" -dependencies = [ - "blocking", - "nats 0.10.1", -] - [[package]] name = "async-stream" version = "0.3.2" @@ -102,7 +86,7 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi", "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -167,16 +151,6 @@ version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" -[[package]] -name = "bytes" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" -dependencies = [ - "byteorder", - "iovec", -] - [[package]] name = "bytes" version = "1.1.0" @@ -189,7 +163,7 @@ version = "0.1.0" dependencies = [ "common", "log", - "nats 0.15.2", + "nats", "redis", "serde 1.0.130", "serde_json", @@ -207,12 +181,6 @@ version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -230,16 +198,7 @@ dependencies = [ "num-traits 0.2.14", "serde 1.0.130", "time", - "winapi 0.3.9", -] - -[[package]] -name = "cloudabi" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -dependencies = [ - "bitflags", + "winapi", ] [[package]] @@ -248,7 +207,7 @@ version = "4.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a909e4d93292cd8e9c42e189f61681eff9d67b6541f96b8a1a737f23737bd001" dependencies = [ - "bytes 1.1.0", + "bytes", "memchr", ] @@ -259,11 +218,11 @@ dependencies = [ "config", "hyper", "log", - "nats 0.15.2", + "nats", "pretty_env_logger", "prometheus", "serde 1.0.130", - "tokio 1.11.0", + "tokio", ] [[package]] @@ -316,71 +275,14 @@ dependencies = [ "libc", ] -[[package]] -name = "crc32fast" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" -dependencies = [ - "cfg-if 1.0.0", -] - [[package]] name = "crossbeam-channel" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils 0.8.5", -] - -[[package]] -name = "crossbeam-deque" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils 0.7.2", - "maybe-uninit", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" -dependencies = [ - "autocfg", - "cfg-if 0.1.10", - "crossbeam-utils 0.7.2", - "lazy_static", - "maybe-uninit", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-queue" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570" -dependencies = [ - "cfg-if 0.1.10", - "crossbeam-utils 0.7.2", - "maybe-uninit", -] - -[[package]] -name = "crossbeam-utils" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" -dependencies = [ - "autocfg", - "cfg-if 0.1.10", - "lazy_static", + "cfg-if", + "crossbeam-utils", ] [[package]] @@ -389,7 +291,7 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "lazy_static", ] @@ -509,18 +411,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" -[[package]] -name = "flate2" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80edafed416a46fb378521624fab1cfa2eb514784fd8921adbe8a8d8321da811" -dependencies = [ - "cfg-if 1.0.0", - "crc32fast", - "libc", - "miniz_oxide", -] - [[package]] name = "fnv" version = "1.0.7" @@ -537,28 +427,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "fuchsia-zircon" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -dependencies = [ - "bitflags", - "fuchsia-zircon-sys", -] - -[[package]] -name = "fuchsia-zircon-sys" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" - -[[package]] -name = "futures" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" - [[package]] name = "futures" version = "0.3.17" @@ -672,26 +540,18 @@ dependencies = [ name = "gateway" version = "0.1.0" dependencies = [ - "async-nats", - "async-stream", - "async-trait", "common", "enumflags2", - "flate2", - "futures 0.3.17", - "futures-core", + "futures", "futures-util", "log", "num", "num-derive", "num-traits 0.2.14", - "pretty_env_logger", "serde 1.0.130", "serde_json", "serde_repr", - "tokio 1.11.0", - "tokio-scoped", - "tokio-stream", + "tokio", "tokio-tungstenite", "url", ] @@ -712,7 +572,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "wasi 0.9.0+wasi-snapshot-preview1", ] @@ -723,7 +583,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "wasi 0.10.0+wasi-snapshot-preview1", ] @@ -734,7 +594,7 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7f3675cfef6a30c8031cf9e6493ebdc3bb3272a3fea3923c4210d1830e6a472" dependencies = [ - "bytes 1.1.0", + "bytes", "fnv", "futures-core", "futures-sink", @@ -742,7 +602,7 @@ dependencies = [ "http", "indexmap", "slab", - "tokio 1.11.0", + "tokio", "tokio-util", "tracing", ] @@ -783,7 +643,7 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11" dependencies = [ - "bytes 1.1.0", + "bytes", "fnv", "itoa", ] @@ -794,7 +654,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "399c583b2979440c60be0821a6199eca73bc3c8dcd9d070d75ac726e2c6186e5" dependencies = [ - "bytes 1.1.0", + "bytes", "http", "pin-project-lite", ] @@ -826,7 +686,7 @@ version = "0.14.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13f67199e765030fa08fe0bd581af683f0d5bc04ea09c2b1102012c5fb90e7fd" dependencies = [ - "bytes 1.1.0", + "bytes", "futures-channel", "futures-core", "futures-util", @@ -838,7 +698,7 @@ dependencies = [ "itoa", "pin-project-lite", "socket2", - "tokio 1.11.0", + "tokio", "tower-service", "tracing", "want", @@ -852,7 +712,7 @@ checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ "hyper", "pin-project-lite", - "tokio 1.11.0", + "tokio", "tokio-io-timeout", ] @@ -883,16 +743,7 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d" dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "iovec" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -dependencies = [ - "libc", + "cfg-if", ] [[package]] @@ -925,16 +776,6 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd" -[[package]] -name = "kernel32-sys" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - [[package]] name = "lazy_static" version = "1.4.0" @@ -949,7 +790,7 @@ checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" dependencies = [ "arrayvec", "bitflags", - "cfg-if 1.0.0", + "cfg-if", "ryu", "static_assertions", ] @@ -978,15 +819,6 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" -[[package]] -name = "lock_api" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" -dependencies = [ - "scopeguard", -] - [[package]] name = "lock_api" version = "0.4.5" @@ -1002,7 +834,7 @@ version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -1011,56 +843,12 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" -[[package]] -name = "maybe-uninit" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" - [[package]] name = "memchr" version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" -[[package]] -name = "memoffset" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa" -dependencies = [ - "autocfg", -] - -[[package]] -name = "miniz_oxide" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" -dependencies = [ - "adler", - "autocfg", -] - -[[package]] -name = "mio" -version = "0.6.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" -dependencies = [ - "cfg-if 0.1.10", - "fuchsia-zircon", - "fuchsia-zircon-sys", - "iovec", - "kernel32-sys", - "libc", - "log", - "miow 0.2.2", - "net2", - "slab", - "winapi 0.2.8", -] - [[package]] name = "mio" version = "0.7.13" @@ -1069,32 +857,9 @@ checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" dependencies = [ "libc", "log", - "miow 0.3.7", + "miow", "ntapi", - "winapi 0.3.9", -] - -[[package]] -name = "mio-uds" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" -dependencies = [ - "iovec", - "libc", - "mio 0.6.23", -] - -[[package]] -name = "miow" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" -dependencies = [ - "kernel32-sys", - "net2", - "winapi 0.2.8", - "ws2_32-sys", + "winapi", ] [[package]] @@ -1103,7 +868,7 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1112,32 +877,6 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" -[[package]] -name = "nats" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c0cfa3903c3e613edddaa4a2f86b2053a1d6fbcf315a3ff352c25ba9f0a8585" -dependencies = [ - "base64", - "base64-url", - "crossbeam-channel", - "fastrand", - "itoa", - "json", - "libc", - "log", - "memchr", - "nkeys", - "nuid", - "once_cell", - "parking_lot 0.11.2", - "regex", - "rustls", - "rustls-native-certs", - "webpki", - "winapi 0.3.9", -] - [[package]] name = "nats" version = "0.15.2" @@ -1158,25 +897,14 @@ dependencies = [ "nkeys", "nuid", "once_cell", - "parking_lot 0.11.2", + "parking_lot", "regex", "rustls", "rustls-native-certs", "serde 1.0.130", "serde_json", "webpki", - "winapi 0.3.9", -] - -[[package]] -name = "net2" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" -dependencies = [ - "cfg-if 0.1.10", - "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1217,7 +945,7 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1360,17 +1088,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" -[[package]] -name = "parking_lot" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" -dependencies = [ - "lock_api 0.3.4", - "parking_lot_core 0.6.2", - "rustc_version", -] - [[package]] name = "parking_lot" version = "0.11.2" @@ -1378,23 +1095,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ "instant", - "lock_api 0.4.5", - "parking_lot_core 0.8.5", -] - -[[package]] -name = "parking_lot_core" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" -dependencies = [ - "cfg-if 0.1.10", - "cloudabi", - "libc", - "redox_syscall 0.1.57", - "rustc_version", - "smallvec 0.6.14", - "winapi 0.3.9", + "lock_api", + "parking_lot_core", ] [[package]] @@ -1403,12 +1105,12 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "instant", "libc", - "redox_syscall 0.2.10", - "smallvec 1.6.1", - "winapi 0.3.9", + "redox_syscall", + "smallvec", + "winapi", ] [[package]] @@ -1508,11 +1210,11 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5986aa8d62380092d2f50f8b1cdba9cb9b6731ffd4b25b51fd126b6c3e05b99c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.11.2", + "parking_lot", "protobuf", "thiserror", ] @@ -1523,7 +1225,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020" dependencies = [ - "bytes 1.1.0", + "bytes", "prost-derive", ] @@ -1533,7 +1235,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603" dependencies = [ - "bytes 1.1.0", + "bytes", "heck", "itertools", "log", @@ -1564,7 +1266,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b" dependencies = [ - "bytes 1.1.0", + "bytes", "prost", ] @@ -1685,12 +1387,6 @@ dependencies = [ "url", ] -[[package]] -name = "redox_syscall" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" - [[package]] name = "redox_syscall" version = "0.2.10" @@ -1723,7 +1419,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1731,7 +1427,7 @@ name = "rest-ratelimiter" version = "0.1.0" dependencies = [ "prost", - "tokio 1.11.0", + "tokio", "tonic", "tonic-build", ] @@ -1748,7 +1444,7 @@ dependencies = [ "spin", "untrusted", "web-sys", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1757,15 +1453,6 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" -[[package]] -name = "rustc_version" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver", -] - [[package]] name = "rustls" version = "0.19.1" @@ -1813,7 +1500,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" dependencies = [ "lazy_static", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1855,21 +1542,6 @@ dependencies = [ "libc", ] -[[package]] -name = "semver" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - [[package]] name = "serde" version = "0.8.23" @@ -1937,7 +1609,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ "block-buffer", - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest", "opaque-debug", @@ -1956,7 +1628,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9204c41a1597a8c5af23c82d1c921cb01ec0a4c59e07a9c7306062829a3903f3" dependencies = [ "block-buffer", - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest", "opaque-debug", @@ -1995,15 +1667,6 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c307a32c1c5c437f38c7fd45d753050587732ba8628319fbdf12a7e289ccc590" -[[package]] -name = "smallvec" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" -dependencies = [ - "maybe-uninit", -] - [[package]] name = "smallvec" version = "1.6.1" @@ -2017,7 +1680,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad" dependencies = [ "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2076,12 +1739,12 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "rand 0.8.4", - "redox_syscall 0.2.10", + "redox_syscall", "remove_dir_all", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2121,7 +1784,7 @@ checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" dependencies = [ "libc", "wasi 0.10.0+wasi-snapshot-preview1", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2139,30 +1802,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" -[[package]] -name = "tokio" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "mio 0.6.23", - "num_cpus", - "tokio-codec", - "tokio-current-thread", - "tokio-executor", - "tokio-fs", - "tokio-io", - "tokio-reactor", - "tokio-sync", - "tokio-tcp", - "tokio-threadpool", - "tokio-timer", - "tokio-udp", - "tokio-uds", -] - [[package]] name = "tokio" version = "1.11.0" @@ -2170,70 +1809,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4efe6fc2395938c8155973d7be49fe8d03a843726e285e100a8a383cc0154ce" dependencies = [ "autocfg", - "bytes 1.1.0", + "bytes", "libc", "memchr", - "mio 0.7.13", + "mio", "num_cpus", "once_cell", - "parking_lot 0.11.2", + "parking_lot", "pin-project-lite", "signal-hook-registry", "tokio-macros", - "winapi 0.3.9", -] - -[[package]] -name = "tokio-codec" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "tokio-io", -] - -[[package]] -name = "tokio-current-thread" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e" -dependencies = [ - "futures 0.1.31", - "tokio-executor", -] - -[[package]] -name = "tokio-executor" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures 0.1.31", -] - -[[package]] -name = "tokio-fs" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4" -dependencies = [ - "futures 0.1.31", - "tokio-io", - "tokio-threadpool", -] - -[[package]] -name = "tokio-io" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "log", + "winapi", ] [[package]] @@ -2243,7 +1829,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9" dependencies = [ "pin-project-lite", - "tokio 1.11.0", + "tokio", ] [[package]] @@ -2257,25 +1843,6 @@ dependencies = [ "syn", ] -[[package]] -name = "tokio-reactor" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures 0.1.31", - "lazy_static", - "log", - "mio 0.6.23", - "num_cpus", - "parking_lot 0.9.0", - "slab", - "tokio-executor", - "tokio-io", - "tokio-sync", -] - [[package]] name = "tokio-rustls" version = "0.22.0" @@ -2283,20 +1850,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" dependencies = [ "rustls", - "tokio 1.11.0", + "tokio", "webpki", ] -[[package]] -name = "tokio-scoped" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6a2ee5c8d7452ae769af9167c1a051846ee97839d7c40529deac2e6768fe5e3" -dependencies = [ - "futures 0.1.31", - "tokio 0.1.22", -] - [[package]] name = "tokio-stream" version = "0.1.7" @@ -2305,60 +1862,7 @@ checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" dependencies = [ "futures-core", "pin-project-lite", - "tokio 1.11.0", -] - -[[package]] -name = "tokio-sync" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee" -dependencies = [ - "fnv", - "futures 0.1.31", -] - -[[package]] -name = "tokio-tcp" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "iovec", - "mio 0.6.23", - "tokio-io", - "tokio-reactor", -] - -[[package]] -name = "tokio-threadpool" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89" -dependencies = [ - "crossbeam-deque", - "crossbeam-queue", - "crossbeam-utils 0.7.2", - "futures 0.1.31", - "lazy_static", - "log", - "num_cpus", - "slab", - "tokio-executor", -] - -[[package]] -name = "tokio-timer" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296" -dependencies = [ - "crossbeam-utils 0.7.2", - "futures 0.1.31", - "slab", - "tokio-executor", + "tokio", ] [[package]] @@ -2371,58 +1875,25 @@ dependencies = [ "log", "pin-project", "rustls", - "tokio 1.11.0", + "tokio", "tokio-rustls", "tungstenite", "webpki", "webpki-roots", ] -[[package]] -name = "tokio-udp" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "log", - "mio 0.6.23", - "tokio-codec", - "tokio-io", - "tokio-reactor", -] - -[[package]] -name = "tokio-uds" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0" -dependencies = [ - "bytes 0.4.12", - "futures 0.1.31", - "iovec", - "libc", - "log", - "mio 0.6.23", - "mio-uds", - "tokio-codec", - "tokio-io", - "tokio-reactor", -] - [[package]] name = "tokio-util" version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d3725d3efa29485e87311c5b699de63cde14b00ed4d256b8318aa30ca452cd" dependencies = [ - "bytes 1.1.0", + "bytes", "futures-core", "futures-sink", "log", "pin-project-lite", - "tokio 1.11.0", + "tokio", ] [[package]] @@ -2443,7 +1914,7 @@ dependencies = [ "async-stream", "async-trait", "base64", - "bytes 1.1.0", + "bytes", "futures-core", "futures-util", "h2", @@ -2455,7 +1926,7 @@ dependencies = [ "pin-project", "prost", "prost-derive", - "tokio 1.11.0", + "tokio", "tokio-stream", "tokio-util", "tower", @@ -2489,7 +1960,7 @@ dependencies = [ "pin-project", "rand 0.8.4", "slab", - "tokio 1.11.0", + "tokio", "tokio-stream", "tokio-util", "tower-layer", @@ -2515,7 +1986,7 @@ version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "log", "pin-project-lite", "tracing-attributes", @@ -2566,7 +2037,7 @@ checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" dependencies = [ "base64", "byteorder", - "bytes 1.1.0", + "bytes", "http", "httparse", "log", @@ -2656,7 +2127,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" dependencies = [ "same-file", - "winapi 0.3.9", + "winapi", "winapi-util", ] @@ -2688,7 +2159,7 @@ version = "0.2.76" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ce9b1b516211d33767048e5d47fa2a381ed8b76fc48d2ce4aa39877f9f183e0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "wasm-bindgen-macro", ] @@ -2756,10 +2227,10 @@ dependencies = [ "hyper", "libsodium-sys", "log", - "nats 0.15.2", + "nats", "serde 1.0.130", "serde_json", - "tokio 1.11.0", + "tokio", ] [[package]] @@ -2792,12 +2263,6 @@ dependencies = [ "libc", ] -[[package]] -name = "winapi" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" - [[package]] name = "winapi" version = "0.3.9" @@ -2808,12 +2273,6 @@ dependencies = [ "winapi-x86_64-pc-windows-gnu", ] -[[package]] -name = "winapi-build" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" - [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" @@ -2826,7 +2285,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2835,16 +2294,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "ws2_32-sys" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - [[package]] name = "yaml-rust" version = "0.4.5" diff --git a/cargo/crates.bzl b/cargo/crates.bzl index 137032e..6bfcdb6 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -38,22 +38,15 @@ _DEPENDENCIES = { "tonic": "@raze__tonic__0_5_2//:tonic", }, "gateway": { - "async-nats": "@raze__async_nats__0_10_1//:async_nats", - "async-stream": "@raze__async_stream__0_3_2//:async_stream", "enumflags2": "@raze__enumflags2__0_7_1//:enumflags2", - "flate2": "@raze__flate2__1_0_21//:flate2", "futures": "@raze__futures__0_3_17//:futures", - "futures-core": "@raze__futures_core__0_3_17//:futures_core", "futures-util": "@raze__futures_util__0_3_17//:futures_util", "log": "@raze__log__0_4_14//:log", "num": "@raze__num__0_4_0//:num", "num-traits": "@raze__num_traits__0_2_14//:num_traits", - "pretty_env_logger": "@raze__pretty_env_logger__0_4_0//:pretty_env_logger", "serde": "@raze__serde__1_0_130//:serde", "serde_json": "@raze__serde_json__1_0_67//:serde_json", "tokio": "@raze__tokio__1_11_0//:tokio", - "tokio-scoped": "@raze__tokio_scoped__0_1_0//:tokio_scoped", - "tokio-stream": "@raze__tokio_stream__0_1_7//:tokio_stream", "tokio-tungstenite": "@raze__tokio_tungstenite__0_15_0//:tokio_tungstenite", "url": "@raze__url__2_2_2//:url", }, @@ -78,7 +71,6 @@ _PROC_MACRO_DEPENDENCIES = { "ratelimiter": { }, "gateway": { - "async-trait": "@raze__async_trait__0_1_51//:async_trait", "num-derive": "@raze__num_derive__0_3_3//:num_derive", "serde_repr": "@raze__serde_repr__0_1_7//:serde_repr", }, @@ -256,16 +248,6 @@ def _flatten_dependency_maps(all_dependency_maps): def raze_fetch_remote_crates(): """This function defines a collection of repos and should be called in a WORKSPACE file""" - maybe( - http_archive, - name = "raze__adler__1_0_2", - url = "https://crates.io/api/v1/crates/adler/1.0.2/download", - type = "tar.gz", - sha256 = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe", - strip_prefix = "adler-1.0.2", - build_file = Label("//cargo/remote:BUILD.adler-1.0.2.bazel"), - ) - maybe( http_archive, name = "raze__aho_corasick__0_7_18", @@ -306,16 +288,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.async-channel-1.6.1.bazel"), ) - maybe( - http_archive, - name = "raze__async_nats__0_10_1", - url = "https://crates.io/api/v1/crates/async-nats/0.10.1/download", - type = "tar.gz", - sha256 = "3dae854440faecce70f0664f41f09a588de1e7a4366931ec3962ded3d8f903c5", - strip_prefix = "async-nats-0.10.1", - build_file = Label("//cargo/remote:BUILD.async-nats-0.10.1.bazel"), - ) - maybe( http_archive, name = "raze__async_stream__0_3_2", @@ -456,16 +428,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.byteorder-1.4.3.bazel"), ) - maybe( - http_archive, - name = "raze__bytes__0_4_12", - url = "https://crates.io/api/v1/crates/bytes/0.4.12/download", - type = "tar.gz", - sha256 = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c", - strip_prefix = "bytes-0.4.12", - build_file = Label("//cargo/remote:BUILD.bytes-0.4.12.bazel"), - ) - maybe( http_archive, name = "raze__bytes__1_1_0", @@ -496,16 +458,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.cc-1.0.70.bazel"), ) - maybe( - http_archive, - name = "raze__cfg_if__0_1_10", - url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", - type = "tar.gz", - sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", - strip_prefix = "cfg-if-0.1.10", - build_file = Label("//cargo/remote:BUILD.cfg-if-0.1.10.bazel"), - ) - maybe( http_archive, name = "raze__cfg_if__1_0_0", @@ -526,16 +478,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.chrono-0.4.19.bazel"), ) - maybe( - http_archive, - name = "raze__cloudabi__0_0_3", - url = "https://crates.io/api/v1/crates/cloudabi/0.0.3/download", - type = "tar.gz", - sha256 = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f", - strip_prefix = "cloudabi-0.0.3", - build_file = Label("//cargo/remote:BUILD.cloudabi-0.0.3.bazel"), - ) - maybe( http_archive, name = "raze__combine__4_6_1", @@ -596,16 +538,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.cpufeatures-0.2.1.bazel"), ) - maybe( - http_archive, - name = "raze__crc32fast__1_2_1", - url = "https://crates.io/api/v1/crates/crc32fast/1.2.1/download", - type = "tar.gz", - sha256 = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a", - strip_prefix = "crc32fast-1.2.1", - build_file = Label("//cargo/remote:BUILD.crc32fast-1.2.1.bazel"), - ) - maybe( http_archive, name = "raze__crossbeam_channel__0_5_1", @@ -616,46 +548,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.crossbeam-channel-0.5.1.bazel"), ) - maybe( - http_archive, - name = "raze__crossbeam_deque__0_7_4", - url = "https://crates.io/api/v1/crates/crossbeam-deque/0.7.4/download", - type = "tar.gz", - sha256 = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed", - strip_prefix = "crossbeam-deque-0.7.4", - build_file = Label("//cargo/remote:BUILD.crossbeam-deque-0.7.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_epoch__0_8_2", - url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.8.2/download", - type = "tar.gz", - sha256 = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace", - strip_prefix = "crossbeam-epoch-0.8.2", - build_file = Label("//cargo/remote:BUILD.crossbeam-epoch-0.8.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_queue__0_2_3", - url = "https://crates.io/api/v1/crates/crossbeam-queue/0.2.3/download", - type = "tar.gz", - sha256 = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570", - strip_prefix = "crossbeam-queue-0.2.3", - build_file = Label("//cargo/remote:BUILD.crossbeam-queue-0.2.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__crossbeam_utils__0_7_2", - url = "https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download", - type = "tar.gz", - sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8", - strip_prefix = "crossbeam-utils-0.7.2", - build_file = Label("//cargo/remote:BUILD.crossbeam-utils-0.7.2.bazel"), - ) - maybe( http_archive, name = "raze__crossbeam_utils__0_8_5", @@ -796,16 +688,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.fixedbitset-0.2.0.bazel"), ) - maybe( - http_archive, - name = "raze__flate2__1_0_21", - url = "https://crates.io/api/v1/crates/flate2/1.0.21/download", - type = "tar.gz", - sha256 = "80edafed416a46fb378521624fab1cfa2eb514784fd8921adbe8a8d8321da811", - strip_prefix = "flate2-1.0.21", - build_file = Label("//cargo/remote:BUILD.flate2-1.0.21.bazel"), - ) - maybe( http_archive, name = "raze__fnv__1_0_7", @@ -826,36 +708,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.form_urlencoded-1.0.1.bazel"), ) - maybe( - http_archive, - name = "raze__fuchsia_zircon__0_3_3", - url = "https://crates.io/api/v1/crates/fuchsia-zircon/0.3.3/download", - type = "tar.gz", - sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82", - strip_prefix = "fuchsia-zircon-0.3.3", - build_file = Label("//cargo/remote:BUILD.fuchsia-zircon-0.3.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__fuchsia_zircon_sys__0_3_3", - url = "https://crates.io/api/v1/crates/fuchsia-zircon-sys/0.3.3/download", - type = "tar.gz", - sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7", - strip_prefix = "fuchsia-zircon-sys-0.3.3", - build_file = Label("//cargo/remote:BUILD.fuchsia-zircon-sys-0.3.3.bazel"), - ) - - maybe( - http_archive, - name = "raze__futures__0_1_31", - url = "https://crates.io/api/v1/crates/futures/0.1.31/download", - type = "tar.gz", - sha256 = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678", - strip_prefix = "futures-0.1.31", - build_file = Label("//cargo/remote:BUILD.futures-0.1.31.bazel"), - ) - maybe( http_archive, name = "raze__futures__0_3_17", @@ -1136,16 +988,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.instant-0.1.10.bazel"), ) - maybe( - http_archive, - name = "raze__iovec__0_1_4", - url = "https://crates.io/api/v1/crates/iovec/0.1.4/download", - type = "tar.gz", - sha256 = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e", - strip_prefix = "iovec-0.1.4", - build_file = Label("//cargo/remote:BUILD.iovec-0.1.4.bazel"), - ) - maybe( http_archive, name = "raze__itertools__0_10_1", @@ -1186,16 +1028,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.json-0.12.4.bazel"), ) - maybe( - http_archive, - name = "raze__kernel32_sys__0_2_2", - url = "https://crates.io/api/v1/crates/kernel32-sys/0.2.2/download", - type = "tar.gz", - sha256 = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d", - strip_prefix = "kernel32-sys-0.2.2", - build_file = Label("//cargo/remote:BUILD.kernel32-sys-0.2.2.bazel"), - ) - maybe( http_archive, name = "raze__lazy_static__1_4_0", @@ -1246,16 +1078,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.linked-hash-map-0.5.4.bazel"), ) - maybe( - http_archive, - name = "raze__lock_api__0_3_4", - url = "https://crates.io/api/v1/crates/lock_api/0.3.4/download", - type = "tar.gz", - sha256 = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75", - strip_prefix = "lock_api-0.3.4", - build_file = Label("//cargo/remote:BUILD.lock_api-0.3.4.bazel"), - ) - maybe( http_archive, name = "raze__lock_api__0_4_5", @@ -1286,16 +1108,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.matches-0.1.9.bazel"), ) - maybe( - http_archive, - name = "raze__maybe_uninit__2_0_0", - url = "https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download", - type = "tar.gz", - sha256 = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00", - strip_prefix = "maybe-uninit-2.0.0", - build_file = Label("//cargo/remote:BUILD.maybe-uninit-2.0.0.bazel"), - ) - maybe( http_archive, name = "raze__memchr__2_4_1", @@ -1306,36 +1118,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.memchr-2.4.1.bazel"), ) - maybe( - http_archive, - name = "raze__memoffset__0_5_6", - url = "https://crates.io/api/v1/crates/memoffset/0.5.6/download", - type = "tar.gz", - sha256 = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa", - strip_prefix = "memoffset-0.5.6", - build_file = Label("//cargo/remote:BUILD.memoffset-0.5.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__miniz_oxide__0_4_4", - url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.4/download", - type = "tar.gz", - sha256 = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b", - strip_prefix = "miniz_oxide-0.4.4", - build_file = Label("//cargo/remote:BUILD.miniz_oxide-0.4.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__mio__0_6_23", - url = "https://crates.io/api/v1/crates/mio/0.6.23/download", - type = "tar.gz", - sha256 = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4", - strip_prefix = "mio-0.6.23", - build_file = Label("//cargo/remote:BUILD.mio-0.6.23.bazel"), - ) - maybe( http_archive, name = "raze__mio__0_7_13", @@ -1346,26 +1128,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.mio-0.7.13.bazel"), ) - maybe( - http_archive, - name = "raze__mio_uds__0_6_8", - url = "https://crates.io/api/v1/crates/mio-uds/0.6.8/download", - type = "tar.gz", - sha256 = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0", - strip_prefix = "mio-uds-0.6.8", - build_file = Label("//cargo/remote:BUILD.mio-uds-0.6.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__miow__0_2_2", - url = "https://crates.io/api/v1/crates/miow/0.2.2/download", - type = "tar.gz", - sha256 = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d", - strip_prefix = "miow-0.2.2", - build_file = Label("//cargo/remote:BUILD.miow-0.2.2.bazel"), - ) - maybe( http_archive, name = "raze__miow__0_3_7", @@ -1386,16 +1148,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.multimap-0.8.3.bazel"), ) - maybe( - http_archive, - name = "raze__nats__0_10_1", - url = "https://crates.io/api/v1/crates/nats/0.10.1/download", - type = "tar.gz", - sha256 = "1c0cfa3903c3e613edddaa4a2f86b2053a1d6fbcf315a3ff352c25ba9f0a8585", - strip_prefix = "nats-0.10.1", - build_file = Label("//cargo/remote:BUILD.nats-0.10.1.bazel"), - ) - maybe( http_archive, name = "raze__nats__0_15_2", @@ -1406,16 +1158,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.nats-0.15.2.bazel"), ) - maybe( - http_archive, - name = "raze__net2__0_2_37", - url = "https://crates.io/api/v1/crates/net2/0.2.37/download", - type = "tar.gz", - sha256 = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae", - strip_prefix = "net2-0.2.37", - build_file = Label("//cargo/remote:BUILD.net2-0.2.37.bazel"), - ) - maybe( http_archive, name = "raze__nkeys__0_1_0", @@ -1606,26 +1348,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.parking_lot-0.11.2.bazel"), ) - maybe( - http_archive, - name = "raze__parking_lot__0_9_0", - url = "https://crates.io/api/v1/crates/parking_lot/0.9.0/download", - type = "tar.gz", - sha256 = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252", - strip_prefix = "parking_lot-0.9.0", - build_file = Label("//cargo/remote:BUILD.parking_lot-0.9.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__parking_lot_core__0_6_2", - url = "https://crates.io/api/v1/crates/parking_lot_core/0.6.2/download", - type = "tar.gz", - sha256 = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b", - strip_prefix = "parking_lot_core-0.6.2", - build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.6.2.bazel"), - ) - maybe( http_archive, name = "raze__parking_lot_core__0_8_5", @@ -1926,16 +1648,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.redis-0.21.2.bazel"), ) - maybe( - http_archive, - name = "raze__redox_syscall__0_1_57", - url = "https://crates.io/api/v1/crates/redox_syscall/0.1.57/download", - type = "tar.gz", - sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce", - strip_prefix = "redox_syscall-0.1.57", - build_file = Label("//cargo/remote:BUILD.redox_syscall-0.1.57.bazel"), - ) - maybe( http_archive, name = "raze__redox_syscall__0_2_10", @@ -1996,16 +1708,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.rust-ini-0.13.0.bazel"), ) - maybe( - http_archive, - name = "raze__rustc_version__0_2_3", - url = "https://crates.io/api/v1/crates/rustc_version/0.2.3/download", - type = "tar.gz", - sha256 = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a", - strip_prefix = "rustc_version-0.2.3", - build_file = Label("//cargo/remote:BUILD.rustc_version-0.2.3.bazel"), - ) - maybe( http_archive, name = "raze__rustls__0_19_1", @@ -2096,26 +1798,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.security-framework-sys-2.4.2.bazel"), ) - maybe( - http_archive, - name = "raze__semver__0_9_0", - url = "https://crates.io/api/v1/crates/semver/0.9.0/download", - type = "tar.gz", - sha256 = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403", - strip_prefix = "semver-0.9.0", - build_file = Label("//cargo/remote:BUILD.semver-0.9.0.bazel"), - ) - - maybe( - http_archive, - name = "raze__semver_parser__0_7_0", - url = "https://crates.io/api/v1/crates/semver-parser/0.7.0/download", - type = "tar.gz", - sha256 = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3", - strip_prefix = "semver-parser-0.7.0", - build_file = Label("//cargo/remote:BUILD.semver-parser-0.7.0.bazel"), - ) - maybe( http_archive, name = "raze__serde__0_8_23", @@ -2246,16 +1928,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.slab-0.4.4.bazel"), ) - maybe( - http_archive, - name = "raze__smallvec__0_6_14", - url = "https://crates.io/api/v1/crates/smallvec/0.6.14/download", - type = "tar.gz", - sha256 = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0", - strip_prefix = "smallvec-0.6.14", - build_file = Label("//cargo/remote:BUILD.smallvec-0.6.14.bazel"), - ) - maybe( http_archive, name = "raze__smallvec__1_6_1", @@ -2406,16 +2078,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tinyvec_macros-0.1.0.bazel"), ) - maybe( - http_archive, - name = "raze__tokio__0_1_22", - url = "https://crates.io/api/v1/crates/tokio/0.1.22/download", - type = "tar.gz", - sha256 = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6", - strip_prefix = "tokio-0.1.22", - build_file = Label("//cargo/remote:BUILD.tokio-0.1.22.bazel"), - ) - maybe( http_archive, name = "raze__tokio__1_11_0", @@ -2426,56 +2088,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tokio-1.11.0.bazel"), ) - maybe( - http_archive, - name = "raze__tokio_codec__0_1_2", - url = "https://crates.io/api/v1/crates/tokio-codec/0.1.2/download", - type = "tar.gz", - sha256 = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b", - strip_prefix = "tokio-codec-0.1.2", - build_file = Label("//cargo/remote:BUILD.tokio-codec-0.1.2.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_current_thread__0_1_7", - url = "https://crates.io/api/v1/crates/tokio-current-thread/0.1.7/download", - type = "tar.gz", - sha256 = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e", - strip_prefix = "tokio-current-thread-0.1.7", - build_file = Label("//cargo/remote:BUILD.tokio-current-thread-0.1.7.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_executor__0_1_10", - url = "https://crates.io/api/v1/crates/tokio-executor/0.1.10/download", - type = "tar.gz", - sha256 = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671", - strip_prefix = "tokio-executor-0.1.10", - build_file = Label("//cargo/remote:BUILD.tokio-executor-0.1.10.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_fs__0_1_7", - url = "https://crates.io/api/v1/crates/tokio-fs/0.1.7/download", - type = "tar.gz", - sha256 = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4", - strip_prefix = "tokio-fs-0.1.7", - build_file = Label("//cargo/remote:BUILD.tokio-fs-0.1.7.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_io__0_1_13", - url = "https://crates.io/api/v1/crates/tokio-io/0.1.13/download", - type = "tar.gz", - sha256 = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674", - strip_prefix = "tokio-io-0.1.13", - build_file = Label("//cargo/remote:BUILD.tokio-io-0.1.13.bazel"), - ) - maybe( http_archive, name = "raze__tokio_io_timeout__1_1_1", @@ -2496,16 +2108,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tokio-macros-1.3.0.bazel"), ) - maybe( - http_archive, - name = "raze__tokio_reactor__0_1_12", - url = "https://crates.io/api/v1/crates/tokio-reactor/0.1.12/download", - type = "tar.gz", - sha256 = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351", - strip_prefix = "tokio-reactor-0.1.12", - build_file = Label("//cargo/remote:BUILD.tokio-reactor-0.1.12.bazel"), - ) - maybe( http_archive, name = "raze__tokio_rustls__0_22_0", @@ -2516,16 +2118,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tokio-rustls-0.22.0.bazel"), ) - maybe( - http_archive, - name = "raze__tokio_scoped__0_1_0", - url = "https://crates.io/api/v1/crates/tokio-scoped/0.1.0/download", - type = "tar.gz", - sha256 = "c6a2ee5c8d7452ae769af9167c1a051846ee97839d7c40529deac2e6768fe5e3", - strip_prefix = "tokio-scoped-0.1.0", - build_file = Label("//cargo/remote:BUILD.tokio-scoped-0.1.0.bazel"), - ) - maybe( http_archive, name = "raze__tokio_stream__0_1_7", @@ -2536,46 +2128,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tokio-stream-0.1.7.bazel"), ) - maybe( - http_archive, - name = "raze__tokio_sync__0_1_8", - url = "https://crates.io/api/v1/crates/tokio-sync/0.1.8/download", - type = "tar.gz", - sha256 = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee", - strip_prefix = "tokio-sync-0.1.8", - build_file = Label("//cargo/remote:BUILD.tokio-sync-0.1.8.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_tcp__0_1_4", - url = "https://crates.io/api/v1/crates/tokio-tcp/0.1.4/download", - type = "tar.gz", - sha256 = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72", - strip_prefix = "tokio-tcp-0.1.4", - build_file = Label("//cargo/remote:BUILD.tokio-tcp-0.1.4.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_threadpool__0_1_18", - url = "https://crates.io/api/v1/crates/tokio-threadpool/0.1.18/download", - type = "tar.gz", - sha256 = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89", - strip_prefix = "tokio-threadpool-0.1.18", - build_file = Label("//cargo/remote:BUILD.tokio-threadpool-0.1.18.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_timer__0_2_13", - url = "https://crates.io/api/v1/crates/tokio-timer/0.2.13/download", - type = "tar.gz", - sha256 = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296", - strip_prefix = "tokio-timer-0.2.13", - build_file = Label("//cargo/remote:BUILD.tokio-timer-0.2.13.bazel"), - ) - maybe( http_archive, name = "raze__tokio_tungstenite__0_15_0", @@ -2586,26 +2138,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tokio-tungstenite-0.15.0.bazel"), ) - maybe( - http_archive, - name = "raze__tokio_udp__0_1_6", - url = "https://crates.io/api/v1/crates/tokio-udp/0.1.6/download", - type = "tar.gz", - sha256 = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82", - strip_prefix = "tokio-udp-0.1.6", - build_file = Label("//cargo/remote:BUILD.tokio-udp-0.1.6.bazel"), - ) - - maybe( - http_archive, - name = "raze__tokio_uds__0_2_7", - url = "https://crates.io/api/v1/crates/tokio-uds/0.2.7/download", - type = "tar.gz", - sha256 = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0", - strip_prefix = "tokio-uds-0.2.7", - build_file = Label("//cargo/remote:BUILD.tokio-uds-0.2.7.bazel"), - ) - maybe( http_archive, name = "raze__tokio_util__0_6_8", @@ -2966,16 +2498,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.which-4.2.2.bazel"), ) - maybe( - http_archive, - name = "raze__winapi__0_2_8", - url = "https://crates.io/api/v1/crates/winapi/0.2.8/download", - type = "tar.gz", - sha256 = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a", - strip_prefix = "winapi-0.2.8", - build_file = Label("//cargo/remote:BUILD.winapi-0.2.8.bazel"), - ) - maybe( http_archive, name = "raze__winapi__0_3_9", @@ -2986,16 +2508,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.winapi-0.3.9.bazel"), ) - maybe( - http_archive, - name = "raze__winapi_build__0_1_1", - url = "https://crates.io/api/v1/crates/winapi-build/0.1.1/download", - type = "tar.gz", - sha256 = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc", - strip_prefix = "winapi-build-0.1.1", - build_file = Label("//cargo/remote:BUILD.winapi-build-0.1.1.bazel"), - ) - maybe( http_archive, name = "raze__winapi_i686_pc_windows_gnu__0_4_0", @@ -3026,16 +2538,6 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), ) - maybe( - http_archive, - name = "raze__ws2_32_sys__0_2_1", - url = "https://crates.io/api/v1/crates/ws2_32-sys/0.2.1/download", - type = "tar.gz", - sha256 = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e", - strip_prefix = "ws2_32-sys-0.2.1", - build_file = Label("//cargo/remote:BUILD.ws2_32-sys-0.2.1.bazel"), - ) - maybe( http_archive, name = "raze__yaml_rust__0_4_5", diff --git a/cargo/remote/BUILD.adler-1.0.2.bazel b/cargo/remote/BUILD.adler-1.0.2.bazel deleted file mode 100644 index 1fda177..0000000 --- a/cargo/remote/BUILD.adler-1.0.2.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@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 "0BSD OR (MIT OR Apache-2.0)" -]) - -# Generated Targets - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "adler", - 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 = "1.0.2", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/cargo/remote/BUILD.async-nats-0.10.1.bazel b/cargo/remote/BUILD.async-nats-0.10.1.bazel deleted file mode 100644 index 80fc344..0000000 --- a/cargo/remote/BUILD.async-nats-0.10.1.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@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" -]) - -# Generated Targets - -# Unsupported target "async_nats_bench" with type "example" omitted - -rust_library( - name = "async_nats", - 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.10.1", - # buildifier: leave-alone - deps = [ - "@raze__blocking__1_0_2//:blocking", - "@raze__nats__0_10_1//:nats", - ], -) diff --git a/cargo/remote/BUILD.bytes-0.4.12.bazel b/cargo/remote/BUILD.bytes-0.4.12.bazel deleted file mode 100644 index da610ba..0000000 --- a/cargo/remote/BUILD.bytes-0.4.12.bazel +++ /dev/null @@ -1,77 +0,0 @@ -""" -@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 "bytes" with type "bench" omitted - -rust_library( - name = "bytes", - 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.4.12", - # buildifier: leave-alone - deps = [ - "@raze__byteorder__1_4_3//:byteorder", - "@raze__iovec__0_1_4//:iovec", - ], -) - -# Unsupported target "test_buf" with type "test" omitted - -# Unsupported target "test_buf_mut" with type "test" omitted - -# Unsupported target "test_bytes" with type "test" omitted - -# Unsupported target "test_chain" with type "test" omitted - -# Unsupported target "test_debug" with type "test" omitted - -# Unsupported target "test_from_buf" with type "test" omitted - -# Unsupported target "test_iter" with type "test" omitted - -# Unsupported target "test_reader" with type "test" omitted - -# Unsupported target "test_serde" with type "test" omitted - -# Unsupported target "test_take" with type "test" omitted diff --git a/cargo/remote/BUILD.cfg-if-0.1.10.bazel b/cargo/remote/BUILD.cfg-if-0.1.10.bazel deleted file mode 100644 index 2c6c3c7..0000000 --- a/cargo/remote/BUILD.cfg-if-0.1.10.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@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 = "cfg_if", - 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.1.10", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "xcrate" with type "test" omitted diff --git a/cargo/remote/BUILD.cloudabi-0.0.3.bazel b/cargo/remote/BUILD.cloudabi-0.0.3.bazel deleted file mode 100644 index 7de656d..0000000 --- a/cargo/remote/BUILD.cloudabi-0.0.3.bazel +++ /dev/null @@ -1,56 +0,0 @@ -""" -@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", # BSD-2-Clause from expression "BSD-2-Clause" -]) - -# Generated Targets - -rust_library( - name = "cloudabi", - srcs = glob(["**/*.rs"]), - crate_features = [ - "bitflags", - "default", - ], - crate_root = "cloudabi.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.0.3", - # buildifier: leave-alone - deps = [ - "@raze__bitflags__1_3_2//:bitflags", - ], -) diff --git a/cargo/remote/BUILD.crc32fast-1.2.1.bazel b/cargo/remote/BUILD.crc32fast-1.2.1.bazel deleted file mode 100644 index e89a779..0000000 --- a/cargo/remote/BUILD.crc32fast-1.2.1.bazel +++ /dev/null @@ -1,90 +0,0 @@ -""" -@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 = "crc32fast_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.2.1", - visibility = ["//visibility:private"], - deps = [ - ], -) - -# Unsupported target "bench" with type "bench" omitted - -rust_library( - name = "crc32fast", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.2.1", - # buildifier: leave-alone - deps = [ - ":crc32fast_build_script", - "@raze__cfg_if__1_0_0//:cfg_if", - ], -) diff --git a/cargo/remote/BUILD.crossbeam-deque-0.7.4.bazel b/cargo/remote/BUILD.crossbeam-deque-0.7.4.bazel deleted file mode 100644 index 70dd1a3..0000000 --- a/cargo/remote/BUILD.crossbeam-deque-0.7.4.bazel +++ /dev/null @@ -1,64 +0,0 @@ -""" -@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 = "crossbeam_deque", - 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.7.4", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_epoch__0_8_2//:crossbeam_epoch", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__maybe_uninit__2_0_0//:maybe_uninit", - ], -) - -# Unsupported target "fifo" with type "test" omitted - -# Unsupported target "injector" with type "test" omitted - -# Unsupported target "lifo" with type "test" omitted - -# Unsupported target "steal" with type "test" omitted diff --git a/cargo/remote/BUILD.crossbeam-epoch-0.8.2.bazel b/cargo/remote/BUILD.crossbeam-epoch-0.8.2.bazel deleted file mode 100644 index cc0a298..0000000 --- a/cargo/remote/BUILD.crossbeam-epoch-0.8.2.bazel +++ /dev/null @@ -1,106 +0,0 @@ -""" -@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 = "crossbeam_epoch_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "lazy_static", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.8.2", - visibility = ["//visibility:private"], - deps = [ - "@raze__autocfg__1_0_1//:autocfg", - ], -) - -# Unsupported target "defer" with type "bench" omitted - -# Unsupported target "flush" with type "bench" omitted - -# Unsupported target "pin" with type "bench" omitted - -# Unsupported target "sanitize" with type "example" omitted - -# Unsupported target "treiber_stack" with type "example" omitted - -rust_library( - name = "crossbeam_epoch", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "lazy_static", - "std", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.8.2", - # buildifier: leave-alone - deps = [ - ":crossbeam_epoch_build_script", - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__maybe_uninit__2_0_0//:maybe_uninit", - "@raze__memoffset__0_5_6//:memoffset", - "@raze__scopeguard__1_1_0//:scopeguard", - ], -) diff --git a/cargo/remote/BUILD.crossbeam-queue-0.2.3.bazel b/cargo/remote/BUILD.crossbeam-queue-0.2.3.bazel deleted file mode 100644 index b42aaf8..0000000 --- a/cargo/remote/BUILD.crossbeam-queue-0.2.3.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@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 AND BSD-2-Clause)" -]) - -# Generated Targets - -rust_library( - name = "crossbeam_queue", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.3", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__maybe_uninit__2_0_0//:maybe_uninit", - ], -) - -# Unsupported target "array_queue" with type "test" omitted - -# Unsupported target "seg_queue" with type "test" omitted diff --git a/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel b/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel deleted file mode 100644 index e4511e1..0000000 --- a/cargo/remote/BUILD.crossbeam-utils-0.7.2.bazel +++ /dev/null @@ -1,106 +0,0 @@ -""" -@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 = "crossbeam_utils_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - "lazy_static", - "std", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.7.2", - visibility = ["//visibility:private"], - deps = [ - "@raze__autocfg__1_0_1//:autocfg", - ], -) - -# Unsupported target "atomic_cell" with type "bench" omitted - -rust_library( - name = "crossbeam_utils", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "lazy_static", - "std", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.7.2", - # buildifier: leave-alone - deps = [ - ":crossbeam_utils_build_script", - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__lazy_static__1_4_0//:lazy_static", - ], -) - -# Unsupported target "atomic_cell" with type "test" omitted - -# Unsupported target "cache_padded" with type "test" omitted - -# Unsupported target "parker" with type "test" omitted - -# Unsupported target "sharded_lock" with type "test" omitted - -# Unsupported target "thread" with type "test" omitted - -# Unsupported target "wait_group" with type "test" omitted diff --git a/cargo/remote/BUILD.flate2-1.0.21.bazel b/cargo/remote/BUILD.flate2-1.0.21.bazel deleted file mode 100644 index 52d2bc9..0000000 --- a/cargo/remote/BUILD.flate2-1.0.21.bazel +++ /dev/null @@ -1,127 +0,0 @@ -""" -@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 "compress_file" with type "example" omitted - -# Unsupported target "deflatedecoder-bufread" with type "example" omitted - -# Unsupported target "deflatedecoder-read" with type "example" omitted - -# Unsupported target "deflatedecoder-write" with type "example" omitted - -# Unsupported target "deflateencoder-bufread" with type "example" omitted - -# Unsupported target "deflateencoder-read" with type "example" omitted - -# Unsupported target "deflateencoder-write" with type "example" omitted - -# Unsupported target "gzbuilder" with type "example" omitted - -# Unsupported target "gzdecoder-bufread" with type "example" omitted - -# Unsupported target "gzdecoder-read" with type "example" omitted - -# Unsupported target "gzdecoder-write" with type "example" omitted - -# Unsupported target "gzencoder-bufread" with type "example" omitted - -# Unsupported target "gzencoder-read" with type "example" omitted - -# Unsupported target "gzencoder-write" with type "example" omitted - -# Unsupported target "gzmultidecoder-bufread" with type "example" omitted - -# Unsupported target "gzmultidecoder-read" with type "example" omitted - -# Unsupported target "zlibdecoder-bufread" with type "example" omitted - -# Unsupported target "zlibdecoder-read" with type "example" omitted - -# Unsupported target "zlibdecoder-write" with type "example" omitted - -# Unsupported target "zlibencoder-bufread" with type "example" omitted - -# Unsupported target "zlibencoder-read" with type "example" omitted - -# Unsupported target "zlibencoder-write" with type "example" omitted - -rust_library( - name = "flate2", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "default", - "miniz_oxide", - "rust_backend", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - compile_data = glob(["*/**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "1.0.21", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__1_0_0//:cfg_if", - "@raze__crc32fast__1_2_1//:crc32fast", - "@raze__libc__0_2_101//:libc", - "@raze__miniz_oxide__0_4_4//:miniz_oxide", - ] + selects.with_or({ - # cfg(all(target_arch = "wasm32", not(target_os = "emscripten"))) - ( - "@rules_rust//rust/platform:wasm32-unknown-unknown", - "@rules_rust//rust/platform:wasm32-wasi", - ): [ - ], - "//conditions:default": [], - }), -) - -# Unsupported target "async-reader" with type "test" omitted - -# Unsupported target "early-flush" with type "test" omitted - -# Unsupported target "empty-read" with type "test" omitted - -# Unsupported target "gunzip" with type "test" omitted - -# Unsupported target "tokio" with type "test" omitted - -# Unsupported target "zero-write" with type "test" omitted diff --git a/cargo/remote/BUILD.fuchsia-zircon-0.3.3.bazel b/cargo/remote/BUILD.fuchsia-zircon-0.3.3.bazel deleted file mode 100644 index 872a362..0000000 --- a/cargo/remote/BUILD.fuchsia-zircon-0.3.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@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", # BSD-3-Clause from expression "BSD-3-Clause" -]) - -# Generated Targets - -rust_library( - name = "fuchsia_zircon", - 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.3.3", - # buildifier: leave-alone - deps = [ - "@raze__bitflags__1_3_2//:bitflags", - "@raze__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys", - ], -) diff --git a/cargo/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel b/cargo/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel deleted file mode 100644 index f677e9f..0000000 --- a/cargo/remote/BUILD.fuchsia-zircon-sys-0.3.3.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@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", # BSD-3-Clause from expression "BSD-3-Clause" -]) - -# Generated Targets - -# Unsupported target "hello" with type "example" omitted - -rust_library( - name = "fuchsia_zircon_sys", - 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.3.3", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/cargo/remote/BUILD.futures-0.1.31.bazel b/cargo/remote/BUILD.futures-0.1.31.bazel deleted file mode 100644 index ea78879..0000000 --- a/cargo/remote/BUILD.futures-0.1.31.bazel +++ /dev/null @@ -1,118 +0,0 @@ -""" -@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 "bilock" with type "bench" omitted - -# Unsupported target "futures_unordered" with type "bench" omitted - -# Unsupported target "poll" with type "bench" omitted - -# Unsupported target "sync_mpsc" with type "bench" omitted - -# Unsupported target "thread_notify" with type "bench" omitted - -rust_library( - name = "futures", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "use_std", - "with-deprecated", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.31", - # buildifier: leave-alone - deps = [ - ], -) - -# Unsupported target "all" with type "test" omitted - -# Unsupported target "bilock" with type "test" omitted - -# Unsupported target "buffer_unordered" with type "test" omitted - -# Unsupported target "channel" with type "test" omitted - -# Unsupported target "eager_drop" with type "test" omitted - -# Unsupported target "eventual" with type "test" omitted - -# Unsupported target "fuse" with type "test" omitted - -# Unsupported target "future_flatten_stream" with type "test" omitted - -# Unsupported target "futures_ordered" with type "test" omitted - -# Unsupported target "futures_unordered" with type "test" omitted - -# Unsupported target "inspect" with type "test" omitted - -# Unsupported target "mpsc" with type "test" omitted - -# Unsupported target "mpsc-close" with type "test" omitted - -# Unsupported target "oneshot" with type "test" omitted - -# Unsupported target "ready_queue" with type "test" omitted - -# Unsupported target "recurse" with type "test" omitted - -# Unsupported target "select_all" with type "test" omitted - -# Unsupported target "select_ok" with type "test" omitted - -# Unsupported target "shared" with type "test" omitted - -# Unsupported target "sink" with type "test" omitted - -# Unsupported target "split" with type "test" omitted - -# Unsupported target "stream" with type "test" omitted - -# Unsupported target "stream_catch_unwind" with type "test" omitted - -# Unsupported target "unfold" with type "test" omitted - -# Unsupported target "unsync" with type "test" omitted - -# Unsupported target "unsync-oneshot" with type "test" omitted diff --git a/cargo/remote/BUILD.iovec-0.1.4.bazel b/cargo/remote/BUILD.iovec-0.1.4.bazel deleted file mode 100644 index 71c75bd..0000000 --- a/cargo/remote/BUILD.iovec-0.1.4.bazel +++ /dev/null @@ -1,78 +0,0 @@ -""" -@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 = "iovec", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.4", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_101//:libc", - ], - "//conditions:default": [], - }), -) diff --git a/cargo/remote/BUILD.kernel32-sys-0.2.2.bazel b/cargo/remote/BUILD.kernel32-sys-0.2.2.bazel deleted file mode 100644 index 1f29a5d..0000000 --- a/cargo/remote/BUILD.kernel32-sys-0.2.2.bazel +++ /dev/null @@ -1,94 +0,0 @@ -""" -@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 -# 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 = "kernel32_sys_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.2", - visibility = ["//visibility:private"], - deps = [ - "@raze__winapi_build__0_1_1//:winapi_build", - ], -) - -alias( - name = "kernel32_sys", - actual = ":kernel32", - tags = [ - "cargo-raze", - "manual", - ], -) - -rust_library( - name = "kernel32", - 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.2.2", - # buildifier: leave-alone - deps = [ - ":kernel32_sys_build_script", - "@raze__winapi__0_2_8//:winapi", - ], -) diff --git a/cargo/remote/BUILD.lock_api-0.3.4.bazel b/cargo/remote/BUILD.lock_api-0.3.4.bazel deleted file mode 100644 index 1103cef..0000000 --- a/cargo/remote/BUILD.lock_api-0.3.4.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@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 MIT" -]) - -# Generated Targets - -rust_library( - name = "lock_api", - 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.3.4", - # buildifier: leave-alone - deps = [ - "@raze__scopeguard__1_1_0//:scopeguard", - ], -) diff --git a/cargo/remote/BUILD.maybe-uninit-2.0.0.bazel b/cargo/remote/BUILD.maybe-uninit-2.0.0.bazel deleted file mode 100644 index 282fc9a..0000000 --- a/cargo/remote/BUILD.maybe-uninit-2.0.0.bazel +++ /dev/null @@ -1,85 +0,0 @@ -""" -@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 MIT" -]) - -# 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 = "maybe_uninit_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "2.0.0", - visibility = ["//visibility:private"], - deps = [ - ], -) - -rust_library( - name = "maybe_uninit", - 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 = "2.0.0", - # buildifier: leave-alone - deps = [ - ":maybe_uninit_build_script", - ], -) - -# Unsupported target "doesnt_drop" with type "test" omitted diff --git a/cargo/remote/BUILD.memoffset-0.5.6.bazel b/cargo/remote/BUILD.memoffset-0.5.6.bazel deleted file mode 100644 index 876b9bd..0000000 --- a/cargo/remote/BUILD.memoffset-0.5.6.bazel +++ /dev/null @@ -1,86 +0,0 @@ -""" -@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 -# 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 = "memoffset_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.5.6", - visibility = ["//visibility:private"], - deps = [ - "@raze__autocfg__1_0_1//:autocfg", - ], -) - -rust_library( - name = "memoffset", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.5.6", - # buildifier: leave-alone - deps = [ - ":memoffset_build_script", - ], -) diff --git a/cargo/remote/BUILD.miniz_oxide-0.4.4.bazel b/cargo/remote/BUILD.miniz_oxide-0.4.4.bazel deleted file mode 100644 index ca46c39..0000000 --- a/cargo/remote/BUILD.miniz_oxide-0.4.4.bazel +++ /dev/null @@ -1,85 +0,0 @@ -""" -@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 (Zlib 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 = "miniz_oxide_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.4.4", - visibility = ["//visibility:private"], - deps = [ - "@raze__autocfg__1_0_1//:autocfg", - ], -) - -rust_library( - name = "miniz_oxide", - 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.4.4", - # buildifier: leave-alone - deps = [ - ":miniz_oxide_build_script", - "@raze__adler__1_0_2//:adler", - ], -) diff --git a/cargo/remote/BUILD.mio-0.6.23.bazel b/cargo/remote/BUILD.mio-0.6.23.bazel deleted file mode 100644 index 64c3d2f..0000000 --- a/cargo/remote/BUILD.mio-0.6.23.bazel +++ /dev/null @@ -1,98 +0,0 @@ -""" -@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 - -rust_library( - name = "mio", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "default", - "with-deprecated", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.6.23", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__iovec__0_1_4//:iovec", - "@raze__log__0_4_14//:log", - "@raze__net2__0_2_37//:net2", - "@raze__slab__0_4_4//:slab", - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_101//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - "@raze__kernel32_sys__0_2_2//:kernel32_sys", - "@raze__miow__0_2_2//:miow", - "@raze__winapi__0_2_8//:winapi", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/BUILD.mio-uds-0.6.8.bazel b/cargo/remote/BUILD.mio-uds-0.6.8.bazel deleted file mode 100644 index adcb5e5..0000000 --- a/cargo/remote/BUILD.mio-uds-0.6.8.bazel +++ /dev/null @@ -1,80 +0,0 @@ -""" -@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 = "mio_uds", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.6.8", - # buildifier: leave-alone - deps = [ - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__iovec__0_1_4//:iovec", - "@raze__libc__0_2_101//:libc", - "@raze__mio__0_6_23//:mio", - ], - "//conditions:default": [], - }), -) diff --git a/cargo/remote/BUILD.miow-0.2.2.bazel b/cargo/remote/BUILD.miow-0.2.2.bazel deleted file mode 100644 index f005223..0000000 --- a/cargo/remote/BUILD.miow-0.2.2.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@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 = "miow", - 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.2.2", - # buildifier: leave-alone - deps = [ - "@raze__kernel32_sys__0_2_2//:kernel32_sys", - "@raze__net2__0_2_37//:net2", - "@raze__winapi__0_2_8//:winapi", - "@raze__ws2_32_sys__0_2_1//:ws2_32_sys", - ], -) diff --git a/cargo/remote/BUILD.nats-0.10.1.bazel b/cargo/remote/BUILD.nats-0.10.1.bazel deleted file mode 100644 index d01cf1c..0000000 --- a/cargo/remote/BUILD.nats-0.10.1.bazel +++ /dev/null @@ -1,125 +0,0 @@ -""" -@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" -]) - -# Generated Targets - -# Unsupported target "nats_bench" with type "bench" omitted - -# Unsupported target "nats-box" with type "example" omitted - -# Unsupported target "nats_bench" with type "example" omitted - -# Unsupported target "serde-json" with type "example" omitted - -rust_library( - name = "nats", - 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.10.1", - # buildifier: leave-alone - deps = [ - "@raze__base64__0_13_0//:base64", - "@raze__base64_url__1_4_10//:base64_url", - "@raze__crossbeam_channel__0_5_1//:crossbeam_channel", - "@raze__fastrand__1_5_0//:fastrand", - "@raze__itoa__0_4_8//:itoa", - "@raze__json__0_12_4//:json", - "@raze__log__0_4_14//:log", - "@raze__memchr__2_4_1//:memchr", - "@raze__nkeys__0_1_0//:nkeys", - "@raze__nuid__0_3_0//:nuid", - "@raze__once_cell__1_8_0//:once_cell", - "@raze__parking_lot__0_11_2//:parking_lot", - "@raze__regex__1_5_4//:regex", - "@raze__rustls__0_19_1//:rustls", - "@raze__rustls_native_certs__0_5_0//:rustls_native_certs", - "@raze__webpki__0_21_4//:webpki", - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_101//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(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 "auth_nkey" with type "test" omitted - -# Unsupported target "auth_tls" with type "test" omitted - -# Unsupported target "auth_user_pass" with type "test" omitted - -# Unsupported target "connect" with type "test" omitted - -# Unsupported target "drop" with type "test" omitted - -# Unsupported target "jetstream" with type "test" omitted - -# Unsupported target "reconnection" with type "test" omitted diff --git a/cargo/remote/BUILD.net2-0.2.37.bazel b/cargo/remote/BUILD.net2-0.2.37.bazel deleted file mode 100644 index 68a6e45..0000000 --- a/cargo/remote/BUILD.net2-0.2.37.bazel +++ /dev/null @@ -1,91 +0,0 @@ -""" -@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 = "net2", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "default", - "duration", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.37", - # buildifier: leave-alone - deps = [ - "@raze__cfg_if__0_1_10//:cfg_if", - ] + selects.with_or({ - # cfg(any(target_os = "redox", unix, target_os = "wasi")) - ( - "@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-unknown-freebsd", - "@rules_rust//rust/platform:i686-unknown-linux-gnu", - "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", - "@rules_rust//rust/platform:s390x-unknown-linux-gnu", - "@rules_rust//rust/platform:wasm32-wasi", - "@rules_rust//rust/platform:x86_64-apple-darwin", - "@rules_rust//rust/platform:x86_64-apple-ios", - "@rules_rust//rust/platform:x86_64-linux-android", - "@rules_rust//rust/platform:x86_64-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_101//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(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": [], - }), -) diff --git a/cargo/remote/BUILD.parking_lot-0.9.0.bazel b/cargo/remote/BUILD.parking_lot-0.9.0.bazel deleted file mode 100644 index 5e0946e..0000000 --- a/cargo/remote/BUILD.parking_lot-0.9.0.bazel +++ /dev/null @@ -1,88 +0,0 @@ -""" -@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 MIT" -]) - -# 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 = "parking_lot_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - "default", - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.9.0", - visibility = ["//visibility:private"], - deps = [ - "@raze__rustc_version__0_2_3//:rustc_version", - ], -) - -rust_library( - name = "parking_lot", - 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 = "0.9.0", - # buildifier: leave-alone - deps = [ - ":parking_lot_build_script", - "@raze__lock_api__0_3_4//:lock_api", - "@raze__parking_lot_core__0_6_2//:parking_lot_core", - ], -) diff --git a/cargo/remote/BUILD.parking_lot_core-0.6.2.bazel b/cargo/remote/BUILD.parking_lot_core-0.6.2.bazel deleted file mode 100644 index 853dc3c..0000000 --- a/cargo/remote/BUILD.parking_lot_core-0.6.2.bazel +++ /dev/null @@ -1,150 +0,0 @@ -""" -@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 MIT" -]) - -# 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 = "parking_lot_core_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2018", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.6.2", - visibility = ["//visibility:private"], - deps = [ - "@raze__rustc_version__0_2_3//:rustc_version", - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(windows) - ( - "@rules_rust//rust/platform:i686-pc-windows-msvc", - "@rules_rust//rust/platform:x86_64-pc-windows-msvc", - ): [ - ], - "//conditions:default": [], - }), -) - -rust_library( - name = "parking_lot_core", - 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.6.2", - # buildifier: leave-alone - deps = [ - ":parking_lot_core_build_script", - "@raze__cfg_if__0_1_10//:cfg_if", - "@raze__smallvec__0_6_14//:smallvec", - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__libc__0_2_101//:libc", - ], - "//conditions:default": [], - }) + selects.with_or({ - # cfg(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": [], - }), -) diff --git a/cargo/remote/BUILD.redox_syscall-0.1.57.bazel b/cargo/remote/BUILD.redox_syscall-0.1.57.bazel deleted file mode 100644 index c0f5949..0000000 --- a/cargo/remote/BUILD.redox_syscall-0.1.57.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@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 - -alias( - name = "redox_syscall", - actual = ":syscall", - tags = [ - "cargo-raze", - "manual", - ], -) - -rust_library( - name = "syscall", - 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.1.57", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/cargo/remote/BUILD.rustc_version-0.2.3.bazel b/cargo/remote/BUILD.rustc_version-0.2.3.bazel deleted file mode 100644 index a030b3a..0000000 --- a/cargo/remote/BUILD.rustc_version-0.2.3.bazel +++ /dev/null @@ -1,54 +0,0 @@ -""" -@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 = "rustc_version", - 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.2.3", - # buildifier: leave-alone - deps = [ - "@raze__semver__0_9_0//:semver", - ], -) diff --git a/cargo/remote/BUILD.semver-0.9.0.bazel b/cargo/remote/BUILD.semver-0.9.0.bazel deleted file mode 100644 index 0e8cb82..0000000 --- a/cargo/remote/BUILD.semver-0.9.0.bazel +++ /dev/null @@ -1,61 +0,0 @@ -""" -@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 = "semver", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.9.0", - # buildifier: leave-alone - deps = [ - "@raze__semver_parser__0_7_0//:semver_parser", - ], -) - -# Unsupported target "deprecation" with type "test" omitted - -# Unsupported target "regression" with type "test" omitted - -# Unsupported target "serde" with type "test" omitted diff --git a/cargo/remote/BUILD.semver-parser-0.7.0.bazel b/cargo/remote/BUILD.semver-parser-0.7.0.bazel deleted file mode 100644 index 8fada11..0000000 --- a/cargo/remote/BUILD.semver-parser-0.7.0.bazel +++ /dev/null @@ -1,53 +0,0 @@ -""" -@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 = "semver_parser", - 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.7.0", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/cargo/remote/BUILD.smallvec-0.6.14.bazel b/cargo/remote/BUILD.smallvec-0.6.14.bazel deleted file mode 100644 index 306894f..0000000 --- a/cargo/remote/BUILD.smallvec-0.6.14.bazel +++ /dev/null @@ -1,58 +0,0 @@ -""" -@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 "bench" with type "bench" omitted - -rust_library( - name = "smallvec", - srcs = glob(["**/*.rs"]), - crate_features = [ - "default", - "std", - ], - crate_root = "lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.6.14", - # buildifier: leave-alone - deps = [ - "@raze__maybe_uninit__2_0_0//:maybe_uninit", - ], -) diff --git a/cargo/remote/BUILD.tokio-0.1.22.bazel b/cargo/remote/BUILD.tokio-0.1.22.bazel deleted file mode 100644 index 838b5e9..0000000 --- a/cargo/remote/BUILD.tokio-0.1.22.bazel +++ /dev/null @@ -1,171 +0,0 @@ -""" -@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 "blocking" with type "example" omitted - -# Unsupported target "chat" with type "example" omitted - -# Unsupported target "chat-combinator" with type "example" omitted - -# Unsupported target "chat-combinator-current-thread" with type "example" omitted - -# Unsupported target "connect" with type "example" omitted - -# Unsupported target "echo" with type "example" omitted - -# Unsupported target "echo-udp" with type "example" omitted - -# Unsupported target "hello_world" with type "example" omitted - -# Unsupported target "manual-runtime" with type "example" omitted - -# Unsupported target "print_each_packet" with type "example" omitted - -# Unsupported target "proxy" with type "example" omitted - -# Unsupported target "tinydb" with type "example" omitted - -# Unsupported target "tinyhttp" with type "example" omitted - -# Unsupported target "udp-client" with type "example" omitted - -# Unsupported target "udp-codec" with type "example" omitted - -rust_library( - name = "tokio", - srcs = glob(["**/*.rs"]), - aliases = { - }, - crate_features = [ - "bytes", - "codec", - "default", - "fs", - "io", - "mio", - "num_cpus", - "reactor", - "rt-full", - "sync", - "tcp", - "timer", - "tokio-codec", - "tokio-current-thread", - "tokio-executor", - "tokio-fs", - "tokio-io", - "tokio-reactor", - "tokio-sync", - "tokio-tcp", - "tokio-threadpool", - "tokio-timer", - "tokio-udp", - "tokio-uds", - "udp", - "uds", - ], - crate_root = "src/lib.rs", - crate_type = "lib", - data = [], - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.1.22", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_31//:futures", - "@raze__mio__0_6_23//:mio", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__tokio_codec__0_1_2//:tokio_codec", - "@raze__tokio_current_thread__0_1_7//:tokio_current_thread", - "@raze__tokio_executor__0_1_10//:tokio_executor", - "@raze__tokio_fs__0_1_7//:tokio_fs", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", - "@raze__tokio_sync__0_1_8//:tokio_sync", - "@raze__tokio_tcp__0_1_4//:tokio_tcp", - "@raze__tokio_threadpool__0_1_18//:tokio_threadpool", - "@raze__tokio_timer__0_2_13//:tokio_timer", - "@raze__tokio_udp__0_1_6//:tokio_udp", - ] + selects.with_or({ - # cfg(unix) - ( - "@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-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-unknown-freebsd", - "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", - ): [ - "@raze__tokio_uds__0_2_7//:tokio_uds", - ], - "//conditions:default": [], - }), -) - -# Unsupported target "buffered" with type "test" omitted - -# Unsupported target "clock" with type "test" omitted - -# Unsupported target "drop-core" with type "test" omitted - -# Unsupported target "enumerate" with type "test" omitted - -# Unsupported target "global" with type "test" omitted - -# Unsupported target "length_delimited" with type "test" omitted - -# Unsupported target "line-frames" with type "test" omitted - -# Unsupported target "pipe-hup" with type "test" omitted - -# Unsupported target "reactor" with type "test" omitted - -# Unsupported target "runtime" with type "test" omitted - -# Unsupported target "timer" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-codec-0.1.2.bazel b/cargo/remote/BUILD.tokio-codec-0.1.2.bazel deleted file mode 100644 index 69780c5..0000000 --- a/cargo/remote/BUILD.tokio-codec-0.1.2.bazel +++ /dev/null @@ -1,64 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_codec", - 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.1.2", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_31//:futures", - "@raze__tokio_io__0_1_13//:tokio_io", - ], -) - -# Unsupported target "codecs" with type "test" omitted - -# Unsupported target "framed" with type "test" omitted - -# Unsupported target "framed_read" with type "test" omitted - -# Unsupported target "framed_write" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-current-thread-0.1.7.bazel b/cargo/remote/BUILD.tokio-current-thread-0.1.7.bazel deleted file mode 100644 index 5565261..0000000 --- a/cargo/remote/BUILD.tokio-current-thread-0.1.7.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_current_thread", - 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.1.7", - # buildifier: leave-alone - deps = [ - "@raze__futures__0_1_31//:futures", - "@raze__tokio_executor__0_1_10//:tokio_executor", - ], -) - -# Unsupported target "current_thread" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-executor-0.1.10.bazel b/cargo/remote/BUILD.tokio-executor-0.1.10.bazel deleted file mode 100644 index a8f53bd..0000000 --- a/cargo/remote/BUILD.tokio-executor-0.1.10.bazel +++ /dev/null @@ -1,57 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_executor", - 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.1.10", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_31//:futures", - ], -) - -# Unsupported target "executor" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-fs-0.1.7.bazel b/cargo/remote/BUILD.tokio-fs-0.1.7.bazel deleted file mode 100644 index 09e49e3..0000000 --- a/cargo/remote/BUILD.tokio-fs-0.1.7.bazel +++ /dev/null @@ -1,64 +0,0 @@ -""" -@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 "std-echo" with type "example" omitted - -rust_library( - name = "tokio_fs", - 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.1.7", - # buildifier: leave-alone - deps = [ - "@raze__futures__0_1_31//:futures", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_threadpool__0_1_18//:tokio_threadpool", - ], -) - -# Unsupported target "dir" with type "test" omitted - -# Unsupported target "file" with type "test" omitted - -# Unsupported target "link" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-io-0.1.13.bazel b/cargo/remote/BUILD.tokio-io-0.1.13.bazel deleted file mode 100644 index fe63e76..0000000 --- a/cargo/remote/BUILD.tokio-io-0.1.13.bazel +++ /dev/null @@ -1,60 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_io", - 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.1.13", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_31//:futures", - "@raze__log__0_4_14//:log", - ], -) - -# Unsupported target "async_read" with type "test" omitted - -# Unsupported target "length_delimited" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-reactor-0.1.12.bazel b/cargo/remote/BUILD.tokio-reactor-0.1.12.bazel deleted file mode 100644 index cce7e02..0000000 --- a/cargo/remote/BUILD.tokio-reactor-0.1.12.bazel +++ /dev/null @@ -1,66 +0,0 @@ -""" -@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 "basic" with type "bench" omitted - -rust_library( - name = "tokio_reactor", - 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.1.12", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_31//:futures", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__log__0_4_14//:log", - "@raze__mio__0_6_23//:mio", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__parking_lot__0_9_0//:parking_lot", - "@raze__slab__0_4_4//:slab", - "@raze__tokio_executor__0_1_10//:tokio_executor", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_sync__0_1_8//:tokio_sync", - ], -) diff --git a/cargo/remote/BUILD.tokio-scoped-0.1.0.bazel b/cargo/remote/BUILD.tokio-scoped-0.1.0.bazel deleted file mode 100644 index 4ee3e7d..0000000 --- a/cargo/remote/BUILD.tokio-scoped-0.1.0.bazel +++ /dev/null @@ -1,55 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_scoped", - 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.1.0", - # buildifier: leave-alone - deps = [ - "@raze__futures__0_1_31//:futures", - "@raze__tokio__0_1_22//:tokio", - ], -) diff --git a/cargo/remote/BUILD.tokio-sync-0.1.8.bazel b/cargo/remote/BUILD.tokio-sync-0.1.8.bazel deleted file mode 100644 index 8239383..0000000 --- a/cargo/remote/BUILD.tokio-sync-0.1.8.bazel +++ /dev/null @@ -1,83 +0,0 @@ -""" -@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 "mpsc" with type "bench" omitted - -# Unsupported target "oneshot" with type "bench" omitted - -rust_library( - name = "tokio_sync", - 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.1.8", - # buildifier: leave-alone - deps = [ - "@raze__fnv__1_0_7//:fnv", - "@raze__futures__0_1_31//:futures", - ], -) - -# Unsupported target "atomic_task" with type "test" omitted - -# Unsupported target "errors" with type "test" omitted - -# Unsupported target "fuzz_atomic_task" with type "test" omitted - -# Unsupported target "fuzz_list" with type "test" omitted - -# Unsupported target "fuzz_mpsc" with type "test" omitted - -# Unsupported target "fuzz_oneshot" with type "test" omitted - -# Unsupported target "fuzz_semaphore" with type "test" omitted - -# Unsupported target "lock" with type "test" omitted - -# Unsupported target "mpsc" with type "test" omitted - -# Unsupported target "oneshot" with type "test" omitted - -# Unsupported target "semaphore" with type "test" omitted - -# Unsupported target "watch" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-tcp-0.1.4.bazel b/cargo/remote/BUILD.tokio-tcp-0.1.4.bazel deleted file mode 100644 index de96893..0000000 --- a/cargo/remote/BUILD.tokio-tcp-0.1.4.bazel +++ /dev/null @@ -1,69 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_tcp", - 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.1.4", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_31//:futures", - "@raze__iovec__0_1_4//:iovec", - "@raze__mio__0_6_23//:mio", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", - ], -) - -# Unsupported target "chain" with type "test" omitted - -# Unsupported target "echo" with type "test" omitted - -# Unsupported target "limit" with type "test" omitted - -# Unsupported target "stream-buffered" with type "test" omitted - -# Unsupported target "tcp" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-threadpool-0.1.18.bazel b/cargo/remote/BUILD.tokio-threadpool-0.1.18.bazel deleted file mode 100644 index 6866671..0000000 --- a/cargo/remote/BUILD.tokio-threadpool-0.1.18.bazel +++ /dev/null @@ -1,78 +0,0 @@ -""" -@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 "basic" with type "bench" omitted - -# Unsupported target "blocking" with type "bench" omitted - -# Unsupported target "depth" with type "bench" omitted - -# Unsupported target "depth" with type "example" omitted - -# Unsupported target "hello" with type "example" omitted - -rust_library( - name = "tokio_threadpool", - 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.1.18", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_deque__0_7_4//:crossbeam_deque", - "@raze__crossbeam_queue__0_2_3//:crossbeam_queue", - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_31//:futures", - "@raze__lazy_static__1_4_0//:lazy_static", - "@raze__log__0_4_14//:log", - "@raze__num_cpus__1_13_0//:num_cpus", - "@raze__slab__0_4_4//:slab", - "@raze__tokio_executor__0_1_10//:tokio_executor", - ], -) - -# Unsupported target "blocking" with type "test" omitted - -# Unsupported target "hammer" with type "test" omitted - -# Unsupported target "threadpool" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-timer-0.2.13.bazel b/cargo/remote/BUILD.tokio-timer-0.2.13.bazel deleted file mode 100644 index b2427d5..0000000 --- a/cargo/remote/BUILD.tokio-timer-0.2.13.bazel +++ /dev/null @@ -1,73 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_timer", - 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.2.13", - # buildifier: leave-alone - deps = [ - "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", - "@raze__futures__0_1_31//:futures", - "@raze__slab__0_4_4//:slab", - "@raze__tokio_executor__0_1_10//:tokio_executor", - ], -) - -# Unsupported target "clock" with type "test" omitted - -# Unsupported target "deadline" with type "test" omitted - -# Unsupported target "delay" with type "test" omitted - -# Unsupported target "hammer" with type "test" omitted - -# Unsupported target "interval" with type "test" omitted - -# Unsupported target "queue" with type "test" omitted - -# Unsupported target "throttle" with type "test" omitted - -# Unsupported target "timeout" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-udp-0.1.6.bazel b/cargo/remote/BUILD.tokio-udp-0.1.6.bazel deleted file mode 100644 index b72d7b2..0000000 --- a/cargo/remote/BUILD.tokio-udp-0.1.6.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_udp", - 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.1.6", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_31//:futures", - "@raze__log__0_4_14//:log", - "@raze__mio__0_6_23//:mio", - "@raze__tokio_codec__0_1_2//:tokio_codec", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", - ], -) - -# Unsupported target "udp" with type "test" omitted diff --git a/cargo/remote/BUILD.tokio-uds-0.2.7.bazel b/cargo/remote/BUILD.tokio-uds-0.2.7.bazel deleted file mode 100644 index 139e2c9..0000000 --- a/cargo/remote/BUILD.tokio-uds-0.2.7.bazel +++ /dev/null @@ -1,67 +0,0 @@ -""" -@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 - -rust_library( - name = "tokio_uds", - 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.2.7", - # buildifier: leave-alone - deps = [ - "@raze__bytes__0_4_12//:bytes", - "@raze__futures__0_1_31//:futures", - "@raze__iovec__0_1_4//:iovec", - "@raze__libc__0_2_101//:libc", - "@raze__log__0_4_14//:log", - "@raze__mio__0_6_23//:mio", - "@raze__mio_uds__0_6_8//:mio_uds", - "@raze__tokio_codec__0_1_2//:tokio_codec", - "@raze__tokio_io__0_1_13//:tokio_io", - "@raze__tokio_reactor__0_1_12//:tokio_reactor", - ], -) - -# Unsupported target "datagram" with type "test" omitted - -# Unsupported target "stream" with type "test" omitted diff --git a/cargo/remote/BUILD.winapi-0.2.8.bazel b/cargo/remote/BUILD.winapi-0.2.8.bazel deleted file mode 100644 index 385cb3a..0000000 --- a/cargo/remote/BUILD.winapi-0.2.8.bazel +++ /dev/null @@ -1,53 +0,0 @@ -""" -@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 - -rust_library( - name = "winapi", - 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.2.8", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/cargo/remote/BUILD.winapi-build-0.1.1.bazel b/cargo/remote/BUILD.winapi-build-0.1.1.bazel deleted file mode 100644 index efdb57a..0000000 --- a/cargo/remote/BUILD.winapi-build-0.1.1.bazel +++ /dev/null @@ -1,62 +0,0 @@ -""" -@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 - -alias( - name = "winapi_build", - actual = ":build", - tags = [ - "cargo-raze", - "manual", - ], -) - -rust_library( - name = "build", - 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.1.1", - # buildifier: leave-alone - deps = [ - ], -) diff --git a/cargo/remote/BUILD.ws2_32-sys-0.2.1.bazel b/cargo/remote/BUILD.ws2_32-sys-0.2.1.bazel deleted file mode 100644 index 4f08810..0000000 --- a/cargo/remote/BUILD.ws2_32-sys-0.2.1.bazel +++ /dev/null @@ -1,94 +0,0 @@ -""" -@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 -# 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 = "ws2_32_sys_build_script", - srcs = glob(["**/*.rs"]), - build_script_env = { - }, - crate_features = [ - ], - crate_root = "build.rs", - data = glob(["**"]), - edition = "2015", - rustc_flags = [ - "--cap-lints=allow", - ], - tags = [ - "cargo-raze", - "manual", - ], - version = "0.2.1", - visibility = ["//visibility:private"], - deps = [ - "@raze__winapi_build__0_1_1//:winapi_build", - ], -) - -alias( - name = "ws2_32_sys", - actual = ":ws2_32", - tags = [ - "cargo-raze", - "manual", - ], -) - -rust_library( - name = "ws2_32", - 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.2.1", - # buildifier: leave-alone - deps = [ - ":ws2_32_sys_build_script", - "@raze__winapi__0_2_8//:winapi", - ], -) diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index d45615f..1b8e9ea 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -4,25 +4,19 @@ version = "0.1.0" edition = "2018" [dependencies] +common = { path = "../common/rust" } tokio = { version = "1", features = ["full"] } tokio-tungstenite = { version = "*", features = ["rustls-tls"] } url = "2.2.2" futures-util = "0.3.17" +futures = "0.3.17" log = { version = "0.4", features = ["std"] } -pretty_env_logger = "0.4" + serde_json = { version = "1.0" } serde = { version = "1.0", features = ["derive"] } -tokio-stream = "0.1.7" -async-stream = "0.3.2" -futures-core = "0.3.17" serde_repr = "0.1" -flate2 = "1.0" -async-nats = "0.10.1" -enumflags2 = { version ="0.7.1", features = ["serde"] } -common = { path = "../common/rust" } -tokio-scoped = "0.1.0" -futures = "0.3.17" -async-trait = "0.1.51" +enumflags2 = { version = "0.7.1", features = ["serde"] } + num-traits = "0.2" num-derive = "0.3" num = "0.4" \ No newline at end of file diff --git a/gateway/cargo/BUILD.bazel b/gateway/cargo/BUILD.bazel index ed47b60..e85683f 100644 --- a/gateway/cargo/BUILD.bazel +++ b/gateway/cargo/BUILD.bazel @@ -12,33 +12,6 @@ licenses([ ]) # Aliased targets -alias( - name = "async_nats", - actual = "@raze__async_nats__0_10_1//:async_nats", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "async_stream", - actual = "@raze__async_stream__0_3_2//:async_stream", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "async_trait", - actual = "@raze__async_trait__0_1_51//:async_trait", - tags = [ - "cargo-raze", - "manual", - ], -) - alias( name = "enumflags2", actual = "@raze__enumflags2__0_7_1//:enumflags2", @@ -48,15 +21,6 @@ alias( ], ) -alias( - name = "flate2", - actual = "@raze__flate2__1_0_21//:flate2", - tags = [ - "cargo-raze", - "manual", - ], -) - alias( name = "futures", actual = "@raze__futures__0_3_17//:futures", @@ -66,15 +30,6 @@ alias( ], ) -alias( - name = "futures_core", - actual = "@raze__futures_core__0_3_17//:futures_core", - tags = [ - "cargo-raze", - "manual", - ], -) - alias( name = "futures_util", actual = "@raze__futures_util__0_3_17//:futures_util", @@ -120,15 +75,6 @@ alias( ], ) -alias( - name = "pretty_env_logger", - actual = "@raze__pretty_env_logger__0_4_0//:pretty_env_logger", - tags = [ - "cargo-raze", - "manual", - ], -) - alias( name = "serde", actual = "@raze__serde__1_0_130//:serde", @@ -165,24 +111,6 @@ alias( ], ) -alias( - name = "tokio_scoped", - actual = "@raze__tokio_scoped__0_1_0//:tokio_scoped", - tags = [ - "cargo-raze", - "manual", - ], -) - -alias( - name = "tokio_stream", - actual = "@raze__tokio_stream__0_1_7//:tokio_stream", - tags = [ - "cargo-raze", - "manual", - ], -) - alias( name = "tokio_tungstenite", actual = "@raze__tokio_tungstenite__0_15_0//:tokio_tungstenite", diff --git a/gateway/src/management/mod.rs b/gateway/src/management/mod.rs new file mode 100644 index 0000000..e69de29 diff --git a/gateway/src/shard/actions.rs b/gateway/src/shard/actions.rs index a58d51e..86e5f98 100644 --- a/gateway/src/shard/actions.rs +++ b/gateway/src/shard/actions.rs @@ -6,15 +6,28 @@ use serde::Serialize; use serde_json::Value; use std::fmt::Debug; -use crate::{error::GatewayError, payloads::{gateway::BaseMessage, opcodes::{OpCodes, identify::{Identify, IdentifyProprerties}, presence::PresenceUpdate, resume::Resume}}}; +use crate::{ + error::GatewayError, + payloads::{ + gateway::BaseMessage, + opcodes::{ + identify::{Identify, IdentifyProprerties}, + presence::PresenceUpdate, + resume::Resume, + OpCodes, + }, + }, +}; use super::Shard; /// Implement the available actions for nova in the gateway. impl Shard { - /// sends a message through the websocket - pub async fn _send(&mut self, message: BaseMessage) -> Result<(), GatewayError> { + pub async fn _send( + &mut self, + message: BaseMessage, + ) -> Result<(), GatewayError> { debug!("Senging message {:?}", message); if let Some(connection) = &mut self.connection { if let Err(e) = connection.conn.send(message).await { @@ -31,7 +44,7 @@ impl Shard { pub async fn _identify(&mut self) -> Result<(), GatewayError> { if let Some(state) = self.state.clone() { info!("Using session"); - self._send(BaseMessage{ + self._send(BaseMessage { t: None, sequence: None, op: OpCodes::Resume, @@ -40,10 +53,11 @@ impl Shard { seq: state.sequence, session_id: state.session_id.clone(), }, - }).await + }) + .await } else { info!("Sending login"); - self._send(BaseMessage{ + self._send(BaseMessage { t: None, sequence: None, op: OpCodes::Identify, @@ -55,12 +69,13 @@ impl Shard { browser: "Nova".to_string(), device: "Nova".to_string(), }, - shard: Some([0,2]), + shard: Some([0, 2]), compress: Some(false), large_threshold: Some(500), presence: None, }, - }).await + }) + .await } } @@ -69,47 +84,45 @@ impl Shard { /// Updates the presence of the current shard. #[allow(dead_code)] pub async fn presence_update(&mut self, update: PresenceUpdate) -> Result<(), GatewayError> { - self._send(BaseMessage{ + self._send(BaseMessage { t: None, sequence: None, op: OpCodes::PresenceUpdate, data: update, - }).await + }) + .await } /// Updates the voice status of the current shard in a certain channel. #[allow(dead_code)] pub async fn voice_state_update(&mut self) -> Result<(), GatewayError> { - if let Some(connection) = &mut self.connection { - connection.conn - .send(BaseMessage { - t: None, - sequence: None, - op: OpCodes::VoiceStateUpdate, - // todo: proper payload for this - data: Value::Null, - }) - .await? - } else { - error!("the connection is not open") - } - Ok(()) + self._send(BaseMessage { + t: None, + sequence: None, + op: OpCodes::VoiceStateUpdate, + // todo: proper payload for this + data: Value::Null, + }) + .await } /// Ask discord for more informations about offline guild members. #[allow(dead_code)] pub async fn request_guild_members(&mut self) -> Result<(), GatewayError> { - if let Some(connection) = &mut self.connection { - connection.conn - .send(BaseMessage { - t: None, - sequence: None, - op: OpCodes::RequestGuildMembers, - // todo: proper payload for this - data: Value::Null, - }) - .await? - } else { - error!("the connection is not open") - } - Ok(()) + self._send(BaseMessage { + t: None, + sequence: None, + op: OpCodes::RequestGuildMembers, + // todo: proper payload for this + data: Value::Null, + }) + .await + } + + pub async fn _send_heartbeat(&mut self) -> Result<(), GatewayError> { + self._send(BaseMessage { + t: None, + sequence: None, + op: OpCodes::Heartbeat, + data: self.state.as_ref().unwrap().sequence + }).await } } diff --git a/gateway/src/shard/connection.rs b/gateway/src/shard/connection.rs index fabcf9e..88ff0f3 100644 --- a/gateway/src/shard/connection.rs +++ b/gateway/src/shard/connection.rs @@ -1,22 +1,14 @@ -use std::{ - cmp::{max, min}, - convert::TryInto, - time::Duration, -}; +use std::{cmp::min, convert::TryInto, time::Duration}; -use crate::{ - connection::Connection, - payloads::{ +use crate::{connection::Connection, error::GatewayError, payloads::{ dispatch::Dispatch, gateway::{BaseMessage, Message}, - }, - shard::state::SessionState, -}; + }, shard::state::SessionState}; use super::{state::ConnectionState, ConnectionWithState, Shard}; use futures::StreamExt; use log::{error, info}; -use tokio::{select, time::sleep}; +use tokio::{select, time::{Instant, sleep}}; impl Shard { pub async fn start(self: &mut Self) { @@ -54,31 +46,76 @@ impl Shard { connection.start().await.unwrap(); self.connection = Some(ConnectionWithState { conn: connection, - state: ConnectionState::default(), + state: ConnectionState::new(), }); + loop { if let Some(connection) = &mut self.connection { - select!( - payload = connection.conn.next() => { - match payload { - Some(data) => match data { - Ok(message) => self._handle(&message).await, - Err(error) => { - error!("An error occured while being connected to Discord: {:?}", error); + if let Some(timer) = &mut connection.state.interval { + select!( + payload = connection.conn.next() => { + match payload { + Some(data) => match data { + Ok(message) => self._handle(&message).await, + Err(error) => { + error!("An error occured while being connected to Discord: {:?}", error); + return; + }, + }, + None => { + info!("Connection terminated"); return; }, - }, - None => { - info!("Connection terminated"); + } + }, + _ = timer.tick() => match self._do_heartbeat().await { + Ok(_) => {}, + Err(e) => { + info!("error occured: {:?}", e); return; }, } - } - ) + ) + } else { + select!( + payload = connection.conn.next() => { + match payload { + Some(data) => match data { + Ok(message) => self._handle(&message).await, + Err(error) => { + error!("An error occured while being connected to Discord: {:?}", error); + return; + }, + }, + None => { + info!("Connection terminated"); + return; + }, + } + } + ) + } + } } } + async fn _do_heartbeat(&mut self) -> Result<(), GatewayError> { + info!("heartbeat sent"); + if let Some(conn) = &mut self.connection { + if !conn.state.last_heartbeat_acknowledged { + error!("we missed a hertbeat"); + Err(GatewayError::from("a hertbeat was dropped, we need to restart the connection".to_string())) + } else { + conn.state.last_heartbeat_acknowledged = false; + conn.state.last_heartbeat_time = Instant::now(); + self._send_heartbeat().await + } + } else { + unreachable!() + } + } + fn _util_set_seq(&mut self, seq: Option) { if let Some(seq) = seq { if let Some(state) = &mut self.state { @@ -113,12 +150,24 @@ impl Shard { } } Message::HeartbeatACK(msg) => { - self._util_set_seq(msg.sequence); info!("Heartbeat ack received"); + self._util_set_seq(msg.sequence); + if let Some(conn) = &mut self.connection { + conn.state.last_heartbeat_acknowledged = true; + let latency = Instant::now() - conn.state.last_heartbeat_time; + info!("Latency updated {}ms", latency.as_millis()); + } } Message::Hello(msg) => { - self._util_set_seq(msg.sequence); info!("Server hello received"); + self._util_set_seq(msg.sequence); + if let Some(conn) = &mut self.connection { + conn.state.interval = Some(tokio::time::interval_at( + Instant::now() + Duration::from_millis(msg.data.heartbeat_interval), + Duration::from_millis(msg.data.heartbeat_interval), + )); + } + if let Err(e) = self._identify().await { error!("error while sending identify: {:?}", e); } diff --git a/gateway/src/shard/state.rs b/gateway/src/shard/state.rs index 1fe7c1a..34b7acc 100644 --- a/gateway/src/shard/state.rs +++ b/gateway/src/shard/state.rs @@ -1,4 +1,4 @@ -use std::time::Instant; +use tokio::time::{Instant, Interval}; /// This struct represents the state of a session #[derive(Clone, Debug)] @@ -17,19 +17,19 @@ impl Default for SessionState { } /// This struct represents the state of a connection -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct ConnectionState { pub last_heartbeat_acknowledged: bool, pub last_heartbeat_time: Instant, + pub interval: Option, } -impl Default for ConnectionState { - fn default() -> Self { +impl ConnectionState { + pub fn new() -> Self { Self { last_heartbeat_acknowledged: true, last_heartbeat_time: Instant::now(), + interval: None, } } -} - -impl ConnectionState {} \ No newline at end of file +} \ No newline at end of file