diff --git a/Cargo.lock b/Cargo.lock index 9d1021a9de3..3bef9200858 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -187,7 +187,7 @@ name = "auth_client" version = "0.1.0" dependencies = [ "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -582,7 +582,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "futures" -version = "0.3.4" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1181,8 +1181,9 @@ name = "oak_runtime" version = "0.1.0" dependencies = [ "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "http 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1198,6 +1199,7 @@ dependencies = [ "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", + "tonic 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "wat 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2112,7 +2114,7 @@ name = "split_grpc_proxy" version = "0.1.0" dependencies = [ "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2940,7 +2942,7 @@ dependencies = [ "checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" -"checksum futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5c329ae8753502fb44ae4fc2b622fa2a94652c41e795143765ba0927f92ab780" +"checksum futures 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b6f16056ecbb57525ff698bb955162d0cd03bee84e6241c27ff75c08d8ca5987" "checksum futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f0c77d04ce8edd9cb903932b608268b3fffec4163dc053b3b402bf47eac1f1a8" "checksum futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f25592f769825e89b92358db00d26f965761e094951ac44d3663ef25b7ac464a" "checksum futures-executor 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f674f3e1bcb15b37284a90cedf55afdba482ab061c407a9c0ebbd0f3109741ba" diff --git a/WORKSPACE b/WORKSPACE index 98a0121a8d8..788b6f0c56e 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -239,11 +239,11 @@ http_archive( http_archive( name = "io_bazel_rules_rust", - sha256 = "69b67e19532b12da3edccda404772e85a788d16ae739343f5338dd340a0fba2e", - strip_prefix = "rules_rust-ec436b5ff2ab1ddeba6f27a7a1a5d263812981a6", + sha256 = "275f0166e61e6cad3e29b0e37c21ecbb66880c049dbeea6e574d74a8ec4775c5", + strip_prefix = "rules_rust-e285f2bd8be77712e6b80ccb52918b727d10d70e", urls = [ - # Master branch as of 2019-11-15. - "https://github.com/bazelbuild/rules_rust/archive/ec436b5ff2ab1ddeba6f27a7a1a5d263812981a6.tar.gz", + # Master branch as of 2020-04-21. + "https://github.com/bazelbuild/rules_rust/archive/e285f2bd8be77712e6b80ccb52918b727d10d70e.tar.gz", ], ) diff --git a/cargo/BUILD b/cargo/BUILD index 4ea721f0d0f..7fc7d8fea3d 100644 --- a/cargo/BUILD +++ b/cargo/BUILD @@ -12,6 +12,10 @@ alias( name = "byteorder", actual = "@raze__byteorder__1_3_4//:byteorder", ) +alias( + name = "bytes", + actual = "@raze__bytes__0_5_4//:bytes", +) alias( name = "http", actual = "@raze__http__0_2_1//:http", @@ -58,7 +62,11 @@ alias( ) alias( name = "tokio", - actual = "@raze__tokio__0_2_18//:tokio", + actual = "@raze__tokio__0_2_19//:tokio", +) +alias( + name = "tonic", + actual = "@raze__tonic__0_1_1//:tonic", ) alias( name = "wasmi", diff --git a/cargo/Cargo.lock b/cargo/Cargo.lock new file mode 100644 index 00000000000..5051121d975 --- /dev/null +++ b/cargo/Cargo.lock @@ -0,0 +1,1247 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "anyhow" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9a60d744a80c30fcb657dfe2c1b22bcb3e814c1a1e3674f32bf5820b570fbff" + +[[package]] +name = "async-stream" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22068c0c19514942eefcfd4daf8976ef1aad84e61539f95cd200c35202f80af5" +dependencies = [ + "async-stream-impl", + "futures-core", +] + +[[package]] +name = "async-stream-impl" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25f9db3b38af870bf7e5cc649167533b493928e50744e2c30ae350230b414670" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "async-trait" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da71fef07bc806586090247e971229289f64c210a278ee5ae419314eb386b31d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "atty" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" +dependencies = [ + "hermit-abi", + "libc", + "winapi 0.3.8", +] + +[[package]] +name = "autocfg" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" + +[[package]] +name = "base64" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" +dependencies = [ + "byteorder", +] + +[[package]] +name = "bitflags" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" + +[[package]] +name = "bumpalo" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12ae9db68ad7fac5fe51304d20f016c911539251075a214f8e663babefa35187" + +[[package]] +name = "byteorder" +version = "1.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" + +[[package]] +name = "bytes" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1" + +[[package]] +name = "cargo_under_bazel" +version = "0.0.0" +dependencies = [ + "byteorder", + "bytes", + "http", + "hyper", + "indexmap", + "itertools 0.9.0", + "lazy_static", + "log", + "prometheus", + "prost", + "prost-types", + "rand", + "simple_logger", + "tokio", + "tonic", + "wasmi", +] + +[[package]] +name = "cc" +version = "1.0.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d87b23d6a92cd03af510a5ade527033f6aa6fa92161e2d5863a907d4c5e31d" + +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + +[[package]] +name = "chrono" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2" +dependencies = [ + "num-integer", + "num-traits", + "time", +] + +[[package]] +name = "colored" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59" +dependencies = [ + "atty", + "lazy_static", + "winapi 0.3.8", +] + +[[package]] +name = "either" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" + +[[package]] +name = "fnv" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" + +[[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-channel" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c77d04ce8edd9cb903932b608268b3fffec4163dc053b3b402bf47eac1f1a8" +dependencies = [ + "futures-core", +] + +[[package]] +name = "futures-core" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f25592f769825e89b92358db00d26f965761e094951ac44d3663ef25b7ac464a" + +[[package]] +name = "futures-sink" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3466821b4bc114d95b087b850a724c6f83115e929bc88f1fa98a3304a944c8a6" + +[[package]] +name = "futures-task" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0a34e53cf6cdcd0178aa573aed466b646eb3db769570841fda0c7ede375a27" + +[[package]] +name = "futures-util" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22766cf25d64306bedf0384da004d05c9974ab104fcc4528f1236181c18004c5" +dependencies = [ + "futures-core", + "futures-task", + "pin-utils", +] + +[[package]] +name = "getrandom" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "h2" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "377038bf3c89d18d6ca1431e7a5027194fbd724ca10592b9487ede5e8e144f42" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "log", + "slab", + "tokio", + "tokio-util 0.3.1", +] + +[[package]] +name = "hermit-abi" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61565ff7aaace3525556587bd2dc31d4a07071957be715e63ce7b1eccf51a8f4" +dependencies = [ + "libc", +] + +[[package]] +name = "http" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "httparse" +version = "1.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" + +[[package]] +name = "hyper" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96816e1d921eca64d208a85aab4f7798455a8e34229ee5a88c935bdee1b78b14" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "itoa", + "log", + "net2", + "pin-project", + "time", + "tokio", + "tower-service", + "want", +] + +[[package]] +name = "indexmap" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e81a7c05f79578dbc15793d8b619db9ba32b4577003ef3af1a91c416798c58d" + +[[package]] +name = "iovec" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" +dependencies = [ + "libc", +] + +[[package]] +name = "itertools" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" + +[[package]] +name = "js-sys" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a27d435371a2fa5b6d2b028a74bbdb1234f308da363226a2854ca3ff8ba7055" +dependencies = [ + "wasm-bindgen", +] + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" + +[[package]] +name = "libm" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" + +[[package]] +name = "log" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "memchr" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" + +[[package]] +name = "memory_units" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" + +[[package]] +name = "mio" +version = "0.6.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "302dec22bcf6bae6dfb69c647187f4b4d0fb6f535521f7bc022430ce8e12008f" +dependencies = [ + "cfg-if", + "fuchsia-zircon", + "fuchsia-zircon-sys", + "iovec", + "kernel32-sys", + "libc", + "log", + "miow", + "net2", + "slab", + "winapi 0.2.8", +] + +[[package]] +name = "miow" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" +dependencies = [ + "kernel32-sys", + "net2", + "winapi 0.2.8", + "ws2_32-sys", +] + +[[package]] +name = "net2" +version = "0.2.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" +dependencies = [ + "cfg-if", + "libc", + "winapi 0.3.8", +] + +[[package]] +name = "num-bigint" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" +dependencies = [ + "autocfg", + "num-bigint", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096" +dependencies = [ + "autocfg", +] + +[[package]] +name = "parity-wasm" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddfc878dac00da22f8f61e7af3157988424567ab01d9920b962ef7dcbd7cd865" + +[[package]] +name = "percent-encoding" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" + +[[package]] +name = "pin-project" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f6a7f5eee6292c559c793430c55c00aea9d3b3d1905e855806ca4d7253426a2" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8988430ce790d8682672117bc06dda364c0be32d3abd738234f19f3240bad99a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "237844750cfbb86f67afe27eee600dfbbcb6188d734139b534cbfbf4f96792ae" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "ppv-lite86" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" + +[[package]] +name = "proc-macro2" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "prometheus" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0575e258dab62268e7236d7307caa38848acbda7ec7ab87bd9093791e999d20" +dependencies = [ + "cfg-if", + "fnv", + "lazy_static", + "libc", + "spin", + "thiserror", +] + +[[package]] +name = "prost" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce49aefe0a6144a45de32927c77bd2859a5f7677b55f220ae5b744e87389c212" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-derive" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" +dependencies = [ + "anyhow", + "itertools 0.8.2", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "prost-types" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1834f67c0697c001304b75be76f67add9c89742eda3a085ad8ee0bb38c3417aa" +dependencies = [ + "bytes", + "prost", +] + +[[package]] +name = "quote" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom", + "libc", + "rand_chacha", + "rand_core", + "rand_hc", + "rand_pcg", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core", +] + +[[package]] +name = "ring" +version = "0.16.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ba5a8ec64ee89a76c98c549af81ff14813df09c3e6dc4766c3856da48597a0c" +dependencies = [ + "cc", + "lazy_static", + "libc", + "spin", + "untrusted", + "web-sys", + "winapi 0.3.8", +] + +[[package]] +name = "rustls" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b25a18b1bf7387f0145e7f8324e700805aade3842dd3db2e74e4cdeb4677c09e" +dependencies = [ + "base64", + "log", + "ring", + "sct", + "webpki", +] + +[[package]] +name = "sct" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "simple_logger" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea0c4611f32f4c2bac73754f22dca1f57e6c1945e0590dae4e5f2a077b92367" +dependencies = [ + "atty", + "chrono", + "colored", + "log", + "winapi 0.3.8", +] + +[[package]] +name = "slab" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "syn" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "410a7488c0a728c7ceb4ad59b9567eb4053d02e8cc7f5c0e0eeeb39518369213" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "thiserror" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54b3d3d2ff68104100ab257bb6bb0cb26c901abe4bd4ba15961f3bf867924012" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca972988113b7715266f91250ddb98070d033c62a011fa0fcc57434a649310dd" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "time" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" +dependencies = [ + "libc", + "winapi 0.3.8", +] + +[[package]] +name = "tokio" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9c43f1bb96970e153bcbae39a65e249ccb942bd9d36dbdf086024920417c9c" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "iovec", + "lazy_static", + "memchr", + "mio", + "pin-project-lite", + "slab", + "tokio-macros", +] + +[[package]] +name = "tokio-macros" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tokio-rustls" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "141afec0978abae6573065a48882c6bae44c5cc61db9b511ac4abf6a09bfd9cc" +dependencies = [ + "futures-core", + "rustls", + "tokio", + "webpki", +] + +[[package]] +name = "tokio-util" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tonic" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08283643b1d483eb7f3fc77069e63b5cba3e4db93514b3d45470e67f123e4e48" +dependencies = [ + "async-stream", + "async-trait", + "base64", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "percent-encoding", + "pin-project", + "prost", + "prost-derive", + "tokio", + "tokio-rustls", + "tokio-util 0.2.0", + "tower", + "tower-balance", + "tower-load", + "tower-make", + "tower-service", + "tracing", + "tracing-futures", +] + +[[package]] +name = "tower" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3169017c090b7a28fce80abaad0ab4f5566423677c9331bb320af7e49cfe62" +dependencies = [ + "futures-core", + "tower-buffer", + "tower-discover", + "tower-layer", + "tower-limit", + "tower-load-shed", + "tower-retry", + "tower-service", + "tower-timeout", + "tower-util", +] + +[[package]] +name = "tower-balance" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a792277613b7052448851efcf98a2c433e6f1d01460832dc60bef676bc275d4c" +dependencies = [ + "futures-core", + "futures-util", + "indexmap", + "pin-project", + "rand", + "slab", + "tokio", + "tower-discover", + "tower-layer", + "tower-load", + "tower-make", + "tower-ready-cache", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-buffer" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4887dc2a65d464c8b9b66e0e4d51c2fd6cf5b3373afc72805b0a60bce00446a" +dependencies = [ + "futures-core", + "pin-project", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-discover" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f6b5000c3c54d269cc695dff28136bb33d08cbf1df2c48129e143ab65bf3c2a" +dependencies = [ + "futures-core", + "pin-project", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a35d656f2638b288b33495d1053ea74c40dc05ec0b92084dd71ca5566c4ed1dc" + +[[package]] +name = "tower-limit" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92c3040c5dbed68abffaa0d4517ac1a454cd741044f33ab0eefab6b8d1361404" +dependencies = [ + "futures-core", + "pin-project", + "tokio", + "tower-layer", + "tower-load", + "tower-service", +] + +[[package]] +name = "tower-load" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cc79fc3afd07492b7966d7efa7c6c50f8ed58d768a6075dd7ae6591c5d2017b" +dependencies = [ + "futures-core", + "log", + "pin-project", + "tokio", + "tower-discover", + "tower-service", +] + +[[package]] +name = "tower-load-shed" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f021e23900173dc315feb4b6922510dae3e79c689b74c089112066c11f0ae4e" +dependencies = [ + "futures-core", + "pin-project", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-make" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce50370d644a0364bf4877ffd4f76404156a248d104e2cc234cd391ea5cdc965" +dependencies = [ + "tokio", + "tower-service", +] + +[[package]] +name = "tower-ready-cache" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4eabb6620e5481267e2ec832c780b31cad0c15dcb14ed825df5076b26b591e1f" +dependencies = [ + "futures-core", + "futures-util", + "indexmap", + "log", + "tokio", + "tower-service", +] + +[[package]] +name = "tower-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6727956aaa2f8957d4d9232b308fe8e4e65d99db30f42b225646e86c9b6a952" +dependencies = [ + "futures-core", + "pin-project", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-service" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" + +[[package]] +name = "tower-timeout" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "127b8924b357be938823eaaec0608c482d40add25609481027b96198b2e4b31e" +dependencies = [ + "pin-project", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-util" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1093c19826d33807c72511e68f73b4a0469a3f22c2bd5f7d5212178b4b89674" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "tower-service", +] + +[[package]] +name = "tracing" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1721cc8cf7d770cc4257872507180f35a4797272f5962f24c806af9e7faf52ab" +dependencies = [ + "cfg-if", + "log", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fbad39da2f9af1cae3016339ad7f2c7a9e870f12e8fd04c4fd7ef35b30c0d2b" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0aa83a9a47081cd522c09c81b31aec2c9273424976f922ad61c053b58350b715" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "tracing-futures" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c" +dependencies = [ + "pin-project", + "tracing", +] + +[[package]] +name = "try-lock" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" + +[[package]] +name = "unicode-xid" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" + +[[package]] +name = "untrusted" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60369ef7a31de49bcb3f6ca728d4ba7300d9a1658f94c727d4cab8c8d9f4aece" + +[[package]] +name = "want" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" +dependencies = [ + "log", + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasm-bindgen" +version = "0.2.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cc57ce05287f8376e998cbddfb4c8cb43b84a7ec55cf4551d7c00eef317a47f" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d967d37bf6c16cca2973ca3af071d0a2523392e4a594548155d89a678f4237cd" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bd151b63e1ea881bb742cd20e1d6127cef28399558f3b5d415289bc41eee3a4" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d68a5b36eef1be7868f668632863292e37739656a80fc4b9acec7b0bd35a4931" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daf76fe7d25ac79748a37538b7daeed1c7a6867c92d3245c12c6222e4a20d639" + +[[package]] +name = "wasmi" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf617d864d25af3587aa745529f7aaa541066c876d57e050c0d0c85c61c92aff" +dependencies = [ + "libc", + "libm", + "memory_units", + "num-rational", + "num-traits", + "parity-wasm", + "wasmi-validation", +] + +[[package]] +name = "wasmi-validation" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea78c597064ba73596099281e2f4cfc019075122a65cdda3205af94f0b264d93" +dependencies = [ + "parity-wasm", +] + +[[package]] +name = "web-sys" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6f51648d8c56c366144378a33290049eafdd784071077f6fe37dae64c1c4cb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f50e1972865d6b1adb54167d1c8ed48606004c2c9d0ea5f1eeb34d95e863ef" +dependencies = [ + "ring", + "untrusted", +] + +[[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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +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", +] diff --git a/cargo/Cargo.toml b/cargo/Cargo.toml index 9ec50fd8bca..bef1dd17bde 100644 --- a/cargo/Cargo.toml +++ b/cargo/Cargo.toml @@ -8,13 +8,14 @@ path = "fake_lib.rs" [dependencies] byteorder = "*" +bytes = "*" http = "*" hyper = "*" # Versions 1.3.x of indexmap have a "clever" feature that auto-detects whether a # build is `std` or not, and sets an internal/inaccessible `has_std` flag -# accordingly. Without this flag, indexmap is not back-compatible and things +# accordingly. Without this flag, indexmap is not back-compatible and things # fail to build (because the second default type argument to indexmap types are -# no longer provided). Force use of an earlier version of indexmap to avoid +# no longer provided). Force use of an earlier version of indexmap to avoid # this. indexmap = "=1.0.2" itertools = "*" @@ -24,7 +25,10 @@ prost = "*" prost-types = "*" rand = "*" simple_logger = "*" -tokio = { version = "*", features = ["rt-core"] } +tokio = { version = "*", features = ["rt-core", "macros"] } +# Using an old version that is supported by `cargo-raze`: +# https://github.com/google/cargo-raze/issues/41#issuecomment-592274128 +tonic = { version = "=0.1.1", features = ["tls"] } wasmi = { version = "*", default-features = false, features = ["core"] } prometheus = { version = "0.8", features = [ "nightly" @@ -41,11 +45,25 @@ target = "x86_64-unknown-linux-gnu" # cargo-raze itself; see: # https://github.com/google/cargo-raze/issues/64#issuecomment-431687016 [raze.crates.proc-macro2.'1.0.10'] -additional_flags = ["--cfg=use_proc_macro"] +additional_flags = [ + "--cfg=use_proc_macro", + # This flag is necessary to solve problems with nested macro in `async-stream`: + # https://github.com/project-oak/oak/issues/890#issuecomment-618410736 + "--cfg=wrap_proc_macro", +] # Set the atomic_cas config when building log, see: # https://github.com/google/cargo-raze/issues/110 [raze.crates.log.'0.4.8'] additional_flags = ["--cfg=atomic_cas"] +# Add a `data` attribute to the corresponding generated `BUILD` file, since `cargo-raze` does not +# automatically add non-`*.rs` files to the Bazel workspace. +# https://github.com/google/cargo-raze/issues/41 +[raze.crates.ring.'0.16.12'] +data_attr = "glob([\"**/*.der\"])" + +[raze.crates.webpki.'0.21.2'] +data_attr = "glob([\"**/*.der\"])" + [workspace] diff --git a/cargo/crates.bzl b/cargo/crates.bzl index 5747a5ee65e..dbe36c40f98 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -25,6 +25,33 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:anyhow-1.0.28.BUILD"), ) + _new_http_archive( + name = "raze__async_stream__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/async-stream/async-stream-0.2.1.crate", + type = "tar.gz", + strip_prefix = "async-stream-0.2.1", + + build_file = Label("//cargo/remote:async-stream-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__async_stream_impl__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/async-stream-impl/async-stream-impl-0.2.1.crate", + type = "tar.gz", + strip_prefix = "async-stream-impl-0.2.1", + + build_file = Label("//cargo/remote:async-stream-impl-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__async_trait__0_1_30", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/async-trait/async-trait-0.1.30.crate", + type = "tar.gz", + strip_prefix = "async-trait-0.1.30", + + build_file = Label("//cargo/remote:async-trait-0.1.30.BUILD"), + ) + _new_http_archive( name = "raze__atty__0_2_14", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate", @@ -43,6 +70,15 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:autocfg-1.0.0.BUILD"), ) + _new_http_archive( + name = "raze__base64__0_10_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/base64/base64-0.10.1.crate", + type = "tar.gz", + strip_prefix = "base64-0.10.1", + + build_file = Label("//cargo/remote:base64-0.10.1.BUILD"), + ) + _new_http_archive( name = "raze__bitflags__1_2_1", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate", @@ -52,6 +88,15 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:bitflags-1.2.1.BUILD"), ) + _new_http_archive( + name = "raze__bumpalo__3_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/bumpalo/bumpalo-3.2.1.crate", + type = "tar.gz", + strip_prefix = "bumpalo-3.2.1", + + build_file = Label("//cargo/remote:bumpalo-3.2.1.BUILD"), + ) + _new_http_archive( name = "raze__byteorder__1_3_4", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.3.4.crate", @@ -70,6 +115,15 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:bytes-0.5.4.BUILD"), ) + _new_http_archive( + name = "raze__cc__1_0_52", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.52.crate", + type = "tar.gz", + strip_prefix = "cc-1.0.52", + + build_file = Label("//cargo/remote:cc-1.0.52.BUILD"), + ) + _new_http_archive( name = "raze__cfg_if__0_1_10", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate", @@ -197,12 +251,12 @@ def raze_fetch_remote_crates(): ) _new_http_archive( - name = "raze__hermit_abi__0_1_11", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.11.crate", + name = "raze__hermit_abi__0_1_12", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.12.crate", type = "tar.gz", - strip_prefix = "hermit-abi-0.1.11", + strip_prefix = "hermit-abi-0.1.12", - build_file = Label("//cargo/remote:hermit-abi-0.1.11.BUILD"), + build_file = Label("//cargo/remote:hermit-abi-0.1.12.BUILD"), ) _new_http_archive( @@ -286,6 +340,15 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:itoa-0.4.5.BUILD"), ) + _new_http_archive( + name = "raze__js_sys__0_3_37", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/js-sys/js-sys-0.3.37.crate", + type = "tar.gz", + strip_prefix = "js-sys-0.3.37", + + build_file = Label("//cargo/remote:js-sys-0.3.37.BUILD"), + ) + _new_http_archive( name = "raze__kernel32_sys__0_2_2", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/kernel32-sys/kernel32-sys-0.2.2.crate", @@ -421,6 +484,15 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:parity-wasm-0.41.0.BUILD"), ) + _new_http_archive( + name = "raze__percent_encoding__1_0_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/percent-encoding/percent-encoding-1.0.1.crate", + type = "tar.gz", + strip_prefix = "percent-encoding-1.0.1", + + build_file = Label("//cargo/remote:percent-encoding-1.0.1.BUILD"), + ) + _new_http_archive( name = "raze__pin_project__0_4_9", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project/pin-project-0.4.9.crate", @@ -449,12 +521,12 @@ def raze_fetch_remote_crates(): ) _new_http_archive( - name = "raze__pin_utils__0_1_0_alpha_4", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0-alpha.4.crate", + name = "raze__pin_utils__0_1_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0.crate", type = "tar.gz", - strip_prefix = "pin-utils-0.1.0-alpha.4", + strip_prefix = "pin-utils-0.1.0", - build_file = Label("//cargo/remote:pin-utils-0.1.0-alpha.4.BUILD"), + build_file = Label("//cargo/remote:pin-utils-0.1.0.BUILD"), ) _new_http_archive( @@ -557,12 +629,39 @@ def raze_fetch_remote_crates(): ) _new_http_archive( - name = "raze__redox_syscall__0_1_56", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.56.crate", + name = "raze__rand_pcg__0_2_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.2.1.crate", + type = "tar.gz", + strip_prefix = "rand_pcg-0.2.1", + + build_file = Label("//cargo/remote:rand_pcg-0.2.1.BUILD"), + ) + + _new_http_archive( + name = "raze__ring__0_16_12", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/ring/ring-0.16.12.crate", + type = "tar.gz", + strip_prefix = "ring-0.16.12", + + build_file = Label("//cargo/remote:ring-0.16.12.BUILD"), + ) + + _new_http_archive( + name = "raze__rustls__0_16_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/rustls/rustls-0.16.0.crate", type = "tar.gz", - strip_prefix = "redox_syscall-0.1.56", + strip_prefix = "rustls-0.16.0", - build_file = Label("//cargo/remote:redox_syscall-0.1.56.BUILD"), + build_file = Label("//cargo/remote:rustls-0.16.0.BUILD"), + ) + + _new_http_archive( + name = "raze__sct__0_6_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/sct/sct-0.6.0.crate", + type = "tar.gz", + strip_prefix = "sct-0.6.0", + + build_file = Label("//cargo/remote:sct-0.6.0.BUILD"), ) _new_http_archive( @@ -593,12 +692,12 @@ def raze_fetch_remote_crates(): ) _new_http_archive( - name = "raze__syn__1_0_17", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.17.crate", + name = "raze__syn__1_0_18", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.18.crate", type = "tar.gz", - strip_prefix = "syn-1.0.17", + strip_prefix = "syn-1.0.18", - build_file = Label("//cargo/remote:syn-1.0.17.BUILD"), + build_file = Label("//cargo/remote:syn-1.0.18.BUILD"), ) _new_http_archive( @@ -620,21 +719,48 @@ def raze_fetch_remote_crates(): ) _new_http_archive( - name = "raze__time__0_1_42", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.42.crate", + name = "raze__time__0_1_43", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.43.crate", type = "tar.gz", - strip_prefix = "time-0.1.42", + strip_prefix = "time-0.1.43", - build_file = Label("//cargo/remote:time-0.1.42.BUILD"), + build_file = Label("//cargo/remote:time-0.1.43.BUILD"), ) _new_http_archive( - name = "raze__tokio__0_2_18", - url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.18.crate", + name = "raze__tokio__0_2_19", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.19.crate", type = "tar.gz", - strip_prefix = "tokio-0.2.18", + strip_prefix = "tokio-0.2.19", - build_file = Label("//cargo/remote:tokio-0.2.18.BUILD"), + build_file = Label("//cargo/remote:tokio-0.2.19.BUILD"), + ) + + _new_http_archive( + name = "raze__tokio_macros__0_2_5", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-macros/tokio-macros-0.2.5.crate", + type = "tar.gz", + strip_prefix = "tokio-macros-0.2.5", + + build_file = Label("//cargo/remote:tokio-macros-0.2.5.BUILD"), + ) + + _new_http_archive( + name = "raze__tokio_rustls__0_12_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-rustls/tokio-rustls-0.12.2.crate", + type = "tar.gz", + strip_prefix = "tokio-rustls-0.12.2", + + build_file = Label("//cargo/remote:tokio-rustls-0.12.2.BUILD"), + ) + + _new_http_archive( + name = "raze__tokio_util__0_2_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-util/tokio-util-0.2.0.crate", + type = "tar.gz", + strip_prefix = "tokio-util-0.2.0", + + build_file = Label("//cargo/remote:tokio-util-0.2.0.BUILD"), ) _new_http_archive( @@ -646,6 +772,114 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:tokio-util-0.3.1.BUILD"), ) + _new_http_archive( + name = "raze__tonic__0_1_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tonic/tonic-0.1.1.crate", + type = "tar.gz", + strip_prefix = "tonic-0.1.1", + + build_file = Label("//cargo/remote:tonic-0.1.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower/tower-0.3.1.crate", + type = "tar.gz", + strip_prefix = "tower-0.3.1", + + build_file = Label("//cargo/remote:tower-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_balance__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-balance/tower-balance-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-balance-0.3.0", + + build_file = Label("//cargo/remote:tower-balance-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_buffer__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-buffer/tower-buffer-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-buffer-0.3.0", + + build_file = Label("//cargo/remote:tower-buffer-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_discover__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-discover/tower-discover-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-discover-0.3.0", + + build_file = Label("//cargo/remote:tower-discover-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_layer__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-layer/tower-layer-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-layer-0.3.0", + + build_file = Label("//cargo/remote:tower-layer-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_limit__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-limit/tower-limit-0.3.1.crate", + type = "tar.gz", + strip_prefix = "tower-limit-0.3.1", + + build_file = Label("//cargo/remote:tower-limit-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_load__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-load/tower-load-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-load-0.3.0", + + build_file = Label("//cargo/remote:tower-load-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_load_shed__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-load-shed/tower-load-shed-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-load-shed-0.3.0", + + build_file = Label("//cargo/remote:tower-load-shed-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_make__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-make/tower-make-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-make-0.3.0", + + build_file = Label("//cargo/remote:tower-make-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_ready_cache__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-ready-cache/tower-ready-cache-0.3.1.crate", + type = "tar.gz", + strip_prefix = "tower-ready-cache-0.3.1", + + build_file = Label("//cargo/remote:tower-ready-cache-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_retry__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-retry/tower-retry-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-retry-0.3.0", + + build_file = Label("//cargo/remote:tower-retry-0.3.0.BUILD"), + ) + _new_http_archive( name = "raze__tower_service__0_3_0", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-service/tower-service-0.3.0.crate", @@ -655,6 +889,60 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:tower-service-0.3.0.BUILD"), ) + _new_http_archive( + name = "raze__tower_timeout__0_3_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-timeout/tower-timeout-0.3.0.crate", + type = "tar.gz", + strip_prefix = "tower-timeout-0.3.0", + + build_file = Label("//cargo/remote:tower-timeout-0.3.0.BUILD"), + ) + + _new_http_archive( + name = "raze__tower_util__0_3_1", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tower-util/tower-util-0.3.1.crate", + type = "tar.gz", + strip_prefix = "tower-util-0.3.1", + + build_file = Label("//cargo/remote:tower-util-0.3.1.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing__0_1_13", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing/tracing-0.1.13.crate", + type = "tar.gz", + strip_prefix = "tracing-0.1.13", + + build_file = Label("//cargo/remote:tracing-0.1.13.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing_attributes__0_1_7", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-attributes/tracing-attributes-0.1.7.crate", + type = "tar.gz", + strip_prefix = "tracing-attributes-0.1.7", + + build_file = Label("//cargo/remote:tracing-attributes-0.1.7.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing_core__0_1_10", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-core/tracing-core-0.1.10.crate", + type = "tar.gz", + strip_prefix = "tracing-core-0.1.10", + + build_file = Label("//cargo/remote:tracing-core-0.1.10.BUILD"), + ) + + _new_http_archive( + name = "raze__tracing_futures__0_2_4", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-futures/tracing-futures-0.2.4.crate", + type = "tar.gz", + strip_prefix = "tracing-futures-0.2.4", + + build_file = Label("//cargo/remote:tracing-futures-0.2.4.BUILD"), + ) + _new_http_archive( name = "raze__try_lock__0_2_2", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/try-lock/try-lock-0.2.2.crate", @@ -673,6 +961,15 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:unicode-xid-0.2.0.BUILD"), ) + _new_http_archive( + name = "raze__untrusted__0_7_0", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/untrusted/untrusted-0.7.0.crate", + type = "tar.gz", + strip_prefix = "untrusted-0.7.0", + + build_file = Label("//cargo/remote:untrusted-0.7.0.BUILD"), + ) + _new_http_archive( name = "raze__want__0_3_0", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/want/want-0.3.0.crate", @@ -691,6 +988,51 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:wasi-0.9.0+wasi-snapshot-preview1.BUILD"), ) + _new_http_archive( + name = "raze__wasm_bindgen__0_2_60", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen/wasm-bindgen-0.2.60.crate", + type = "tar.gz", + strip_prefix = "wasm-bindgen-0.2.60", + + build_file = Label("//cargo/remote:wasm-bindgen-0.2.60.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_backend__0_2_60", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.60.crate", + type = "tar.gz", + strip_prefix = "wasm-bindgen-backend-0.2.60", + + build_file = Label("//cargo/remote:wasm-bindgen-backend-0.2.60.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_macro__0_2_60", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.60.crate", + type = "tar.gz", + strip_prefix = "wasm-bindgen-macro-0.2.60", + + build_file = Label("//cargo/remote:wasm-bindgen-macro-0.2.60.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_macro_support__0_2_60", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.60.crate", + type = "tar.gz", + strip_prefix = "wasm-bindgen-macro-support-0.2.60", + + build_file = Label("//cargo/remote:wasm-bindgen-macro-support-0.2.60.BUILD"), + ) + + _new_http_archive( + name = "raze__wasm_bindgen_shared__0_2_60", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.60.crate", + type = "tar.gz", + strip_prefix = "wasm-bindgen-shared-0.2.60", + + build_file = Label("//cargo/remote:wasm-bindgen-shared-0.2.60.BUILD"), + ) + _new_http_archive( name = "raze__wasmi__0_6_2", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wasmi/wasmi-0.6.2.crate", @@ -709,6 +1051,24 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:wasmi-validation-0.3.0.BUILD"), ) + _new_http_archive( + name = "raze__web_sys__0_3_37", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/web-sys/web-sys-0.3.37.crate", + type = "tar.gz", + strip_prefix = "web-sys-0.3.37", + + build_file = Label("//cargo/remote:web-sys-0.3.37.BUILD"), + ) + + _new_http_archive( + name = "raze__webpki__0_21_2", + url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/webpki/webpki-0.21.2.crate", + type = "tar.gz", + strip_prefix = "webpki-0.21.2", + + build_file = Label("//cargo/remote:webpki-0.21.2.BUILD"), + ) + _new_http_archive( name = "raze__winapi__0_2_8", url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.2.8.crate", diff --git a/cargo/remote/async-stream-0.2.1.BUILD b/cargo/remote/async-stream-0.2.1.BUILD new file mode 100644 index 00000000000..c5aef0de477 --- /dev/null +++ b/cargo/remote/async-stream-0.2.1.BUILD @@ -0,0 +1,48 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "async_stream", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__async_stream_impl__0_2_1//:async_stream_impl", + "@raze__futures_core__0_3_4//:futures_core", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + crate_features = [ + ], +) + +# Unsupported target "for_await" with type "test" omitted +# Unsupported target "stream" with type "test" omitted +# Unsupported target "tcp_accept" with type "example" omitted +# Unsupported target "try_stream" with type "test" omitted diff --git a/cargo/remote/async-stream-impl-0.2.1.BUILD b/cargo/remote/async-stream-impl-0.2.1.BUILD new file mode 100644 index 00000000000..cf11974e743 --- /dev/null +++ b/cargo/remote/async-stream-impl-0.2.1.BUILD @@ -0,0 +1,45 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "async_stream_impl", + crate_root = "src/lib.rs", + crate_type = "proc-macro", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__proc_macro2__1_0_10//:proc_macro2", + "@raze__quote__1_0_3//:quote", + "@raze__syn__1_0_18//:syn", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + crate_features = [ + ], +) + diff --git a/cargo/remote/async-trait-0.1.30.BUILD b/cargo/remote/async-trait-0.1.30.BUILD new file mode 100644 index 00000000000..29de7258c1a --- /dev/null +++ b/cargo/remote/async-trait-0.1.30.BUILD @@ -0,0 +1,47 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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", # "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "async_trait", + crate_root = "src/lib.rs", + crate_type = "proc-macro", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__proc_macro2__1_0_10//:proc_macro2", + "@raze__quote__1_0_3//:quote", + "@raze__syn__1_0_18//:syn", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.30", + crate_features = [ + ], +) + +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/base64-0.10.1.BUILD b/cargo/remote/base64-0.10.1.BUILD new file mode 100644 index 00000000000..1a8d55c1c22 --- /dev/null +++ b/cargo/remote/base64-0.10.1.BUILD @@ -0,0 +1,49 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "base64", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2015", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__byteorder__1_3_4//:byteorder", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.1", + crate_features = [ + ], +) + +# Unsupported target "benchmarks" with type "bench" omitted +# Unsupported target "decode" with type "test" omitted +# Unsupported target "encode" with type "test" omitted +# Unsupported target "helpers" with type "test" omitted +# Unsupported target "make_tables" with type "example" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/bumpalo-3.2.1.BUILD b/cargo/remote/bumpalo-3.2.1.BUILD new file mode 100644 index 00000000000..5ef0616c57c --- /dev/null +++ b/cargo/remote/bumpalo-3.2.1.BUILD @@ -0,0 +1,51 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "alloc_fill" with type "test" omitted +# Unsupported target "alloc_with" with type "test" omitted +# Unsupported target "benches" with type "bench" omitted + +rust_library( + name = "bumpalo", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "3.2.1", + crate_features = [ + "default", + ], +) + +# Unsupported target "quickchecks" with type "test" omitted +# Unsupported target "readme_up_to_date" with type "test" omitted +# Unsupported target "string" with type "test" omitted +# Unsupported target "tests" with type "test" omitted +# Unsupported target "vec" with type "test" omitted diff --git a/cargo/remote/cc-1.0.52.BUILD b/cargo/remote/cc-1.0.52.BUILD new file mode 100644 index 00000000000..201b1ed3c50 --- /dev/null +++ b/cargo/remote/cc-1.0.52.BUILD @@ -0,0 +1,65 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "cc", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.52", + crate_features = [ + ], +) + +# Unsupported target "cc_env" with type "test" omitted +# Unsupported target "cflags" with type "test" omitted +# Unsupported target "cxxflags" with type "test" omitted +rust_binary( + # Prefix bin name to disambiguate from (probable) collision with lib name + # N.B.: The exact form of this is subject to change. + name = "cargo_bin_gcc_shim", + crate_root = "src/bin/gcc-shim.rs", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":cc", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.52", + crate_features = [ + ], +) + +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/chrono-0.4.11.BUILD b/cargo/remote/chrono-0.4.11.BUILD index 238a2fbd41d..ebc5bd46f84 100644 --- a/cargo/remote/chrono-0.4.11.BUILD +++ b/cargo/remote/chrono-0.4.11.BUILD @@ -34,7 +34,7 @@ rust_library( deps = [ "@raze__num_integer__0_1_42//:num_integer", "@raze__num_traits__0_2_11//:num_traits", - "@raze__time__0_1_42//:time", + "@raze__time__0_1_43//:time", ], rustc_flags = [ "--cap-lints=allow", diff --git a/cargo/remote/futures-task-0.3.4.BUILD b/cargo/remote/futures-task-0.3.4.BUILD index 1df6408c711..22ee6da6ea5 100644 --- a/cargo/remote/futures-task-0.3.4.BUILD +++ b/cargo/remote/futures-task-0.3.4.BUILD @@ -37,6 +37,7 @@ rust_library( ], version = "0.3.4", crate_features = [ + "alloc", ], ) diff --git a/cargo/remote/futures-util-0.3.4.BUILD b/cargo/remote/futures-util-0.3.4.BUILD index 05a68f76b6e..d421f36f6a3 100644 --- a/cargo/remote/futures-util-0.3.4.BUILD +++ b/cargo/remote/futures-util-0.3.4.BUILD @@ -33,13 +33,14 @@ rust_library( deps = [ "@raze__futures_core__0_3_4//:futures_core", "@raze__futures_task__0_3_4//:futures_task", - "@raze__pin_utils__0_1_0_alpha_4//:pin_utils", + "@raze__pin_utils__0_1_0//:pin_utils", ], rustc_flags = [ "--cap-lints=allow", ], version = "0.3.4", crate_features = [ + "alloc", ], ) diff --git a/cargo/remote/h2-0.2.4.BUILD b/cargo/remote/h2-0.2.4.BUILD index 705a45c6036..779ccc874f5 100644 --- a/cargo/remote/h2-0.2.4.BUILD +++ b/cargo/remote/h2-0.2.4.BUILD @@ -42,7 +42,7 @@ rust_library( "@raze__indexmap__1_0_2//:indexmap", "@raze__log__0_4_8//:log", "@raze__slab__0_4_2//:slab", - "@raze__tokio__0_2_18//:tokio", + "@raze__tokio__0_2_19//:tokio", "@raze__tokio_util__0_3_1//:tokio_util", ], rustc_flags = [ diff --git a/cargo/remote/hermit-abi-0.1.11.BUILD b/cargo/remote/hermit-abi-0.1.12.BUILD similarity index 97% rename from cargo/remote/hermit-abi-0.1.11.BUILD rename to cargo/remote/hermit-abi-0.1.12.BUILD index 59ab58d051d..f7a1a69640b 100644 --- a/cargo/remote/hermit-abi-0.1.11.BUILD +++ b/cargo/remote/hermit-abi-0.1.12.BUILD @@ -36,7 +36,7 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "0.1.11", + version = "0.1.12", crate_features = [ "default", ], diff --git a/cargo/remote/hyper-0.13.5.BUILD b/cargo/remote/hyper-0.13.5.BUILD index 0d9bbcf23b2..bc7d5da06d9 100644 --- a/cargo/remote/hyper-0.13.5.BUILD +++ b/cargo/remote/hyper-0.13.5.BUILD @@ -53,8 +53,8 @@ rust_library( "@raze__log__0_4_8//:log", "@raze__net2__0_2_33//:net2", "@raze__pin_project__0_4_9//:pin_project", - "@raze__time__0_1_42//:time", - "@raze__tokio__0_2_18//:tokio", + "@raze__time__0_1_43//:time", + "@raze__tokio__0_2_19//:tokio", "@raze__tower_service__0_3_0//:tower_service", "@raze__want__0_3_0//:want", ], diff --git a/cargo/remote/js-sys-0.3.37.BUILD b/cargo/remote/js-sys-0.3.37.BUILD new file mode 100644 index 00000000000..c5888defddc --- /dev/null +++ b/cargo/remote/js-sys-0.3.37.BUILD @@ -0,0 +1,45 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "headless" with type "test" omitted + +rust_library( + name = "js_sys", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__wasm_bindgen__0_2_60//:wasm_bindgen", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.37", + crate_features = [ + ], +) + +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/percent-encoding-1.0.1.BUILD b/cargo/remote/percent-encoding-1.0.1.BUILD new file mode 100644 index 00000000000..e55705bef0f --- /dev/null +++ b/cargo/remote/percent-encoding-1.0.1.BUILD @@ -0,0 +1,42 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "percent_encoding", + crate_root = "lib.rs", + crate_type = "lib", + edition = "2015", + srcs = glob(["**/*.rs"]), + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.1", + crate_features = [ + ], +) + diff --git a/cargo/remote/pin-project-internal-0.4.9.BUILD b/cargo/remote/pin-project-internal-0.4.9.BUILD index d17c102d4c1..d8c06219962 100644 --- a/cargo/remote/pin-project-internal-0.4.9.BUILD +++ b/cargo/remote/pin-project-internal-0.4.9.BUILD @@ -33,7 +33,7 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_10//:proc_macro2", "@raze__quote__1_0_3//:quote", - "@raze__syn__1_0_17//:syn", + "@raze__syn__1_0_18//:syn", ], rustc_flags = [ "--cap-lints=allow", diff --git a/cargo/remote/pin-utils-0.1.0-alpha.4.BUILD b/cargo/remote/pin-utils-0.1.0.BUILD similarity index 96% rename from cargo/remote/pin-utils-0.1.0-alpha.4.BUILD rename to cargo/remote/pin-utils-0.1.0.BUILD index 4e281966967..db18b9cc7d9 100644 --- a/cargo/remote/pin-utils-0.1.0-alpha.4.BUILD +++ b/cargo/remote/pin-utils-0.1.0.BUILD @@ -35,7 +35,7 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "0.1.0-alpha.4", + version = "0.1.0", crate_features = [ ], ) diff --git a/cargo/remote/proc-macro2-1.0.10.BUILD b/cargo/remote/proc-macro2-1.0.10.BUILD index d69aff28e16..bae203dc4da 100644 --- a/cargo/remote/proc-macro2-1.0.10.BUILD +++ b/cargo/remote/proc-macro2-1.0.10.BUILD @@ -39,6 +39,7 @@ rust_library( rustc_flags = [ "--cap-lints=allow", "--cfg=use_proc_macro", + "--cfg=wrap_proc_macro", ], version = "1.0.10", crate_features = [ diff --git a/cargo/remote/prost-derive-0.6.1.BUILD b/cargo/remote/prost-derive-0.6.1.BUILD index 99fc0b1380d..bf5b7f04a98 100644 --- a/cargo/remote/prost-derive-0.6.1.BUILD +++ b/cargo/remote/prost-derive-0.6.1.BUILD @@ -35,7 +35,7 @@ rust_library( "@raze__itertools__0_8_2//:itertools", "@raze__proc_macro2__1_0_10//:proc_macro2", "@raze__quote__1_0_3//:quote", - "@raze__syn__1_0_17//:syn", + "@raze__syn__1_0_18//:syn", ], rustc_flags = [ "--cap-lints=allow", diff --git a/cargo/remote/rand-0.7.3.BUILD b/cargo/remote/rand-0.7.3.BUILD index f533d4cc14d..d306537c48b 100644 --- a/cargo/remote/rand-0.7.3.BUILD +++ b/cargo/remote/rand-0.7.3.BUILD @@ -39,6 +39,7 @@ rust_library( "@raze__libc__0_2_69//:libc", "@raze__rand_chacha__0_2_2//:rand_chacha", "@raze__rand_core__0_5_1//:rand_core", + "@raze__rand_pcg__0_2_1//:rand_pcg", ], rustc_flags = [ "--cap-lints=allow", @@ -50,6 +51,8 @@ rust_library( "getrandom", "getrandom_package", "libc", + "rand_pcg", + "small_rng", "std", ], ) diff --git a/cargo/remote/rand_pcg-0.2.1.BUILD b/cargo/remote/rand_pcg-0.2.1.BUILD new file mode 100644 index 00000000000..3691cf93729 --- /dev/null +++ b/cargo/remote/rand_pcg-0.2.1.BUILD @@ -0,0 +1,46 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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", # "MIT OR Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "lcg128xsl64" with type "test" omitted +# Unsupported target "lcg64xsh32" with type "test" omitted +# Unsupported target "mcg128xsl64" with type "test" omitted + +rust_library( + name = "rand_pcg", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__rand_core__0_5_1//:rand_core", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + crate_features = [ + ], +) + diff --git a/cargo/remote/ring-0.16.12.BUILD b/cargo/remote/ring-0.16.12.BUILD new file mode 100644 index 00000000000..a8cfd2148f7 --- /dev/null +++ b/cargo/remote/ring-0.16.12.BUILD @@ -0,0 +1,64 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "restricted", # "no license" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "aead_tests" with type "test" omitted +# Unsupported target "agreement_tests" with type "test" omitted +# Unsupported target "build-script-build" with type "custom-build" omitted +# Unsupported target "digest_tests" with type "test" omitted +# Unsupported target "ecdsa_tests" with type "test" omitted +# Unsupported target "ed25519_tests" with type "test" omitted +# Unsupported target "hkdf_tests" with type "test" omitted +# Unsupported target "hmac_tests" with type "test" omitted +# Unsupported target "pbkdf2_tests" with type "test" omitted +# Unsupported target "quic_tests" with type "test" omitted +# Unsupported target "rand_tests" with type "test" omitted + +rust_library( + name = "ring", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__libc__0_2_69//:libc", + "@raze__spin__0_5_2//:spin", + "@raze__untrusted__0_7_0//:untrusted", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["**/*.der"]), + version = "0.16.12", + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + "lazy_static", + ], +) + +# Unsupported target "rsa_tests" with type "test" omitted +# Unsupported target "signature_tests" with type "test" omitted diff --git a/cargo/remote/rustls-0.16.0.BUILD b/cargo/remote/rustls-0.16.0.BUILD new file mode 100644 index 00000000000..4f815dfeefc --- /dev/null +++ b/cargo/remote/rustls-0.16.0.BUILD @@ -0,0 +1,56 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,ISC,MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "api" with type "test" omitted +# Unsupported target "bench" with type "example" omitted +# Unsupported target "benchmarks" with type "bench" omitted +# Unsupported target "benchmarks" with type "test" omitted +# Unsupported target "bogo_shim" with type "example" omitted + +rust_library( + name = "rustls", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__base64__0_10_1//:base64", + "@raze__log__0_4_8//:log", + "@raze__ring__0_16_12//:ring", + "@raze__sct__0_6_0//:sct", + "@raze__webpki__0_21_2//:webpki", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.16.0", + crate_features = [ + "default", + "log", + "logging", + ], +) + +# Unsupported target "trytls_shim" with type "example" omitted diff --git a/cargo/remote/sct-0.6.0.BUILD b/cargo/remote/sct-0.6.0.BUILD new file mode 100644 index 00000000000..edcd935b8cb --- /dev/null +++ b/cargo/remote/sct-0.6.0.BUILD @@ -0,0 +1,44 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,ISC,MIT" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "sct", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__ring__0_16_12//:ring", + "@raze__untrusted__0_7_0//:untrusted", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/syn-1.0.17.BUILD b/cargo/remote/syn-1.0.18.BUILD similarity index 98% rename from cargo/remote/syn-1.0.17.BUILD rename to cargo/remote/syn-1.0.18.BUILD index 00c90c285cb..5e42ac3c9d1 100644 --- a/cargo/remote/syn-1.0.17.BUILD +++ b/cargo/remote/syn-1.0.18.BUILD @@ -41,7 +41,7 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "1.0.17", + version = "1.0.18", crate_features = [ "clone-impls", "default", @@ -52,6 +52,7 @@ rust_library( "printing", "proc-macro", "quote", + "visit", "visit-mut", ], ) diff --git a/cargo/remote/thiserror-impl-1.0.15.BUILD b/cargo/remote/thiserror-impl-1.0.15.BUILD index 7668f9ea790..c2dc567edce 100644 --- a/cargo/remote/thiserror-impl-1.0.15.BUILD +++ b/cargo/remote/thiserror-impl-1.0.15.BUILD @@ -33,7 +33,7 @@ rust_library( deps = [ "@raze__proc_macro2__1_0_10//:proc_macro2", "@raze__quote__1_0_3//:quote", - "@raze__syn__1_0_17//:syn", + "@raze__syn__1_0_18//:syn", ], rustc_flags = [ "--cap-lints=allow", diff --git a/cargo/remote/time-0.1.42.BUILD b/cargo/remote/time-0.1.43.BUILD similarity index 89% rename from cargo/remote/time-0.1.42.BUILD rename to cargo/remote/time-0.1.43.BUILD index 3c28de4d09e..ccb5684d6bb 100644 --- a/cargo/remote/time-0.1.42.BUILD +++ b/cargo/remote/time-0.1.43.BUILD @@ -23,7 +23,6 @@ load( ) -# Unsupported target "precise_time_ns" with type "bench" omitted rust_library( name = "time", @@ -37,7 +36,7 @@ rust_library( rustc_flags = [ "--cap-lints=allow", ], - version = "0.1.42", + version = "0.1.43", crate_features = [ ], ) diff --git a/cargo/remote/tokio-0.2.18.BUILD b/cargo/remote/tokio-0.2.19.BUILD similarity index 95% rename from cargo/remote/tokio-0.2.18.BUILD rename to cargo/remote/tokio-0.2.19.BUILD index 76018ccc6d2..bdb99515baf 100644 --- a/cargo/remote/tokio-0.2.18.BUILD +++ b/cargo/remote/tokio-0.2.19.BUILD @@ -60,6 +60,7 @@ load( # Unsupported target "process_issue_42" with type "test" omitted # Unsupported target "process_kill_on_drop" with type "test" omitted # Unsupported target "process_smoke" with type "test" omitted +# Unsupported target "read_to_string" with type "test" omitted # Unsupported target "rt_basic" with type "test" omitted # Unsupported target "rt_common" with type "test" omitted # Unsupported target "rt_threaded" with type "test" omitted @@ -92,6 +93,7 @@ load( # Unsupported target "sync_oneshot" with type "test" omitted # Unsupported target "sync_rwlock" with type "test" omitted # Unsupported target "sync_semaphore" with type "test" omitted +# Unsupported target "sync_semaphore_owned" with type "test" omitted # Unsupported target "sync_watch" with type "test" omitted # Unsupported target "task_blocking" with type "test" omitted # Unsupported target "task_local" with type "test" omitted @@ -99,6 +101,7 @@ load( # Unsupported target "tcp_accept" with type "test" omitted # Unsupported target "tcp_connect" with type "test" omitted # Unsupported target "tcp_echo" with type "test" omitted +# Unsupported target "tcp_into_split" with type "test" omitted # Unsupported target "tcp_peek" with type "test" omitted # Unsupported target "tcp_shutdown" with type "test" omitted # Unsupported target "tcp_split" with type "test" omitted @@ -126,11 +129,12 @@ rust_library( "@raze__mio__0_6_21//:mio", "@raze__pin_project_lite__0_1_4//:pin_project_lite", "@raze__slab__0_4_2//:slab", + "@raze__tokio_macros__0_2_5//:tokio_macros", ], rustc_flags = [ "--cap-lints=allow", ], - version = "0.2.18", + version = "0.2.19", crate_features = [ "blocking", "default", @@ -140,6 +144,7 @@ rust_library( "io-util", "iovec", "lazy_static", + "macros", "memchr", "mio", "rt-core", @@ -148,6 +153,7 @@ rust_library( "sync", "tcp", "time", + "tokio-macros", ], ) diff --git a/cargo/remote/tokio-macros-0.2.5.BUILD b/cargo/remote/tokio-macros-0.2.5.BUILD new file mode 100644 index 00000000000..5162271d7e1 --- /dev/null +++ b/cargo/remote/tokio-macros-0.2.5.BUILD @@ -0,0 +1,45 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tokio_macros", + crate_root = "src/lib.rs", + crate_type = "proc-macro", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__proc_macro2__1_0_10//:proc_macro2", + "@raze__quote__1_0_3//:quote", + "@raze__syn__1_0_18//:syn", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.5", + crate_features = [ + ], +) + diff --git a/cargo/remote/tokio-rustls-0.12.2.BUILD b/cargo/remote/tokio-rustls-0.12.2.BUILD new file mode 100644 index 00000000000..29c1743d94a --- /dev/null +++ b/cargo/remote/tokio-rustls-0.12.2.BUILD @@ -0,0 +1,49 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "badssl" with type "test" omitted +# Unsupported target "early-data" with type "test" omitted +# Unsupported target "test" with type "test" omitted + +rust_library( + name = "tokio_rustls", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__rustls__0_16_0//:rustls", + "@raze__tokio__0_2_19//:tokio", + "@raze__webpki__0_21_2//:webpki", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.12.2", + crate_features = [ + ], +) + diff --git a/cargo/remote/tokio-util-0.2.0.BUILD b/cargo/remote/tokio-util-0.2.0.BUILD new file mode 100644 index 00000000000..535fdb4255d --- /dev/null +++ b/cargo/remote/tokio-util-0.2.0.BUILD @@ -0,0 +1,56 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# 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 +# Unsupported target "length_delimited" with type "test" omitted + +rust_library( + name = "tokio_util", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__bytes__0_5_4//:bytes", + "@raze__futures_core__0_3_4//:futures_core", + "@raze__futures_sink__0_3_4//:futures_sink", + "@raze__log__0_4_8//:log", + "@raze__pin_project_lite__0_1_4//:pin_project_lite", + "@raze__tokio__0_2_19//:tokio", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + crate_features = [ + "codec", + "default", + ], +) + +# Unsupported target "udp" with type "test" omitted diff --git a/cargo/remote/tokio-util-0.3.1.BUILD b/cargo/remote/tokio-util-0.3.1.BUILD index f4a70bb0f6f..4b3b0ec7c53 100644 --- a/cargo/remote/tokio-util-0.3.1.BUILD +++ b/cargo/remote/tokio-util-0.3.1.BUILD @@ -41,7 +41,7 @@ rust_library( "@raze__futures_sink__0_3_4//:futures_sink", "@raze__log__0_4_8//:log", "@raze__pin_project_lite__0_1_4//:pin_project_lite", - "@raze__tokio__0_2_18//:tokio", + "@raze__tokio__0_2_19//:tokio", ], rustc_flags = [ "--cap-lints=allow", diff --git a/cargo/remote/tonic-0.1.1.BUILD b/cargo/remote/tonic-0.1.1.BUILD new file mode 100644 index 00000000000..477fa670198 --- /dev/null +++ b/cargo/remote/tonic-0.1.1.BUILD @@ -0,0 +1,80 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "decode" with type "bench" omitted + +rust_library( + name = "tonic", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__async_stream__0_2_1//:async_stream", + "@raze__async_trait__0_1_30//:async_trait", + "@raze__base64__0_10_1//:base64", + "@raze__bytes__0_5_4//:bytes", + "@raze__futures_core__0_3_4//:futures_core", + "@raze__futures_util__0_3_4//:futures_util", + "@raze__http__0_2_1//:http", + "@raze__http_body__0_3_1//:http_body", + "@raze__hyper__0_13_5//:hyper", + "@raze__percent_encoding__1_0_1//:percent_encoding", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__prost__0_6_1//:prost", + "@raze__prost_derive__0_6_1//:prost_derive", + "@raze__tokio__0_2_19//:tokio", + "@raze__tokio_rustls__0_12_2//:tokio_rustls", + "@raze__tokio_util__0_2_0//:tokio_util", + "@raze__tower__0_3_1//:tower", + "@raze__tower_balance__0_3_0//:tower_balance", + "@raze__tower_load__0_3_0//:tower_load", + "@raze__tower_make__0_3_0//:tower_make", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_13//:tracing", + "@raze__tracing_futures__0_2_4//:tracing_futures", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.1", + crate_features = [ + "async-trait", + "codegen", + "default", + "hyper", + "prost", + "prost-derive", + "tls", + "tokio", + "tokio-rustls", + "tower", + "tower-balance", + "tower-load", + "tracing-futures", + "transport", + ], +) + diff --git a/cargo/remote/tower-0.3.1.BUILD b/cargo/remote/tower-0.3.1.BUILD new file mode 100644 index 00000000000..0f29e4b73f1 --- /dev/null +++ b/cargo/remote/tower-0.3.1.BUILD @@ -0,0 +1,56 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "builder" with type "test" omitted + +rust_library( + name = "tower", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__tower_buffer__0_3_0//:tower_buffer", + "@raze__tower_discover__0_3_0//:tower_discover", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_limit__0_3_1//:tower_limit", + "@raze__tower_load_shed__0_3_0//:tower_load_shed", + "@raze__tower_retry__0_3_0//:tower_retry", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tower_timeout__0_3_0//:tower_timeout", + "@raze__tower_util__0_3_1//:tower_util", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + crate_features = [ + "default", + "full", + "log", + ], +) + diff --git a/cargo/remote/tower-balance-0.3.0.BUILD b/cargo/remote/tower-balance-0.3.0.BUILD new file mode 100644 index 00000000000..169124c9797 --- /dev/null +++ b/cargo/remote/tower-balance-0.3.0.BUILD @@ -0,0 +1,59 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "demo" with type "example" omitted + +rust_library( + name = "tower_balance", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__futures_util__0_3_4//:futures_util", + "@raze__indexmap__1_0_2//:indexmap", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__rand__0_7_3//:rand", + "@raze__slab__0_4_2//:slab", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_discover__0_3_0//:tower_discover", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_load__0_3_0//:tower_load", + "@raze__tower_make__0_3_0//:tower_make", + "@raze__tower_ready_cache__0_3_1//:tower_ready_cache", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_13//:tracing", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + "default", + "log", + ], +) + diff --git a/cargo/remote/tower-buffer-0.3.0.BUILD b/cargo/remote/tower-buffer-0.3.0.BUILD new file mode 100644 index 00000000000..12511550555 --- /dev/null +++ b/cargo/remote/tower-buffer-0.3.0.BUILD @@ -0,0 +1,50 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "buffer" with type "test" omitted + +rust_library( + name = "tower_buffer", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_13//:tracing", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + "log", + ], +) + diff --git a/cargo/remote/tower-discover-0.3.0.BUILD b/cargo/remote/tower-discover-0.3.0.BUILD new file mode 100644 index 00000000000..ae6453b9eae --- /dev/null +++ b/cargo/remote/tower-discover-0.3.0.BUILD @@ -0,0 +1,45 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_discover", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/redox_syscall-0.1.56.BUILD b/cargo/remote/tower-layer-0.3.0.BUILD similarity index 84% rename from cargo/remote/redox_syscall-0.1.56.BUILD rename to cargo/remote/tower-layer-0.3.0.BUILD index 6f59840d958..b3fe634a6cd 100644 --- a/cargo/remote/redox_syscall-0.1.56.BUILD +++ b/cargo/remote/tower-layer-0.3.0.BUILD @@ -23,23 +23,19 @@ load( ) -alias( - name = "redox_syscall", - actual = ":syscall", -) rust_library( - name = "syscall", + name = "tower_layer", crate_root = "src/lib.rs", crate_type = "lib", - edition = "2015", + edition = "2018", srcs = glob(["**/*.rs"]), deps = [ ], rustc_flags = [ "--cap-lints=allow", ], - version = "0.1.56", + version = "0.3.0", crate_features = [ ], ) diff --git a/cargo/remote/tower-limit-0.3.1.BUILD b/cargo/remote/tower-limit-0.3.1.BUILD new file mode 100644 index 00000000000..6d897ca1b9f --- /dev/null +++ b/cargo/remote/tower-limit-0.3.1.BUILD @@ -0,0 +1,50 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "concurrency" with type "test" omitted +# Unsupported target "rate" with type "test" omitted + +rust_library( + name = "tower_limit", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_load__0_3_0//:tower_load", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + crate_features = [ + ], +) + diff --git a/cargo/remote/tower-load-0.3.0.BUILD b/cargo/remote/tower-load-0.3.0.BUILD new file mode 100644 index 00000000000..fcd780c87ba --- /dev/null +++ b/cargo/remote/tower-load-0.3.0.BUILD @@ -0,0 +1,48 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_load", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__log__0_4_8//:log", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_discover__0_3_0//:tower_discover", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/tower-load-shed-0.3.0.BUILD b/cargo/remote/tower-load-shed-0.3.0.BUILD new file mode 100644 index 00000000000..887741f6163 --- /dev/null +++ b/cargo/remote/tower-load-shed-0.3.0.BUILD @@ -0,0 +1,47 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "load-shed" with type "test" omitted + +rust_library( + name = "tower_load_shed", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/tower-make-0.3.0.BUILD b/cargo/remote/tower-make-0.3.0.BUILD new file mode 100644 index 00000000000..dae5f9ac7c9 --- /dev/null +++ b/cargo/remote/tower-make-0.3.0.BUILD @@ -0,0 +1,46 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_make", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + "connect", + "tokio", + ], +) + diff --git a/cargo/remote/tower-ready-cache-0.3.1.BUILD b/cargo/remote/tower-ready-cache-0.3.1.BUILD new file mode 100644 index 00000000000..9a541374a60 --- /dev/null +++ b/cargo/remote/tower-ready-cache-0.3.1.BUILD @@ -0,0 +1,49 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "ready_cache" with type "test" omitted + +rust_library( + name = "tower_ready_cache", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__futures_util__0_3_4//:futures_util", + "@raze__indexmap__1_0_2//:indexmap", + "@raze__log__0_4_8//:log", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + crate_features = [ + ], +) + diff --git a/cargo/remote/tower-retry-0.3.0.BUILD b/cargo/remote/tower-retry-0.3.0.BUILD new file mode 100644 index 00000000000..91f97a802eb --- /dev/null +++ b/cargo/remote/tower-retry-0.3.0.BUILD @@ -0,0 +1,48 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "retry" with type "test" omitted + +rust_library( + name = "tower_retry", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/tower-timeout-0.3.0.BUILD b/cargo/remote/tower-timeout-0.3.0.BUILD new file mode 100644 index 00000000000..9f708e9cb3f --- /dev/null +++ b/cargo/remote/tower-timeout-0.3.0.BUILD @@ -0,0 +1,46 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "tower_timeout", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tokio__0_2_19//:tokio", + "@raze__tower_layer__0_3_0//:tower_layer", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/tower-util-0.3.1.BUILD b/cargo/remote/tower-util-0.3.1.BUILD new file mode 100644 index 00000000000..6738f5f8744 --- /dev/null +++ b/cargo/remote/tower-util-0.3.1.BUILD @@ -0,0 +1,51 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "call_all" with type "test" omitted +# Unsupported target "service_fn" with type "test" omitted + +rust_library( + name = "tower_util", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__futures_core__0_3_4//:futures_core", + "@raze__futures_util__0_3_4//:futures_util", + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tower_service__0_3_0//:tower_service", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + crate_features = [ + "call-all", + "default", + "futures-util", + ], +) + diff --git a/cargo/remote/tracing-0.1.13.BUILD b/cargo/remote/tracing-0.1.13.BUILD new file mode 100644 index 00000000000..b1fbe329804 --- /dev/null +++ b/cargo/remote/tracing-0.1.13.BUILD @@ -0,0 +1,61 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "event" with type "test" omitted +# Unsupported target "filter_caching_is_lexically_scoped" with type "test" omitted +# Unsupported target "filters_are_not_reevaluated_for_the_same_span" with type "test" omitted +# Unsupported target "filters_are_reevaluated_for_different_call_sites" with type "test" omitted +# Unsupported target "macro_imports" with type "test" omitted +# Unsupported target "macros" with type "test" omitted +# Unsupported target "no_subscriber" with type "bench" omitted +# Unsupported target "span" with type "test" omitted +# Unsupported target "subscriber" with type "bench" omitted +# Unsupported target "subscriber" with type "test" omitted + +rust_library( + name = "tracing", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__log__0_4_8//:log", + "@raze__tracing_attributes__0_1_7//:tracing_attributes", + "@raze__tracing_core__0_1_10//:tracing_core", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.13", + crate_features = [ + "attributes", + "default", + "log", + "std", + "tracing-attributes", + ], +) + diff --git a/cargo/remote/tracing-attributes-0.1.7.BUILD b/cargo/remote/tracing-attributes-0.1.7.BUILD new file mode 100644 index 00000000000..6705d609100 --- /dev/null +++ b/cargo/remote/tracing-attributes-0.1.7.BUILD @@ -0,0 +1,51 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "destructuring" with type "test" omitted +# Unsupported target "fields" with type "test" omitted +# Unsupported target "instrument" with type "test" omitted +# Unsupported target "levels" with type "test" omitted +# Unsupported target "names" with type "test" omitted +# Unsupported target "support" with type "test" omitted +# Unsupported target "targets" with type "test" omitted + +rust_library( + name = "tracing_attributes", + crate_root = "src/lib.rs", + crate_type = "proc-macro", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__quote__1_0_3//:quote", + "@raze__syn__1_0_18//:syn", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.7", + crate_features = [ + ], +) + diff --git a/cargo/remote/tracing-core-0.1.10.BUILD b/cargo/remote/tracing-core-0.1.10.BUILD new file mode 100644 index 00000000000..9f707d96ecb --- /dev/null +++ b/cargo/remote/tracing-core-0.1.10.BUILD @@ -0,0 +1,48 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "dispatch" with type "test" omitted +# Unsupported target "global_dispatch" with type "test" omitted +# Unsupported target "macros" with type "test" omitted + +rust_library( + name = "tracing_core", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.10", + crate_features = [ + "lazy_static", + "std", + ], +) + diff --git a/cargo/remote/tracing-futures-0.2.4.BUILD b/cargo/remote/tracing-futures-0.2.4.BUILD new file mode 100644 index 00000000000..65f6bf8ebdb --- /dev/null +++ b/cargo/remote/tracing-futures-0.2.4.BUILD @@ -0,0 +1,50 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "std_future" with type "test" omitted +# Unsupported target "support" with type "test" omitted + +rust_library( + name = "tracing_futures", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__pin_project__0_4_9//:pin_project", + "@raze__tracing__0_1_13//:tracing", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.4", + crate_features = [ + "default", + "pin-project", + "std", + "std-future", + ], +) + diff --git a/cargo/remote/untrusted-0.7.0.BUILD b/cargo/remote/untrusted-0.7.0.BUILD new file mode 100644 index 00000000000..981f473d9bb --- /dev/null +++ b/cargo/remote/untrusted-0.7.0.BUILD @@ -0,0 +1,43 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # "ISC" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "tests" with type "test" omitted + +rust_library( + name = "untrusted", + crate_root = "src/untrusted.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.0", + crate_features = [ + ], +) + diff --git a/cargo/remote/wasm-bindgen-0.2.60.BUILD b/cargo/remote/wasm-bindgen-0.2.60.BUILD new file mode 100644 index 00000000000..893cfb6a049 --- /dev/null +++ b/cargo/remote/wasm-bindgen-0.2.60.BUILD @@ -0,0 +1,53 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "build-script-build" with type "custom-build" omitted +# Unsupported target "headless" with type "test" omitted +# Unsupported target "non_wasm" with type "test" omitted +# Unsupported target "std-crate-no-std-dep" with type "test" omitted +# Unsupported target "unwrap_throw" with type "test" omitted +# Unsupported target "wasm" with type "test" omitted + +rust_library( + name = "wasm_bindgen", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__wasm_bindgen_macro__0_2_60//:wasm_bindgen_macro", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.60", + crate_features = [ + "default", + "spans", + "std", + ], +) + diff --git a/cargo/remote/wasm-bindgen-backend-0.2.60.BUILD b/cargo/remote/wasm-bindgen-backend-0.2.60.BUILD new file mode 100644 index 00000000000..192eb0b0cbf --- /dev/null +++ b/cargo/remote/wasm-bindgen-backend-0.2.60.BUILD @@ -0,0 +1,50 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "wasm_bindgen_backend", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__bumpalo__3_2_1//:bumpalo", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__log__0_4_8//:log", + "@raze__proc_macro2__1_0_10//:proc_macro2", + "@raze__quote__1_0_3//:quote", + "@raze__syn__1_0_18//:syn", + "@raze__wasm_bindgen_shared__0_2_60//:wasm_bindgen_shared", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.60", + crate_features = [ + "spans", + ], +) + diff --git a/cargo/remote/wasm-bindgen-macro-0.2.60.BUILD b/cargo/remote/wasm-bindgen-macro-0.2.60.BUILD new file mode 100644 index 00000000000..4d5e44889e3 --- /dev/null +++ b/cargo/remote/wasm-bindgen-macro-0.2.60.BUILD @@ -0,0 +1,46 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "ui" with type "test" omitted + +rust_library( + name = "wasm_bindgen_macro", + crate_root = "src/lib.rs", + crate_type = "proc-macro", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__quote__1_0_3//:quote", + "@raze__wasm_bindgen_macro_support__0_2_60//:wasm_bindgen_macro_support", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.60", + crate_features = [ + "spans", + ], +) + diff --git a/cargo/remote/wasm-bindgen-macro-support-0.2.60.BUILD b/cargo/remote/wasm-bindgen-macro-support-0.2.60.BUILD new file mode 100644 index 00000000000..03929df726d --- /dev/null +++ b/cargo/remote/wasm-bindgen-macro-support-0.2.60.BUILD @@ -0,0 +1,48 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + + +rust_library( + name = "wasm_bindgen_macro_support", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__proc_macro2__1_0_10//:proc_macro2", + "@raze__quote__1_0_3//:quote", + "@raze__syn__1_0_18//:syn", + "@raze__wasm_bindgen_backend__0_2_60//:wasm_bindgen_backend", + "@raze__wasm_bindgen_shared__0_2_60//:wasm_bindgen_shared", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.60", + crate_features = [ + "spans", + ], +) + diff --git a/cargo/remote/wasm-bindgen-shared-0.2.60.BUILD b/cargo/remote/wasm-bindgen-shared-0.2.60.BUILD new file mode 100644 index 00000000000..c6579285ca8 --- /dev/null +++ b/cargo/remote/wasm-bindgen-shared-0.2.60.BUILD @@ -0,0 +1,43 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "build-script-build" with type "custom-build" omitted + +rust_library( + name = "wasm_bindgen_shared", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.60", + crate_features = [ + ], +) + diff --git a/cargo/remote/web-sys-0.3.37.BUILD b/cargo/remote/web-sys-0.3.37.BUILD new file mode 100644 index 00000000000..ddc05a23249 --- /dev/null +++ b/cargo/remote/web-sys-0.3.37.BUILD @@ -0,0 +1,48 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +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,Apache-2.0" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "wasm" with type "test" omitted + +rust_library( + name = "web_sys", + crate_root = "src/lib.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__js_sys__0_3_37//:js_sys", + "@raze__wasm_bindgen__0_2_60//:wasm_bindgen", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.37", + crate_features = [ + "Crypto", + "EventTarget", + "Window", + ], +) + diff --git a/cargo/remote/webpki-0.21.2.BUILD b/cargo/remote/webpki-0.21.2.BUILD new file mode 100644 index 00000000000..142d8de6a88 --- /dev/null +++ b/cargo/remote/webpki-0.21.2.BUILD @@ -0,0 +1,50 @@ +""" +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "restricted", # "no license" +]) + +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_library", + "rust_binary", + "rust_test", +) + + +# Unsupported target "dns_name_tests" with type "test" omitted +# Unsupported target "integration" with type "test" omitted + +rust_library( + name = "webpki", + crate_root = "src/webpki.rs", + crate_type = "lib", + edition = "2018", + srcs = glob(["**/*.rs"]), + deps = [ + "@raze__ring__0_16_12//:ring", + "@raze__untrusted__0_7_0//:untrusted", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["**/*.der"]), + version = "0.21.2", + crate_features = [ + "default", + "std", + "trust_anchor_util", + ], +) + diff --git a/cargo/remote/winapi-0.3.8.BUILD b/cargo/remote/winapi-0.3.8.BUILD index be16dbe14a2..79ecc12c111 100644 --- a/cargo/remote/winapi-0.3.8.BUILD +++ b/cargo/remote/winapi-0.3.8.BUILD @@ -43,6 +43,7 @@ rust_library( "minwinbase", "minwindef", "ntdef", + "ntsecapi", "processenv", "profileapi", "std", @@ -53,6 +54,7 @@ rust_library( "ws2def", "ws2ipdef", "ws2tcpip", + "wtypesbase", ], ) diff --git a/oak/server/rust/oak_runtime/BUILD b/oak/server/rust/oak_runtime/BUILD index 6317d98cb85..c8be18128e7 100644 --- a/oak/server/rust/oak_runtime/BUILD +++ b/oak/server/rust/oak_runtime/BUILD @@ -28,6 +28,7 @@ rust_library( edition = "2018", deps = [ "//cargo:byteorder", + "//cargo:bytes", "//cargo:http", "//cargo:hyper", "//cargo:itertools", @@ -38,6 +39,7 @@ rust_library( "//cargo:prost_types", "//cargo:rand", "//cargo:tokio", + "//cargo:tonic", "//cargo:wasmi", "//oak/server/rust/oak_abi", ], diff --git a/oak/server/rust/oak_runtime/Cargo.toml b/oak/server/rust/oak_runtime/Cargo.toml index 8d9d5e47c3e..ea4785d2984 100644 --- a/oak/server/rust/oak_runtime/Cargo.toml +++ b/oak/server/rust/oak_runtime/Cargo.toml @@ -17,6 +17,7 @@ default = [] # - they need to be synced to //cargo/Cargo.toml # - `cd cargo && cargo raze` needs re-running, and the results checked in byteorder = { version = "*", default-features = false } +bytes = "*" http = "*" hyper = "*" itertools = "*" @@ -27,6 +28,9 @@ prost = "*" prost-types = "*" rand = "*" tokio = { version = "*", features = ["rt-core", "macros"] } +# Using an old version that is supported by `cargo-raze`: +# https://github.com/google/cargo-raze/issues/41#issuecomment-592274128 +tonic = { version = "=0.1.1", features = ["tls"] } wasmi = { version = "*", default-features = false, features = ["core"] } prometheus = { version = "0.8", features = [ "nightly"