From 6ba321f818940640e82c0feebef2170be92c73e1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 6 Feb 2021 13:42:38 +1000 Subject: [PATCH] sanitize deck description in decks screen on backend Looks like ammonia only adds about 800k to the release binary --- Cargo.lock | 239 +++++++++++++-- cargo/BUILD.reqwest.bazel | 6 +- cargo/crates.bzl | 280 +++++++++++++++--- cargo/licenses.json | 196 +++++++++++- cargo/remote/BUILD.ammonia-3.1.0.bazel | 64 ++++ ...6.bazel => BUILD.encoding_rs-0.8.28.bazel} | 4 +- cargo/remote/BUILD.futf-0.1.4.bazel | 55 ++++ cargo/remote/BUILD.h2-0.2.7.bazel | 2 +- cargo/remote/BUILD.html5ever-0.25.1.bazel | 100 +++++++ ...0.13.9.bazel => BUILD.hyper-0.13.10.bazel} | 6 +- cargo/remote/BUILD.hyper-rustls-0.21.0.bazel | 2 +- cargo/remote/BUILD.hyper-timeout-0.3.1.bazel | 2 +- cargo/remote/BUILD.hyper-tls-0.4.3.bazel | 2 +- ...dna-0.2.0.bazel => BUILD.idna-0.2.1.bazel} | 6 +- cargo/remote/BUILD.mac-0.1.1.bazel | 53 ++++ cargo/remote/BUILD.maplit-1.0.2.bazel | 55 ++++ cargo/remote/BUILD.markup5ever-0.10.0.bazel | 93 ++++++ .../BUILD.markup5ever_rcdom-0.1.0.bazel | 81 +++++ .../BUILD.new_debug_unreachable-1.0.4.bazel | 66 +++++ cargo/remote/BUILD.phf-0.8.0.bazel | 56 ++++ cargo/remote/BUILD.phf_codegen-0.8.0.bazel | 55 ++++ cargo/remote/BUILD.phf_generator-0.8.0.bazel | 84 ++++++ cargo/remote/BUILD.phf_shared-0.8.0.bazel | 56 ++++ ....4.bazel => BUILD.pin-project-1.0.5.bazel} | 6 +- ...=> BUILD.pin-project-internal-1.0.5.bazel} | 2 +- .../remote/BUILD.precomputed-hash-0.1.1.bazel | 53 ++++ cargo/remote/BUILD.rand-0.7.3.bazel | 3 + cargo/remote/BUILD.rand_pcg-0.2.1.bazel | 60 ++++ cargo/remote/BUILD.regex-1.4.3.bazel | 2 +- cargo/remote/BUILD.reqwest-0.10.8.bazel | 6 +- cargo/remote/BUILD.serde-aux-0.6.1.bazel | 2 +- ...61.bazel => BUILD.serde_json-1.0.62.bazel} | 4 +- cargo/remote/BUILD.siphasher-0.3.3.bazel | 55 ++++ cargo/remote/BUILD.slog-async-2.6.0.bazel | 2 +- cargo/remote/BUILD.slog-term-2.6.0.bazel | 2 +- cargo/remote/BUILD.string_cache-0.8.1.bazel | 65 ++++ .../BUILD.string_cache_codegen-0.5.1.bazel | 57 ++++ cargo/remote/BUILD.tendril-0.4.2.bazel | 58 ++++ ...2.bazel => BUILD.thread_local-1.1.3.bazel} | 2 +- ....1.22.bazel => BUILD.tracing-0.1.23.bazel} | 2 +- .../remote/BUILD.tracing-futures-0.2.4.bazel | 2 +- cargo/remote/BUILD.url-2.2.0.bazel | 2 +- cargo/remote/BUILD.utf-8-0.7.5.bazel | 66 +++++ cargo/remote/BUILD.wasm-bindgen-0.2.70.bazel | 2 +- cargo/remote/BUILD.xml5ever-0.16.1.bazel | 63 ++++ rslib/BUILD.bazel | 1 + rslib/Cargo.toml | 1 + rslib/cargo/BUILD.bazel | 13 +- rslib/src/sched/congrats.rs | 3 +- 49 files changed, 1996 insertions(+), 101 deletions(-) create mode 100644 cargo/remote/BUILD.ammonia-3.1.0.bazel rename cargo/remote/{BUILD.encoding_rs-0.8.26.bazel => BUILD.encoding_rs-0.8.28.bazel} (97%) create mode 100644 cargo/remote/BUILD.futf-0.1.4.bazel create mode 100644 cargo/remote/BUILD.html5ever-0.25.1.bazel rename cargo/remote/{BUILD.hyper-0.13.9.bazel => BUILD.hyper-0.13.10.bazel} (96%) rename cargo/remote/{BUILD.idna-0.2.0.bazel => BUILD.idna-0.2.1.bazel} (92%) create mode 100644 cargo/remote/BUILD.mac-0.1.1.bazel create mode 100644 cargo/remote/BUILD.maplit-1.0.2.bazel create mode 100644 cargo/remote/BUILD.markup5ever-0.10.0.bazel create mode 100644 cargo/remote/BUILD.markup5ever_rcdom-0.1.0.bazel create mode 100644 cargo/remote/BUILD.new_debug_unreachable-1.0.4.bazel create mode 100644 cargo/remote/BUILD.phf-0.8.0.bazel create mode 100644 cargo/remote/BUILD.phf_codegen-0.8.0.bazel create mode 100644 cargo/remote/BUILD.phf_generator-0.8.0.bazel create mode 100644 cargo/remote/BUILD.phf_shared-0.8.0.bazel rename cargo/remote/{BUILD.pin-project-1.0.4.bazel => BUILD.pin-project-1.0.5.bazel} (94%) rename cargo/remote/{BUILD.pin-project-internal-1.0.4.bazel => BUILD.pin-project-internal-1.0.5.bazel} (98%) create mode 100644 cargo/remote/BUILD.precomputed-hash-0.1.1.bazel create mode 100644 cargo/remote/BUILD.rand_pcg-0.2.1.bazel rename cargo/remote/{BUILD.serde_json-1.0.61.bazel => BUILD.serde_json-1.0.62.bazel} (97%) create mode 100644 cargo/remote/BUILD.siphasher-0.3.3.bazel create mode 100644 cargo/remote/BUILD.string_cache-0.8.1.bazel create mode 100644 cargo/remote/BUILD.string_cache_codegen-0.5.1.bazel create mode 100644 cargo/remote/BUILD.tendril-0.4.2.bazel rename cargo/remote/{BUILD.thread_local-1.1.2.bazel => BUILD.thread_local-1.1.3.bazel} (98%) rename cargo/remote/{BUILD.tracing-0.1.22.bazel => BUILD.tracing-0.1.23.bazel} (98%) create mode 100644 cargo/remote/BUILD.utf-8-0.7.5.bazel create mode 100644 cargo/remote/BUILD.xml5ever-0.16.1.bazel diff --git a/Cargo.lock b/Cargo.lock index 833bcc1c7..caf06b11f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -30,10 +30,26 @@ dependencies = [ "memchr", ] +[[package]] +name = "ammonia" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89eac85170f4b3fb3dc5e442c1cfb036cb8eecf9dbbd431a161ffad15d90ea3b" +dependencies = [ + "html5ever", + "lazy_static", + "maplit", + "markup5ever_rcdom", + "matches", + "tendril", + "url", +] + [[package]] name = "anki" version = "0.0.0" dependencies = [ + "ammonia", "askama", "async-compression", "async-trait", @@ -57,7 +73,7 @@ dependencies = [ "num-integer", "num_enum", "once_cell", - "pin-project 1.0.4", + "pin-project 1.0.5", "proc-macro-nested", "prost", "prost-build", @@ -484,9 +500,9 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "encoding_rs" -version = "0.8.26" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283" +checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065" dependencies = [ "cfg-if 1.0.0", ] @@ -649,6 +665,16 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" +[[package]] +name = "futf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c9c1ce3fa9336301af935ab852c437817d14cd33690446569392e65170aac3b" +dependencies = [ + "mac", + "new_debug_unreachable", +] + [[package]] name = "futures" version = "0.3.12" @@ -855,6 +881,20 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35" +[[package]] +name = "html5ever" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aafcf38a1a36118242d29b92e1b08ef84e67e4a5ed06e0a80be20e6a32bfed6b" +dependencies = [ + "log", + "mac", + "markup5ever", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "htmlescape" version = "0.3.1" @@ -908,9 +948,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.13.9" +version = "0.13.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf" +checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" dependencies = [ "bytes 0.5.6", "futures-channel", @@ -922,7 +962,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project 1.0.4", + "pin-project 1.0.5", "socket2", "tokio", "tower-service", @@ -972,9 +1012,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" +checksum = "de910d521f7cc3135c4de8db1cb910e0b5ed1dc6f57c381cd07e8e661ce10094" dependencies = [ "matches", "unicode-bidi", @@ -1154,6 +1194,47 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "mac" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" + +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + +[[package]] +name = "markup5ever" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aae38d669396ca9b707bfc3db254bc382ddb94f57cc5c235f34623a669a01dab" +dependencies = [ + "log", + "phf", + "phf_codegen", + "serde", + "serde_derive", + "serde_json", + "string_cache", + "string_cache_codegen", + "tendril", +] + +[[package]] +name = "markup5ever_rcdom" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f015da43bcd8d4f144559a3423f4591d69b8ce0652c905374da7205df336ae2b" +dependencies = [ + "html5ever", + "markup5ever", + "tendril", + "xml5ever", +] + [[package]] name = "matches" version = "0.1.8" @@ -1258,6 +1339,12 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "new_debug_unreachable" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" + [[package]] name = "nodrop" version = "0.1.14" @@ -1429,6 +1516,44 @@ dependencies = [ "indexmap", ] +[[package]] +name = "phf" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" +dependencies = [ + "phf_shared", +] + +[[package]] +name = "phf_codegen" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815" +dependencies = [ + "phf_generator", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526" +dependencies = [ + "phf_shared", + "rand 0.7.3", +] + +[[package]] +name = "phf_shared" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project" version = "0.4.27" @@ -1440,11 +1565,11 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b70b68509f17aa2857863b6fa00bf21fc93674c7a8893de2f469f6aa7ca2f2" +checksum = "96fa8ebb90271c4477f144354485b8068bd8f6b78b428b01ba892ca26caf0b63" dependencies = [ - "pin-project-internal 1.0.4", + "pin-project-internal 1.0.5", ] [[package]] @@ -1460,9 +1585,9 @@ dependencies = [ [[package]] name = "pin-project-internal" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa25a6393f22ce819b0f50e0be89287292fda8d425be38ee0ca14c4931d9e71" +checksum = "758669ae3558c6f74bd2a18b41f7ac0b5a195aea6639d6a9b5e5d1ad5ba24c0b" dependencies = [ "proc-macro2", "quote", @@ -1505,6 +1630,12 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + [[package]] name = "proc-macro-crate" version = "0.1.5" @@ -1651,6 +1782,7 @@ dependencies = [ "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc 0.2.0", + "rand_pcg", ] [[package]] @@ -1721,6 +1853,15 @@ dependencies = [ "rand_core 0.6.1", ] +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core 0.5.1", +] + [[package]] name = "redox_syscall" version = "0.1.57" @@ -2000,9 +2141,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.61" +version = "1.0.62" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a" +checksum = "ea1c6153794552ea7cf7cf63b1231a25de00ec90db326ba6264440fa08e31486" dependencies = [ "itoa", "ryu", @@ -2059,6 +2200,12 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" +[[package]] +name = "siphasher" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7" + [[package]] name = "slab" version = "0.4.2" @@ -2168,6 +2315,31 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +[[package]] +name = "string_cache" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ddb1139b5353f96e429e1a5e19fbaf663bddedaa06d1dbd49f82e352601209a" +dependencies = [ + "lazy_static", + "new_debug_unreachable", + "phf_shared", + "precomputed-hash", + "serde", +] + +[[package]] +name = "string_cache_codegen" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f24c8e5e19d22a726626f1a5e16fe15b132dcf21d10177fa5a45ce7962996b97" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", +] + [[package]] name = "subtle" version = "2.4.0" @@ -2223,6 +2395,17 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "tendril" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9ef557cb397a4f0a5a3a628f06515f78563f2209e64d47055d9dc6052bf5e33" +dependencies = [ + "futf", + "mac", + "utf-8", +] + [[package]] name = "term" version = "0.6.1" @@ -2264,9 +2447,9 @@ dependencies = [ [[package]] name = "thread_local" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8208a331e1cb318dd5bd76951d2b8fc48ca38a69f5f4e4af1b6a9f8c6236915" +checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd" dependencies = [ "once_cell", ] @@ -2395,9 +2578,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f47026cdc4080c07e49b37087de021820269d996f581aac150ef9e5583eefe3" +checksum = "f7d40a22fd029e33300d8d89a5cc8ffce18bb7c587662f54629e94c9de5487f3" dependencies = [ "cfg-if 1.0.0", "log", @@ -2551,6 +2734,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "utf-8" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7" + [[package]] name = "utime" version = "0.3.1" @@ -2770,6 +2959,18 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" +[[package]] +name = "xml5ever" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b1b52e6e8614d4a58b8e70cf51ec0cc21b256ad8206708bcff8139b5bbd6a59" +dependencies = [ + "log", + "mac", + "markup5ever", + "time", +] + [[package]] name = "zip" version = "0.5.6" diff --git a/cargo/BUILD.reqwest.bazel b/cargo/BUILD.reqwest.bazel index 372c7fe00..48bf56b9a 100644 --- a/cargo/BUILD.reqwest.bazel +++ b/cargo/BUILD.reqwest.bazel @@ -113,7 +113,7 @@ rust_library( "@raze__hyper_timeout__0_3_1//:hyper_timeout", "@raze__mime_guess__2_0_3//:mime_guess", "@raze__serde__1_0_123//:serde", - "@raze__serde_json__1_0_61//:serde_json", + "@raze__serde_json__1_0_62//:serde_json", "@raze__serde_urlencoded__0_6_1//:serde_urlencoded", "@raze__url__2_2_0//:url", ] + selects.with_or({ @@ -127,11 +127,11 @@ rust_library( "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__base64__0_13_0//:base64", - "@raze__encoding_rs__0_8_26//:encoding_rs", + "@raze__encoding_rs__0_8_28//:encoding_rs", "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_util__0_3_12//:futures_util", "@raze__http_body__0_3_1//:http_body", - "@raze__hyper__0_13_9//:hyper", + "@raze__hyper__0_13_10//:hyper", "@raze__ipnet__2_3_0//:ipnet", "@raze__lazy_static__1_4_0//:lazy_static", "@raze__log__0_4_14//:log", diff --git a/cargo/crates.bzl b/cargo/crates.bzl index 8d0f493a3..f034293ef 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -51,6 +51,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.aho-corasick-0.7.15.bazel"), ) + maybe( + http_archive, + name = "raze__ammonia__3_1_0", + url = "https://crates.io/api/v1/crates/ammonia/3.1.0/download", + type = "tar.gz", + sha256 = "89eac85170f4b3fb3dc5e442c1cfb036cb8eecf9dbbd431a161ffad15d90ea3b", + strip_prefix = "ammonia-3.1.0", + build_file = Label("//cargo/remote:BUILD.ammonia-3.1.0.bazel"), + ) + maybe( http_archive, name = "raze__anyhow__1_0_38", @@ -493,12 +503,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__encoding_rs__0_8_26", - url = "https://crates.io/api/v1/crates/encoding_rs/0.8.26/download", + name = "raze__encoding_rs__0_8_28", + url = "https://crates.io/api/v1/crates/encoding_rs/0.8.28/download", type = "tar.gz", - sha256 = "801bbab217d7f79c0062f4f7205b5d4427c6d1a7bd7aafdd1475f7c59d62b283", - strip_prefix = "encoding_rs-0.8.26", - build_file = Label("//cargo/remote:BUILD.encoding_rs-0.8.26.bazel"), + sha256 = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065", + strip_prefix = "encoding_rs-0.8.28", + build_file = Label("//cargo/remote:BUILD.encoding_rs-0.8.28.bazel"), ) maybe( @@ -681,6 +691,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.funty-1.1.0.bazel"), ) + maybe( + http_archive, + name = "raze__futf__0_1_4", + url = "https://crates.io/api/v1/crates/futf/0.1.4/download", + type = "tar.gz", + sha256 = "7c9c1ce3fa9336301af935ab852c437817d14cd33690446569392e65170aac3b", + strip_prefix = "futf-0.1.4", + build_file = Label("//cargo/remote:BUILD.futf-0.1.4.bazel"), + ) + maybe( http_archive, name = "raze__futures__0_3_12", @@ -881,6 +901,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.hex-0.4.2.bazel"), ) + maybe( + http_archive, + name = "raze__html5ever__0_25_1", + url = "https://crates.io/api/v1/crates/html5ever/0.25.1/download", + type = "tar.gz", + sha256 = "aafcf38a1a36118242d29b92e1b08ef84e67e4a5ed06e0a80be20e6a32bfed6b", + strip_prefix = "html5ever-0.25.1", + build_file = Label("//cargo/remote:BUILD.html5ever-0.25.1.bazel"), + ) + maybe( http_archive, name = "raze__htmlescape__0_3_1", @@ -953,12 +983,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__hyper__0_13_9", - url = "https://crates.io/api/v1/crates/hyper/0.13.9/download", + name = "raze__hyper__0_13_10", + url = "https://crates.io/api/v1/crates/hyper/0.13.10/download", type = "tar.gz", - sha256 = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf", - strip_prefix = "hyper-0.13.9", - build_file = Label("//cargo/remote:BUILD.hyper-0.13.9.bazel"), + sha256 = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb", + strip_prefix = "hyper-0.13.10", + build_file = Label("//cargo/remote:BUILD.hyper-0.13.10.bazel"), ) maybe( @@ -993,12 +1023,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__idna__0_2_0", - url = "https://crates.io/api/v1/crates/idna/0.2.0/download", + name = "raze__idna__0_2_1", + url = "https://crates.io/api/v1/crates/idna/0.2.1/download", type = "tar.gz", - sha256 = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9", - strip_prefix = "idna-0.2.0", - build_file = Label("//cargo/remote:BUILD.idna-0.2.0.bazel"), + sha256 = "de910d521f7cc3135c4de8db1cb910e0b5ed1dc6f57c381cd07e8e661ce10094", + strip_prefix = "idna-0.2.1", + build_file = Label("//cargo/remote:BUILD.idna-0.2.1.bazel"), ) maybe( @@ -1191,6 +1221,46 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.log-0.4.14.bazel"), ) + maybe( + http_archive, + name = "raze__mac__0_1_1", + url = "https://crates.io/api/v1/crates/mac/0.1.1/download", + type = "tar.gz", + sha256 = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4", + strip_prefix = "mac-0.1.1", + build_file = Label("//cargo/remote:BUILD.mac-0.1.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__maplit__1_0_2", + url = "https://crates.io/api/v1/crates/maplit/1.0.2/download", + type = "tar.gz", + sha256 = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d", + strip_prefix = "maplit-1.0.2", + build_file = Label("//cargo/remote:BUILD.maplit-1.0.2.bazel"), + ) + + maybe( + http_archive, + name = "raze__markup5ever__0_10_0", + url = "https://crates.io/api/v1/crates/markup5ever/0.10.0/download", + type = "tar.gz", + sha256 = "aae38d669396ca9b707bfc3db254bc382ddb94f57cc5c235f34623a669a01dab", + strip_prefix = "markup5ever-0.10.0", + build_file = Label("//cargo/remote:BUILD.markup5ever-0.10.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__markup5ever_rcdom__0_1_0", + url = "https://crates.io/api/v1/crates/markup5ever_rcdom/0.1.0/download", + type = "tar.gz", + sha256 = "f015da43bcd8d4f144559a3423f4591d69b8ce0652c905374da7205df336ae2b", + strip_prefix = "markup5ever_rcdom-0.1.0", + build_file = Label("//cargo/remote:BUILD.markup5ever_rcdom-0.1.0.bazel"), + ) + maybe( http_archive, name = "raze__matches__0_1_8", @@ -1291,6 +1361,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.net2-0.2.37.bazel"), ) + maybe( + http_archive, + name = "raze__new_debug_unreachable__1_0_4", + url = "https://crates.io/api/v1/crates/new_debug_unreachable/1.0.4/download", + type = "tar.gz", + sha256 = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54", + strip_prefix = "new_debug_unreachable-1.0.4", + build_file = Label("//cargo/remote:BUILD.new_debug_unreachable-1.0.4.bazel"), + ) + maybe( http_archive, name = "raze__nodrop__0_1_14", @@ -1471,6 +1551,46 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.petgraph-0.5.1.bazel"), ) + maybe( + http_archive, + name = "raze__phf__0_8_0", + url = "https://crates.io/api/v1/crates/phf/0.8.0/download", + type = "tar.gz", + sha256 = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12", + strip_prefix = "phf-0.8.0", + build_file = Label("//cargo/remote:BUILD.phf-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__phf_codegen__0_8_0", + url = "https://crates.io/api/v1/crates/phf_codegen/0.8.0/download", + type = "tar.gz", + sha256 = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815", + strip_prefix = "phf_codegen-0.8.0", + build_file = Label("//cargo/remote:BUILD.phf_codegen-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__phf_generator__0_8_0", + url = "https://crates.io/api/v1/crates/phf_generator/0.8.0/download", + type = "tar.gz", + sha256 = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526", + strip_prefix = "phf_generator-0.8.0", + build_file = Label("//cargo/remote:BUILD.phf_generator-0.8.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__phf_shared__0_8_0", + url = "https://crates.io/api/v1/crates/phf_shared/0.8.0/download", + type = "tar.gz", + sha256 = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7", + strip_prefix = "phf_shared-0.8.0", + build_file = Label("//cargo/remote:BUILD.phf_shared-0.8.0.bazel"), + ) + maybe( http_archive, name = "raze__pin_project__0_4_27", @@ -1483,12 +1603,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__pin_project__1_0_4", - url = "https://crates.io/api/v1/crates/pin-project/1.0.4/download", + name = "raze__pin_project__1_0_5", + url = "https://crates.io/api/v1/crates/pin-project/1.0.5/download", type = "tar.gz", - sha256 = "95b70b68509f17aa2857863b6fa00bf21fc93674c7a8893de2f469f6aa7ca2f2", - strip_prefix = "pin-project-1.0.4", - build_file = Label("//cargo/remote:BUILD.pin-project-1.0.4.bazel"), + sha256 = "96fa8ebb90271c4477f144354485b8068bd8f6b78b428b01ba892ca26caf0b63", + strip_prefix = "pin-project-1.0.5", + build_file = Label("//cargo/remote:BUILD.pin-project-1.0.5.bazel"), ) maybe( @@ -1503,12 +1623,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__pin_project_internal__1_0_4", - url = "https://crates.io/api/v1/crates/pin-project-internal/1.0.4/download", + name = "raze__pin_project_internal__1_0_5", + url = "https://crates.io/api/v1/crates/pin-project-internal/1.0.5/download", type = "tar.gz", - sha256 = "caa25a6393f22ce819b0f50e0be89287292fda8d425be38ee0ca14c4931d9e71", - strip_prefix = "pin-project-internal-1.0.4", - build_file = Label("//cargo/remote:BUILD.pin-project-internal-1.0.4.bazel"), + sha256 = "758669ae3558c6f74bd2a18b41f7ac0b5a195aea6639d6a9b5e5d1ad5ba24c0b", + strip_prefix = "pin-project-internal-1.0.5", + build_file = Label("//cargo/remote:BUILD.pin-project-internal-1.0.5.bazel"), ) maybe( @@ -1571,6 +1691,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.ppv-lite86-0.2.10.bazel"), ) + maybe( + http_archive, + name = "raze__precomputed_hash__0_1_1", + url = "https://crates.io/api/v1/crates/precomputed-hash/0.1.1/download", + type = "tar.gz", + sha256 = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c", + strip_prefix = "precomputed-hash-0.1.1", + build_file = Label("//cargo/remote:BUILD.precomputed-hash-0.1.1.bazel"), + ) + maybe( http_archive, name = "raze__proc_macro_crate__0_1_5", @@ -1781,6 +1911,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.rand_hc-0.3.0.bazel"), ) + maybe( + http_archive, + name = "raze__rand_pcg__0_2_1", + url = "https://crates.io/api/v1/crates/rand_pcg/0.2.1/download", + type = "tar.gz", + sha256 = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429", + strip_prefix = "rand_pcg-0.2.1", + build_file = Label("//cargo/remote:BUILD.rand_pcg-0.2.1.bazel"), + ) + maybe( http_archive, name = "raze__redox_syscall__0_1_57", @@ -2023,12 +2163,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__serde_json__1_0_61", - url = "https://crates.io/api/v1/crates/serde_json/1.0.61/download", + name = "raze__serde_json__1_0_62", + url = "https://crates.io/api/v1/crates/serde_json/1.0.62/download", type = "tar.gz", - sha256 = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a", - strip_prefix = "serde_json-1.0.61", - build_file = Label("//cargo/remote:BUILD.serde_json-1.0.61.bazel"), + sha256 = "ea1c6153794552ea7cf7cf63b1231a25de00ec90db326ba6264440fa08e31486", + strip_prefix = "serde_json-1.0.62", + build_file = Label("//cargo/remote:BUILD.serde_json-1.0.62.bazel"), ) maybe( @@ -2081,6 +2221,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.sha1-0.6.0.bazel"), ) + maybe( + http_archive, + name = "raze__siphasher__0_3_3", + url = "https://crates.io/api/v1/crates/siphasher/0.3.3/download", + type = "tar.gz", + sha256 = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7", + strip_prefix = "siphasher-0.3.3", + build_file = Label("//cargo/remote:BUILD.siphasher-0.3.3.bazel"), + ) + maybe( http_archive, name = "raze__slab__0_4_2", @@ -2201,6 +2351,26 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.static_assertions-1.1.0.bazel"), ) + maybe( + http_archive, + name = "raze__string_cache__0_8_1", + url = "https://crates.io/api/v1/crates/string_cache/0.8.1/download", + type = "tar.gz", + sha256 = "8ddb1139b5353f96e429e1a5e19fbaf663bddedaa06d1dbd49f82e352601209a", + strip_prefix = "string_cache-0.8.1", + build_file = Label("//cargo/remote:BUILD.string_cache-0.8.1.bazel"), + ) + + maybe( + http_archive, + name = "raze__string_cache_codegen__0_5_1", + url = "https://crates.io/api/v1/crates/string_cache_codegen/0.5.1/download", + type = "tar.gz", + sha256 = "f24c8e5e19d22a726626f1a5e16fe15b132dcf21d10177fa5a45ce7962996b97", + strip_prefix = "string_cache_codegen-0.5.1", + build_file = Label("//cargo/remote:BUILD.string_cache_codegen-0.5.1.bazel"), + ) + maybe( http_archive, name = "raze__subtle__2_4_0", @@ -2261,6 +2431,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.tempfile-3.2.0.bazel"), ) + maybe( + http_archive, + name = "raze__tendril__0_4_2", + url = "https://crates.io/api/v1/crates/tendril/0.4.2/download", + type = "tar.gz", + sha256 = "a9ef557cb397a4f0a5a3a628f06515f78563f2209e64d47055d9dc6052bf5e33", + strip_prefix = "tendril-0.4.2", + build_file = Label("//cargo/remote:BUILD.tendril-0.4.2.bazel"), + ) + maybe( http_archive, name = "raze__term__0_6_1", @@ -2303,12 +2483,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__thread_local__1_1_2", - url = "https://crates.io/api/v1/crates/thread_local/1.1.2/download", + name = "raze__thread_local__1_1_3", + url = "https://crates.io/api/v1/crates/thread_local/1.1.3/download", type = "tar.gz", - sha256 = "d8208a331e1cb318dd5bd76951d2b8fc48ca38a69f5f4e4af1b6a9f8c6236915", - strip_prefix = "thread_local-1.1.2", - build_file = Label("//cargo/remote:BUILD.thread_local-1.1.2.bazel"), + sha256 = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd", + strip_prefix = "thread_local-1.1.3", + build_file = Label("//cargo/remote:BUILD.thread_local-1.1.3.bazel"), ) maybe( @@ -2433,12 +2613,12 @@ def raze_fetch_remote_crates(): maybe( http_archive, - name = "raze__tracing__0_1_22", - url = "https://crates.io/api/v1/crates/tracing/0.1.22/download", + name = "raze__tracing__0_1_23", + url = "https://crates.io/api/v1/crates/tracing/0.1.23/download", type = "tar.gz", - sha256 = "9f47026cdc4080c07e49b37087de021820269d996f581aac150ef9e5583eefe3", - strip_prefix = "tracing-0.1.22", - build_file = Label("//cargo/remote:BUILD.tracing-0.1.22.bazel"), + sha256 = "f7d40a22fd029e33300d8d89a5cc8ffce18bb7c587662f54629e94c9de5487f3", + strip_prefix = "tracing-0.1.23", + build_file = Label("//cargo/remote:BUILD.tracing-0.1.23.bazel"), ) maybe( @@ -2611,6 +2791,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.url-2.2.0.bazel"), ) + maybe( + http_archive, + name = "raze__utf_8__0_7_5", + url = "https://crates.io/api/v1/crates/utf-8/0.7.5/download", + type = "tar.gz", + sha256 = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7", + strip_prefix = "utf-8-0.7.5", + build_file = Label("//cargo/remote:BUILD.utf-8-0.7.5.bazel"), + ) + maybe( http_archive, name = "raze__utime__0_3_1", @@ -2861,6 +3051,16 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.wyz-0.2.0.bazel"), ) + maybe( + http_archive, + name = "raze__xml5ever__0_16_1", + url = "https://crates.io/api/v1/crates/xml5ever/0.16.1/download", + type = "tar.gz", + sha256 = "0b1b52e6e8614d4a58b8e70cf51ec0cc21b256ad8206708bcff8139b5bbd6a59", + strip_prefix = "xml5ever-0.16.1", + build_file = Label("//cargo/remote:BUILD.xml5ever-0.16.1.bazel"), + ) + maybe( http_archive, name = "raze__zip__0_5_6", diff --git a/cargo/licenses.json b/cargo/licenses.json index 0022b7305..9e8f32aef 100644 --- a/cargo/licenses.json +++ b/cargo/licenses.json @@ -35,6 +35,15 @@ "license_file": null, "description": "Fast multiple substring searching." }, + { + "name": "ammonia", + "version": "3.1.0", + "authors": "Michael Howell ", + "repository": "https://github.com/rust-ammonia/ammonia", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "HTML Sanitization" + }, { "name": "anki", "version": "0.0.0", @@ -451,7 +460,7 @@ }, { "name": "encoding_rs", - "version": "0.8.26", + "version": "0.8.28", "authors": "Henri Sivonen ", "repository": "https://github.com/hsivonen/encoding_rs", "license": "Apache-2.0 OR MIT", @@ -620,6 +629,15 @@ "license_file": null, "description": "Trait generalization over the primitive types" }, + { + "name": "futf", + "version": "0.1.4", + "authors": "Keegan McAllister ", + "repository": "https://github.com/servo/futf", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Handling fragments of UTF-8" + }, { "name": "futures", "version": "0.3.12", @@ -800,6 +818,15 @@ "license_file": null, "description": "Encoding and decoding data into/from hexadecimal representation." }, + { + "name": "html5ever", + "version": "0.25.1", + "authors": "The html5ever Project Developers", + "repository": "https://github.com/servo/html5ever", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "High-performance browser-grade HTML5 parser" + }, { "name": "htmlescape", "version": "0.3.1", @@ -865,7 +892,7 @@ }, { "name": "hyper", - "version": "0.13.9", + "version": "0.13.10", "authors": "Sean McArthur ", "repository": "https://github.com/hyperium/hyper", "license": "MIT", @@ -901,7 +928,7 @@ }, { "name": "idna", - "version": "0.2.0", + "version": "0.2.1", "authors": "The rust-url developers", "repository": "https://github.com/servo/rust-url/", "license": "Apache-2.0 OR MIT", @@ -1079,6 +1106,42 @@ "license_file": null, "description": "A lightweight logging facade for Rust" }, + { + "name": "mac", + "version": "0.1.1", + "authors": "Jonathan Reem ", + "repository": "https://github.com/reem/rust-mac.git", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A collection of great and ubiqutitous macros." + }, + { + "name": "maplit", + "version": "1.0.2", + "authors": "bluss", + "repository": "https://github.com/bluss/maplit", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet." + }, + { + "name": "markup5ever", + "version": "0.10.0", + "authors": "The html5ever Project Developers", + "repository": "https://github.com/servo/html5ever", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Common code for xml5ever and html5ever" + }, + { + "name": "markup5ever_rcdom", + "version": "0.1.0", + "authors": "The html5ever Project Developers", + "repository": "https://github.com/servo/html5ever", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Basic, unsupported DOM structure for use by tests in html5ever/xml5ever" + }, { "name": "matches", "version": "0.1.8", @@ -1169,6 +1232,15 @@ "license_file": null, "description": "Extensions to the standard library's networking types as proposed in RFC 1158." }, + { + "name": "new_debug_unreachable", + "version": "1.0.4", + "authors": "Matt Brubeck |Jonathan Reem ", + "repository": "https://github.com/mbrubeck/rust-debug-unreachable", + "license": "MIT", + "license_file": null, + "description": "panic in debug, intrinsics::unreachable() in release (fork of debug_unreachable)" + }, { "name": "nodrop", "version": "0.1.14", @@ -1331,6 +1403,42 @@ "license_file": null, "description": "Graph data structure library. Provides graph types and graph algorithms." }, + { + "name": "phf", + "version": "0.8.0", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/rust-phf", + "license": "MIT", + "license_file": null, + "description": "Runtime support for perfect hash function data structures" + }, + { + "name": "phf_codegen", + "version": "0.8.0", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/rust-phf", + "license": "MIT", + "license_file": null, + "description": "Codegen library for PHF types" + }, + { + "name": "phf_generator", + "version": "0.8.0", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/rust-phf", + "license": "MIT", + "license_file": null, + "description": "PHF generation logic" + }, + { + "name": "phf_shared", + "version": "0.8.0", + "authors": "Steven Fackler ", + "repository": "https://github.com/sfackler/rust-phf", + "license": "MIT", + "license_file": null, + "description": "Support code shared by PHF libraries" + }, { "name": "pin-project", "version": "0.4.27", @@ -1342,7 +1450,7 @@ }, { "name": "pin-project", - "version": "1.0.4", + "version": "1.0.5", "authors": "Taiki Endo ", "repository": "https://github.com/taiki-e/pin-project", "license": "Apache-2.0 OR MIT", @@ -1360,7 +1468,7 @@ }, { "name": "pin-project-internal", - "version": "1.0.4", + "version": "1.0.5", "authors": "Taiki Endo ", "repository": "https://github.com/taiki-e/pin-project", "license": "Apache-2.0 OR MIT", @@ -1421,6 +1529,15 @@ "license_file": null, "description": "Implementation of the crypto-simd API for x86" }, + { + "name": "precomputed-hash", + "version": "0.1.1", + "authors": "Emilio Cobos Álvarez ", + "repository": "https://github.com/emilio/precomputed-hash", + "license": "MIT", + "license_file": null, + "description": "A library intending to be a base dependency to expose a precomputed hash" + }, { "name": "proc-macro-crate", "version": "0.1.5", @@ -1610,6 +1727,15 @@ "license_file": null, "description": "HC128 random number generator" }, + { + "name": "rand_pcg", + "version": "0.2.1", + "authors": "The Rand Project Developers", + "repository": "https://github.com/rust-random/rand", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Selected PCG random number generators" + }, { "name": "redox_syscall", "version": "0.1.57", @@ -1837,7 +1963,7 @@ }, { "name": "serde_json", - "version": "1.0.61", + "version": "1.0.62", "authors": "Erick Tryzelaar |David Tolnay ", "repository": "https://github.com/serde-rs/json", "license": "Apache-2.0 OR MIT", @@ -1889,6 +2015,15 @@ "license_file": null, "description": "Minimal implementation of SHA1 for Rust." }, + { + "name": "siphasher", + "version": "0.3.3", + "authors": "Frank Denis ", + "repository": "https://github.com/jedisct1/rust-siphash", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust" + }, { "name": "slab", "version": "0.4.2", @@ -1997,6 +2132,24 @@ "license_file": null, "description": "Compile-time assertions to ensure that invariants are met." }, + { + "name": "string_cache", + "version": "0.8.1", + "authors": "The Servo Project Developers", + "repository": "https://github.com/servo/string-cache", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A string interning library for Rust, developed as part of the Servo project." + }, + { + "name": "string_cache_codegen", + "version": "0.5.1", + "authors": "The Servo Project Developers", + "repository": "https://github.com/servo/string-cache", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "A codegen library for string-cache, developed as part of the Servo project." + }, { "name": "subtle", "version": "2.4.0", @@ -2051,6 +2204,15 @@ "license_file": null, "description": "A library for managing temporary files and directories." }, + { + "name": "tendril", + "version": "0.4.2", + "authors": "Keegan McAllister |Simon Sapin |Chris Morgan ", + "repository": "https://github.com/servo/tendril", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Compact buffer/string type for zero-copy parsing" + }, { "name": "term", "version": "0.6.1", @@ -2089,7 +2251,7 @@ }, { "name": "thread_local", - "version": "1.1.2", + "version": "1.1.3", "authors": "Amanieu d'Antras ", "repository": "https://github.com/Amanieu/thread_local-rs", "license": "Apache-2.0 OR MIT", @@ -2206,7 +2368,7 @@ }, { "name": "tracing", - "version": "0.1.22", + "version": "0.1.23", "authors": "Eliza Weisman |Tokio Contributors ", "repository": "https://github.com/tokio-rs/tracing", "license": "MIT", @@ -2366,6 +2528,15 @@ "license_file": null, "description": "URL library for Rust, based on the WHATWG URL Standard" }, + { + "name": "utf-8", + "version": "0.7.5", + "authors": "Simon Sapin ", + "repository": "https://github.com/SimonSapin/rust-utf8", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Incremental, zero-copy UTF-8 decoding with error handling" + }, { "name": "utime", "version": "0.3.1", @@ -2591,6 +2762,15 @@ "license_file": null, "description": "myrrlyn’s utility collection" }, + { + "name": "xml5ever", + "version": "0.16.1", + "authors": "The xml5ever project developers", + "repository": "https://github.com/servo/html5ever", + "license": "Apache-2.0 OR MIT", + "license_file": null, + "description": "Push based streaming parser for xml" + }, { "name": "zip", "version": "0.5.6", diff --git a/cargo/remote/BUILD.ammonia-3.1.0.bazel b/cargo/remote/BUILD.ammonia-3.1.0.bazel new file mode 100644 index 000000000..ca1d28cff --- /dev/null +++ b/cargo/remote/BUILD.ammonia-3.1.0.bazel @@ -0,0 +1,64 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "ammonia-cat" with type "example" omitted + +rust_library( + name = "ammonia", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "3.1.0", + # buildifier: leave-alone + deps = [ + "@raze__html5ever__0_25_1//:html5ever", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__maplit__1_0_2//:maplit", + "@raze__markup5ever_rcdom__0_1_0//:markup5ever_rcdom", + "@raze__matches__0_1_8//:matches", + "@raze__tendril__0_4_2//:tendril", + "@raze__url__2_2_0//:url", + ], +) + +# Unsupported target "version-numbers" with type "test" omitted diff --git a/cargo/remote/BUILD.encoding_rs-0.8.26.bazel b/cargo/remote/BUILD.encoding_rs-0.8.28.bazel similarity index 97% rename from cargo/remote/BUILD.encoding_rs-0.8.26.bazel rename to cargo/remote/BUILD.encoding_rs-0.8.28.bazel index 4a172d6fc..700e00f23 100644 --- a/cargo/remote/BUILD.encoding_rs-0.8.26.bazel +++ b/cargo/remote/BUILD.encoding_rs-0.8.28.bazel @@ -52,7 +52,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "0.8.26", + version = "0.8.28", visibility = ["//visibility:private"], deps = [ ], @@ -74,7 +74,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.8.26", + version = "0.8.28", # buildifier: leave-alone deps = [ ":encoding_rs_build_script", diff --git a/cargo/remote/BUILD.futf-0.1.4.bazel b/cargo/remote/BUILD.futf-0.1.4.bazel new file mode 100644 index 000000000..cdd1c9342 --- /dev/null +++ b/cargo/remote/BUILD.futf-0.1.4.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "futf", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.4", + # buildifier: leave-alone + deps = [ + "@raze__mac__0_1_1//:mac", + "@raze__new_debug_unreachable__1_0_4//:new_debug_unreachable", + ], +) diff --git a/cargo/remote/BUILD.h2-0.2.7.bazel b/cargo/remote/BUILD.h2-0.2.7.bazel index 1dd26b806..d2e779a52 100644 --- a/cargo/remote/BUILD.h2-0.2.7.bazel +++ b/cargo/remote/BUILD.h2-0.2.7.bazel @@ -65,7 +65,7 @@ rust_library( "@raze__slab__0_4_2//:slab", "@raze__tokio__0_2_25//:tokio", "@raze__tokio_util__0_3_1//:tokio_util", - "@raze__tracing__0_1_22//:tracing", + "@raze__tracing__0_1_23//:tracing", "@raze__tracing_futures__0_2_4//:tracing_futures", ], ) diff --git a/cargo/remote/BUILD.html5ever-0.25.1.bazel b/cargo/remote/BUILD.html5ever-0.25.1.bazel new file mode 100644 index 000000000..2c92b60b9 --- /dev/null +++ b/cargo/remote/BUILD.html5ever-0.25.1.bazel @@ -0,0 +1,100 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "html5ever_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.25.1", + visibility = ["//visibility:private"], + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_8//:quote", + "@raze__syn__1_0_60//:syn", + ], +) + +# Unsupported target "html5ever" with type "bench" omitted + +# Unsupported target "arena" with type "example" omitted + +# Unsupported target "noop-tokenize" with type "example" omitted + +# Unsupported target "noop-tree-builder" with type "example" omitted + +# Unsupported target "print-tree-actions" with type "example" omitted + +# Unsupported target "tokenize" with type "example" omitted + +rust_library( + name = "html5ever", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.25.1", + # buildifier: leave-alone + deps = [ + ":html5ever_build_script", + "@raze__log__0_4_14//:log", + "@raze__mac__0_1_1//:mac", + "@raze__markup5ever__0_10_0//:markup5ever", + ], +) diff --git a/cargo/remote/BUILD.hyper-0.13.9.bazel b/cargo/remote/BUILD.hyper-0.13.10.bazel similarity index 96% rename from cargo/remote/BUILD.hyper-0.13.9.bazel rename to cargo/remote/BUILD.hyper-0.13.10.bazel index b88fe9a3b..5c37b74c5 100644 --- a/cargo/remote/BUILD.hyper-0.13.9.bazel +++ b/cargo/remote/BUILD.hyper-0.13.10.bazel @@ -92,7 +92,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.13.9", + version = "0.13.10", # buildifier: leave-alone deps = [ "@raze__bytes__0_5_6//:bytes", @@ -105,11 +105,11 @@ rust_library( "@raze__httparse__1_3_5//:httparse", "@raze__httpdate__0_3_2//:httpdate", "@raze__itoa__0_4_7//:itoa", - "@raze__pin_project__1_0_4//:pin_project", + "@raze__pin_project__1_0_5//:pin_project", "@raze__socket2__0_3_19//:socket2", "@raze__tokio__0_2_25//:tokio", "@raze__tower_service__0_3_1//:tower_service", - "@raze__tracing__0_1_22//:tracing", + "@raze__tracing__0_1_23//:tracing", "@raze__want__0_3_0//:want", ] + selects.with_or({ # cfg(any(target_os = "linux", target_os = "macos")) diff --git a/cargo/remote/BUILD.hyper-rustls-0.21.0.bazel b/cargo/remote/BUILD.hyper-rustls-0.21.0.bazel index cef189964..7040a0e4f 100644 --- a/cargo/remote/BUILD.hyper-rustls-0.21.0.bazel +++ b/cargo/remote/BUILD.hyper-rustls-0.21.0.bazel @@ -55,7 +55,7 @@ rust_library( deps = [ "@raze__bytes__0_5_6//:bytes", "@raze__futures_util__0_3_12//:futures_util", - "@raze__hyper__0_13_9//:hyper", + "@raze__hyper__0_13_10//:hyper", "@raze__log__0_4_14//:log", "@raze__rustls__0_18_1//:rustls", "@raze__tokio__0_2_25//:tokio", diff --git a/cargo/remote/BUILD.hyper-timeout-0.3.1.bazel b/cargo/remote/BUILD.hyper-timeout-0.3.1.bazel index 36d919bee..30fb3327f 100644 --- a/cargo/remote/BUILD.hyper-timeout-0.3.1.bazel +++ b/cargo/remote/BUILD.hyper-timeout-0.3.1.bazel @@ -52,7 +52,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__bytes__0_5_6//:bytes", - "@raze__hyper__0_13_9//:hyper", + "@raze__hyper__0_13_10//:hyper", "@raze__tokio__0_2_25//:tokio", "@raze__tokio_io_timeout__0_4_0//:tokio_io_timeout", ], diff --git a/cargo/remote/BUILD.hyper-tls-0.4.3.bazel b/cargo/remote/BUILD.hyper-tls-0.4.3.bazel index ed49cb6dd..8a27c5cf2 100644 --- a/cargo/remote/BUILD.hyper-tls-0.4.3.bazel +++ b/cargo/remote/BUILD.hyper-tls-0.4.3.bazel @@ -52,7 +52,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__bytes__0_5_6//:bytes", - "@raze__hyper__0_13_9//:hyper", + "@raze__hyper__0_13_10//:hyper", "@raze__native_tls__0_2_7//:native_tls", "@raze__tokio__0_2_25//:tokio", "@raze__tokio_tls__0_3_1//:tokio_tls", diff --git a/cargo/remote/BUILD.idna-0.2.0.bazel b/cargo/remote/BUILD.idna-0.2.1.bazel similarity index 92% rename from cargo/remote/BUILD.idna-0.2.0.bazel rename to cargo/remote/BUILD.idna-0.2.1.bazel index 0640e627d..2bef76519 100644 --- a/cargo/remote/BUILD.idna-0.2.0.bazel +++ b/cargo/remote/BUILD.idna-0.2.1.bazel @@ -30,6 +30,8 @@ licenses([ # Generated Targets +# Unsupported target "all" with type "bench" omitted + rust_library( name = "idna", srcs = glob(["**/*.rs"]), @@ -38,7 +40,7 @@ rust_library( crate_root = "src/lib.rs", crate_type = "lib", data = [], - edition = "2015", + edition = "2018", rustc_flags = [ "--cap-lints=allow", ], @@ -46,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.2.0", + version = "0.2.1", # buildifier: leave-alone deps = [ "@raze__matches__0_1_8//:matches", diff --git a/cargo/remote/BUILD.mac-0.1.1.bazel b/cargo/remote/BUILD.mac-0.1.1.bazel new file mode 100644 index 000000000..c1d6ecac2 --- /dev/null +++ b/cargo/remote/BUILD.mac-0.1.1.bazel @@ -0,0 +1,53 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "mac", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/remote/BUILD.maplit-1.0.2.bazel b/cargo/remote/BUILD.maplit-1.0.2.bazel new file mode 100644 index 000000000..8fe2d0782 --- /dev/null +++ b/cargo/remote/BUILD.maplit-1.0.2.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "maplit", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.2", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/BUILD.markup5ever-0.10.0.bazel b/cargo/remote/BUILD.markup5ever-0.10.0.bazel new file mode 100644 index 000000000..0cdc866d3 --- /dev/null +++ b/cargo/remote/BUILD.markup5ever-0.10.0.bazel @@ -0,0 +1,93 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "markup5ever_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + proc_macro_deps = [ + "@raze__serde_derive__1_0_123//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.10.0", + visibility = ["//visibility:private"], + deps = [ + "@raze__phf_codegen__0_8_0//:phf_codegen", + "@raze__serde__1_0_123//:serde", + "@raze__serde_json__1_0_62//:serde_json", + "@raze__string_cache_codegen__0_5_1//:string_cache_codegen", + ], +) + +rust_library( + name = "markup5ever", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.10.0", + # buildifier: leave-alone + deps = [ + ":markup5ever_build_script", + "@raze__log__0_4_14//:log", + "@raze__phf__0_8_0//:phf", + "@raze__string_cache__0_8_1//:string_cache", + "@raze__tendril__0_4_2//:tendril", + ], +) diff --git a/cargo/remote/BUILD.markup5ever_rcdom-0.1.0.bazel b/cargo/remote/BUILD.markup5ever_rcdom-0.1.0.bazel new file mode 100644 index 000000000..13ffcfa8e --- /dev/null +++ b/cargo/remote/BUILD.markup5ever_rcdom-0.1.0.bazel @@ -0,0 +1,81 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "hello_xml" with type "example" omitted + +# Unsupported target "html2html" with type "example" omitted + +# Unsupported target "print-rcdom" with type "example" omitted + +# Unsupported target "xml_tree_printer" with type "example" omitted + +rust_library( + name = "markup5ever_rcdom", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.0", + # buildifier: leave-alone + deps = [ + "@raze__html5ever__0_25_1//:html5ever", + "@raze__markup5ever__0_10_0//:markup5ever", + "@raze__tendril__0_4_2//:tendril", + "@raze__xml5ever__0_16_1//:xml5ever", + ], +) + +# Unsupported target "html-driver" with type "test" omitted + +# Unsupported target "html-serializer" with type "test" omitted + +# Unsupported target "html-tokenizer" with type "test" omitted + +# Unsupported target "html-tree-builder" with type "test" omitted + +# Unsupported target "html-tree-sink" with type "test" omitted + +# Unsupported target "xml-driver" with type "test" omitted + +# Unsupported target "xml-tokenizer" with type "test" omitted + +# Unsupported target "xml-tree-builder" with type "test" omitted diff --git a/cargo/remote/BUILD.new_debug_unreachable-1.0.4.bazel b/cargo/remote/BUILD.new_debug_unreachable-1.0.4.bazel new file mode 100644 index 000000000..391bde208 --- /dev/null +++ b/cargo/remote/BUILD.new_debug_unreachable-1.0.4.bazel @@ -0,0 +1,66 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "simple" with type "example" omitted + +alias( + name = "new_debug_unreachable", + actual = ":debug_unreachable", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "debug_unreachable", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.4", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "check" with type "test" omitted diff --git a/cargo/remote/BUILD.phf-0.8.0.bazel b/cargo/remote/BUILD.phf-0.8.0.bazel new file mode 100644 index 000000000..c330a1b15 --- /dev/null +++ b/cargo/remote/BUILD.phf-0.8.0.bazel @@ -0,0 +1,56 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "phf", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@raze__phf_shared__0_8_0//:phf_shared", + ], +) diff --git a/cargo/remote/BUILD.phf_codegen-0.8.0.bazel b/cargo/remote/BUILD.phf_codegen-0.8.0.bazel new file mode 100644 index 000000000..c1576326f --- /dev/null +++ b/cargo/remote/BUILD.phf_codegen-0.8.0.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "phf_codegen", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@raze__phf_generator__0_8_0//:phf_generator", + "@raze__phf_shared__0_8_0//:phf_shared", + ], +) diff --git a/cargo/remote/BUILD.phf_generator-0.8.0.bazel b/cargo/remote/BUILD.phf_generator-0.8.0.bazel new file mode 100644 index 000000000..0060be920 --- /dev/null +++ b/cargo/remote/BUILD.phf_generator-0.8.0.bazel @@ -0,0 +1,84 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +# Unsupported target "benches" with type "bench" 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_gen_hash_test", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/bin/gen_hash_test.rs", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":phf_generator", + "@raze__phf_shared__0_8_0//:phf_shared", + "@raze__rand__0_7_3//:rand", + ], +) + +rust_library( + name = "phf_generator", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@raze__phf_shared__0_8_0//:phf_shared", + "@raze__rand__0_7_3//:rand", + ], +) diff --git a/cargo/remote/BUILD.phf_shared-0.8.0.bazel b/cargo/remote/BUILD.phf_shared-0.8.0.bazel new file mode 100644 index 000000000..a9b27c88a --- /dev/null +++ b/cargo/remote/BUILD.phf_shared-0.8.0.bazel @@ -0,0 +1,56 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "phf_shared", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.0", + # buildifier: leave-alone + deps = [ + "@raze__siphasher__0_3_3//:siphasher", + ], +) diff --git a/cargo/remote/BUILD.pin-project-1.0.4.bazel b/cargo/remote/BUILD.pin-project-1.0.5.bazel similarity index 94% rename from cargo/remote/BUILD.pin-project-1.0.4.bazel rename to cargo/remote/BUILD.pin-project-1.0.5.bazel index 3716a3ec6..95718e012 100644 --- a/cargo/remote/BUILD.pin-project-1.0.4.bazel +++ b/cargo/remote/BUILD.pin-project-1.0.5.bazel @@ -64,7 +64,7 @@ rust_library( data = [], edition = "2018", proc_macro_deps = [ - "@raze__pin_project_internal__1_0_4//:pin_project_internal", + "@raze__pin_project_internal__1_0_5//:pin_project_internal", ], rustc_flags = [ "--cap-lints=allow", @@ -73,7 +73,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.4", + version = "1.0.5", # buildifier: leave-alone deps = [ ], @@ -85,6 +85,8 @@ rust_library( # Unsupported target "drop_order" with type "test" omitted +# Unsupported target "expandtest" with type "test" omitted + # Unsupported target "lint" with type "test" omitted # Unsupported target "pin_project" with type "test" omitted diff --git a/cargo/remote/BUILD.pin-project-internal-1.0.4.bazel b/cargo/remote/BUILD.pin-project-internal-1.0.5.bazel similarity index 98% rename from cargo/remote/BUILD.pin-project-internal-1.0.4.bazel rename to cargo/remote/BUILD.pin-project-internal-1.0.5.bazel index 27daf738d..081faad76 100644 --- a/cargo/remote/BUILD.pin-project-internal-1.0.4.bazel +++ b/cargo/remote/BUILD.pin-project-internal-1.0.5.bazel @@ -46,7 +46,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.4", + version = "1.0.5", # buildifier: leave-alone deps = [ "@raze__proc_macro2__1_0_24//:proc_macro2", diff --git a/cargo/remote/BUILD.precomputed-hash-0.1.1.bazel b/cargo/remote/BUILD.precomputed-hash-0.1.1.bazel new file mode 100644 index 000000000..ecd09352c --- /dev/null +++ b/cargo/remote/BUILD.precomputed-hash-0.1.1.bazel @@ -0,0 +1,53 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated Targets + +rust_library( + name = "precomputed_hash", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.1", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/remote/BUILD.rand-0.7.3.bazel b/cargo/remote/BUILD.rand-0.7.3.bazel index bec6c3e4f..f85b51f7f 100644 --- a/cargo/remote/BUILD.rand-0.7.3.bazel +++ b/cargo/remote/BUILD.rand-0.7.3.bazel @@ -54,6 +54,8 @@ rust_library( "getrandom", "getrandom_package", "libc", + "rand_pcg", + "small_rng", "std", ], crate_root = "src/lib.rs", @@ -73,6 +75,7 @@ rust_library( "@raze__getrandom__0_1_16//:getrandom", "@raze__rand_chacha__0_2_2//:rand_chacha", "@raze__rand_core__0_5_1//:rand_core", + "@raze__rand_pcg__0_2_1//:rand_pcg", ] + selects.with_or({ # cfg(unix) ( diff --git a/cargo/remote/BUILD.rand_pcg-0.2.1.bazel b/cargo/remote/BUILD.rand_pcg-0.2.1.bazel new file mode 100644 index 000000000..837e5c936 --- /dev/null +++ b/cargo/remote/BUILD.rand_pcg-0.2.1.bazel @@ -0,0 +1,60 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "rand_pcg", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.1", + # buildifier: leave-alone + deps = [ + "@raze__rand_core__0_5_1//:rand_core", + ], +) + +# Unsupported target "lcg128xsl64" with type "test" omitted + +# Unsupported target "lcg64xsh32" with type "test" omitted + +# Unsupported target "mcg128xsl64" with type "test" omitted diff --git a/cargo/remote/BUILD.regex-1.4.3.bazel b/cargo/remote/BUILD.regex-1.4.3.bazel index ad45a0f43..f1952d077 100644 --- a/cargo/remote/BUILD.regex-1.4.3.bazel +++ b/cargo/remote/BUILD.regex-1.4.3.bazel @@ -82,7 +82,7 @@ rust_library( "@raze__aho_corasick__0_7_15//:aho_corasick", "@raze__memchr__2_3_4//:memchr", "@raze__regex_syntax__0_6_22//:regex_syntax", - "@raze__thread_local__1_1_2//:thread_local", + "@raze__thread_local__1_1_3//:thread_local", ], ) diff --git a/cargo/remote/BUILD.reqwest-0.10.8.bazel b/cargo/remote/BUILD.reqwest-0.10.8.bazel index 3964f823c..2dde7ed32 100644 --- a/cargo/remote/BUILD.reqwest-0.10.8.bazel +++ b/cargo/remote/BUILD.reqwest-0.10.8.bazel @@ -87,7 +87,7 @@ rust_library( "@raze__hyper_timeout__0_3_1//:hyper_timeout", "@raze__mime_guess__2_0_3//:mime_guess", "@raze__serde__1_0_123//:serde", - "@raze__serde_json__1_0_61//:serde_json", + "@raze__serde_json__1_0_62//:serde_json", "@raze__serde_urlencoded__0_6_1//:serde_urlencoded", "@raze__url__2_2_0//:url", ] + selects.with_or({ @@ -101,11 +101,11 @@ rust_library( "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", ): [ "@raze__base64__0_13_0//:base64", - "@raze__encoding_rs__0_8_26//:encoding_rs", + "@raze__encoding_rs__0_8_28//:encoding_rs", "@raze__futures_core__0_3_12//:futures_core", "@raze__futures_util__0_3_12//:futures_util", "@raze__http_body__0_3_1//:http_body", - "@raze__hyper__0_13_9//:hyper", + "@raze__hyper__0_13_10//:hyper", "@raze__hyper_rustls__0_21_0//:hyper_rustls", "@raze__hyper_tls__0_4_3//:hyper_tls", "@raze__ipnet__2_3_0//:ipnet", diff --git a/cargo/remote/BUILD.serde-aux-0.6.1.bazel b/cargo/remote/BUILD.serde-aux-0.6.1.bazel index 10bbc04d5..428e3e144 100644 --- a/cargo/remote/BUILD.serde-aux-0.6.1.bazel +++ b/cargo/remote/BUILD.serde-aux-0.6.1.bazel @@ -56,6 +56,6 @@ rust_library( deps = [ "@raze__chrono__0_4_19//:chrono", "@raze__serde__1_0_123//:serde", - "@raze__serde_json__1_0_61//:serde_json", + "@raze__serde_json__1_0_62//:serde_json", ], ) diff --git a/cargo/remote/BUILD.serde_json-1.0.61.bazel b/cargo/remote/BUILD.serde_json-1.0.62.bazel similarity index 97% rename from cargo/remote/BUILD.serde_json-1.0.61.bazel rename to cargo/remote/BUILD.serde_json-1.0.62.bazel index 2690a4f51..093549615 100644 --- a/cargo/remote/BUILD.serde_json-1.0.61.bazel +++ b/cargo/remote/BUILD.serde_json-1.0.62.bazel @@ -54,7 +54,7 @@ cargo_build_script( "cargo-raze", "manual", ], - version = "1.0.61", + version = "1.0.62", visibility = ["//visibility:private"], deps = [ ], @@ -78,7 +78,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.0.61", + version = "1.0.62", # buildifier: leave-alone deps = [ ":serde_json_build_script", diff --git a/cargo/remote/BUILD.siphasher-0.3.3.bazel b/cargo/remote/BUILD.siphasher-0.3.3.bazel new file mode 100644 index 000000000..c3e60f6e3 --- /dev/null +++ b/cargo/remote/BUILD.siphasher-0.3.3.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "siphasher", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.3", + # buildifier: leave-alone + deps = [ + ], +) diff --git a/cargo/remote/BUILD.slog-async-2.6.0.bazel b/cargo/remote/BUILD.slog-async-2.6.0.bazel index 579fa7980..04b3af34c 100644 --- a/cargo/remote/BUILD.slog-async-2.6.0.bazel +++ b/cargo/remote/BUILD.slog-async-2.6.0.bazel @@ -53,6 +53,6 @@ rust_library( "@raze__crossbeam_channel__0_5_0//:crossbeam_channel", "@raze__slog__2_7_0//:slog", "@raze__take_mut__0_2_2//:take_mut", - "@raze__thread_local__1_1_2//:thread_local", + "@raze__thread_local__1_1_3//:thread_local", ], ) diff --git a/cargo/remote/BUILD.slog-term-2.6.0.bazel b/cargo/remote/BUILD.slog-term-2.6.0.bazel index b9c90a631..fbf62abda 100644 --- a/cargo/remote/BUILD.slog-term-2.6.0.bazel +++ b/cargo/remote/BUILD.slog-term-2.6.0.bazel @@ -65,7 +65,7 @@ rust_library( "@raze__chrono__0_4_19//:chrono", "@raze__slog__2_7_0//:slog", "@raze__term__0_6_1//:term", - "@raze__thread_local__1_1_2//:thread_local", + "@raze__thread_local__1_1_3//:thread_local", ], ) diff --git a/cargo/remote/BUILD.string_cache-0.8.1.bazel b/cargo/remote/BUILD.string_cache-0.8.1.bazel new file mode 100644 index 000000000..e0757a8ad --- /dev/null +++ b/cargo/remote/BUILD.string_cache-0.8.1.bazel @@ -0,0 +1,65 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "simple" with type "example" omitted + +rust_library( + name = "string_cache", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "serde", + "serde_support", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.1", + # buildifier: leave-alone + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__new_debug_unreachable__1_0_4//:new_debug_unreachable", + "@raze__phf_shared__0_8_0//:phf_shared", + "@raze__precomputed_hash__0_1_1//:precomputed_hash", + "@raze__serde__1_0_123//:serde", + ], +) + +# Unsupported target "small-stack" with type "test" omitted diff --git a/cargo/remote/BUILD.string_cache_codegen-0.5.1.bazel b/cargo/remote/BUILD.string_cache_codegen-0.5.1.bazel new file mode 100644 index 000000000..3249be290 --- /dev/null +++ b/cargo/remote/BUILD.string_cache_codegen-0.5.1.bazel @@ -0,0 +1,57 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "string_cache_codegen", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.5.1", + # buildifier: leave-alone + deps = [ + "@raze__phf_generator__0_8_0//:phf_generator", + "@raze__phf_shared__0_8_0//:phf_shared", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_8//:quote", + ], +) diff --git a/cargo/remote/BUILD.tendril-0.4.2.bazel b/cargo/remote/BUILD.tendril-0.4.2.bazel new file mode 100644 index 000000000..3266a6edb --- /dev/null +++ b/cargo/remote/BUILD.tendril-0.4.2.bazel @@ -0,0 +1,58 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "fuzz" with type "example" omitted + +rust_library( + name = "tendril", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.2", + # buildifier: leave-alone + deps = [ + "@raze__futf__0_1_4//:futf", + "@raze__mac__0_1_1//:mac", + "@raze__utf_8__0_7_5//:utf_8", + ], +) diff --git a/cargo/remote/BUILD.thread_local-1.1.2.bazel b/cargo/remote/BUILD.thread_local-1.1.3.bazel similarity index 98% rename from cargo/remote/BUILD.thread_local-1.1.2.bazel rename to cargo/remote/BUILD.thread_local-1.1.3.bazel index 7c1c62ac0..4ca0f559f 100644 --- a/cargo/remote/BUILD.thread_local-1.1.2.bazel +++ b/cargo/remote/BUILD.thread_local-1.1.3.bazel @@ -48,7 +48,7 @@ rust_library( "cargo-raze", "manual", ], - version = "1.1.2", + version = "1.1.3", # buildifier: leave-alone deps = [ "@raze__once_cell__1_5_2//:once_cell", diff --git a/cargo/remote/BUILD.tracing-0.1.22.bazel b/cargo/remote/BUILD.tracing-0.1.23.bazel similarity index 98% rename from cargo/remote/BUILD.tracing-0.1.22.bazel rename to cargo/remote/BUILD.tracing-0.1.23.bazel index f6badf6ec..cd106c745 100644 --- a/cargo/remote/BUILD.tracing-0.1.22.bazel +++ b/cargo/remote/BUILD.tracing-0.1.23.bazel @@ -52,7 +52,7 @@ rust_library( "cargo-raze", "manual", ], - version = "0.1.22", + version = "0.1.23", # buildifier: leave-alone deps = [ "@raze__cfg_if__1_0_0//:cfg_if", diff --git a/cargo/remote/BUILD.tracing-futures-0.2.4.bazel b/cargo/remote/BUILD.tracing-futures-0.2.4.bazel index 16752f9c4..901d7c564 100644 --- a/cargo/remote/BUILD.tracing-futures-0.2.4.bazel +++ b/cargo/remote/BUILD.tracing-futures-0.2.4.bazel @@ -52,7 +52,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__pin_project__0_4_27//:pin_project", - "@raze__tracing__0_1_22//:tracing", + "@raze__tracing__0_1_23//:tracing", ], ) diff --git a/cargo/remote/BUILD.url-2.2.0.bazel b/cargo/remote/BUILD.url-2.2.0.bazel index b2fb43259..acfd5e54e 100644 --- a/cargo/remote/BUILD.url-2.2.0.bazel +++ b/cargo/remote/BUILD.url-2.2.0.bazel @@ -52,7 +52,7 @@ rust_library( # buildifier: leave-alone deps = [ "@raze__form_urlencoded__1_0_0//:form_urlencoded", - "@raze__idna__0_2_0//:idna", + "@raze__idna__0_2_1//:idna", "@raze__matches__0_1_8//:matches", "@raze__percent_encoding__2_1_0//:percent_encoding", ], diff --git a/cargo/remote/BUILD.utf-8-0.7.5.bazel b/cargo/remote/BUILD.utf-8-0.7.5.bazel new file mode 100644 index 000000000..ec8812676 --- /dev/null +++ b/cargo/remote/BUILD.utf-8-0.7.5.bazel @@ -0,0 +1,66 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "from_utf8_lossy" with type "bench" omitted + +alias( + name = "utf_8", + actual = ":utf8", + tags = [ + "cargo-raze", + "manual", + ], +) + +rust_library( + name = "utf8", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.5", + # buildifier: leave-alone + deps = [ + ], +) + +# Unsupported target "unit" with type "test" omitted diff --git a/cargo/remote/BUILD.wasm-bindgen-0.2.70.bazel b/cargo/remote/BUILD.wasm-bindgen-0.2.70.bazel index 6880c1dc0..7632b7e84 100644 --- a/cargo/remote/BUILD.wasm-bindgen-0.2.70.bazel +++ b/cargo/remote/BUILD.wasm-bindgen-0.2.70.bazel @@ -95,7 +95,7 @@ rust_library( ":wasm_bindgen_build_script", "@raze__cfg_if__1_0_0//:cfg_if", "@raze__serde__1_0_123//:serde", - "@raze__serde_json__1_0_61//:serde_json", + "@raze__serde_json__1_0_62//:serde_json", ], ) diff --git a/cargo/remote/BUILD.xml5ever-0.16.1.bazel b/cargo/remote/BUILD.xml5ever-0.16.1.bazel new file mode 100644 index 000000000..8a3156920 --- /dev/null +++ b/cargo/remote/BUILD.xml5ever-0.16.1.bazel @@ -0,0 +1,63 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +# Unsupported target "xml5ever" with type "bench" omitted + +# Unsupported target "simple_xml_tokenizer" with type "example" omitted + +# Unsupported target "xml_tokenizer" with type "example" omitted + +rust_library( + name = "xml5ever", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.16.1", + # buildifier: leave-alone + deps = [ + "@raze__log__0_4_14//:log", + "@raze__mac__0_1_1//:mac", + "@raze__markup5ever__0_10_0//:markup5ever", + "@raze__time__0_1_43//:time", + ], +) diff --git a/rslib/BUILD.bazel b/rslib/BUILD.bazel index 7ac28f55a..a219f621c 100644 --- a/rslib/BUILD.bazel +++ b/rslib/BUILD.bazel @@ -74,6 +74,7 @@ rust_library( visibility = ["//visibility:public"], deps = [ ":build_script", + "//rslib/cargo:ammonia", "//rslib/cargo:askama", "//rslib/cargo:async_compression", "//rslib/cargo:blake3", diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index 68730aaa7..eb024ce9b 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -79,3 +79,4 @@ async-trait = "0.1.42" # transitive dependency; 0.1.7 is currently broken on Windows (perhaps # only in Bazel) proc-macro-nested = "=0.1.6" +ammonia = "3.1.0" diff --git a/rslib/cargo/BUILD.bazel b/rslib/cargo/BUILD.bazel index ba0b95e70..f5cf3fb2d 100644 --- a/rslib/cargo/BUILD.bazel +++ b/rslib/cargo/BUILD.bazel @@ -12,6 +12,15 @@ licenses([ ]) # Aliased targets +alias( + name = "ammonia", + actual = "@raze__ammonia__3_1_0//:ammonia", + tags = [ + "cargo-raze", + "manual", + ], +) + alias( name = "askama", actual = "@raze__askama__0_10_5//:askama", @@ -221,7 +230,7 @@ alias( alias( name = "pin_project", - actual = "@raze__pin_project__1_0_4//:pin_project", + actual = "@raze__pin_project__1_0_5//:pin_project", tags = [ "cargo-raze", "manual", @@ -329,7 +338,7 @@ alias( alias( name = "serde_json", - actual = "@raze__serde_json__1_0_61//:serde_json", + actual = "@raze__serde_json__1_0_62//:serde_json", tags = [ "cargo-raze", "manual", diff --git a/rslib/src/sched/congrats.rs b/rslib/src/sched/congrats.rs index c3cfaf2d5..b77d6ec57 100644 --- a/rslib/src/sched/congrats.rs +++ b/rslib/src/sched/congrats.rs @@ -23,7 +23,7 @@ impl Collection { let info = self.storage.congrats_info(&deck, today)?; let is_filtered_deck = deck.is_filtered(); let deck_description = if let DeckKind::Normal(normal) = &deck.kind { - normal.description.clone() + ammonia::clean(&normal.description) } else { String::new() }; @@ -64,6 +64,7 @@ mod test { is_filtered_deck: false, secs_until_next_learn: 0, bridge_commands_supported: true, + deck_description: "".to_string() } ) }