diff --git a/.bazelignore b/.bazelignore new file mode 100644 index 000000000..accce227b --- /dev/null +++ b/.bazelignore @@ -0,0 +1 @@ +ts/node_modules diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 000000000..fe585947c --- /dev/null +++ b/.bazelrc @@ -0,0 +1,28 @@ +common --enable_platform_specific_config +common --experimental_repository_cache_hardlinks +#common --symlink_prefix=.bazel/ +#common --experimental_no_product_name_out_symlink + +# specify python path on Windows for pyo3 compile +build:windows --action_env="PYTHON_SYS_EXECUTABLE=c:\\python\\python.exe" + +# runfiles are off by default on Windows, and we need them +build --enable_runfiles + +# skip the slow zip step on Windows, as we have symlinks +build:windows --build_python_zip=false + +# record version/build hash +build --workspace_status_command='bash ./scripts/status.sh' + +# run clippy when compiling rust in test mode +test --aspects=@io_bazel_rules_rust//rust:rust.bzl%rust_clippy_aspect --output_groups=clippy_checks + +# print output when test fails +test --test_output=errors + +# don't add empty __init__.py files +build --incompatible_default_to_explicit_init_py + +# faster for .ui file generation, but may sacrifice correctness +#--genrule_strategy=standalone diff --git a/.bazelversion b/.bazelversion new file mode 100644 index 000000000..7c69a55db --- /dev/null +++ b/.bazelversion @@ -0,0 +1 @@ +3.7.0 diff --git a/.gitignore b/.gitignore index 33831ac2e..4783b14ac 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ pyenv .mypy_cache __pycache__ anki.prof +/bazel-* diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 000000000..f23816c95 --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,13 @@ +genrule( + name = "buildinfo_gen", + outs = ["buildinfo.txt"], + cmd = "grep STABLE_ bazel-out/stable-status.txt > $@", + stamp = 1, + visibility = ["//visibility:public"], +) + +alias( + name = "tsconfig.json", + actual = "//ts:tsconfig.json", + visibility = ["//visibility:public"], +) diff --git a/README.md b/README.md index ddd7e0368..ad9ae2f82 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -This repo contains all the code for the computer version of Anki. +# Anki + +This repo contains the source code for the computer version of Anki. If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/#/ -For more information on building, please see [README.development](README.development). - -If you'd like to contribute code, please see [README.contributing](README.contributing). +For more information on building, please see [Development](./docs/development.md). [![](../../workflows/Checks/badge.svg)](../../actions) diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 000000000..c7732810a --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,22 @@ +workspace( + name = "anki", + managed_directories = {"@npm": [ + "ts/node_modules", + ]}, +) + +load(":packages.bzl", "register_deps") + +register_deps() + +load(":setup.bzl", "setup_deps") + +setup_deps() + +load("@py_deps//:requirements.bzl", "pip_install") + +pip_install() + +load("@npm//@bazel/labs:package.bzl", "npm_bazel_labs_dependencies") + +npm_bazel_labs_dependencies() diff --git a/bazel.bat b/bazel.bat new file mode 100755 index 000000000..3875a5917 --- /dev/null +++ b/bazel.bat @@ -0,0 +1,2 @@ +@set PATH=c:\msys64\usr\bin;c:\python;%PATH% +\bazel\bazel --output_user_root=\bazel\anki %* diff --git a/bin.py b/bin.py new file mode 100644 index 000000000..8149d9b17 --- /dev/null +++ b/bin.py @@ -0,0 +1,7 @@ +print("hello world!") +import sys +print(sys.version) +import anki +import os +print(os.listdir(".")) +print(anki.buildinfo.version) \ No newline at end of file diff --git a/cargo/BUILD.bazel b/cargo/BUILD.bazel new file mode 100644 index 000000000..bb96338e8 --- /dev/null +++ b/cargo/BUILD.bazel @@ -0,0 +1,481 @@ +""" +@generated +cargo-raze workspace build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +package(default_visibility = ["//visibility:public"]) + +licenses([ + "notice", # See individual crates for specific licenses +]) + +# Aliased targets +alias( + name = "askama", + actual = "@raze__askama__0_10_3//:askama", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "async_compression", + actual = "@raze__async_compression__0_3_5//:async_compression", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "blake3", + actual = "@raze__blake3__0_3_7//:blake3", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "bytes", + actual = "@raze__bytes__0_5_6//:bytes", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "chrono", + actual = "@raze__chrono__0_4_19//:chrono", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "coarsetime", + actual = "@raze__coarsetime__0_1_14//:coarsetime", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "env_logger", + actual = "@raze__env_logger__0_7_1//:env_logger", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "failure", + actual = "@raze__failure__0_1_8//:failure", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "flate2", + actual = "@raze__flate2__1_0_14//:flate2", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "fluent", + actual = "@raze__fluent__0_10_2//:fluent", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "fluent_syntax", + actual = "@raze__fluent_syntax__0_9_3//:fluent_syntax", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "futures", + actual = "@raze__futures__0_3_6//:futures", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "hex", + actual = "@raze__hex__0_4_2//:hex", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "htmlescape", + actual = "@raze__htmlescape__0_3_1//:htmlescape", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "hyper", + actual = "@raze__hyper__0_13_8//:hyper", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "intl_memoizer", + actual = "@raze__intl_memoizer__0_3_0//:intl_memoizer", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "itertools", + actual = "@raze__itertools__0_9_0//:itertools", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "lazy_static", + actual = "@raze__lazy_static__1_4_0//:lazy_static", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "log", + actual = "@raze__log__0_4_11//:log", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "nom", + actual = "@raze__nom__5_1_2//:nom", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "num_format", + actual = "@raze__num_format__0_4_0//:num_format", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "num_integer", + actual = "@raze__num_integer__0_1_43//:num_integer", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "num_enum", + actual = "@raze__num_enum__0_5_1//:num_enum", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "once_cell", + actual = "@raze__once_cell__1_4_1//:once_cell", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "pin_project", + actual = "@raze__pin_project__0_4_27//:pin_project", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "prost", + actual = "@raze__prost__0_6_1//:prost", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "prost_build", + actual = "@raze__prost_build__0_6_1//:prost_build", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "pyo3", + actual = "@raze__pyo3__0_11_1//:pyo3", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "rand", + actual = "@raze__rand__0_7_3//:rand", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "regex", + actual = "@raze__regex__1_4_1//:regex", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "reqwest", + actual = "@raze__reqwest__0_10_4//:reqwest", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "rusqlite", + actual = "@raze__rusqlite__0_23_1//:rusqlite", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "scopeguard", + actual = "@raze__scopeguard__1_1_0//:scopeguard", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde", + actual = "@raze__serde__1_0_117//:serde", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_aux", + actual = "@raze__serde_aux__0_6_1//:serde_aux", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_derive", + actual = "@raze__serde_derive__1_0_117//:serde_derive", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_json", + actual = "@raze__serde_json__1_0_59//:serde_json", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_repr", + actual = "@raze__serde_repr__0_1_6//:serde_repr", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "serde_tuple", + actual = "@raze__serde_tuple__0_5_0//:serde_tuple", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "sha1", + actual = "@raze__sha1__0_6_0//:sha1", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "slog", + actual = "@raze__slog__2_5_2//:slog", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "slog_async", + actual = "@raze__slog_async__2_5_0//:slog_async", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "slog_envlogger", + actual = "@raze__slog_envlogger__2_2_0//:slog_envlogger", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "slog_stdlog", + actual = "@raze__slog_stdlog__4_0_0//:slog_stdlog", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "slog_term", + actual = "@raze__slog_term__2_6_0//:slog_term", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "tempfile", + actual = "@raze__tempfile__3_1_0//:tempfile", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "tokio", + actual = "@raze__tokio__0_2_22//:tokio", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "unic_langid", + actual = "@raze__unic_langid__0_8_0//:unic_langid", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "unicase", + actual = "@raze__unicase__2_6_0//:unicase", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "unicode_normalization", + actual = "@raze__unicode_normalization__0_1_13//:unicode_normalization", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "utime", + actual = "@raze__utime__0_3_1//:utime", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "zip", + actual = "@raze__zip__0_5_8//:zip", + tags = [ + "cargo-raze", + "manual", + ], +) diff --git a/cargo/Cargo.lock b/cargo/Cargo.lock new file mode 100644 index 000000000..4528da91b --- /dev/null +++ b/cargo/Cargo.lock @@ -0,0 +1,2591 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "addr2line" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" + +[[package]] +name = "adler32" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" + +[[package]] +name = "aho-corasick" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b476ce7103678b0c6d3d395dbbae31d48ff910bd28be979ba5d48c6351131d0d" +dependencies = [ + "memchr", +] + +[[package]] +name = "anki" +version = "2.1.36" +dependencies = [ + "askama", + "async-compression", + "blake3", + "bytes 0.5.6", + "chrono", + "coarsetime", + "env_logger", + "failure", + "flate2", + "fluent", + "fluent-syntax", + "futures", + "hex", + "htmlescape", + "hyper", + "intl-memoizer", + "itertools", + "lazy_static", + "log", + "nom", + "num-format", + "num-integer", + "num_enum", + "once_cell", + "pin-project", + "prost", + "prost-build", + "pyo3", + "rand", + "regex", + "reqwest", + "rusqlite", + "scopeguard", + "serde", + "serde-aux", + "serde_derive", + "serde_json", + "serde_repr", + "serde_tuple", + "sha1", + "slog", + "slog-async", + "slog-envlogger", + "slog-stdlog", + "slog-term", + "tempfile", + "tokio", + "unic-langid", + "unicase", + "unicode-normalization", + "utime", + "zip", +] + +[[package]] +name = "anyhow" +version = "1.0.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1fd36ffbb1fb7c834eac128ea8d0e310c5aeb635548f9d58861e1308d46e71c" + +[[package]] +name = "arc-swap" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034" + +[[package]] +name = "arrayref" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" + +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + +[[package]] +name = "arrayvec" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" + +[[package]] +name = "askama" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70a6e7ebd44d0047fd48206c83c5cd3214acc7b9d87f001da170145c47ef7d12" +dependencies = [ + "askama_derive", + "askama_escape", + "askama_shared", +] + +[[package]] +name = "askama_derive" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d7169690c4f56343dcd821ab834972a22570a2662a19a84fd7775d5e1c3881" +dependencies = [ + "askama_shared", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "askama_escape" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90c108c1a94380c89d2215d0ac54ce09796823cca0fd91b299cfff3b33e346fb" + +[[package]] +name = "askama_shared" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62fc272363345c8cdc030e4c259d9d028237f8b057dc9bb327772a257bde6bb5" +dependencies = [ + "askama_escape", + "humansize", + "nom", + "num-traits", + "percent-encoding", + "proc-macro2", + "quote", + "serde", + "syn", + "toml", +] + +[[package]] +name = "async-compression" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9021768bcce77296b64648cc7a7460e3df99979b97ed5c925c38d1cc83778d98" +dependencies = [ + "bytes 0.5.6", + "flate2", + "futures-core", + "memchr", + "pin-project-lite", +] + +[[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.9", +] + +[[package]] +name = "autocfg" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" + +[[package]] +name = "backtrace" +version = "0.3.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e" +dependencies = [ + "addr2line", + "cfg-if 1.0.0", + "libc", + "miniz_oxide 0.4.3", + "object", + "rustc-demangle", +] + +[[package]] +name = "base64" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" + +[[package]] +name = "base64" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" + +[[package]] +name = "bitflags" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" + +[[package]] +name = "blake2b_simd" +version = "0.5.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a" +dependencies = [ + "arrayref", + "arrayvec 0.5.1", + "constant_time_eq", +] + +[[package]] +name = "blake3" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9ff35b701f3914bdb8fad3368d822c766ef2858b2583198e41639b936f09d3f" +dependencies = [ + "arrayref", + "arrayvec 0.5.1", + "cc", + "cfg-if 0.1.10", + "constant_time_eq", + "crypto-mac", + "digest", +] + +[[package]] +name = "bumpalo" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" + +[[package]] +name = "byteorder" +version = "1.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" + +[[package]] +name = "bytes" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" +dependencies = [ + "byteorder", + "iovec", +] + +[[package]] +name = "bytes" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" + +[[package]] +name = "cc" +version = "1.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed67cbde08356238e75fc4656be4749481eeffb09e19f320a25237d5221c985d" + +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +dependencies = [ + "libc", + "num-integer", + "num-traits", + "time", + "winapi 0.3.9", +] + +[[package]] +name = "cloudabi" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467" +dependencies = [ + "bitflags", +] + +[[package]] +name = "coarsetime" +version = "0.1.14" +source = "git+https://github.com/ankitects/rust-coarsetime.git?branch=old-mac-compat#f9e2c86216f0f4803bc75404828318fc206dab29" +dependencies = [ + "lazy_static", + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", +] + +[[package]] +name = "constant_time_eq" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" + +[[package]] +name = "crc32fast" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" +dependencies = [ + "cfg-if 0.1.10", +] + +[[package]] +name = "crossbeam" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" +dependencies = [ + "cfg-if 0.1.10", + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-epoch", + "crossbeam-queue", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-channel" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b153fe7cbef478c567df0f972e02e6d736db11affe43dfc9c56a9374d1adfb87" +dependencies = [ + "crossbeam-utils", + "maybe-uninit", +] + +[[package]] +name = "crossbeam-deque" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", + "maybe-uninit", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" +dependencies = [ + "autocfg", + "cfg-if 0.1.10", + "crossbeam-utils", + "lazy_static", + "maybe-uninit", + "memoffset", + "scopeguard", +] + +[[package]] +name = "crossbeam-queue" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570" +dependencies = [ + "cfg-if 0.1.10", + "crossbeam-utils", + "maybe-uninit", +] + +[[package]] +name = "crossbeam-utils" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" +dependencies = [ + "autocfg", + "cfg-if 0.1.10", + "lazy_static", +] + +[[package]] +name = "crypto-mac" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" +dependencies = [ + "generic-array", + "subtle", +] + +[[package]] +name = "ct-logs" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d3686f5fa27dbc1d76c751300376e167c5a43387f44bb451fd1c24776e49113" +dependencies = [ + "sct", +] + +[[package]] +name = "ctor" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484" +dependencies = [ + "quote", + "syn", +] + +[[package]] +name = "derivative" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb582b60359da160a9477ee80f15c8d784c477e69c217ef2cdd4169c24ea380f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "dirs" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" +dependencies = [ + "cfg-if 0.1.10", + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a" +dependencies = [ + "libc", + "redox_users", + "winapi 0.3.9", +] + +[[package]] +name = "dtoa" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b" + +[[package]] +name = "either" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" + +[[package]] +name = "encoding_rs" +version = "0.8.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a51b8cf747471cb9499b6d59e59b0444f4c90eba8968c4e44874e92b5b64ace2" +dependencies = [ + "cfg-if 0.1.10", +] + +[[package]] +name = "env_logger" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +dependencies = [ + "atty", + "humantime", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "failure" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" +dependencies = [ + "backtrace", + "failure_derive", +] + +[[package]] +name = "failure_derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "fallible-iterator" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" + +[[package]] +name = "fallible-streaming-iterator" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" + +[[package]] +name = "fixedbitset" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" + +[[package]] +name = "flate2" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42" +dependencies = [ + "cfg-if 0.1.10", + "crc32fast", + "libc", + "miniz_oxide 0.3.7", +] + +[[package]] +name = "fluent" +version = "0.10.2" +source = "git+https://github.com/ankitects/fluent-rs.git?branch=32bit-panic#f61c5e10a53161ef5261f3c87b62047f12e4aa74" +dependencies = [ + "fluent-bundle", + "unic-langid", +] + +[[package]] +name = "fluent-bundle" +version = "0.10.2" +source = "git+https://github.com/ankitects/fluent-rs.git?branch=32bit-panic#f61c5e10a53161ef5261f3c87b62047f12e4aa74" +dependencies = [ + "fluent-langneg", + "fluent-syntax", + "intl-memoizer", + "intl_pluralrules", + "rental", + "smallvec", + "unic-langid", +] + +[[package]] +name = "fluent-langneg" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5815efd5542e40841cd34ef9003822352b04c67a70c595c6758597c72e1f56" +dependencies = [ + "unic-langid", +] + +[[package]] +name = "fluent-syntax" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac0f7e83d14cccbf26e165d8881dcac5891af0d85a88543c09dd72ebd31d91ba" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "fuchsia-zircon" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" +dependencies = [ + "bitflags", + "fuchsia-zircon-sys", +] + +[[package]] +name = "fuchsia-zircon-sys" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" + +[[package]] +name = "futures" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8e3078b7b2a8a671cb7a3d17b4760e4181ea243227776ba83fd043b4ca034e" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7a4d35f7401e948629c9c3d6638fb9bf94e0b2121e96c3b428cc4e631f3eb74" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d674eaa0056896d5ada519900dbf97ead2e46a7b6621e8160d79e2f2e1e2784b" + +[[package]] +name = "futures-executor" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc709ca1da6f66143b8c9bec8e6260181869893714e9b5a490b169b0414144ab" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fc94b64bb39543b4e432f1790b6bf18e3ee3b74653c5449f63310e9a74b123c" + +[[package]] +name = "futures-macro" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f57ed14da4603b2554682e9f2ff3c65d7567b53188db96cb71538217fc64581b" +dependencies = [ + "proc-macro-hack", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "futures-sink" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8764258ed64ebc5d9ed185cf86a95db5cac810269c5d20ececb32e0088abbd" + +[[package]] +name = "futures-task" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dd26820a9f3637f1302da8bceba3ff33adbe53464b54ca24d4e2d4f1db30f94" +dependencies = [ + "once_cell", +] + +[[package]] +name = "futures-util" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a894a0acddba51a2d49a6f4263b1e64b8c579ece8af50fa86503d52cd1eea34" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project", + "pin-utils", + "proc-macro-hack", + "proc-macro-nested", + "slab", +] + +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + +[[package]] +name = "generic-array" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "ghost" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5bcf1bbeab73aa4cf2fde60a846858dc036163c7c33bec309f8d17de785479" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "gimli" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724" + +[[package]] +name = "h2" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "993f9e0baeed60001cf565546b0d3dbe6a6ad23f2bd31644a133c641eccf6d53" +dependencies = [ + "bytes 0.5.6", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" + +[[package]] +name = "heck" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "hermit-abi" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8" +dependencies = [ + "libc", +] + +[[package]] +name = "hex" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35" + +[[package]] +name = "htmlescape" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163" + +[[package]] +name = "http" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9" +dependencies = [ + "bytes 0.5.6", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" +dependencies = [ + "bytes 0.5.6", + "http", +] + +[[package]] +name = "httparse" +version = "1.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" + +[[package]] +name = "httpdate" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" + +[[package]] +name = "humansize" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6cab2627acfc432780848602f3f558f7e9dd427352224b0d9324025796d2a5e" + +[[package]] +name = "humantime" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f" +dependencies = [ + "quick-error", +] + +[[package]] +name = "hyper" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f3afcfae8af5ad0576a31e768415edb627824129e8e5a29b8bfccb2f234e835" +dependencies = [ + "bytes 0.5.6", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project", + "socket2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac965ea399ec3a25ac7d13b8affd4b8f39325cca00858ddf5eb29b79e6b14b08" +dependencies = [ + "bytes 0.5.6", + "ct-logs", + "futures-util", + "hyper", + "log", + "rustls", + "tokio", + "tokio-rustls", + "webpki", + "webpki-roots 0.19.0", +] + +[[package]] +name = "hyper-timeout" +version = "0.3.1" +source = "git+https://github.com/ankitects/hyper-timeout.git?branch=shared-timeout#664b6f9c387f6a7d75d1609a65c02554e8c55bc7" +dependencies = [ + "bytes 0.5.6", + "hyper", + "tokio", + "tokio-io-timeout", +] + +[[package]] +name = "idna" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9" +dependencies = [ + "matches", + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "indexmap" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2" +dependencies = [ + "autocfg", + "hashbrown", +] + +[[package]] +name = "indoc" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8" +dependencies = [ + "indoc-impl", + "proc-macro-hack", +] + +[[package]] +name = "indoc-impl" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0" +dependencies = [ + "proc-macro-hack", + "proc-macro2", + "quote", + "syn", + "unindent", +] + +[[package]] +name = "instant" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63312a18f7ea8760cdd0a7c5aac1a619752a246b833545e3e36d1f81f7cd9e66" +dependencies = [ + "cfg-if 0.1.10", +] + +[[package]] +name = "intl-memoizer" +version = "0.3.0" +source = "git+https://github.com/ankitects/fluent-rs.git?branch=32bit-panic#f61c5e10a53161ef5261f3c87b62047f12e4aa74" +dependencies = [ + "type-map", + "unic-langid", +] + +[[package]] +name = "intl_pluralrules" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d82c14d8eece42c03353e0ce86a4d3f97b1f1cef401e4d962dca6c6214a85002" +dependencies = [ + "tinystr", + "unic-langid", +] + +[[package]] +name = "inventory" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fedd49de24d8c263613701406611410687148ae8c37cd6452650b250f753a0dd" +dependencies = [ + "ctor", + "ghost", + "inventory-impl", +] + +[[package]] +name = "inventory-impl" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddead8880bc50f57fcd3b5869a7f6ff92570bb4e8f6870c22e2483272f2256da" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[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.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" + +[[package]] +name = "js-sys" +version = "0.3.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8" +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 = "lexical-core" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db65c6da02e61f55dae90a0ae427b2a5f6b3e8db09f58d10efab23af92592616" +dependencies = [ + "arrayvec 0.5.1", + "bitflags", + "cfg-if 0.1.10", + "ryu", + "static_assertions", +] + +[[package]] +name = "libc" +version = "0.2.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743" + +[[package]] +name = "libsqlite3-sys" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e704a02bcaecd4a08b93a23f6be59d0bd79cd161e0963e9499165a0a35df7bd" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "linked-hash-map" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a" + +[[package]] +name = "lock_api" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" +dependencies = [ + "cfg-if 0.1.10", +] + +[[package]] +name = "lru-cache" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +dependencies = [ + "linked-hash-map", +] + +[[package]] +name = "matches" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" + +[[package]] +name = "maybe-uninit" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" + +[[package]] +name = "memchr" +version = "2.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" + +[[package]] +name = "memoffset" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa" +dependencies = [ + "autocfg", +] + +[[package]] +name = "mime" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" + +[[package]] +name = "mime_guess" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212" +dependencies = [ + "mime", + "unicase", +] + +[[package]] +name = "miniz_oxide" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" +dependencies = [ + "adler32", +] + +[[package]] +name = "miniz_oxide" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d" +dependencies = [ + "adler", + "autocfg", +] + +[[package]] +name = "mio" +version = "0.6.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" +dependencies = [ + "cfg-if 0.1.10", + "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 = "multimap" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333" + +[[package]] +name = "net2" +version = "0.2.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "nom" +version = "5.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" +dependencies = [ + "lexical-core", + "memchr", + "version_check", +] + +[[package]] +name = "num-format" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465" +dependencies = [ + "arrayvec 0.4.12", + "itoa", +] + +[[package]] +name = "num-integer" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "num_enum" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "226b45a5c2ac4dd696ed30fa6b94b057ad909c7b7fc2e0d0808192bced894066" +dependencies = [ + "derivative", + "num_enum_derive", +] + +[[package]] +name = "num_enum_derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c0fd9eba1d5db0994a239e09c1be402d35622277e35468ba891aa5e3188ce7e" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "object" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693" + +[[package]] +name = "once_cell" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad" + +[[package]] +name = "parking_lot" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4893845fa2ca272e647da5d0e46660a314ead9c2fdd9a883aabc32e481a8733" +dependencies = [ + "instant", + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b" +dependencies = [ + "cfg-if 0.1.10", + "cloudabi", + "instant", + "libc", + "redox_syscall", + "smallvec", + "winapi 0.3.9", +] + +[[package]] +name = "paste" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" +dependencies = [ + "paste-impl", + "proc-macro-hack", +] + +[[package]] +name = "paste-impl" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" +dependencies = [ + "proc-macro-hack", +] + +[[package]] +name = "percent-encoding" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" + +[[package]] +name = "petgraph" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" +dependencies = [ + "fixedbitset", + "indexmap", +] + +[[package]] +name = "pin-project" +version = "0.4.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "0.4.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pin-project-lite" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "pkg-config" +version = "0.3.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" + +[[package]] +name = "ppv-lite86" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20" + +[[package]] +name = "proc-macro-crate" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" +dependencies = [ + "toml", +] + +[[package]] +name = "proc-macro-hack" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c605b9a0adc77b7211c6b1f722dcb613d68d66859a44f3d485a6da332b0598" + +[[package]] +name = "proc-macro-nested" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a" + +[[package]] +name = "proc-macro2" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "prost" +version = "0.6.1" +source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +dependencies = [ + "bytes 0.5.6", + "prost-derive", +] + +[[package]] +name = "prost-build" +version = "0.6.1" +source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +dependencies = [ + "bytes 0.5.6", + "heck", + "itertools", + "log", + "multimap", + "petgraph", + "prost", + "prost-types", + "tempfile", + "which", +] + +[[package]] +name = "prost-derive" +version = "0.6.1" +source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "prost-types" +version = "0.6.1" +source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b" +dependencies = [ + "bytes 0.5.6", + "prost", +] + +[[package]] +name = "pyo3" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca8710ffa8211c9a62a8a3863c4267c710dc42a82a7fd29c97de465d7ea6b7d" +dependencies = [ + "ctor", + "indoc", + "inventory", + "libc", + "parking_lot", + "paste", + "pyo3cls", + "unindent", +] + +[[package]] +name = "pyo3-derive-backend" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58ad070bf6967b0d29ea74931ffcf9c6bbe8402a726e9afbeafadc0a287cc2b3" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pyo3cls" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3fa17e1ea569d0bf3b7c00f2a9eea831ca05e55dd76f1794c541abba1c64baa" +dependencies = [ + "pyo3-derive-backend", + "quote", + "syn", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quote" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" +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", +] + +[[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 = "redox_syscall" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" + +[[package]] +name = "redox_users" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d" +dependencies = [ + "getrandom", + "redox_syscall", + "rust-argon2", +] + +[[package]] +name = "regex" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", + "thread_local", +] + +[[package]] +name = "regex-syntax" +version = "0.6.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c" + +[[package]] +name = "remove_dir_all" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "rental" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8545debe98b2b139fb04cad8618b530e9b07c152d99a5de83c860b877d67847f" +dependencies = [ + "rental-impl", + "stable_deref_trait", +] + +[[package]] +name = "rental-impl" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "475e68978dc5b743f2f40d8e0a8fdc83f1c5e78cbf4b8fa5e74e73beebc340de" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "reqwest" +version = "0.10.4" +source = "git+https://github.com/ankitects/reqwest.git?rev=57665e2c2a39db85723ba860f1b570a608bb73f9#57665e2c2a39db85723ba860f1b570a608bb73f9" +dependencies = [ + "base64 0.12.3", + "bytes 0.5.6", + "encoding_rs", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "hyper-rustls", + "hyper-timeout", + "js-sys", + "lazy_static", + "log", + "mime", + "mime_guess", + "percent-encoding", + "pin-project-lite", + "rustls", + "serde", + "serde_json", + "serde_urlencoded", + "tokio", + "tokio-rustls", + "tokio-socks", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "webpki-roots 0.18.0", + "winreg", +] + +[[package]] +name = "ring" +version = "0.16.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4" +dependencies = [ + "cc", + "libc", + "once_cell", + "spin", + "untrusted", + "web-sys", + "winapi 0.3.9", +] + +[[package]] +name = "rusqlite" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45d0fd62e1df63d254714e6cb40d0a0e82e7a1623e7a27f679d851af092ae58b" +dependencies = [ + "bitflags", + "fallible-iterator", + "fallible-streaming-iterator", + "libsqlite3-sys", + "lru-cache", + "memchr", + "smallvec", + "time", +] + +[[package]] +name = "rust-argon2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dab61250775933275e84053ac235621dfb739556d5c54a2f2e9313b7cf43a19" +dependencies = [ + "base64 0.12.3", + "blake2b_simd", + "constant_time_eq", + "crossbeam-utils", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b" + +[[package]] +name = "rustls" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0d4a31f5d68413404705d6982529b0e11a9aacd4839d1d6222ee3b8cb4015e1" +dependencies = [ + "base64 0.11.0", + "log", + "ring", + "sct", + "webpki", +] + +[[package]] +name = "ryu" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" + +[[package]] +name = "scopeguard" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" + +[[package]] +name = "sct" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "serde" +version = "1.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b88fa983de7720629c9387e9f517353ed404164b1e482c970a90c1a4aaf7dc1a" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde-aux" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae50f53d4b01e854319c1f5b854cd59471f054ea7e554988850d3f36ca1dc852" +dependencies = [ + "chrono", + "serde", + "serde_derive", + "serde_json", +] + +[[package]] +name = "serde_derive" +version = "1.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbd1ae72adb44aab48f325a02444a5fc079349a8d804c1fc922aed3f7454c74e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_repr" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_tuple" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f025b91216f15a2a32aa39669329a475733590a015835d1783549a56d09427" +dependencies = [ + "serde", + "serde_tuple_macros", +] + +[[package]] +name = "serde_tuple_macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4076151d1a2b688e25aaf236997933c66e18b870d0369f8b248b8ab2be630d7e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_urlencoded" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ec5d77e2d4c73717816afac02670d5c4f534ea95ed430442cad02e7a6e32c97" +dependencies = [ + "dtoa", + "itoa", + "serde", + "url", +] + +[[package]] +name = "sha1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" + +[[package]] +name = "slab" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" + +[[package]] +name = "slog" +version = "2.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cc9c640a4adbfbcc11ffb95efe5aa7af7309e002adab54b185507dbf2377b99" + +[[package]] +name = "slog-async" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51b3336ce47ce2f96673499fc07eb85e3472727b9a7a2959964b002c2ce8fbbb" +dependencies = [ + "crossbeam-channel", + "slog", + "take_mut", + "thread_local", +] + +[[package]] +name = "slog-envlogger" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "906a1a0bc43fed692df4b82a5e2fbfc3733db8dad8bb514ab27a4f23ad04f5c0" +dependencies = [ + "log", + "regex", + "slog", + "slog-async", + "slog-scope", + "slog-stdlog", + "slog-term", +] + +[[package]] +name = "slog-scope" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c44c89dd8b0ae4537d1ae318353eaf7840b4869c536e31c41e963d1ea523ee6" +dependencies = [ + "arc-swap", + "lazy_static", + "slog", +] + +[[package]] +name = "slog-stdlog" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d87903baf655da2d82bc3ac3f7ef43868c58bf712b3a661fda72009304c23" +dependencies = [ + "crossbeam", + "log", + "slog", + "slog-scope", +] + +[[package]] +name = "slog-term" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bab1d807cf71129b05ce36914e1dbb6fbfbdecaf686301cb457f4fa967f9f5b6" +dependencies = [ + "atty", + "chrono", + "slog", + "term", + "thread_local", +] + +[[package]] +name = "smallvec" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252" + +[[package]] +name = "socket2" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "redox_syscall", + "winapi 0.3.9", +] + +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "subtle" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "343f3f510c2915908f155e94f17220b19ccfacf2a64a2a5d8004f2c3e311e7fd" + +[[package]] +name = "syn" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea9c5432ff16d6152371f808fb5a871cd67368171b09bb21b43df8e4a47a3556" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + +[[package]] +name = "synstructure" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "unicode-xid", +] + +[[package]] +name = "take_mut" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" + +[[package]] +name = "tempfile" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "rand", + "redox_syscall", + "remove_dir_all", + "winapi 0.3.9", +] + +[[package]] +name = "term" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5" +dependencies = [ + "dirs", + "winapi 0.3.9", +] + +[[package]] +name = "termcolor" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "318234ffa22e0920fe9a40d7b8369b5f649d490980cf7aadcf1eb91594869b42" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae2447b6282786c3493999f40a9be2a6ad20cb8bd268b0a0dbf5a065535c0ab" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thread_local" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "time" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +dependencies = [ + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", + "winapi 0.3.9", +] + +[[package]] +name = "tinystr" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29738eedb4388d9ea620eeab9384884fc3f06f586a2eddb56bedc5885126c7c1" + +[[package]] +name = "tinyvec" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117" + +[[package]] +name = "tokio" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d34ca54d84bf2b5b4d7d31e901a8464f7b60ac145a284fba25ceb801f2ddccd" +dependencies = [ + "bytes 0.5.6", + "fnv", + "futures-core", + "iovec", + "lazy_static", + "memchr", + "mio", + "num_cpus", + "pin-project-lite", + "slab", +] + +[[package]] +name = "tokio-io-timeout" +version = "0.4.0" +source = "git+https://github.com/ankitects/tokio-io-timeout.git?branch=shared-timeout#96e1358555c49905de89170f2b1102a7d8b6c4c2" +dependencies = [ + "bytes 0.5.6", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15cb62a0d2770787abc96e99c1cd98fcf17f94959f3af63ca85bdfb203f051b4" +dependencies = [ + "futures-core", + "rustls", + "tokio", + "webpki", +] + +[[package]] +name = "tokio-socks" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1997788a0e25e09300e44680ba1ef9d44d6f634a883641f80109e8b59c928daf" +dependencies = [ + "bytes 0.4.12", + "either", + "futures", + "thiserror", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" +dependencies = [ + "bytes 0.5.6", + "futures-core", + "futures-sink", + "log", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645" +dependencies = [ + "serde", +] + +[[package]] +name = "tower-service" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" + +[[package]] +name = "tracing" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27" +dependencies = [ + "cfg-if 0.1.10", + "log", + "pin-project-lite", + "tracing-core", +] + +[[package]] +name = "tracing-core" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "try-lock" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" + +[[package]] +name = "type-map" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d2741b1474c327d95c1f1e3b0a2c3977c8e128409c572a33af2914e7d636717" +dependencies = [ + "fxhash", +] + +[[package]] +name = "typenum" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" + +[[package]] +name = "unic-langid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d81136159f779c35b10655f45210c71cd5ca5a45aadfe9840a61c7071735ed" +dependencies = [ + "unic-langid-impl", + "unic-langid-macros", +] + +[[package]] +name = "unic-langid-impl" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c43c61e94492eb67f20facc7b025778a904de83d953d8fcb60dd9adfd6e2d0ea" +dependencies = [ + "tinystr", +] + +[[package]] +name = "unic-langid-macros" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49bd90791278634d57e3ed4a4073108e3f79bfb87ab6a7b8664ba097425703df" +dependencies = [ + "proc-macro-hack", + "tinystr", + "unic-langid-impl", + "unic-langid-macros-impl", +] + +[[package]] +name = "unic-langid-macros-impl" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0098f77bd754f8fb7850cdf4ab143aa821898c4ac6dc16bcb2aa3e62ce858d1" +dependencies = [ + "proc-macro-hack", + "quote", + "syn", + "unic-langid-impl", +] + +[[package]] +name = "unicase" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" +dependencies = [ + "version_check", +] + +[[package]] +name = "unicode-bidi" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" +dependencies = [ + "matches", +] + +[[package]] +name = "unicode-normalization" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-segmentation" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" + +[[package]] +name = "unicode-xid" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" + +[[package]] +name = "unindent" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7" + +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + +[[package]] +name = "url" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb" +dependencies = [ + "idna", + "matches", + "percent-encoding", +] + +[[package]] +name = "utime" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91baa0c65eabd12fcbdac8cc35ff16159cab95cae96d0222d6d0271db6193cef" +dependencies = [ + "libc", + "winapi 0.3.9", +] + +[[package]] +name = "vcpkg" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" + +[[package]] +name = "version_check" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" + +[[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 = "wasi" +version = "0.10.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" + +[[package]] +name = "wasm-bindgen" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42" +dependencies = [ + "cfg-if 0.1.10", + "serde", + "serde_json", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68" +dependencies = [ + "bumpalo", + "lazy_static", + "log", + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7866cab0aa01de1edf8b5d7936938a7e397ee50ce24119aef3e1eaa3b6171da" +dependencies = [ + "cfg-if 0.1.10", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307" + +[[package]] +name = "web-sys" +version = "0.3.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "webpki-roots" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cd5736df7f12a964a5067a12c62fa38e1bd8080aff1f80bc29be7c80d19ab4" +dependencies = [ + "webpki", +] + +[[package]] +name = "webpki-roots" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8eff4b7516a57307f9349c64bf34caa34b940b66fed4b2fb3136cb7386e5739" +dependencies = [ + "webpki", +] + +[[package]] +name = "which" +version = "4.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef" +dependencies = [ + "libc", + "thiserror", +] + +[[package]] +name = "winapi" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +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-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +dependencies = [ + "winapi 0.3.9", +] + +[[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 = "winreg" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" +dependencies = [ + "winapi 0.3.9", +] + +[[package]] +name = "ws2_32-sys" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" +dependencies = [ + "winapi 0.2.8", + "winapi-build", +] + +[[package]] +name = "zip" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "543adf038106b64cfca4711c82c917d785e3540e04f7996554488f988ec43124" +dependencies = [ + "byteorder", + "crc32fast", + "flate2", + "thiserror", + "time", +] diff --git a/cargo/Cargo.toml b/cargo/Cargo.toml new file mode 100644 index 000000000..190baadff --- /dev/null +++ b/cargo/Cargo.toml @@ -0,0 +1,133 @@ +[package] +name = "anki" +version = "2.1.36" # automatically updated +edition = "2018" +authors = ["Ankitects Pty Ltd and contributors"] +license = "AGPL-3.0-or-later" +description = "Anki's Rust library code" +readme = "README.md" + +[raze] +# The WORKSPACE relative path to the Cargo.toml working directory. +workspace_path = "//cargo" +# The target to generate BUILD rules for. +#target = "x86_64-apple-darwin" +#target = "x86_64-pc-windows-gnu" +targets = [ + "i686-apple-darwin", + "i686-pc-windows-msvc", + "i686-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-apple-ios", + "x86_64-pc-windows-msvc", + "x86_64-unknown-linux-gnu", + "aarch64-apple-ios", +] +genmode = "Remote" +default_gen_buildrs = true + +[raze.crates.pyo3.'0.11.1'] +data_attr = "glob([\"**\"])" + +[raze.crates.ring.'0.16.15'] +data_attr = "glob([\"src/**\"])" + +[raze.crates.webpki.'0.21.3'] +data_attr = "glob([\"src/**\"])" + +[lib] +name = "anki" +path = "src/lib.rs" + +[dependencies] +# pinned as any changes could invalidate sqlite indexes +unicase = "=2.6.0" + +nom = "5.1.2" +failure = "0.1.8" +prost = { git = "https://github.com/danburkert/prost.git", rev = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b" } +bytes = "0.5.5" +chrono = "0.4.13" +lazy_static = "1.4.0" +regex = "1.3.9" +hex = "0.4.2" +htmlescape = "0.3.1" +sha1 = "0.6.0" +unicode-normalization = "0.1.13" +tempfile = "3.1.0" +serde = "1.0.114" +serde_json = "1.0.56" +tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] } +serde_derive = "1.0.114" +zip = { version = "0.5.8", default-features = false, features = ["deflate", "time"] } +serde_tuple = "0.5.0" +coarsetime = { git = "https://github.com/ankitects/rust-coarsetime.git", branch="old-mac-compat" } +utime = "0.3.1" +serde-aux = "0.6.1" +unic-langid = { version = "0.8.0", features = ["macros"] } +fluent = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" } +intl-memoizer = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" } +num-format = "0.4.0" +slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_debug"] } +slog-term = "2.6.0" +slog-async = "2.5.0" +slog-envlogger = "2.2.0" +slog-stdlog = "4.0.0" +log = { version = "0.4.11", features = ["std"] } +serde_repr = "0.1.6" +num_enum = "0.5.0" +futures = "0.3.5" +rand = "0.7.3" +num-integer = "0.1.43" +itertools = "0.9.0" +flate2 = "1.0.14" +pin-project = "0.4.22" +async-compression = { version = "0.3.5", features = ["stream", "gzip"] } +askama = "0.10.1" +hyper = "0.13.7" +once_cell = "1.4.1" +scopeguard = "1.1.0" + +blake3 = "0.3.5" + +[dependencies.pyo3] +version = "0.11.0" +features = ["extension-module"] + +[target.'cfg(target_vendor="apple")'.dependencies.rusqlite] +version = "0.23.1" +features = ["trace", "functions", "collation"] + +[target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite] +version = "0.23.1" +features = ["trace", "functions", "collation", "bundled"] + +#[dependencies.reqwest_linux] +#git = "https://github.com/ankitects/reqwest.git" +#rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" +#features = ["json", "socks", "stream", "rustls-tls"] +#package = "reqwest" + +#[target.'cfg(not(linux))'.dependencies.reqwest] +#git = "https://github.com/ankitects/reqwest.git" +#rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" +#features = ["json", "socks", "stream"] + +#[dependencies.reqwest] +#git = "https://github.com/ankitects/reqwest.git" +#rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" +#features = ["json", "socks", "stream"] + +[dependencies.reqwest] +git = "https://github.com/ankitects/reqwest.git" +rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" +default-features = false +features = ["json", "socks", "stream", "rustls-tls"] + +[build-dependencies] +# 0.6.1 stable release depends on compile time PROTOC +prost-build = { git = "https://github.com/danburkert/prost.git", rev = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b" } +fluent-syntax = "0.9.3" + +[dev-dependencies] +env_logger = "0.7.1" diff --git a/cargo/crates.bzl b/cargo/crates.bzl new file mode 100644 index 000000000..c6b0b8615 --- /dev/null +++ b/cargo/crates.bzl @@ -0,0 +1,2661 @@ +""" +@generated +cargo-raze crate workspace functions + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") # buildifier: disable=load +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # buildifier: disable=load +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") # buildifier: disable=load + +def raze_fetch_remote_crates(): + """This function defines a collection of repos and should be called in a WORKSPACE file""" + maybe( + http_archive, + name = "raze__addr2line__0_13_0", + url = "https://crates.io/api/v1/crates/addr2line/0.13.0/download", + type = "tar.gz", + sha256 = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072", + strip_prefix = "addr2line-0.13.0", + build_file = Label("//cargo/remote:addr2line-0.13.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__adler__0_2_3", + url = "https://crates.io/api/v1/crates/adler/0.2.3/download", + type = "tar.gz", + sha256 = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e", + strip_prefix = "adler-0.2.3", + build_file = Label("//cargo/remote:adler-0.2.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__adler32__1_2_0", + url = "https://crates.io/api/v1/crates/adler32/1.2.0/download", + type = "tar.gz", + sha256 = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234", + strip_prefix = "adler32-1.2.0", + build_file = Label("//cargo/remote:adler32-1.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__aho_corasick__0_7_14", + url = "https://crates.io/api/v1/crates/aho-corasick/0.7.14/download", + type = "tar.gz", + sha256 = "b476ce7103678b0c6d3d395dbbae31d48ff910bd28be979ba5d48c6351131d0d", + strip_prefix = "aho-corasick-0.7.14", + build_file = Label("//cargo/remote:aho-corasick-0.7.14.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__anyhow__1_0_33", + url = "https://crates.io/api/v1/crates/anyhow/1.0.33/download", + type = "tar.gz", + sha256 = "a1fd36ffbb1fb7c834eac128ea8d0e310c5aeb635548f9d58861e1308d46e71c", + strip_prefix = "anyhow-1.0.33", + build_file = Label("//cargo/remote:anyhow-1.0.33.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__arc_swap__0_4_7", + url = "https://crates.io/api/v1/crates/arc-swap/0.4.7/download", + type = "tar.gz", + sha256 = "4d25d88fd6b8041580a654f9d0c581a047baee2b3efee13275f2fc392fc75034", + strip_prefix = "arc-swap-0.4.7", + build_file = Label("//cargo/remote:arc-swap-0.4.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__arrayref__0_3_6", + url = "https://crates.io/api/v1/crates/arrayref/0.3.6/download", + type = "tar.gz", + sha256 = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544", + strip_prefix = "arrayref-0.3.6", + build_file = Label("//cargo/remote:arrayref-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__arrayvec__0_4_12", + url = "https://crates.io/api/v1/crates/arrayvec/0.4.12/download", + type = "tar.gz", + sha256 = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9", + strip_prefix = "arrayvec-0.4.12", + build_file = Label("//cargo/remote:arrayvec-0.4.12.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__arrayvec__0_5_1", + url = "https://crates.io/api/v1/crates/arrayvec/0.5.1/download", + type = "tar.gz", + sha256 = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8", + strip_prefix = "arrayvec-0.5.1", + build_file = Label("//cargo/remote:arrayvec-0.5.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__askama__0_10_3", + url = "https://crates.io/api/v1/crates/askama/0.10.3/download", + type = "tar.gz", + sha256 = "70a6e7ebd44d0047fd48206c83c5cd3214acc7b9d87f001da170145c47ef7d12", + strip_prefix = "askama-0.10.3", + build_file = Label("//cargo/remote:askama-0.10.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__askama_derive__0_10_3", + url = "https://crates.io/api/v1/crates/askama_derive/0.10.3/download", + type = "tar.gz", + sha256 = "e1d7169690c4f56343dcd821ab834972a22570a2662a19a84fd7775d5e1c3881", + strip_prefix = "askama_derive-0.10.3", + build_file = Label("//cargo/remote:askama_derive-0.10.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__askama_escape__0_10_1", + url = "https://crates.io/api/v1/crates/askama_escape/0.10.1/download", + type = "tar.gz", + sha256 = "90c108c1a94380c89d2215d0ac54ce09796823cca0fd91b299cfff3b33e346fb", + strip_prefix = "askama_escape-0.10.1", + build_file = Label("//cargo/remote:askama_escape-0.10.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__askama_shared__0_10_4", + url = "https://crates.io/api/v1/crates/askama_shared/0.10.4/download", + type = "tar.gz", + sha256 = "62fc272363345c8cdc030e4c259d9d028237f8b057dc9bb327772a257bde6bb5", + strip_prefix = "askama_shared-0.10.4", + build_file = Label("//cargo/remote:askama_shared-0.10.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__async_compression__0_3_5", + url = "https://crates.io/api/v1/crates/async-compression/0.3.5/download", + type = "tar.gz", + sha256 = "9021768bcce77296b64648cc7a7460e3df99979b97ed5c925c38d1cc83778d98", + strip_prefix = "async-compression-0.3.5", + build_file = Label("//cargo/remote:async-compression-0.3.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__atty__0_2_14", + url = "https://crates.io/api/v1/crates/atty/0.2.14/download", + type = "tar.gz", + sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", + strip_prefix = "atty-0.2.14", + build_file = Label("//cargo/remote:atty-0.2.14.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__autocfg__1_0_1", + url = "https://crates.io/api/v1/crates/autocfg/1.0.1/download", + type = "tar.gz", + sha256 = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a", + strip_prefix = "autocfg-1.0.1", + build_file = Label("//cargo/remote:autocfg-1.0.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__backtrace__0_3_53", + url = "https://crates.io/api/v1/crates/backtrace/0.3.53/download", + type = "tar.gz", + sha256 = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e", + strip_prefix = "backtrace-0.3.53", + build_file = Label("//cargo/remote:backtrace-0.3.53.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__base64__0_11_0", + url = "https://crates.io/api/v1/crates/base64/0.11.0/download", + type = "tar.gz", + sha256 = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7", + strip_prefix = "base64-0.11.0", + build_file = Label("//cargo/remote:base64-0.11.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__base64__0_12_3", + url = "https://crates.io/api/v1/crates/base64/0.12.3/download", + type = "tar.gz", + sha256 = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff", + strip_prefix = "base64-0.12.3", + build_file = Label("//cargo/remote:base64-0.12.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__bitflags__1_2_1", + url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download", + type = "tar.gz", + sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693", + strip_prefix = "bitflags-1.2.1", + build_file = Label("//cargo/remote:bitflags-1.2.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__blake2b_simd__0_5_10", + url = "https://crates.io/api/v1/crates/blake2b_simd/0.5.10/download", + type = "tar.gz", + sha256 = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a", + strip_prefix = "blake2b_simd-0.5.10", + build_file = Label("//cargo/remote:blake2b_simd-0.5.10.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__blake3__0_3_7", + url = "https://crates.io/api/v1/crates/blake3/0.3.7/download", + type = "tar.gz", + sha256 = "e9ff35b701f3914bdb8fad3368d822c766ef2858b2583198e41639b936f09d3f", + strip_prefix = "blake3-0.3.7", + build_file = Label("//cargo/remote:blake3-0.3.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__bumpalo__3_4_0", + url = "https://crates.io/api/v1/crates/bumpalo/3.4.0/download", + type = "tar.gz", + sha256 = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820", + strip_prefix = "bumpalo-3.4.0", + build_file = Label("//cargo/remote:bumpalo-3.4.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__byteorder__1_3_4", + url = "https://crates.io/api/v1/crates/byteorder/1.3.4/download", + type = "tar.gz", + sha256 = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de", + strip_prefix = "byteorder-1.3.4", + build_file = Label("//cargo/remote:byteorder-1.3.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__bytes__0_4_12", + url = "https://crates.io/api/v1/crates/bytes/0.4.12/download", + type = "tar.gz", + sha256 = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c", + strip_prefix = "bytes-0.4.12", + build_file = Label("//cargo/remote:bytes-0.4.12.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__bytes__0_5_6", + url = "https://crates.io/api/v1/crates/bytes/0.5.6/download", + type = "tar.gz", + sha256 = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38", + strip_prefix = "bytes-0.5.6", + build_file = Label("//cargo/remote:bytes-0.5.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__cc__1_0_61", + url = "https://crates.io/api/v1/crates/cc/1.0.61/download", + type = "tar.gz", + sha256 = "ed67cbde08356238e75fc4656be4749481eeffb09e19f320a25237d5221c985d", + strip_prefix = "cc-1.0.61", + build_file = Label("//cargo/remote:cc-1.0.61.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__cfg_if__0_1_10", + url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download", + type = "tar.gz", + sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822", + strip_prefix = "cfg-if-0.1.10", + build_file = Label("//cargo/remote:cfg-if-0.1.10.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__cfg_if__1_0_0", + url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download", + type = "tar.gz", + sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", + strip_prefix = "cfg-if-1.0.0", + build_file = Label("//cargo/remote:cfg-if-1.0.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__chrono__0_4_19", + url = "https://crates.io/api/v1/crates/chrono/0.4.19/download", + type = "tar.gz", + sha256 = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73", + strip_prefix = "chrono-0.4.19", + build_file = Label("//cargo/remote:chrono-0.4.19.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__cloudabi__0_1_0", + url = "https://crates.io/api/v1/crates/cloudabi/0.1.0/download", + type = "tar.gz", + sha256 = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467", + strip_prefix = "cloudabi-0.1.0", + build_file = Label("//cargo/remote:cloudabi-0.1.0.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__coarsetime__0_1_14", + remote = "https://github.com/ankitects/rust-coarsetime.git", + commit = "f9e2c86216f0f4803bc75404828318fc206dab29", + build_file = Label("//cargo/remote:coarsetime-0.1.14.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__constant_time_eq__0_1_5", + url = "https://crates.io/api/v1/crates/constant_time_eq/0.1.5/download", + type = "tar.gz", + sha256 = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc", + strip_prefix = "constant_time_eq-0.1.5", + build_file = Label("//cargo/remote:constant_time_eq-0.1.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crc32fast__1_2_0", + url = "https://crates.io/api/v1/crates/crc32fast/1.2.0/download", + type = "tar.gz", + sha256 = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1", + strip_prefix = "crc32fast-1.2.0", + build_file = Label("//cargo/remote:crc32fast-1.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crossbeam__0_7_3", + url = "https://crates.io/api/v1/crates/crossbeam/0.7.3/download", + type = "tar.gz", + sha256 = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e", + strip_prefix = "crossbeam-0.7.3", + build_file = Label("//cargo/remote:crossbeam-0.7.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crossbeam_channel__0_4_4", + url = "https://crates.io/api/v1/crates/crossbeam-channel/0.4.4/download", + type = "tar.gz", + sha256 = "b153fe7cbef478c567df0f972e02e6d736db11affe43dfc9c56a9374d1adfb87", + strip_prefix = "crossbeam-channel-0.4.4", + build_file = Label("//cargo/remote:crossbeam-channel-0.4.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crossbeam_deque__0_7_3", + url = "https://crates.io/api/v1/crates/crossbeam-deque/0.7.3/download", + type = "tar.gz", + sha256 = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285", + strip_prefix = "crossbeam-deque-0.7.3", + build_file = Label("//cargo/remote:crossbeam-deque-0.7.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crossbeam_epoch__0_8_2", + url = "https://crates.io/api/v1/crates/crossbeam-epoch/0.8.2/download", + type = "tar.gz", + sha256 = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace", + strip_prefix = "crossbeam-epoch-0.8.2", + build_file = Label("//cargo/remote:crossbeam-epoch-0.8.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crossbeam_queue__0_2_3", + url = "https://crates.io/api/v1/crates/crossbeam-queue/0.2.3/download", + type = "tar.gz", + sha256 = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570", + strip_prefix = "crossbeam-queue-0.2.3", + build_file = Label("//cargo/remote:crossbeam-queue-0.2.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crossbeam_utils__0_7_2", + url = "https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download", + type = "tar.gz", + sha256 = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8", + strip_prefix = "crossbeam-utils-0.7.2", + build_file = Label("//cargo/remote:crossbeam-utils-0.7.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__crypto_mac__0_8_0", + url = "https://crates.io/api/v1/crates/crypto-mac/0.8.0/download", + type = "tar.gz", + sha256 = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab", + strip_prefix = "crypto-mac-0.8.0", + build_file = Label("//cargo/remote:crypto-mac-0.8.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__ct_logs__0_6_0", + url = "https://crates.io/api/v1/crates/ct-logs/0.6.0/download", + type = "tar.gz", + sha256 = "4d3686f5fa27dbc1d76c751300376e167c5a43387f44bb451fd1c24776e49113", + strip_prefix = "ct-logs-0.6.0", + build_file = Label("//cargo/remote:ct-logs-0.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__ctor__0_1_16", + url = "https://crates.io/api/v1/crates/ctor/0.1.16/download", + type = "tar.gz", + sha256 = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484", + strip_prefix = "ctor-0.1.16", + build_file = Label("//cargo/remote:ctor-0.1.16.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__derivative__2_1_1", + url = "https://crates.io/api/v1/crates/derivative/2.1.1/download", + type = "tar.gz", + sha256 = "cb582b60359da160a9477ee80f15c8d784c477e69c217ef2cdd4169c24ea380f", + strip_prefix = "derivative-2.1.1", + build_file = Label("//cargo/remote:derivative-2.1.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__digest__0_9_0", + url = "https://crates.io/api/v1/crates/digest/0.9.0/download", + type = "tar.gz", + sha256 = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066", + strip_prefix = "digest-0.9.0", + build_file = Label("//cargo/remote:digest-0.9.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__dirs__2_0_2", + url = "https://crates.io/api/v1/crates/dirs/2.0.2/download", + type = "tar.gz", + sha256 = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3", + strip_prefix = "dirs-2.0.2", + build_file = Label("//cargo/remote:dirs-2.0.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__dirs_sys__0_3_5", + url = "https://crates.io/api/v1/crates/dirs-sys/0.3.5/download", + type = "tar.gz", + sha256 = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a", + strip_prefix = "dirs-sys-0.3.5", + build_file = Label("//cargo/remote:dirs-sys-0.3.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__dtoa__0_4_6", + url = "https://crates.io/api/v1/crates/dtoa/0.4.6/download", + type = "tar.gz", + sha256 = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b", + strip_prefix = "dtoa-0.4.6", + build_file = Label("//cargo/remote:dtoa-0.4.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__either__1_6_1", + url = "https://crates.io/api/v1/crates/either/1.6.1/download", + type = "tar.gz", + sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457", + strip_prefix = "either-1.6.1", + build_file = Label("//cargo/remote:either-1.6.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__encoding_rs__0_8_24", + url = "https://crates.io/api/v1/crates/encoding_rs/0.8.24/download", + type = "tar.gz", + sha256 = "a51b8cf747471cb9499b6d59e59b0444f4c90eba8968c4e44874e92b5b64ace2", + strip_prefix = "encoding_rs-0.8.24", + build_file = Label("//cargo/remote:encoding_rs-0.8.24.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__env_logger__0_7_1", + url = "https://crates.io/api/v1/crates/env_logger/0.7.1/download", + type = "tar.gz", + sha256 = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36", + strip_prefix = "env_logger-0.7.1", + build_file = Label("//cargo/remote:env_logger-0.7.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__failure__0_1_8", + url = "https://crates.io/api/v1/crates/failure/0.1.8/download", + type = "tar.gz", + sha256 = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86", + strip_prefix = "failure-0.1.8", + build_file = Label("//cargo/remote:failure-0.1.8.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__failure_derive__0_1_8", + url = "https://crates.io/api/v1/crates/failure_derive/0.1.8/download", + type = "tar.gz", + sha256 = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4", + strip_prefix = "failure_derive-0.1.8", + build_file = Label("//cargo/remote:failure_derive-0.1.8.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fallible_iterator__0_2_0", + url = "https://crates.io/api/v1/crates/fallible-iterator/0.2.0/download", + type = "tar.gz", + sha256 = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7", + strip_prefix = "fallible-iterator-0.2.0", + build_file = Label("//cargo/remote:fallible-iterator-0.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fallible_streaming_iterator__0_1_9", + url = "https://crates.io/api/v1/crates/fallible-streaming-iterator/0.1.9/download", + type = "tar.gz", + sha256 = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a", + strip_prefix = "fallible-streaming-iterator-0.1.9", + build_file = Label("//cargo/remote:fallible-streaming-iterator-0.1.9.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fixedbitset__0_2_0", + url = "https://crates.io/api/v1/crates/fixedbitset/0.2.0/download", + type = "tar.gz", + sha256 = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d", + strip_prefix = "fixedbitset-0.2.0", + build_file = Label("//cargo/remote:fixedbitset-0.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__flate2__1_0_14", + url = "https://crates.io/api/v1/crates/flate2/1.0.14/download", + type = "tar.gz", + sha256 = "2cfff41391129e0a856d6d822600b8d71179d46879e310417eb9c762eb178b42", + strip_prefix = "flate2-1.0.14", + build_file = Label("//cargo/remote:flate2-1.0.14.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__fluent__0_10_2", + remote = "https://github.com/ankitects/fluent-rs.git", + commit = "f61c5e10a53161ef5261f3c87b62047f12e4aa74", + build_file = Label("//cargo/remote:fluent-0.10.2.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + new_git_repository, + name = "raze__fluent_bundle__0_10_2", + remote = "https://github.com/ankitects/fluent-rs.git", + commit = "f61c5e10a53161ef5261f3c87b62047f12e4aa74", + build_file = Label("//cargo/remote:fluent-bundle-0.10.2.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__fluent_langneg__0_12_1", + url = "https://crates.io/api/v1/crates/fluent-langneg/0.12.1/download", + type = "tar.gz", + sha256 = "fe5815efd5542e40841cd34ef9003822352b04c67a70c595c6758597c72e1f56", + strip_prefix = "fluent-langneg-0.12.1", + build_file = Label("//cargo/remote:fluent-langneg-0.12.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fluent_syntax__0_9_3", + url = "https://crates.io/api/v1/crates/fluent-syntax/0.9.3/download", + type = "tar.gz", + sha256 = "ac0f7e83d14cccbf26e165d8881dcac5891af0d85a88543c09dd72ebd31d91ba", + strip_prefix = "fluent-syntax-0.9.3", + build_file = Label("//cargo/remote:fluent-syntax-0.9.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fnv__1_0_7", + url = "https://crates.io/api/v1/crates/fnv/1.0.7/download", + type = "tar.gz", + sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1", + strip_prefix = "fnv-1.0.7", + build_file = Label("//cargo/remote:fnv-1.0.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fuchsia_zircon__0_3_3", + url = "https://crates.io/api/v1/crates/fuchsia-zircon/0.3.3/download", + type = "tar.gz", + sha256 = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82", + strip_prefix = "fuchsia-zircon-0.3.3", + build_file = Label("//cargo/remote:fuchsia-zircon-0.3.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fuchsia_zircon_sys__0_3_3", + url = "https://crates.io/api/v1/crates/fuchsia-zircon-sys/0.3.3/download", + type = "tar.gz", + sha256 = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7", + strip_prefix = "fuchsia-zircon-sys-0.3.3", + build_file = Label("//cargo/remote:fuchsia-zircon-sys-0.3.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures__0_3_6", + url = "https://crates.io/api/v1/crates/futures/0.3.6/download", + type = "tar.gz", + sha256 = "5d8e3078b7b2a8a671cb7a3d17b4760e4181ea243227776ba83fd043b4ca034e", + strip_prefix = "futures-0.3.6", + build_file = Label("//cargo/remote:futures-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_channel__0_3_6", + url = "https://crates.io/api/v1/crates/futures-channel/0.3.6/download", + type = "tar.gz", + sha256 = "a7a4d35f7401e948629c9c3d6638fb9bf94e0b2121e96c3b428cc4e631f3eb74", + strip_prefix = "futures-channel-0.3.6", + build_file = Label("//cargo/remote:futures-channel-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_core__0_3_6", + url = "https://crates.io/api/v1/crates/futures-core/0.3.6/download", + type = "tar.gz", + sha256 = "d674eaa0056896d5ada519900dbf97ead2e46a7b6621e8160d79e2f2e1e2784b", + strip_prefix = "futures-core-0.3.6", + build_file = Label("//cargo/remote:futures-core-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_executor__0_3_6", + url = "https://crates.io/api/v1/crates/futures-executor/0.3.6/download", + type = "tar.gz", + sha256 = "cc709ca1da6f66143b8c9bec8e6260181869893714e9b5a490b169b0414144ab", + strip_prefix = "futures-executor-0.3.6", + build_file = Label("//cargo/remote:futures-executor-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_io__0_3_6", + url = "https://crates.io/api/v1/crates/futures-io/0.3.6/download", + type = "tar.gz", + sha256 = "5fc94b64bb39543b4e432f1790b6bf18e3ee3b74653c5449f63310e9a74b123c", + strip_prefix = "futures-io-0.3.6", + build_file = Label("//cargo/remote:futures-io-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_macro__0_3_6", + url = "https://crates.io/api/v1/crates/futures-macro/0.3.6/download", + type = "tar.gz", + sha256 = "f57ed14da4603b2554682e9f2ff3c65d7567b53188db96cb71538217fc64581b", + strip_prefix = "futures-macro-0.3.6", + build_file = Label("//cargo/remote:futures-macro-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_sink__0_3_6", + url = "https://crates.io/api/v1/crates/futures-sink/0.3.6/download", + type = "tar.gz", + sha256 = "0d8764258ed64ebc5d9ed185cf86a95db5cac810269c5d20ececb32e0088abbd", + strip_prefix = "futures-sink-0.3.6", + build_file = Label("//cargo/remote:futures-sink-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_task__0_3_6", + url = "https://crates.io/api/v1/crates/futures-task/0.3.6/download", + type = "tar.gz", + sha256 = "4dd26820a9f3637f1302da8bceba3ff33adbe53464b54ca24d4e2d4f1db30f94", + strip_prefix = "futures-task-0.3.6", + build_file = Label("//cargo/remote:futures-task-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__futures_util__0_3_6", + url = "https://crates.io/api/v1/crates/futures-util/0.3.6/download", + type = "tar.gz", + sha256 = "8a894a0acddba51a2d49a6f4263b1e64b8c579ece8af50fa86503d52cd1eea34", + strip_prefix = "futures-util-0.3.6", + build_file = Label("//cargo/remote:futures-util-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__fxhash__0_2_1", + url = "https://crates.io/api/v1/crates/fxhash/0.2.1/download", + type = "tar.gz", + sha256 = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c", + strip_prefix = "fxhash-0.2.1", + build_file = Label("//cargo/remote:fxhash-0.2.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__generic_array__0_14_4", + url = "https://crates.io/api/v1/crates/generic-array/0.14.4/download", + type = "tar.gz", + sha256 = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817", + strip_prefix = "generic-array-0.14.4", + build_file = Label("//cargo/remote:generic-array-0.14.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__getrandom__0_1_15", + url = "https://crates.io/api/v1/crates/getrandom/0.1.15/download", + type = "tar.gz", + sha256 = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6", + strip_prefix = "getrandom-0.1.15", + build_file = Label("//cargo/remote:getrandom-0.1.15.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__ghost__0_1_2", + url = "https://crates.io/api/v1/crates/ghost/0.1.2/download", + type = "tar.gz", + sha256 = "1a5bcf1bbeab73aa4cf2fde60a846858dc036163c7c33bec309f8d17de785479", + strip_prefix = "ghost-0.1.2", + build_file = Label("//cargo/remote:ghost-0.1.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__gimli__0_22_0", + url = "https://crates.io/api/v1/crates/gimli/0.22.0/download", + type = "tar.gz", + sha256 = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724", + strip_prefix = "gimli-0.22.0", + build_file = Label("//cargo/remote:gimli-0.22.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__h2__0_2_6", + url = "https://crates.io/api/v1/crates/h2/0.2.6/download", + type = "tar.gz", + sha256 = "993f9e0baeed60001cf565546b0d3dbe6a6ad23f2bd31644a133c641eccf6d53", + strip_prefix = "h2-0.2.6", + build_file = Label("//cargo/remote:h2-0.2.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__hashbrown__0_9_1", + url = "https://crates.io/api/v1/crates/hashbrown/0.9.1/download", + type = "tar.gz", + sha256 = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04", + strip_prefix = "hashbrown-0.9.1", + build_file = Label("//cargo/remote:hashbrown-0.9.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__heck__0_3_1", + url = "https://crates.io/api/v1/crates/heck/0.3.1/download", + type = "tar.gz", + sha256 = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205", + strip_prefix = "heck-0.3.1", + build_file = Label("//cargo/remote:heck-0.3.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__hermit_abi__0_1_17", + url = "https://crates.io/api/v1/crates/hermit-abi/0.1.17/download", + type = "tar.gz", + sha256 = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8", + strip_prefix = "hermit-abi-0.1.17", + build_file = Label("//cargo/remote:hermit-abi-0.1.17.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__hex__0_4_2", + url = "https://crates.io/api/v1/crates/hex/0.4.2/download", + type = "tar.gz", + sha256 = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35", + strip_prefix = "hex-0.4.2", + build_file = Label("//cargo/remote:hex-0.4.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__htmlescape__0_3_1", + url = "https://crates.io/api/v1/crates/htmlescape/0.3.1/download", + type = "tar.gz", + sha256 = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163", + strip_prefix = "htmlescape-0.3.1", + build_file = Label("//cargo/remote:htmlescape-0.3.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__http__0_2_1", + url = "https://crates.io/api/v1/crates/http/0.2.1/download", + type = "tar.gz", + sha256 = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9", + strip_prefix = "http-0.2.1", + build_file = Label("//cargo/remote:http-0.2.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__http_body__0_3_1", + url = "https://crates.io/api/v1/crates/http-body/0.3.1/download", + type = "tar.gz", + sha256 = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b", + strip_prefix = "http-body-0.3.1", + build_file = Label("//cargo/remote:http-body-0.3.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__httparse__1_3_4", + url = "https://crates.io/api/v1/crates/httparse/1.3.4/download", + type = "tar.gz", + sha256 = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9", + strip_prefix = "httparse-1.3.4", + build_file = Label("//cargo/remote:httparse-1.3.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__httpdate__0_3_2", + url = "https://crates.io/api/v1/crates/httpdate/0.3.2/download", + type = "tar.gz", + sha256 = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47", + strip_prefix = "httpdate-0.3.2", + build_file = Label("//cargo/remote:httpdate-0.3.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__humansize__1_1_0", + url = "https://crates.io/api/v1/crates/humansize/1.1.0/download", + type = "tar.gz", + sha256 = "b6cab2627acfc432780848602f3f558f7e9dd427352224b0d9324025796d2a5e", + strip_prefix = "humansize-1.1.0", + build_file = Label("//cargo/remote:humansize-1.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__humantime__1_3_0", + url = "https://crates.io/api/v1/crates/humantime/1.3.0/download", + type = "tar.gz", + sha256 = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f", + strip_prefix = "humantime-1.3.0", + build_file = Label("//cargo/remote:humantime-1.3.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__hyper__0_13_8", + url = "https://crates.io/api/v1/crates/hyper/0.13.8/download", + type = "tar.gz", + sha256 = "2f3afcfae8af5ad0576a31e768415edb627824129e8e5a29b8bfccb2f234e835", + strip_prefix = "hyper-0.13.8", + build_file = Label("//cargo/remote:hyper-0.13.8.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__hyper_rustls__0_20_0", + url = "https://crates.io/api/v1/crates/hyper-rustls/0.20.0/download", + type = "tar.gz", + sha256 = "ac965ea399ec3a25ac7d13b8affd4b8f39325cca00858ddf5eb29b79e6b14b08", + strip_prefix = "hyper-rustls-0.20.0", + build_file = Label("//cargo/remote:hyper-rustls-0.20.0.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__hyper_timeout__0_3_1", + remote = "https://github.com/ankitects/hyper-timeout.git", + commit = "664b6f9c387f6a7d75d1609a65c02554e8c55bc7", + build_file = Label("//cargo/remote:hyper-timeout-0.3.1.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__idna__0_2_0", + url = "https://crates.io/api/v1/crates/idna/0.2.0/download", + type = "tar.gz", + sha256 = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9", + strip_prefix = "idna-0.2.0", + build_file = Label("//cargo/remote:idna-0.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__indexmap__1_6_0", + url = "https://crates.io/api/v1/crates/indexmap/1.6.0/download", + type = "tar.gz", + sha256 = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2", + strip_prefix = "indexmap-1.6.0", + build_file = Label("//cargo/remote:indexmap-1.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__indoc__0_3_6", + url = "https://crates.io/api/v1/crates/indoc/0.3.6/download", + type = "tar.gz", + sha256 = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8", + strip_prefix = "indoc-0.3.6", + build_file = Label("//cargo/remote:indoc-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__indoc_impl__0_3_6", + url = "https://crates.io/api/v1/crates/indoc-impl/0.3.6/download", + type = "tar.gz", + sha256 = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0", + strip_prefix = "indoc-impl-0.3.6", + build_file = Label("//cargo/remote:indoc-impl-0.3.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__instant__0_1_7", + url = "https://crates.io/api/v1/crates/instant/0.1.7/download", + type = "tar.gz", + sha256 = "63312a18f7ea8760cdd0a7c5aac1a619752a246b833545e3e36d1f81f7cd9e66", + strip_prefix = "instant-0.1.7", + build_file = Label("//cargo/remote:instant-0.1.7.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__intl_memoizer__0_3_0", + remote = "https://github.com/ankitects/fluent-rs.git", + commit = "f61c5e10a53161ef5261f3c87b62047f12e4aa74", + build_file = Label("//cargo/remote:intl-memoizer-0.3.0.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__intl_pluralrules__6_0_0", + url = "https://crates.io/api/v1/crates/intl_pluralrules/6.0.0/download", + type = "tar.gz", + sha256 = "d82c14d8eece42c03353e0ce86a4d3f97b1f1cef401e4d962dca6c6214a85002", + strip_prefix = "intl_pluralrules-6.0.0", + build_file = Label("//cargo/remote:intl_pluralrules-6.0.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__inventory__0_1_9", + url = "https://crates.io/api/v1/crates/inventory/0.1.9/download", + type = "tar.gz", + sha256 = "fedd49de24d8c263613701406611410687148ae8c37cd6452650b250f753a0dd", + strip_prefix = "inventory-0.1.9", + build_file = Label("//cargo/remote:inventory-0.1.9.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__inventory_impl__0_1_9", + url = "https://crates.io/api/v1/crates/inventory-impl/0.1.9/download", + type = "tar.gz", + sha256 = "ddead8880bc50f57fcd3b5869a7f6ff92570bb4e8f6870c22e2483272f2256da", + strip_prefix = "inventory-impl-0.1.9", + build_file = Label("//cargo/remote:inventory-impl-0.1.9.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__iovec__0_1_4", + url = "https://crates.io/api/v1/crates/iovec/0.1.4/download", + type = "tar.gz", + sha256 = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e", + strip_prefix = "iovec-0.1.4", + build_file = Label("//cargo/remote:iovec-0.1.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__itertools__0_9_0", + url = "https://crates.io/api/v1/crates/itertools/0.9.0/download", + type = "tar.gz", + sha256 = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b", + strip_prefix = "itertools-0.9.0", + build_file = Label("//cargo/remote:itertools-0.9.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__itoa__0_4_6", + url = "https://crates.io/api/v1/crates/itoa/0.4.6/download", + type = "tar.gz", + sha256 = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6", + strip_prefix = "itoa-0.4.6", + build_file = Label("//cargo/remote:itoa-0.4.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__js_sys__0_3_45", + url = "https://crates.io/api/v1/crates/js-sys/0.3.45/download", + type = "tar.gz", + sha256 = "ca059e81d9486668f12d455a4ea6daa600bd408134cd17e3d3fb5a32d1f016f8", + strip_prefix = "js-sys-0.3.45", + build_file = Label("//cargo/remote:js-sys-0.3.45.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__kernel32_sys__0_2_2", + url = "https://crates.io/api/v1/crates/kernel32-sys/0.2.2/download", + type = "tar.gz", + sha256 = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d", + strip_prefix = "kernel32-sys-0.2.2", + build_file = Label("//cargo/remote:kernel32-sys-0.2.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__lazy_static__1_4_0", + url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download", + type = "tar.gz", + sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646", + strip_prefix = "lazy_static-1.4.0", + build_file = Label("//cargo/remote:lazy_static-1.4.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__lexical_core__0_7_4", + url = "https://crates.io/api/v1/crates/lexical-core/0.7.4/download", + type = "tar.gz", + sha256 = "db65c6da02e61f55dae90a0ae427b2a5f6b3e8db09f58d10efab23af92592616", + strip_prefix = "lexical-core-0.7.4", + build_file = Label("//cargo/remote:lexical-core-0.7.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__libc__0_2_79", + url = "https://crates.io/api/v1/crates/libc/0.2.79/download", + type = "tar.gz", + sha256 = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743", + strip_prefix = "libc-0.2.79", + build_file = Label("//cargo/remote:libc-0.2.79.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__libsqlite3_sys__0_18_0", + url = "https://crates.io/api/v1/crates/libsqlite3-sys/0.18.0/download", + type = "tar.gz", + sha256 = "1e704a02bcaecd4a08b93a23f6be59d0bd79cd161e0963e9499165a0a35df7bd", + strip_prefix = "libsqlite3-sys-0.18.0", + build_file = Label("//cargo/remote:libsqlite3-sys-0.18.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__linked_hash_map__0_5_3", + url = "https://crates.io/api/v1/crates/linked-hash-map/0.5.3/download", + type = "tar.gz", + sha256 = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a", + strip_prefix = "linked-hash-map-0.5.3", + build_file = Label("//cargo/remote:linked-hash-map-0.5.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__lock_api__0_4_1", + url = "https://crates.io/api/v1/crates/lock_api/0.4.1/download", + type = "tar.gz", + sha256 = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c", + strip_prefix = "lock_api-0.4.1", + build_file = Label("//cargo/remote:lock_api-0.4.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__log__0_4_11", + url = "https://crates.io/api/v1/crates/log/0.4.11/download", + type = "tar.gz", + sha256 = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b", + strip_prefix = "log-0.4.11", + build_file = Label("//cargo/remote:log-0.4.11.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__lru_cache__0_1_2", + url = "https://crates.io/api/v1/crates/lru-cache/0.1.2/download", + type = "tar.gz", + sha256 = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c", + strip_prefix = "lru-cache-0.1.2", + build_file = Label("//cargo/remote:lru-cache-0.1.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__matches__0_1_8", + url = "https://crates.io/api/v1/crates/matches/0.1.8/download", + type = "tar.gz", + sha256 = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08", + strip_prefix = "matches-0.1.8", + build_file = Label("//cargo/remote:matches-0.1.8.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__maybe_uninit__2_0_0", + url = "https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download", + type = "tar.gz", + sha256 = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00", + strip_prefix = "maybe-uninit-2.0.0", + build_file = Label("//cargo/remote:maybe-uninit-2.0.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__memchr__2_3_3", + url = "https://crates.io/api/v1/crates/memchr/2.3.3/download", + type = "tar.gz", + sha256 = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400", + strip_prefix = "memchr-2.3.3", + build_file = Label("//cargo/remote:memchr-2.3.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__memoffset__0_5_6", + url = "https://crates.io/api/v1/crates/memoffset/0.5.6/download", + type = "tar.gz", + sha256 = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa", + strip_prefix = "memoffset-0.5.6", + build_file = Label("//cargo/remote:memoffset-0.5.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__mime__0_3_16", + url = "https://crates.io/api/v1/crates/mime/0.3.16/download", + type = "tar.gz", + sha256 = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d", + strip_prefix = "mime-0.3.16", + build_file = Label("//cargo/remote:mime-0.3.16.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__mime_guess__2_0_3", + url = "https://crates.io/api/v1/crates/mime_guess/2.0.3/download", + type = "tar.gz", + sha256 = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212", + strip_prefix = "mime_guess-2.0.3", + build_file = Label("//cargo/remote:mime_guess-2.0.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__miniz_oxide__0_3_7", + url = "https://crates.io/api/v1/crates/miniz_oxide/0.3.7/download", + type = "tar.gz", + sha256 = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435", + strip_prefix = "miniz_oxide-0.3.7", + build_file = Label("//cargo/remote:miniz_oxide-0.3.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__miniz_oxide__0_4_3", + url = "https://crates.io/api/v1/crates/miniz_oxide/0.4.3/download", + type = "tar.gz", + sha256 = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d", + strip_prefix = "miniz_oxide-0.4.3", + build_file = Label("//cargo/remote:miniz_oxide-0.4.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__mio__0_6_22", + url = "https://crates.io/api/v1/crates/mio/0.6.22/download", + type = "tar.gz", + sha256 = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430", + strip_prefix = "mio-0.6.22", + build_file = Label("//cargo/remote:mio-0.6.22.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__miow__0_2_1", + url = "https://crates.io/api/v1/crates/miow/0.2.1/download", + type = "tar.gz", + sha256 = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919", + strip_prefix = "miow-0.2.1", + build_file = Label("//cargo/remote:miow-0.2.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__multimap__0_8_2", + url = "https://crates.io/api/v1/crates/multimap/0.8.2/download", + type = "tar.gz", + sha256 = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333", + strip_prefix = "multimap-0.8.2", + build_file = Label("//cargo/remote:multimap-0.8.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__net2__0_2_35", + url = "https://crates.io/api/v1/crates/net2/0.2.35/download", + type = "tar.gz", + sha256 = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853", + strip_prefix = "net2-0.2.35", + build_file = Label("//cargo/remote:net2-0.2.35.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__nodrop__0_1_14", + url = "https://crates.io/api/v1/crates/nodrop/0.1.14/download", + type = "tar.gz", + sha256 = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb", + strip_prefix = "nodrop-0.1.14", + build_file = Label("//cargo/remote:nodrop-0.1.14.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__nom__5_1_2", + url = "https://crates.io/api/v1/crates/nom/5.1.2/download", + type = "tar.gz", + sha256 = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af", + strip_prefix = "nom-5.1.2", + build_file = Label("//cargo/remote:nom-5.1.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_format__0_4_0", + url = "https://crates.io/api/v1/crates/num-format/0.4.0/download", + type = "tar.gz", + sha256 = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465", + strip_prefix = "num-format-0.4.0", + build_file = Label("//cargo/remote:num-format-0.4.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_integer__0_1_43", + url = "https://crates.io/api/v1/crates/num-integer/0.1.43/download", + type = "tar.gz", + sha256 = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b", + strip_prefix = "num-integer-0.1.43", + build_file = Label("//cargo/remote:num-integer-0.1.43.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_traits__0_2_12", + url = "https://crates.io/api/v1/crates/num-traits/0.2.12/download", + type = "tar.gz", + sha256 = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611", + strip_prefix = "num-traits-0.2.12", + build_file = Label("//cargo/remote:num-traits-0.2.12.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_cpus__1_13_0", + url = "https://crates.io/api/v1/crates/num_cpus/1.13.0/download", + type = "tar.gz", + sha256 = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3", + strip_prefix = "num_cpus-1.13.0", + build_file = Label("//cargo/remote:num_cpus-1.13.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_enum__0_5_1", + url = "https://crates.io/api/v1/crates/num_enum/0.5.1/download", + type = "tar.gz", + sha256 = "226b45a5c2ac4dd696ed30fa6b94b057ad909c7b7fc2e0d0808192bced894066", + strip_prefix = "num_enum-0.5.1", + build_file = Label("//cargo/remote:num_enum-0.5.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_enum_derive__0_5_1", + url = "https://crates.io/api/v1/crates/num_enum_derive/0.5.1/download", + type = "tar.gz", + sha256 = "1c0fd9eba1d5db0994a239e09c1be402d35622277e35468ba891aa5e3188ce7e", + strip_prefix = "num_enum_derive-0.5.1", + build_file = Label("//cargo/remote:num_enum_derive-0.5.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__object__0_21_1", + url = "https://crates.io/api/v1/crates/object/0.21.1/download", + type = "tar.gz", + sha256 = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693", + strip_prefix = "object-0.21.1", + build_file = Label("//cargo/remote:object-0.21.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__once_cell__1_4_1", + url = "https://crates.io/api/v1/crates/once_cell/1.4.1/download", + type = "tar.gz", + sha256 = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad", + strip_prefix = "once_cell-1.4.1", + build_file = Label("//cargo/remote:once_cell-1.4.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__parking_lot__0_11_0", + url = "https://crates.io/api/v1/crates/parking_lot/0.11.0/download", + type = "tar.gz", + sha256 = "a4893845fa2ca272e647da5d0e46660a314ead9c2fdd9a883aabc32e481a8733", + strip_prefix = "parking_lot-0.11.0", + build_file = Label("//cargo/remote:parking_lot-0.11.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__parking_lot_core__0_8_0", + url = "https://crates.io/api/v1/crates/parking_lot_core/0.8.0/download", + type = "tar.gz", + sha256 = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b", + strip_prefix = "parking_lot_core-0.8.0", + build_file = Label("//cargo/remote:parking_lot_core-0.8.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__paste__0_1_18", + url = "https://crates.io/api/v1/crates/paste/0.1.18/download", + type = "tar.gz", + sha256 = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880", + strip_prefix = "paste-0.1.18", + build_file = Label("//cargo/remote:paste-0.1.18.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__paste_impl__0_1_18", + url = "https://crates.io/api/v1/crates/paste-impl/0.1.18/download", + type = "tar.gz", + sha256 = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6", + strip_prefix = "paste-impl-0.1.18", + build_file = Label("//cargo/remote:paste-impl-0.1.18.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__percent_encoding__2_1_0", + url = "https://crates.io/api/v1/crates/percent-encoding/2.1.0/download", + type = "tar.gz", + sha256 = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e", + strip_prefix = "percent-encoding-2.1.0", + build_file = Label("//cargo/remote:percent-encoding-2.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__petgraph__0_5_1", + url = "https://crates.io/api/v1/crates/petgraph/0.5.1/download", + type = "tar.gz", + sha256 = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7", + strip_prefix = "petgraph-0.5.1", + build_file = Label("//cargo/remote:petgraph-0.5.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pin_project__0_4_27", + url = "https://crates.io/api/v1/crates/pin-project/0.4.27/download", + type = "tar.gz", + sha256 = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15", + strip_prefix = "pin-project-0.4.27", + build_file = Label("//cargo/remote:pin-project-0.4.27.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pin_project_internal__0_4_27", + url = "https://crates.io/api/v1/crates/pin-project-internal/0.4.27/download", + type = "tar.gz", + sha256 = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895", + strip_prefix = "pin-project-internal-0.4.27", + build_file = Label("//cargo/remote:pin-project-internal-0.4.27.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pin_project_lite__0_1_11", + url = "https://crates.io/api/v1/crates/pin-project-lite/0.1.11/download", + type = "tar.gz", + sha256 = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b", + strip_prefix = "pin-project-lite-0.1.11", + build_file = Label("//cargo/remote:pin-project-lite-0.1.11.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pin_utils__0_1_0", + url = "https://crates.io/api/v1/crates/pin-utils/0.1.0/download", + type = "tar.gz", + sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184", + strip_prefix = "pin-utils-0.1.0", + build_file = Label("//cargo/remote:pin-utils-0.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pkg_config__0_3_19", + url = "https://crates.io/api/v1/crates/pkg-config/0.3.19/download", + type = "tar.gz", + sha256 = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c", + strip_prefix = "pkg-config-0.3.19", + build_file = Label("//cargo/remote:pkg-config-0.3.19.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__ppv_lite86__0_2_9", + url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.9/download", + type = "tar.gz", + sha256 = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20", + strip_prefix = "ppv-lite86-0.2.9", + build_file = Label("//cargo/remote:ppv-lite86-0.2.9.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__proc_macro_crate__0_1_5", + url = "https://crates.io/api/v1/crates/proc-macro-crate/0.1.5/download", + type = "tar.gz", + sha256 = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785", + strip_prefix = "proc-macro-crate-0.1.5", + build_file = Label("//cargo/remote:proc-macro-crate-0.1.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__proc_macro_hack__0_5_18", + url = "https://crates.io/api/v1/crates/proc-macro-hack/0.5.18/download", + type = "tar.gz", + sha256 = "99c605b9a0adc77b7211c6b1f722dcb613d68d66859a44f3d485a6da332b0598", + strip_prefix = "proc-macro-hack-0.5.18", + build_file = Label("//cargo/remote:proc-macro-hack-0.5.18.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__proc_macro_nested__0_1_6", + url = "https://crates.io/api/v1/crates/proc-macro-nested/0.1.6/download", + type = "tar.gz", + sha256 = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a", + strip_prefix = "proc-macro-nested-0.1.6", + build_file = Label("//cargo/remote:proc-macro-nested-0.1.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__proc_macro2__1_0_24", + url = "https://crates.io/api/v1/crates/proc-macro2/1.0.24/download", + type = "tar.gz", + sha256 = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71", + strip_prefix = "proc-macro2-1.0.24", + build_file = Label("//cargo/remote:proc-macro2-1.0.24.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__prost__0_6_1", + remote = "https://github.com/danburkert/prost.git", + commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", + build_file = Label("//cargo/remote:prost-0.6.1.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + new_git_repository, + name = "raze__prost_build__0_6_1", + remote = "https://github.com/danburkert/prost.git", + commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", + build_file = Label("//cargo/remote:prost-build-0.6.1.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + new_git_repository, + name = "raze__prost_derive__0_6_1", + remote = "https://github.com/danburkert/prost.git", + commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", + build_file = Label("//cargo/remote:prost-derive-0.6.1.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + new_git_repository, + name = "raze__prost_types__0_6_1", + remote = "https://github.com/danburkert/prost.git", + commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b", + build_file = Label("//cargo/remote:prost-types-0.6.1.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__pyo3__0_11_1", + url = "https://crates.io/api/v1/crates/pyo3/0.11.1/download", + type = "tar.gz", + sha256 = "9ca8710ffa8211c9a62a8a3863c4267c710dc42a82a7fd29c97de465d7ea6b7d", + strip_prefix = "pyo3-0.11.1", + build_file = Label("//cargo/remote:pyo3-0.11.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pyo3_derive_backend__0_11_1", + url = "https://crates.io/api/v1/crates/pyo3-derive-backend/0.11.1/download", + type = "tar.gz", + sha256 = "58ad070bf6967b0d29ea74931ffcf9c6bbe8402a726e9afbeafadc0a287cc2b3", + strip_prefix = "pyo3-derive-backend-0.11.1", + build_file = Label("//cargo/remote:pyo3-derive-backend-0.11.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__pyo3cls__0_11_1", + url = "https://crates.io/api/v1/crates/pyo3cls/0.11.1/download", + type = "tar.gz", + sha256 = "c3fa17e1ea569d0bf3b7c00f2a9eea831ca05e55dd76f1794c541abba1c64baa", + strip_prefix = "pyo3cls-0.11.1", + build_file = Label("//cargo/remote:pyo3cls-0.11.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__quick_error__1_2_3", + url = "https://crates.io/api/v1/crates/quick-error/1.2.3/download", + type = "tar.gz", + sha256 = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0", + strip_prefix = "quick-error-1.2.3", + build_file = Label("//cargo/remote:quick-error-1.2.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__quote__1_0_7", + url = "https://crates.io/api/v1/crates/quote/1.0.7/download", + type = "tar.gz", + sha256 = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37", + strip_prefix = "quote-1.0.7", + build_file = Label("//cargo/remote:quote-1.0.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rand__0_7_3", + url = "https://crates.io/api/v1/crates/rand/0.7.3/download", + type = "tar.gz", + sha256 = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03", + strip_prefix = "rand-0.7.3", + build_file = Label("//cargo/remote:rand-0.7.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rand_chacha__0_2_2", + url = "https://crates.io/api/v1/crates/rand_chacha/0.2.2/download", + type = "tar.gz", + sha256 = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402", + strip_prefix = "rand_chacha-0.2.2", + build_file = Label("//cargo/remote:rand_chacha-0.2.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rand_core__0_5_1", + url = "https://crates.io/api/v1/crates/rand_core/0.5.1/download", + type = "tar.gz", + sha256 = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19", + strip_prefix = "rand_core-0.5.1", + build_file = Label("//cargo/remote:rand_core-0.5.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rand_hc__0_2_0", + url = "https://crates.io/api/v1/crates/rand_hc/0.2.0/download", + type = "tar.gz", + sha256 = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c", + strip_prefix = "rand_hc-0.2.0", + build_file = Label("//cargo/remote:rand_hc-0.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__redox_syscall__0_1_57", + url = "https://crates.io/api/v1/crates/redox_syscall/0.1.57/download", + type = "tar.gz", + sha256 = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce", + strip_prefix = "redox_syscall-0.1.57", + build_file = Label("//cargo/remote:redox_syscall-0.1.57.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__redox_users__0_3_5", + url = "https://crates.io/api/v1/crates/redox_users/0.3.5/download", + type = "tar.gz", + sha256 = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d", + strip_prefix = "redox_users-0.3.5", + build_file = Label("//cargo/remote:redox_users-0.3.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__regex__1_4_1", + url = "https://crates.io/api/v1/crates/regex/1.4.1/download", + type = "tar.gz", + sha256 = "8963b85b8ce3074fecffde43b4b0dded83ce2f367dc8d363afc56679f3ee820b", + strip_prefix = "regex-1.4.1", + build_file = Label("//cargo/remote:regex-1.4.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__regex_syntax__0_6_20", + url = "https://crates.io/api/v1/crates/regex-syntax/0.6.20/download", + type = "tar.gz", + sha256 = "8cab7a364d15cde1e505267766a2d3c4e22a843e1a601f0fa7564c0f82ced11c", + strip_prefix = "regex-syntax-0.6.20", + build_file = Label("//cargo/remote:regex-syntax-0.6.20.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__remove_dir_all__0_5_3", + url = "https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download", + type = "tar.gz", + sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7", + strip_prefix = "remove_dir_all-0.5.3", + build_file = Label("//cargo/remote:remove_dir_all-0.5.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rental__0_5_5", + url = "https://crates.io/api/v1/crates/rental/0.5.5/download", + type = "tar.gz", + sha256 = "8545debe98b2b139fb04cad8618b530e9b07c152d99a5de83c860b877d67847f", + strip_prefix = "rental-0.5.5", + build_file = Label("//cargo/remote:rental-0.5.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rental_impl__0_5_5", + url = "https://crates.io/api/v1/crates/rental-impl/0.5.5/download", + type = "tar.gz", + sha256 = "475e68978dc5b743f2f40d8e0a8fdc83f1c5e78cbf4b8fa5e74e73beebc340de", + strip_prefix = "rental-impl-0.5.5", + build_file = Label("//cargo/remote:rental-impl-0.5.5.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__reqwest__0_10_4", + remote = "https://github.com/ankitects/reqwest.git", + commit = "57665e2c2a39db85723ba860f1b570a608bb73f9", + build_file = Label("//cargo/remote:reqwest-0.10.4.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__ring__0_16_15", + url = "https://crates.io/api/v1/crates/ring/0.16.15/download", + type = "tar.gz", + sha256 = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4", + strip_prefix = "ring-0.16.15", + build_file = Label("//cargo/remote:ring-0.16.15.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rusqlite__0_23_1", + url = "https://crates.io/api/v1/crates/rusqlite/0.23.1/download", + type = "tar.gz", + sha256 = "45d0fd62e1df63d254714e6cb40d0a0e82e7a1623e7a27f679d851af092ae58b", + strip_prefix = "rusqlite-0.23.1", + build_file = Label("//cargo/remote:rusqlite-0.23.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rust_argon2__0_8_2", + url = "https://crates.io/api/v1/crates/rust-argon2/0.8.2/download", + type = "tar.gz", + sha256 = "9dab61250775933275e84053ac235621dfb739556d5c54a2f2e9313b7cf43a19", + strip_prefix = "rust-argon2-0.8.2", + build_file = Label("//cargo/remote:rust-argon2-0.8.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rustc_demangle__0_1_17", + url = "https://crates.io/api/v1/crates/rustc-demangle/0.1.17/download", + type = "tar.gz", + sha256 = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b", + strip_prefix = "rustc-demangle-0.1.17", + build_file = Label("//cargo/remote:rustc-demangle-0.1.17.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__rustls__0_17_0", + url = "https://crates.io/api/v1/crates/rustls/0.17.0/download", + type = "tar.gz", + sha256 = "c0d4a31f5d68413404705d6982529b0e11a9aacd4839d1d6222ee3b8cb4015e1", + strip_prefix = "rustls-0.17.0", + build_file = Label("//cargo/remote:rustls-0.17.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__ryu__1_0_5", + url = "https://crates.io/api/v1/crates/ryu/1.0.5/download", + type = "tar.gz", + sha256 = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e", + strip_prefix = "ryu-1.0.5", + build_file = Label("//cargo/remote:ryu-1.0.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__scopeguard__1_1_0", + url = "https://crates.io/api/v1/crates/scopeguard/1.1.0/download", + type = "tar.gz", + sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd", + strip_prefix = "scopeguard-1.1.0", + build_file = Label("//cargo/remote:scopeguard-1.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__sct__0_6_0", + url = "https://crates.io/api/v1/crates/sct/0.6.0/download", + type = "tar.gz", + sha256 = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c", + strip_prefix = "sct-0.6.0", + build_file = Label("//cargo/remote:sct-0.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde__1_0_117", + url = "https://crates.io/api/v1/crates/serde/1.0.117/download", + type = "tar.gz", + sha256 = "b88fa983de7720629c9387e9f517353ed404164b1e482c970a90c1a4aaf7dc1a", + strip_prefix = "serde-1.0.117", + build_file = Label("//cargo/remote:serde-1.0.117.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_aux__0_6_1", + url = "https://crates.io/api/v1/crates/serde-aux/0.6.1/download", + type = "tar.gz", + sha256 = "ae50f53d4b01e854319c1f5b854cd59471f054ea7e554988850d3f36ca1dc852", + strip_prefix = "serde-aux-0.6.1", + build_file = Label("//cargo/remote:serde-aux-0.6.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_derive__1_0_117", + url = "https://crates.io/api/v1/crates/serde_derive/1.0.117/download", + type = "tar.gz", + sha256 = "cbd1ae72adb44aab48f325a02444a5fc079349a8d804c1fc922aed3f7454c74e", + strip_prefix = "serde_derive-1.0.117", + build_file = Label("//cargo/remote:serde_derive-1.0.117.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_json__1_0_59", + url = "https://crates.io/api/v1/crates/serde_json/1.0.59/download", + type = "tar.gz", + sha256 = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95", + strip_prefix = "serde_json-1.0.59", + build_file = Label("//cargo/remote:serde_json-1.0.59.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_repr__0_1_6", + url = "https://crates.io/api/v1/crates/serde_repr/0.1.6/download", + type = "tar.gz", + sha256 = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76", + strip_prefix = "serde_repr-0.1.6", + build_file = Label("//cargo/remote:serde_repr-0.1.6.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_tuple__0_5_0", + url = "https://crates.io/api/v1/crates/serde_tuple/0.5.0/download", + type = "tar.gz", + sha256 = "f4f025b91216f15a2a32aa39669329a475733590a015835d1783549a56d09427", + strip_prefix = "serde_tuple-0.5.0", + build_file = Label("//cargo/remote:serde_tuple-0.5.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_tuple_macros__0_5_0", + url = "https://crates.io/api/v1/crates/serde_tuple_macros/0.5.0/download", + type = "tar.gz", + sha256 = "4076151d1a2b688e25aaf236997933c66e18b870d0369f8b248b8ab2be630d7e", + strip_prefix = "serde_tuple_macros-0.5.0", + build_file = Label("//cargo/remote:serde_tuple_macros-0.5.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__serde_urlencoded__0_6_1", + url = "https://crates.io/api/v1/crates/serde_urlencoded/0.6.1/download", + type = "tar.gz", + sha256 = "9ec5d77e2d4c73717816afac02670d5c4f534ea95ed430442cad02e7a6e32c97", + strip_prefix = "serde_urlencoded-0.6.1", + build_file = Label("//cargo/remote:serde_urlencoded-0.6.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__sha1__0_6_0", + url = "https://crates.io/api/v1/crates/sha1/0.6.0/download", + type = "tar.gz", + sha256 = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d", + strip_prefix = "sha1-0.6.0", + build_file = Label("//cargo/remote:sha1-0.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slab__0_4_2", + url = "https://crates.io/api/v1/crates/slab/0.4.2/download", + type = "tar.gz", + sha256 = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8", + strip_prefix = "slab-0.4.2", + build_file = Label("//cargo/remote:slab-0.4.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slog__2_5_2", + url = "https://crates.io/api/v1/crates/slog/2.5.2/download", + type = "tar.gz", + sha256 = "1cc9c640a4adbfbcc11ffb95efe5aa7af7309e002adab54b185507dbf2377b99", + strip_prefix = "slog-2.5.2", + build_file = Label("//cargo/remote:slog-2.5.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slog_async__2_5_0", + url = "https://crates.io/api/v1/crates/slog-async/2.5.0/download", + type = "tar.gz", + sha256 = "51b3336ce47ce2f96673499fc07eb85e3472727b9a7a2959964b002c2ce8fbbb", + strip_prefix = "slog-async-2.5.0", + build_file = Label("//cargo/remote:slog-async-2.5.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slog_envlogger__2_2_0", + url = "https://crates.io/api/v1/crates/slog-envlogger/2.2.0/download", + type = "tar.gz", + sha256 = "906a1a0bc43fed692df4b82a5e2fbfc3733db8dad8bb514ab27a4f23ad04f5c0", + strip_prefix = "slog-envlogger-2.2.0", + build_file = Label("//cargo/remote:slog-envlogger-2.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slog_scope__4_3_0", + url = "https://crates.io/api/v1/crates/slog-scope/4.3.0/download", + type = "tar.gz", + sha256 = "7c44c89dd8b0ae4537d1ae318353eaf7840b4869c536e31c41e963d1ea523ee6", + strip_prefix = "slog-scope-4.3.0", + build_file = Label("//cargo/remote:slog-scope-4.3.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slog_stdlog__4_0_0", + url = "https://crates.io/api/v1/crates/slog-stdlog/4.0.0/download", + type = "tar.gz", + sha256 = "be4d87903baf655da2d82bc3ac3f7ef43868c58bf712b3a661fda72009304c23", + strip_prefix = "slog-stdlog-4.0.0", + build_file = Label("//cargo/remote:slog-stdlog-4.0.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__slog_term__2_6_0", + url = "https://crates.io/api/v1/crates/slog-term/2.6.0/download", + type = "tar.gz", + sha256 = "bab1d807cf71129b05ce36914e1dbb6fbfbdecaf686301cb457f4fa967f9f5b6", + strip_prefix = "slog-term-2.6.0", + build_file = Label("//cargo/remote:slog-term-2.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__smallvec__1_4_2", + url = "https://crates.io/api/v1/crates/smallvec/1.4.2/download", + type = "tar.gz", + sha256 = "fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252", + strip_prefix = "smallvec-1.4.2", + build_file = Label("//cargo/remote:smallvec-1.4.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__socket2__0_3_15", + url = "https://crates.io/api/v1/crates/socket2/0.3.15/download", + type = "tar.gz", + sha256 = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44", + strip_prefix = "socket2-0.3.15", + build_file = Label("//cargo/remote:socket2-0.3.15.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__spin__0_5_2", + url = "https://crates.io/api/v1/crates/spin/0.5.2/download", + type = "tar.gz", + sha256 = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d", + strip_prefix = "spin-0.5.2", + build_file = Label("//cargo/remote:spin-0.5.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__stable_deref_trait__1_2_0", + url = "https://crates.io/api/v1/crates/stable_deref_trait/1.2.0/download", + type = "tar.gz", + sha256 = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3", + strip_prefix = "stable_deref_trait-1.2.0", + build_file = Label("//cargo/remote:stable_deref_trait-1.2.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__static_assertions__1_1_0", + url = "https://crates.io/api/v1/crates/static_assertions/1.1.0/download", + type = "tar.gz", + sha256 = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f", + strip_prefix = "static_assertions-1.1.0", + build_file = Label("//cargo/remote:static_assertions-1.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__subtle__2_3_0", + url = "https://crates.io/api/v1/crates/subtle/2.3.0/download", + type = "tar.gz", + sha256 = "343f3f510c2915908f155e94f17220b19ccfacf2a64a2a5d8004f2c3e311e7fd", + strip_prefix = "subtle-2.3.0", + build_file = Label("//cargo/remote:subtle-2.3.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__syn__1_0_45", + url = "https://crates.io/api/v1/crates/syn/1.0.45/download", + type = "tar.gz", + sha256 = "ea9c5432ff16d6152371f808fb5a871cd67368171b09bb21b43df8e4a47a3556", + strip_prefix = "syn-1.0.45", + build_file = Label("//cargo/remote:syn-1.0.45.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__synstructure__0_12_4", + url = "https://crates.io/api/v1/crates/synstructure/0.12.4/download", + type = "tar.gz", + sha256 = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701", + strip_prefix = "synstructure-0.12.4", + build_file = Label("//cargo/remote:synstructure-0.12.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__take_mut__0_2_2", + url = "https://crates.io/api/v1/crates/take_mut/0.2.2/download", + type = "tar.gz", + sha256 = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60", + strip_prefix = "take_mut-0.2.2", + build_file = Label("//cargo/remote:take_mut-0.2.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tempfile__3_1_0", + url = "https://crates.io/api/v1/crates/tempfile/3.1.0/download", + type = "tar.gz", + sha256 = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9", + strip_prefix = "tempfile-3.1.0", + build_file = Label("//cargo/remote:tempfile-3.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__term__0_6_1", + url = "https://crates.io/api/v1/crates/term/0.6.1/download", + type = "tar.gz", + sha256 = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5", + strip_prefix = "term-0.6.1", + build_file = Label("//cargo/remote:term-0.6.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__termcolor__1_1_0", + url = "https://crates.io/api/v1/crates/termcolor/1.1.0/download", + type = "tar.gz", + sha256 = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f", + strip_prefix = "termcolor-1.1.0", + build_file = Label("//cargo/remote:termcolor-1.1.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__thiserror__1_0_21", + url = "https://crates.io/api/v1/crates/thiserror/1.0.21/download", + type = "tar.gz", + sha256 = "318234ffa22e0920fe9a40d7b8369b5f649d490980cf7aadcf1eb91594869b42", + strip_prefix = "thiserror-1.0.21", + build_file = Label("//cargo/remote:thiserror-1.0.21.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__thiserror_impl__1_0_21", + url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.21/download", + type = "tar.gz", + sha256 = "cae2447b6282786c3493999f40a9be2a6ad20cb8bd268b0a0dbf5a065535c0ab", + strip_prefix = "thiserror-impl-1.0.21", + build_file = Label("//cargo/remote:thiserror-impl-1.0.21.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__thread_local__1_0_1", + url = "https://crates.io/api/v1/crates/thread_local/1.0.1/download", + type = "tar.gz", + sha256 = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14", + strip_prefix = "thread_local-1.0.1", + build_file = Label("//cargo/remote:thread_local-1.0.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__time__0_1_44", + url = "https://crates.io/api/v1/crates/time/0.1.44/download", + type = "tar.gz", + sha256 = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255", + strip_prefix = "time-0.1.44", + build_file = Label("//cargo/remote:time-0.1.44.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tinystr__0_3_4", + url = "https://crates.io/api/v1/crates/tinystr/0.3.4/download", + type = "tar.gz", + sha256 = "29738eedb4388d9ea620eeab9384884fc3f06f586a2eddb56bedc5885126c7c1", + strip_prefix = "tinystr-0.3.4", + build_file = Label("//cargo/remote:tinystr-0.3.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tinyvec__0_3_4", + url = "https://crates.io/api/v1/crates/tinyvec/0.3.4/download", + type = "tar.gz", + sha256 = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117", + strip_prefix = "tinyvec-0.3.4", + build_file = Label("//cargo/remote:tinyvec-0.3.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tokio__0_2_22", + url = "https://crates.io/api/v1/crates/tokio/0.2.22/download", + type = "tar.gz", + sha256 = "5d34ca54d84bf2b5b4d7d31e901a8464f7b60ac145a284fba25ceb801f2ddccd", + strip_prefix = "tokio-0.2.22", + build_file = Label("//cargo/remote:tokio-0.2.22.BUILD.bazel"), + ) + + maybe( + new_git_repository, + name = "raze__tokio_io_timeout__0_4_0", + remote = "https://github.com/ankitects/tokio-io-timeout.git", + commit = "96e1358555c49905de89170f2b1102a7d8b6c4c2", + build_file = Label("//cargo/remote:tokio-io-timeout-0.4.0.BUILD.bazel"), + init_submodules = True, + ) + + maybe( + http_archive, + name = "raze__tokio_rustls__0_13_1", + url = "https://crates.io/api/v1/crates/tokio-rustls/0.13.1/download", + type = "tar.gz", + sha256 = "15cb62a0d2770787abc96e99c1cd98fcf17f94959f3af63ca85bdfb203f051b4", + strip_prefix = "tokio-rustls-0.13.1", + build_file = Label("//cargo/remote:tokio-rustls-0.13.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tokio_socks__0_2_2", + url = "https://crates.io/api/v1/crates/tokio-socks/0.2.2/download", + type = "tar.gz", + sha256 = "1997788a0e25e09300e44680ba1ef9d44d6f634a883641f80109e8b59c928daf", + strip_prefix = "tokio-socks-0.2.2", + build_file = Label("//cargo/remote:tokio-socks-0.2.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tokio_util__0_3_1", + url = "https://crates.io/api/v1/crates/tokio-util/0.3.1/download", + type = "tar.gz", + sha256 = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499", + strip_prefix = "tokio-util-0.3.1", + build_file = Label("//cargo/remote:tokio-util-0.3.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__toml__0_5_7", + url = "https://crates.io/api/v1/crates/toml/0.5.7/download", + type = "tar.gz", + sha256 = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645", + strip_prefix = "toml-0.5.7", + build_file = Label("//cargo/remote:toml-0.5.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tower_service__0_3_0", + url = "https://crates.io/api/v1/crates/tower-service/0.3.0/download", + type = "tar.gz", + sha256 = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860", + strip_prefix = "tower-service-0.3.0", + build_file = Label("//cargo/remote:tower-service-0.3.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tracing__0_1_21", + url = "https://crates.io/api/v1/crates/tracing/0.1.21/download", + type = "tar.gz", + sha256 = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27", + strip_prefix = "tracing-0.1.21", + build_file = Label("//cargo/remote:tracing-0.1.21.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__tracing_core__0_1_17", + url = "https://crates.io/api/v1/crates/tracing-core/0.1.17/download", + type = "tar.gz", + sha256 = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f", + strip_prefix = "tracing-core-0.1.17", + build_file = Label("//cargo/remote:tracing-core-0.1.17.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__try_lock__0_2_3", + url = "https://crates.io/api/v1/crates/try-lock/0.2.3/download", + type = "tar.gz", + sha256 = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642", + strip_prefix = "try-lock-0.2.3", + build_file = Label("//cargo/remote:try-lock-0.2.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__type_map__0_3_0", + url = "https://crates.io/api/v1/crates/type-map/0.3.0/download", + type = "tar.gz", + sha256 = "9d2741b1474c327d95c1f1e3b0a2c3977c8e128409c572a33af2914e7d636717", + strip_prefix = "type-map-0.3.0", + build_file = Label("//cargo/remote:type-map-0.3.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__typenum__1_12_0", + url = "https://crates.io/api/v1/crates/typenum/1.12.0/download", + type = "tar.gz", + sha256 = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33", + strip_prefix = "typenum-1.12.0", + build_file = Label("//cargo/remote:typenum-1.12.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unic_langid__0_8_0", + url = "https://crates.io/api/v1/crates/unic-langid/0.8.0/download", + type = "tar.gz", + sha256 = "24d81136159f779c35b10655f45210c71cd5ca5a45aadfe9840a61c7071735ed", + strip_prefix = "unic-langid-0.8.0", + build_file = Label("//cargo/remote:unic-langid-0.8.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unic_langid_impl__0_8_0", + url = "https://crates.io/api/v1/crates/unic-langid-impl/0.8.0/download", + type = "tar.gz", + sha256 = "c43c61e94492eb67f20facc7b025778a904de83d953d8fcb60dd9adfd6e2d0ea", + strip_prefix = "unic-langid-impl-0.8.0", + build_file = Label("//cargo/remote:unic-langid-impl-0.8.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unic_langid_macros__0_8_0", + url = "https://crates.io/api/v1/crates/unic-langid-macros/0.8.0/download", + type = "tar.gz", + sha256 = "49bd90791278634d57e3ed4a4073108e3f79bfb87ab6a7b8664ba097425703df", + strip_prefix = "unic-langid-macros-0.8.0", + build_file = Label("//cargo/remote:unic-langid-macros-0.8.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unic_langid_macros_impl__0_8_0", + url = "https://crates.io/api/v1/crates/unic-langid-macros-impl/0.8.0/download", + type = "tar.gz", + sha256 = "e0098f77bd754f8fb7850cdf4ab143aa821898c4ac6dc16bcb2aa3e62ce858d1", + strip_prefix = "unic-langid-macros-impl-0.8.0", + build_file = Label("//cargo/remote:unic-langid-macros-impl-0.8.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unicase__2_6_0", + url = "https://crates.io/api/v1/crates/unicase/2.6.0/download", + type = "tar.gz", + sha256 = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6", + strip_prefix = "unicase-2.6.0", + build_file = Label("//cargo/remote:unicase-2.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unicode_bidi__0_3_4", + url = "https://crates.io/api/v1/crates/unicode-bidi/0.3.4/download", + type = "tar.gz", + sha256 = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5", + strip_prefix = "unicode-bidi-0.3.4", + build_file = Label("//cargo/remote:unicode-bidi-0.3.4.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unicode_normalization__0_1_13", + url = "https://crates.io/api/v1/crates/unicode-normalization/0.1.13/download", + type = "tar.gz", + sha256 = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977", + strip_prefix = "unicode-normalization-0.1.13", + build_file = Label("//cargo/remote:unicode-normalization-0.1.13.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unicode_segmentation__1_6_0", + url = "https://crates.io/api/v1/crates/unicode-segmentation/1.6.0/download", + type = "tar.gz", + sha256 = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0", + strip_prefix = "unicode-segmentation-1.6.0", + build_file = Label("//cargo/remote:unicode-segmentation-1.6.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unicode_xid__0_2_1", + url = "https://crates.io/api/v1/crates/unicode-xid/0.2.1/download", + type = "tar.gz", + sha256 = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564", + strip_prefix = "unicode-xid-0.2.1", + build_file = Label("//cargo/remote:unicode-xid-0.2.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__unindent__0_1_7", + url = "https://crates.io/api/v1/crates/unindent/0.1.7/download", + type = "tar.gz", + sha256 = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7", + strip_prefix = "unindent-0.1.7", + build_file = Label("//cargo/remote:unindent-0.1.7.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__untrusted__0_7_1", + url = "https://crates.io/api/v1/crates/untrusted/0.7.1/download", + type = "tar.gz", + sha256 = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a", + strip_prefix = "untrusted-0.7.1", + build_file = Label("//cargo/remote:untrusted-0.7.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__url__2_1_1", + url = "https://crates.io/api/v1/crates/url/2.1.1/download", + type = "tar.gz", + sha256 = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb", + strip_prefix = "url-2.1.1", + build_file = Label("//cargo/remote:url-2.1.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__utime__0_3_1", + url = "https://crates.io/api/v1/crates/utime/0.3.1/download", + type = "tar.gz", + sha256 = "91baa0c65eabd12fcbdac8cc35ff16159cab95cae96d0222d6d0271db6193cef", + strip_prefix = "utime-0.3.1", + build_file = Label("//cargo/remote:utime-0.3.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__vcpkg__0_2_10", + url = "https://crates.io/api/v1/crates/vcpkg/0.2.10/download", + type = "tar.gz", + sha256 = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c", + strip_prefix = "vcpkg-0.2.10", + build_file = Label("//cargo/remote:vcpkg-0.2.10.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__version_check__0_9_2", + url = "https://crates.io/api/v1/crates/version_check/0.9.2/download", + type = "tar.gz", + sha256 = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed", + strip_prefix = "version_check-0.9.2", + build_file = Label("//cargo/remote:version_check-0.9.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__want__0_3_0", + url = "https://crates.io/api/v1/crates/want/0.3.0/download", + type = "tar.gz", + sha256 = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0", + strip_prefix = "want-0.3.0", + build_file = Label("//cargo/remote:want-0.3.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasi__0_10_0_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.10.0+wasi-snapshot-preview1/download", + type = "tar.gz", + sha256 = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f", + strip_prefix = "wasi-0.10.0+wasi-snapshot-preview1", + build_file = Label("//cargo/remote:wasi-0.10.0+wasi-snapshot-preview1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasi__0_9_0_wasi_snapshot_preview1", + url = "https://crates.io/api/v1/crates/wasi/0.9.0+wasi-snapshot-preview1/download", + type = "tar.gz", + sha256 = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519", + strip_prefix = "wasi-0.9.0+wasi-snapshot-preview1", + build_file = Label("//cargo/remote:wasi-0.9.0+wasi-snapshot-preview1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen__0_2_68", + url = "https://crates.io/api/v1/crates/wasm-bindgen/0.2.68/download", + type = "tar.gz", + sha256 = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42", + strip_prefix = "wasm-bindgen-0.2.68", + build_file = Label("//cargo/remote:wasm-bindgen-0.2.68.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_backend__0_2_68", + url = "https://crates.io/api/v1/crates/wasm-bindgen-backend/0.2.68/download", + type = "tar.gz", + sha256 = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68", + strip_prefix = "wasm-bindgen-backend-0.2.68", + build_file = Label("//cargo/remote:wasm-bindgen-backend-0.2.68.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_futures__0_4_18", + url = "https://crates.io/api/v1/crates/wasm-bindgen-futures/0.4.18/download", + type = "tar.gz", + sha256 = "b7866cab0aa01de1edf8b5d7936938a7e397ee50ce24119aef3e1eaa3b6171da", + strip_prefix = "wasm-bindgen-futures-0.4.18", + build_file = Label("//cargo/remote:wasm-bindgen-futures-0.4.18.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_macro__0_2_68", + url = "https://crates.io/api/v1/crates/wasm-bindgen-macro/0.2.68/download", + type = "tar.gz", + sha256 = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038", + strip_prefix = "wasm-bindgen-macro-0.2.68", + build_file = Label("//cargo/remote:wasm-bindgen-macro-0.2.68.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_macro_support__0_2_68", + url = "https://crates.io/api/v1/crates/wasm-bindgen-macro-support/0.2.68/download", + type = "tar.gz", + sha256 = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe", + strip_prefix = "wasm-bindgen-macro-support-0.2.68", + build_file = Label("//cargo/remote:wasm-bindgen-macro-support-0.2.68.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__wasm_bindgen_shared__0_2_68", + url = "https://crates.io/api/v1/crates/wasm-bindgen-shared/0.2.68/download", + type = "tar.gz", + sha256 = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307", + strip_prefix = "wasm-bindgen-shared-0.2.68", + build_file = Label("//cargo/remote:wasm-bindgen-shared-0.2.68.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__web_sys__0_3_45", + url = "https://crates.io/api/v1/crates/web-sys/0.3.45/download", + type = "tar.gz", + sha256 = "4bf6ef87ad7ae8008e15a355ce696bed26012b7caa21605188cfd8214ab51e2d", + strip_prefix = "web-sys-0.3.45", + build_file = Label("//cargo/remote:web-sys-0.3.45.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__webpki__0_21_3", + url = "https://crates.io/api/v1/crates/webpki/0.21.3/download", + type = "tar.gz", + sha256 = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae", + strip_prefix = "webpki-0.21.3", + build_file = Label("//cargo/remote:webpki-0.21.3.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__webpki_roots__0_18_0", + url = "https://crates.io/api/v1/crates/webpki-roots/0.18.0/download", + type = "tar.gz", + sha256 = "91cd5736df7f12a964a5067a12c62fa38e1bd8080aff1f80bc29be7c80d19ab4", + strip_prefix = "webpki-roots-0.18.0", + build_file = Label("//cargo/remote:webpki-roots-0.18.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__webpki_roots__0_19_0", + url = "https://crates.io/api/v1/crates/webpki-roots/0.19.0/download", + type = "tar.gz", + sha256 = "f8eff4b7516a57307f9349c64bf34caa34b940b66fed4b2fb3136cb7386e5739", + strip_prefix = "webpki-roots-0.19.0", + build_file = Label("//cargo/remote:webpki-roots-0.19.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__which__4_0_2", + url = "https://crates.io/api/v1/crates/which/4.0.2/download", + type = "tar.gz", + sha256 = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef", + strip_prefix = "which-4.0.2", + build_file = Label("//cargo/remote:which-4.0.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winapi__0_2_8", + url = "https://crates.io/api/v1/crates/winapi/0.2.8/download", + type = "tar.gz", + sha256 = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a", + strip_prefix = "winapi-0.2.8", + build_file = Label("//cargo/remote:winapi-0.2.8.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winapi__0_3_9", + url = "https://crates.io/api/v1/crates/winapi/0.3.9/download", + type = "tar.gz", + sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", + strip_prefix = "winapi-0.3.9", + build_file = Label("//cargo/remote:winapi-0.3.9.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winapi_build__0_1_1", + url = "https://crates.io/api/v1/crates/winapi-build/0.1.1/download", + type = "tar.gz", + sha256 = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc", + strip_prefix = "winapi-build-0.1.1", + build_file = Label("//cargo/remote:winapi-build-0.1.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winapi_i686_pc_windows_gnu__0_4_0", + url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download", + type = "tar.gz", + sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", + strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", + build_file = Label("//cargo/remote:winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winapi_util__0_1_5", + url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download", + type = "tar.gz", + sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178", + strip_prefix = "winapi-util-0.1.5", + build_file = Label("//cargo/remote:winapi-util-0.1.5.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0", + url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download", + type = "tar.gz", + sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", + strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", + build_file = Label("//cargo/remote:winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__winreg__0_6_2", + url = "https://crates.io/api/v1/crates/winreg/0.6.2/download", + type = "tar.gz", + sha256 = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9", + strip_prefix = "winreg-0.6.2", + build_file = Label("//cargo/remote:winreg-0.6.2.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__ws2_32_sys__0_2_1", + url = "https://crates.io/api/v1/crates/ws2_32-sys/0.2.1/download", + type = "tar.gz", + sha256 = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e", + strip_prefix = "ws2_32-sys-0.2.1", + build_file = Label("//cargo/remote:ws2_32-sys-0.2.1.BUILD.bazel"), + ) + + maybe( + http_archive, + name = "raze__zip__0_5_8", + url = "https://crates.io/api/v1/crates/zip/0.5.8/download", + type = "tar.gz", + sha256 = "543adf038106b64cfca4711c82c917d785e3540e04f7996554488f988ec43124", + strip_prefix = "zip-0.5.8", + build_file = Label("//cargo/remote:zip-0.5.8.BUILD.bazel"), + ) diff --git a/cargo/remote/BUILD.bazel b/cargo/remote/BUILD.bazel new file mode 100644 index 000000000..e69de29bb diff --git a/cargo/remote/addr2line-0.13.0.BUILD.bazel b/cargo/remote/addr2line-0.13.0.BUILD.bazel new file mode 100644 index 000000000..ab80831c6 --- /dev/null +++ b/cargo/remote/addr2line-0.13.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "addr2line" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "addr2line", + crate_type = "lib", + deps = [ + "@raze__gimli__0_22_0//:gimli", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.13.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "correctness" with type "test" omitted +# Unsupported target "output_equivalence" with type "test" omitted +# Unsupported target "parse" with type "test" omitted diff --git a/cargo/remote/adler-0.2.3.BUILD.bazel b/cargo/remote/adler-0.2.3.BUILD.bazel new file mode 100644 index 000000000..61d42c0b9 --- /dev/null +++ b/cargo/remote/adler-0.2.3.BUILD.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 "0BSD OR (MIT OR Apache-2.0)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "adler", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "bench" with type "bench" omitted diff --git a/cargo/remote/adler32-1.2.0.BUILD.bazel b/cargo/remote/adler32-1.2.0.BUILD.bazel new file mode 100644 index 000000000..ac5344fea --- /dev/null +++ b/cargo/remote/adler32-1.2.0.BUILD.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", # Zlib from expression "Zlib" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "adler32", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "bench" with type "bench" omitted diff --git a/cargo/remote/aho-corasick-0.7.14.BUILD.bazel b/cargo/remote/aho-corasick-0.7.14.BUILD.bazel new file mode 100644 index 000000000..5a620152c --- /dev/null +++ b/cargo/remote/aho-corasick-0.7.14.BUILD.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([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "aho_corasick", + crate_type = "lib", + deps = [ + "@raze__memchr__2_3_3//:memchr", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.14", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/anyhow-1.0.33.BUILD.bazel b/cargo/remote/anyhow-1.0.33.BUILD.bazel new file mode 100644 index 000000000..0b0b1ed40 --- /dev/null +++ b/cargo/remote/anyhow-1.0.33.BUILD.bazel @@ -0,0 +1,99 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "anyhow_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.33", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "anyhow", + crate_type = "lib", + deps = [ + ":anyhow_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.33", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "test_autotrait" with type "test" omitted +# Unsupported target "test_backtrace" with type "test" omitted +# Unsupported target "test_boxed" with type "test" omitted +# Unsupported target "test_chain" with type "test" omitted +# Unsupported target "test_context" with type "test" omitted +# Unsupported target "test_convert" with type "test" omitted +# Unsupported target "test_downcast" with type "test" omitted +# Unsupported target "test_fmt" with type "test" omitted +# Unsupported target "test_macros" with type "test" omitted +# Unsupported target "test_repr" with type "test" omitted +# Unsupported target "test_source" with type "test" omitted diff --git a/cargo/remote/arc-swap-0.4.7.BUILD.bazel b/cargo/remote/arc-swap-0.4.7.BUILD.bazel new file mode 100644 index 000000000..e4bd85d7a --- /dev/null +++ b/cargo/remote/arc-swap-0.4.7.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "arc_swap", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "random" with type "test" omitted +# Unsupported target "stress" with type "test" omitted +# Unsupported target "version" with type "test" omitted diff --git a/cargo/remote/arrayref-0.3.6.BUILD.bazel b/cargo/remote/arrayref-0.3.6.BUILD.bazel new file mode 100644 index 000000000..dbb3ddf5c --- /dev/null +++ b/cargo/remote/arrayref-0.3.6.BUILD.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([ + "restricted", # BSD-2-Clause from expression "BSD-2-Clause" +]) + +# Generated targets +# Unsupported target "array_refs" with type "example" omitted +# Unsupported target "array_refs_with_const" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "arrayref", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "simple-case" with type "example" omitted diff --git a/cargo/remote/arrayvec-0.4.12.BUILD.bazel b/cargo/remote/arrayvec-0.4.12.BUILD.bazel new file mode 100644 index 000000000..8d0674892 --- /dev/null +++ b/cargo/remote/arrayvec-0.4.12.BUILD.bazel @@ -0,0 +1,92 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "arrayvec_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.12", + visibility = ["//visibility:private"], +) + +# Unsupported target "arraystring" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "arrayvec", + crate_type = "lib", + deps = [ + ":arrayvec_build_script", + "@raze__nodrop__0_1_14//:nodrop", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.12", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "extend" with type "bench" omitted +# Unsupported target "serde" with type "test" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/arrayvec-0.5.1.BUILD.bazel b/cargo/remote/arrayvec-0.5.1.BUILD.bazel new file mode 100644 index 000000000..fb489bcff --- /dev/null +++ b/cargo/remote/arrayvec-0.5.1.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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 "arraystring" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "arrayvec", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "array-sizes-33-128", + "default", + "std", + ], +) +# Unsupported target "extend" with type "bench" omitted +# Unsupported target "serde" with type "test" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/askama-0.10.3.BUILD.bazel b/cargo/remote/askama-0.10.3.BUILD.bazel new file mode 100644 index 000000000..b391b46bd --- /dev/null +++ b/cargo/remote/askama-0.10.3.BUILD.bazel @@ -0,0 +1,62 @@ +""" +@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: leave-alone +rust_library( + name = "askama", + crate_type = "lib", + deps = [ + "@raze__askama_escape__0_10_1//:askama_escape", + "@raze__askama_shared__0_10_4//:askama_shared", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__askama_derive__0_10_3//:askama_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "config", + "default", + "humansize", + "num-traits", + "urlencode", + ], +) diff --git a/cargo/remote/askama_derive-0.10.3.BUILD.bazel b/cargo/remote/askama_derive-0.10.3.BUILD.bazel new file mode 100644 index 000000000..737685b64 --- /dev/null +++ b/cargo/remote/askama_derive-0.10.3.BUILD.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 OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "askama_derive", + crate_type = "proc-macro", + deps = [ + "@raze__askama_shared__0_10_4//:askama_shared", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/askama_escape-0.10.1.BUILD.bazel b/cargo/remote/askama_escape-0.10.1.BUILD.bazel new file mode 100644 index 000000000..f7e1e5cf1 --- /dev/null +++ b/cargo/remote/askama_escape-0.10.1.BUILD.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 +# Unsupported target "all" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "askama_escape", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/askama_shared-0.10.4.BUILD.bazel b/cargo/remote/askama_shared-0.10.4.BUILD.bazel new file mode 100644 index 000000000..7922db908 --- /dev/null +++ b/cargo/remote/askama_shared-0.10.4.BUILD.bazel @@ -0,0 +1,68 @@ +""" +@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: leave-alone +rust_library( + name = "askama_shared", + crate_type = "lib", + deps = [ + "@raze__askama_escape__0_10_1//:askama_escape", + "@raze__humansize__1_1_0//:humansize", + "@raze__nom__5_1_2//:nom", + "@raze__num_traits__0_2_12//:num_traits", + "@raze__percent_encoding__2_1_0//:percent_encoding", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__serde__1_0_117//:serde", + "@raze__syn__1_0_45//:syn", + "@raze__toml__0_5_7//:toml", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "config", + "humansize", + "num-traits", + "percent-encoding", + "serde", + "toml", + ], +) diff --git a/cargo/remote/async-compression-0.3.5.BUILD.bazel b/cargo/remote/async-compression-0.3.5.BUILD.bazel new file mode 100644 index 000000000..eca6aad7a --- /dev/null +++ b/cargo/remote/async-compression-0.3.5.BUILD.bazel @@ -0,0 +1,71 @@ +""" +@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: leave-alone +rust_library( + name = "async_compression", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__flate2__1_0_14//:flate2", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__memchr__2_3_3//:memchr", + "@raze__pin_project_lite__0_1_11//:pin_project_lite", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "bytes", + "default", + "flate2", + "gzip", + "stream", + ], +) +# Unsupported target "brotli" with type "test" omitted +# Unsupported target "bzip2" with type "test" omitted +# Unsupported target "deflate" with type "test" omitted +# Unsupported target "gzip" with type "test" omitted +# Unsupported target "lzma" with type "test" omitted +# Unsupported target "proptest" with type "test" omitted +# Unsupported target "xz" with type "test" omitted +# Unsupported target "zlib" with type "test" omitted +# Unsupported target "zstd" with type "test" omitted diff --git a/cargo/remote/atty-0.2.14.BUILD.bazel b/cargo/remote/atty-0.2.14.BUILD.bazel new file mode 100644 index 000000000..c1efb5df2 --- /dev/null +++ b/cargo/remote/atty-0.2.14.BUILD.bazel @@ -0,0 +1,77 @@ +""" +@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 "atty" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "atty", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.14", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/autocfg-1.0.1.BUILD.bazel b/cargo/remote/autocfg-1.0.1.BUILD.bazel new file mode 100644 index 000000000..b9d60c695 --- /dev/null +++ b/cargo/remote/autocfg-1.0.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "autocfg", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "integers" with type "example" omitted +# Unsupported target "paths" with type "example" omitted +# Unsupported target "rustflags" with type "test" omitted +# Unsupported target "traits" with type "example" omitted +# Unsupported target "versions" with type "example" omitted diff --git a/cargo/remote/backtrace-0.3.53.BUILD.bazel b/cargo/remote/backtrace-0.3.53.BUILD.bazel new file mode 100644 index 000000000..252cdb1bf --- /dev/null +++ b/cargo/remote/backtrace-0.3.53.BUILD.bazel @@ -0,0 +1,82 @@ +""" +@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 "accuracy" with type "test" omitted +# Unsupported target "backtrace" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "backtrace", + crate_type = "lib", + deps = [ + "@raze__addr2line__0_13_0//:addr2line", + "@raze__cfg_if__1_0_0//:cfg_if", + "@raze__libc__0_2_79//:libc", + "@raze__miniz_oxide__0_4_3//:miniz_oxide", + "@raze__object__0_21_1//:object", + "@raze__rustc_demangle__0_1_17//:rustc_demangle", + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.53", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "addr2line", + "default", + "gimli-symbolize", + "miniz_oxide", + "object", + "std", + ], + aliases = { + }, +) +# Unsupported target "benchmarks" with type "bench" omitted +# Unsupported target "concurrent-panics" with type "test" omitted +# Unsupported target "long_fn_name" with type "test" omitted +# Unsupported target "raw" with type "example" omitted +# Unsupported target "skip_inner_frames" with type "test" omitted +# Unsupported target "smoke" with type "test" omitted diff --git a/cargo/remote/base64-0.11.0.BUILD.bazel b/cargo/remote/base64-0.11.0.BUILD.bazel new file mode 100644 index 000000000..179ee43bb --- /dev/null +++ b/cargo/remote/base64-0.11.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "base64", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.11.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# 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/base64-0.12.3.BUILD.bazel b/cargo/remote/base64-0.12.3.BUILD.bazel new file mode 100644 index 000000000..d3ff8a43c --- /dev/null +++ b/cargo/remote/base64-0.12.3.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "base64", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.12.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# 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/bitflags-1.2.1.BUILD.bazel b/cargo/remote/bitflags-1.2.1.BUILD.bazel new file mode 100644 index 000000000..89c4d9072 --- /dev/null +++ b/cargo/remote/bitflags-1.2.1.BUILD.bazel @@ -0,0 +1,85 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "bitflags_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.2.1", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "bitflags", + crate_type = "lib", + deps = [ + ":bitflags_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.2.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/blake2b_simd-0.5.10.BUILD.bazel b/cargo/remote/blake2b_simd-0.5.10.BUILD.bazel new file mode 100644 index 000000000..c1e7859e7 --- /dev/null +++ b/cargo/remote/blake2b_simd-0.5.10.BUILD.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" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "blake2b_simd", + crate_type = "lib", + deps = [ + "@raze__arrayref__0_3_6//:arrayref", + "@raze__arrayvec__0_5_1//:arrayvec", + "@raze__constant_time_eq__0_1_5//:constant_time_eq", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.10", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/blake3-0.3.7.BUILD.bazel b/cargo/remote/blake3-0.3.7.BUILD.bazel new file mode 100644 index 000000000..f01428969 --- /dev/null +++ b/cargo/remote/blake3-0.3.7.BUILD.bazel @@ -0,0 +1,95 @@ +""" +@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([ + "unencumbered", # CC0-1.0 from expression "CC0-1.0 OR Apache-2.0" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "blake3_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__cc__1_0_61//:cc", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.7", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "blake3", + crate_type = "lib", + deps = [ + ":blake3_build_script", + "@raze__arrayref__0_3_6//:arrayref", + "@raze__arrayvec__0_5_1//:arrayvec", + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__constant_time_eq__0_1_5//:constant_time_eq", + "@raze__crypto_mac__0_8_0//:crypto_mac", + "@raze__digest__0_9_0//:digest", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/bumpalo-3.4.0.BUILD.bazel b/cargo/remote/bumpalo-3.4.0.BUILD.bazel new file mode 100644 index 000000000..cc4837a3d --- /dev/null +++ b/cargo/remote/bumpalo-3.4.0.BUILD.bazel @@ -0,0 +1,62 @@ +""" +@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 "alloc_fill" with type "test" omitted +# Unsupported target "alloc_with" with type "test" omitted +# Unsupported target "benches" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "bumpalo", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "3.4.0", + tags = [ + "cargo-raze", + "manual", + ], + 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 "try_alloc" with type "test" omitted +# Unsupported target "vec" with type "test" omitted diff --git a/cargo/remote/byteorder-1.3.4.BUILD.bazel b/cargo/remote/byteorder-1.3.4.BUILD.bazel new file mode 100644 index 000000000..37fc73698 --- /dev/null +++ b/cargo/remote/byteorder-1.3.4.BUILD.bazel @@ -0,0 +1,88 @@ +""" +@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([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "byteorder_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.3.4", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "byteorder", + crate_type = "lib", + deps = [ + ":byteorder_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.3.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/bytes-0.4.12.BUILD.bazel b/cargo/remote/bytes-0.4.12.BUILD.bazel new file mode 100644 index 000000000..98b1053ca --- /dev/null +++ b/cargo/remote/bytes-0.4.12.BUILD.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" +]) + +# Generated targets +# Unsupported target "bytes" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "bytes", + crate_type = "lib", + deps = [ + "@raze__byteorder__1_3_4//:byteorder", + "@raze__iovec__0_1_4//:iovec", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.12", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test_buf" with type "test" omitted +# Unsupported target "test_buf_mut" with type "test" omitted +# Unsupported target "test_bytes" with type "test" omitted +# Unsupported target "test_chain" with type "test" omitted +# Unsupported target "test_debug" with type "test" omitted +# Unsupported target "test_from_buf" with type "test" omitted +# Unsupported target "test_iter" with type "test" omitted +# Unsupported target "test_reader" with type "test" omitted +# Unsupported target "test_serde" with type "test" omitted +# Unsupported target "test_take" with type "test" omitted diff --git a/cargo/remote/bytes-0.5.6.BUILD.bazel b/cargo/remote/bytes-0.5.6.BUILD.bazel new file mode 100644 index 000000000..7ceeb84f1 --- /dev/null +++ b/cargo/remote/bytes-0.5.6.BUILD.bazel @@ -0,0 +1,68 @@ +""" +@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 "buf" with type "bench" omitted +# Unsupported target "bytes" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "bytes", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "bytes_mut" with type "bench" omitted +# Unsupported target "test_buf" with type "test" omitted +# Unsupported target "test_buf_mut" with type "test" omitted +# Unsupported target "test_bytes" with type "test" omitted +# Unsupported target "test_bytes_odd_alloc" with type "test" omitted +# Unsupported target "test_bytes_vec_alloc" with type "test" omitted +# Unsupported target "test_chain" with type "test" omitted +# Unsupported target "test_debug" with type "test" omitted +# Unsupported target "test_iter" with type "test" omitted +# Unsupported target "test_reader" with type "test" omitted +# Unsupported target "test_serde" with type "test" omitted +# Unsupported target "test_take" with type "test" omitted diff --git a/cargo/remote/cc-1.0.61.BUILD.bazel b/cargo/remote/cc-1.0.61.BUILD.bazel new file mode 100644 index 000000000..37401f502 --- /dev/null +++ b/cargo/remote/cc-1.0.61.BUILD.bazel @@ -0,0 +1,80 @@ +""" +@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: leave-alone +rust_library( + name = "cc", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.61", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "cc_env" with type "test" omitted +# Unsupported target "cflags" with type "test" omitted +# Unsupported target "cxxflags" with type "test" omitted + +# buildifier: leave-alone +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", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":cc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/gcc-shim.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.61", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/cfg-if-0.1.10.BUILD.bazel b/cargo/remote/cfg-if-0.1.10.BUILD.bazel new file mode 100644 index 000000000..747af181a --- /dev/null +++ b/cargo/remote/cfg-if-0.1.10.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "cfg_if", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.10", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "xcrate" with type "test" omitted diff --git a/cargo/remote/cfg-if-1.0.0.BUILD.bazel b/cargo/remote/cfg-if-1.0.0.BUILD.bazel new file mode 100644 index 000000000..bda140871 --- /dev/null +++ b/cargo/remote/cfg-if-1.0.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "cfg_if", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "xcrate" with type "test" omitted diff --git a/cargo/remote/chrono-0.4.19.BUILD.bazel b/cargo/remote/chrono-0.4.19.BUILD.bazel new file mode 100644 index 000000000..812dedd8a --- /dev/null +++ b/cargo/remote/chrono-0.4.19.BUILD.bazel @@ -0,0 +1,77 @@ +""" +@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 "chrono" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "chrono", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_79//:libc", + "@raze__num_integer__0_1_43//:num_integer", + "@raze__num_traits__0_2_12//:num_traits", + "@raze__time__0_1_44//:time", + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.19", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "clock", + "default", + "libc", + "oldtime", + "std", + "time", + "winapi", + ], + aliases = { + }, +) +# Unsupported target "serde" with type "bench" omitted +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/cloudabi-0.1.0.BUILD.bazel b/cargo/remote/cloudabi-0.1.0.BUILD.bazel new file mode 100644 index 000000000..1441d5553 --- /dev/null +++ b/cargo/remote/cloudabi-0.1.0.BUILD.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([ + "restricted", # BSD-2-Clause from expression "BSD-2-Clause" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "cloudabi", + crate_type = "lib", + deps = [ + "@raze__bitflags__1_2_1//:bitflags", + ], + srcs = glob(["**/*.rs"]), + crate_root = "cloudabi.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "bitflags", + "default", + ], +) diff --git a/cargo/remote/coarsetime-0.1.14.BUILD.bazel b/cargo/remote/coarsetime-0.1.14.BUILD.bazel new file mode 100644 index 000000000..7d1c1b7f1 --- /dev/null +++ b/cargo/remote/coarsetime-0.1.14.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # ISC from expression "ISC" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "coarsetime", + crate_type = "lib", + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__libc__0_2_79//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.14", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/constant_time_eq-0.1.5.BUILD.bazel b/cargo/remote/constant_time_eq-0.1.5.BUILD.bazel new file mode 100644 index 000000000..f779ebdf0 --- /dev/null +++ b/cargo/remote/constant_time_eq-0.1.5.BUILD.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([ + "unencumbered", # CC0-1.0 from expression "CC0-1.0" +]) + +# Generated targets +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "constant_time_eq", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/crc32fast-1.2.0.BUILD.bazel b/cargo/remote/crc32fast-1.2.0.BUILD.bazel new file mode 100644 index 000000000..a7fb75cf1 --- /dev/null +++ b/cargo/remote/crc32fast-1.2.0.BUILD.bazel @@ -0,0 +1,89 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "crc32fast_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.2.0", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "crc32fast", + crate_type = "lib", + deps = [ + ":crc32fast_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/crossbeam-0.7.3.BUILD.bazel b/cargo/remote/crossbeam-0.7.3.BUILD.bazel new file mode 100644 index 000000000..56239e985 --- /dev/null +++ b/cargo/remote/crossbeam-0.7.3.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "crossbeam", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__crossbeam_channel__0_4_4//:crossbeam_channel", + "@raze__crossbeam_deque__0_7_3//:crossbeam_deque", + "@raze__crossbeam_epoch__0_8_2//:crossbeam_epoch", + "@raze__crossbeam_queue__0_2_3//:crossbeam_queue", + "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-queue", + "default", + "std", + ], +) +# Unsupported target "subcrates" with type "test" omitted diff --git a/cargo/remote/crossbeam-channel-0.4.4.BUILD.bazel b/cargo/remote/crossbeam-channel-0.4.4.BUILD.bazel new file mode 100644 index 000000000..074af545d --- /dev/null +++ b/cargo/remote/crossbeam-channel-0.4.4.BUILD.bazel @@ -0,0 +1,72 @@ +""" +@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 "after" with type "test" omitted +# Unsupported target "array" with type "test" omitted +# Unsupported target "crossbeam" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "crossbeam_channel", + crate_type = "lib", + deps = [ + "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + "@raze__maybe_uninit__2_0_0//:maybe_uninit", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "fibonacci" with type "example" omitted +# Unsupported target "golang" with type "test" omitted +# Unsupported target "iter" with type "test" omitted +# Unsupported target "list" with type "test" omitted +# Unsupported target "matching" with type "example" omitted +# Unsupported target "mpsc" with type "test" omitted +# Unsupported target "never" with type "test" omitted +# Unsupported target "ready" with type "test" omitted +# Unsupported target "same_channel" with type "test" omitted +# Unsupported target "select" with type "test" omitted +# Unsupported target "select_macro" with type "test" omitted +# Unsupported target "stopwatch" with type "example" omitted +# Unsupported target "thread_locals" with type "test" omitted +# Unsupported target "tick" with type "test" omitted +# Unsupported target "zero" with type "test" omitted diff --git a/cargo/remote/crossbeam-deque-0.7.3.BUILD.bazel b/cargo/remote/crossbeam-deque-0.7.3.BUILD.bazel new file mode 100644 index 000000000..ebef1b19a --- /dev/null +++ b/cargo/remote/crossbeam-deque-0.7.3.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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: leave-alone +rust_library( + name = "crossbeam_deque", + crate_type = "lib", + deps = [ + "@raze__crossbeam_epoch__0_8_2//:crossbeam_epoch", + "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + "@raze__maybe_uninit__2_0_0//:maybe_uninit", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "fifo" with type "test" omitted +# Unsupported target "injector" with type "test" omitted +# Unsupported target "lifo" with type "test" omitted +# Unsupported target "steal" with type "test" omitted diff --git a/cargo/remote/crossbeam-epoch-0.8.2.BUILD.bazel b/cargo/remote/crossbeam-epoch-0.8.2.BUILD.bazel new file mode 100644 index 000000000..a79b08d8f --- /dev/null +++ b/cargo/remote/crossbeam-epoch-0.8.2.BUILD.bazel @@ -0,0 +1,101 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "crossbeam_epoch_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "lazy_static", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.2", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "crossbeam_epoch", + crate_type = "lib", + deps = [ + ":crossbeam_epoch_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__maybe_uninit__2_0_0//:maybe_uninit", + "@raze__memoffset__0_5_6//:memoffset", + "@raze__scopeguard__1_1_0//:scopeguard", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "lazy_static", + "std", + ], +) +# Unsupported target "defer" with type "bench" omitted +# Unsupported target "flush" with type "bench" omitted +# Unsupported target "pin" with type "bench" omitted +# Unsupported target "sanitize" with type "example" omitted +# Unsupported target "treiber_stack" with type "example" omitted diff --git a/cargo/remote/crossbeam-queue-0.2.3.BUILD.bazel b/cargo/remote/crossbeam-queue-0.2.3.BUILD.bazel new file mode 100644 index 000000000..4c0cea699 --- /dev/null +++ b/cargo/remote/crossbeam-queue-0.2.3.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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 AND BSD-2-Clause)" +]) + +# Generated targets +# Unsupported target "array_queue" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "crossbeam_queue", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + "@raze__maybe_uninit__2_0_0//:maybe_uninit", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "seg_queue" with type "test" omitted diff --git a/cargo/remote/crossbeam-utils-0.7.2.BUILD.bazel b/cargo/remote/crossbeam-utils-0.7.2.BUILD.bazel new file mode 100644 index 000000000..24f8f5990 --- /dev/null +++ b/cargo/remote/crossbeam-utils-0.7.2.BUILD.bazel @@ -0,0 +1,99 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "crossbeam_utils_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "lazy_static", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.2", + visibility = ["//visibility:private"], +) + +# Unsupported target "atomic_cell" with type "bench" omitted +# Unsupported target "atomic_cell" with type "test" omitted +# Unsupported target "cache_padded" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "crossbeam_utils", + crate_type = "lib", + deps = [ + ":crossbeam_utils_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__lazy_static__1_4_0//:lazy_static", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "lazy_static", + "std", + ], +) +# Unsupported target "parker" with type "test" omitted +# Unsupported target "sharded_lock" with type "test" omitted +# Unsupported target "thread" with type "test" omitted +# Unsupported target "wait_group" with type "test" omitted diff --git a/cargo/remote/crypto-mac-0.8.0.BUILD.bazel b/cargo/remote/crypto-mac-0.8.0.BUILD.bazel new file mode 100644 index 000000000..93334616e --- /dev/null +++ b/cargo/remote/crypto-mac-0.8.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "crypto_mac", + crate_type = "lib", + deps = [ + "@raze__generic_array__0_14_4//:generic_array", + "@raze__subtle__2_3_0//:subtle", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/ct-logs-0.6.0.BUILD.bazel b/cargo/remote/ct-logs-0.6.0.BUILD.bazel new file mode 100644 index 000000000..9a4eaefe5 --- /dev/null +++ b/cargo/remote/ct-logs-0.6.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "ct_logs", + crate_type = "lib", + deps = [ + "@raze__sct__0_6_0//:sct", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/ctor-0.1.16.BUILD.bazel b/cargo/remote/ctor-0.1.16.BUILD.bazel new file mode 100644 index 000000000..5798168d4 --- /dev/null +++ b/cargo/remote/ctor-0.1.16.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "ctor", + crate_type = "proc-macro", + deps = [ + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.16", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "example" with type "example" omitted diff --git a/cargo/remote/derivative-2.1.1.BUILD.bazel b/cargo/remote/derivative-2.1.1.BUILD.bazel new file mode 100644 index 000000000..2a7249e6e --- /dev/null +++ b/cargo/remote/derivative-2.1.1.BUILD.bazel @@ -0,0 +1,122 @@ +""" +@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 "compile-test" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "derivative", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.1.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "use_core", + ], +) +# Unsupported target "derive-clone" with type "test" omitted +# Unsupported target "derive-clone-generics" with type "test" omitted +# Unsupported target "derive-debug" with type "test" omitted +# Unsupported target "derive-debug-bounds" with type "test" omitted +# Unsupported target "derive-debug-generics" with type "test" omitted +# Unsupported target "derive-debug-transparent" with type "test" omitted +# Unsupported target "derive-default" with type "test" omitted +# Unsupported target "derive-default-bounds" with type "test" omitted +# Unsupported target "derive-eq" with type "test" omitted +# Unsupported target "derive-hash" with type "test" omitted +# Unsupported target "derive-ord" with type "test" omitted +# Unsupported target "derive-partial-eq" with type "test" omitted +# Unsupported target "issue-37-turbofish" with type "test" omitted +# Unsupported target "issue-55" with type "test" omitted +# Unsupported target "issue-57" with type "test" omitted +# Unsupported target "issue-58" with type "test" omitted +# Unsupported target "issue-67" with type "test" omitted +# Unsupported target "rustc-class-implement-traits" with type "test" omitted +# Unsupported target "rustc-deriving-bounds" with type "test" omitted +# Unsupported target "rustc-deriving-clone-array" with type "test" omitted +# Unsupported target "rustc-deriving-clone-enum" with type "test" omitted +# Unsupported target "rustc-deriving-clone-generic-enum" with type "test" omitted +# Unsupported target "rustc-deriving-clone-generic-tuple-struct" with type "test" omitted +# Unsupported target "rustc-deriving-clone-struct" with type "test" omitted +# Unsupported target "rustc-deriving-clone-tuple-struct" with type "test" omitted +# Unsupported target "rustc-deriving-cmp-generic-enum" with type "test" omitted +# Unsupported target "rustc-deriving-cmp-generic-struct" with type "test" omitted +# Unsupported target "rustc-deriving-cmp-generic-struct-enum" with type "test" omitted +# Unsupported target "rustc-deriving-cmp-generic-tuple-struct" with type "test" omitted +# Unsupported target "rustc-deriving-copyclone" with type "test" omitted +# Unsupported target "rustc-deriving-default-box" with type "test" omitted +# Unsupported target "rustc-deriving-enum-single-variant" with type "test" omitted +# Unsupported target "rustc-deriving-hash" with type "test" omitted +# Unsupported target "rustc-deriving-in-fn" with type "test" omitted +# Unsupported target "rustc-deriving-meta" with type "test" omitted +# Unsupported target "rustc-deriving-meta-multiple" with type "test" omitted +# Unsupported target "rustc-deriving-show" with type "test" omitted +# Unsupported target "rustc-deriving-show-2" with type "test" omitted +# Unsupported target "rustc-deriving-via-extension-hash-enum" with type "test" omitted +# Unsupported target "rustc-deriving-via-extension-hash-struct" with type "test" omitted +# Unsupported target "rustc-deriving-via-extension-type-params" with type "test" omitted +# Unsupported target "rustc-expr-copy" with type "test" omitted +# Unsupported target "rustc-exterior" with type "test" omitted +# Unsupported target "rustc-issue-12860" with type "test" omitted +# Unsupported target "rustc-issue-13434" with type "test" omitted +# Unsupported target "rustc-issue-16530" with type "test" omitted +# Unsupported target "rustc-issue-19037" with type "test" omitted +# Unsupported target "rustc-issue-19102" with type "test" omitted +# Unsupported target "rustc-issue-19135" with type "test" omitted +# Unsupported target "rustc-issue-19358" with type "test" omitted +# Unsupported target "rustc-issue-21402" with type "test" omitted +# Unsupported target "rustc-issue-23649-3" with type "test" omitted +# Unsupported target "rustc-issue-24085" with type "test" omitted +# Unsupported target "rustc-issue-25394" with type "test" omitted +# Unsupported target "rustc-issue-28561" with type "test" omitted +# Unsupported target "rustc-issue-29030" with type "test" omitted +# Unsupported target "rustc-issue-29540" with type "test" omitted +# Unsupported target "rustc-issue-29710" with type "test" omitted +# Unsupported target "rustc-issue-32292" with type "test" omitted +# Unsupported target "rustc-issue-3935" with type "test" omitted +# Unsupported target "rustc-issue-42453" with type "test" omitted +# Unsupported target "rustc-issue-58319" with type "test" omitted +# Unsupported target "rustc-issue-6341" with type "test" omitted +# Unsupported target "rustc-typeclasses-eq-example" with type "test" omitted +# Unsupported target "rustc-zero-sized-btreemap-insert" with type "test" omitted diff --git a/cargo/remote/digest-0.9.0.BUILD.bazel b/cargo/remote/digest-0.9.0.BUILD.bazel new file mode 100644 index 000000000..341c7d4dc --- /dev/null +++ b/cargo/remote/digest-0.9.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "digest", + crate_type = "lib", + deps = [ + "@raze__generic_array__0_14_4//:generic_array", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "std", + ], +) diff --git a/cargo/remote/dirs-2.0.2.BUILD.bazel b/cargo/remote/dirs-2.0.2.BUILD.bazel new file mode 100644 index 000000000..2ed03a920 --- /dev/null +++ b/cargo/remote/dirs-2.0.2.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "dirs", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__dirs_sys__0_3_5//:dirs_sys", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.0.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/dirs-sys-0.3.5.BUILD.bazel b/cargo/remote/dirs-sys-0.3.5.BUILD.bazel new file mode 100644 index 000000000..9f2ad245d --- /dev/null +++ b/cargo/remote/dirs-sys-0.3.5.BUILD.bazel @@ -0,0 +1,76 @@ +""" +@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: leave-alone +rust_library( + name = "dirs_sys", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/dtoa-0.4.6.BUILD.bazel b/cargo/remote/dtoa-0.4.6.BUILD.bazel new file mode 100644 index 000000000..823226075 --- /dev/null +++ b/cargo/remote/dtoa-0.4.6.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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 "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "dtoa", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/either-1.6.1.BUILD.bazel b/cargo/remote/either-1.6.1.BUILD.bazel new file mode 100644 index 000000000..6b216ff52 --- /dev/null +++ b/cargo/remote/either-1.6.1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "either", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "use_std", + ], +) diff --git a/cargo/remote/encoding_rs-0.8.24.BUILD.bazel b/cargo/remote/encoding_rs-0.8.24.BUILD.bazel new file mode 100644 index 000000000..4b13edbd0 --- /dev/null +++ b/cargo/remote/encoding_rs-0.8.24.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "encoding_rs_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.8.24", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "encoding_rs", + crate_type = "lib", + deps = [ + ":encoding_rs_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.24", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/env_logger-0.7.1.BUILD.bazel b/cargo/remote/env_logger-0.7.1.BUILD.bazel new file mode 100644 index 000000000..d11566623 --- /dev/null +++ b/cargo/remote/env_logger-0.7.1.BUILD.bazel @@ -0,0 +1,72 @@ +""" +@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 "custom_default_format" with type "example" omitted +# Unsupported target "custom_format" with type "example" omitted +# Unsupported target "custom_logger" with type "example" omitted +# Unsupported target "default" with type "example" omitted +# Unsupported target "direct_logger" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "env_logger", + crate_type = "lib", + deps = [ + "@raze__atty__0_2_14//:atty", + "@raze__humantime__1_3_0//:humantime", + "@raze__log__0_4_11//:log", + "@raze__regex__1_4_1//:regex", + "@raze__termcolor__1_1_0//:termcolor", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "atty", + "default", + "humantime", + "regex", + "termcolor", + ], +) +# Unsupported target "filters_from_code" with type "example" omitted +# Unsupported target "init-twice-retains-filter" with type "test" omitted +# Unsupported target "log-in-log" with type "test" omitted +# Unsupported target "log_tls_dtors" with type "test" omitted +# Unsupported target "regexp_filter" with type "test" omitted diff --git a/cargo/remote/failure-0.1.8.BUILD.bazel b/cargo/remote/failure-0.1.8.BUILD.bazel new file mode 100644 index 000000000..0e9612e93 --- /dev/null +++ b/cargo/remote/failure-0.1.8.BUILD.bazel @@ -0,0 +1,68 @@ +""" +@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 "bail_ensure" with type "example" omitted +# Unsupported target "basic_fail" with type "test" omitted +# Unsupported target "error_as_cause" with type "example" omitted +# Unsupported target "fail_compat" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "failure", + crate_type = "lib", + deps = [ + "@raze__backtrace__0_3_53//:backtrace", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + proc_macro_deps = [ + "@raze__failure_derive__0_1_8//:failure_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.8", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "backtrace", + "default", + "derive", + "failure_derive", + "std", + ], +) +# Unsupported target "macro_trailing_comma" with type "test" omitted +# Unsupported target "simple" with type "example" omitted +# Unsupported target "string_custom_error_pattern" with type "example" omitted diff --git a/cargo/remote/failure_derive-0.1.8.BUILD.bazel b/cargo/remote/failure_derive-0.1.8.BUILD.bazel new file mode 100644 index 000000000..ebe723cc8 --- /dev/null +++ b/cargo/remote/failure_derive-0.1.8.BUILD.bazel @@ -0,0 +1,92 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "failure_derive_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.8", + visibility = ["//visibility:private"], +) + +# Unsupported target "backtrace" with type "test" omitted +# Unsupported target "custom_type_bounds" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "failure_derive", + crate_type = "proc-macro", + deps = [ + ":failure_derive_build_script", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + "@raze__synstructure__0_12_4//:synstructure", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.8", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "no_derive_display" with type "test" omitted +# Unsupported target "tests" with type "test" omitted +# Unsupported target "wraps" with type "test" omitted diff --git a/cargo/remote/fallible-iterator-0.2.0.BUILD.bazel b/cargo/remote/fallible-iterator-0.2.0.BUILD.bazel new file mode 100644 index 000000000..9e2c46be9 --- /dev/null +++ b/cargo/remote/fallible-iterator-0.2.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "fallible_iterator", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/fallible-streaming-iterator-0.1.9.BUILD.bazel b/cargo/remote/fallible-streaming-iterator-0.1.9.BUILD.bazel new file mode 100644 index 000000000..9c2e6f3d6 --- /dev/null +++ b/cargo/remote/fallible-streaming-iterator-0.1.9.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fallible_streaming_iterator", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.9", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/fixedbitset-0.2.0.BUILD.bazel b/cargo/remote/fixedbitset-0.2.0.BUILD.bazel new file mode 100644 index 000000000..64c19425f --- /dev/null +++ b/cargo/remote/fixedbitset-0.2.0.BUILD.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 +# Unsupported target "benches" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "fixedbitset", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/flate2-1.0.14.BUILD.bazel b/cargo/remote/flate2-1.0.14.BUILD.bazel new file mode 100644 index 000000000..bd4cfdc24 --- /dev/null +++ b/cargo/remote/flate2-1.0.14.BUILD.bazel @@ -0,0 +1,87 @@ +""" +@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 "async-reader" with type "test" omitted +# Unsupported target "compress_file" with type "example" omitted +# Unsupported target "deflatedecoder-bufread" with type "example" omitted +# Unsupported target "deflatedecoder-read" with type "example" omitted +# Unsupported target "deflatedecoder-write" with type "example" omitted +# Unsupported target "deflateencoder-bufread" with type "example" omitted +# Unsupported target "deflateencoder-read" with type "example" omitted +# Unsupported target "deflateencoder-write" with type "example" omitted +# Unsupported target "early-flush" with type "test" omitted +# Unsupported target "empty-read" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "flate2", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__crc32fast__1_2_0//:crc32fast", + "@raze__libc__0_2_79//:libc", + "@raze__miniz_oxide__0_3_7//:miniz_oxide", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.14", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "miniz_oxide", + "rust_backend", + ], +) +# Unsupported target "gunzip" with type "test" omitted +# Unsupported target "gzbuilder" with type "example" omitted +# Unsupported target "gzdecoder-bufread" with type "example" omitted +# Unsupported target "gzdecoder-read" with type "example" omitted +# Unsupported target "gzdecoder-write" with type "example" omitted +# Unsupported target "gzencoder-bufread" with type "example" omitted +# Unsupported target "gzencoder-read" with type "example" omitted +# Unsupported target "gzencoder-write" with type "example" omitted +# Unsupported target "gzmultidecoder-bufread" with type "example" omitted +# Unsupported target "gzmultidecoder-read" with type "example" omitted +# Unsupported target "tokio" with type "test" omitted +# Unsupported target "zero-write" with type "test" omitted +# Unsupported target "zlibdecoder-bufread" with type "example" omitted +# Unsupported target "zlibdecoder-read" with type "example" omitted +# Unsupported target "zlibdecoder-write" with type "example" omitted +# Unsupported target "zlibencoder-bufread" with type "example" omitted +# Unsupported target "zlibencoder-read" with type "example" omitted +# Unsupported target "zlibencoder-write" with type "example" omitted diff --git a/cargo/remote/fluent-0.10.2.BUILD.bazel b/cargo/remote/fluent-0.10.2.BUILD.bazel new file mode 100644 index 000000000..b696ae997 --- /dev/null +++ b/cargo/remote/fluent-0.10.2.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fluent", + crate_type = "lib", + deps = [ + "@raze__fluent_bundle__0_10_2//:fluent_bundle", + "@raze__unic_langid__0_8_0//:unic_langid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "fluent/src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "macro" with type "test" omitted +# Unsupported target "pseudo" with type "test" omitted diff --git a/cargo/remote/fluent-bundle-0.10.2.BUILD.bazel b/cargo/remote/fluent-bundle-0.10.2.BUILD.bazel new file mode 100644 index 000000000..ad003b2cf --- /dev/null +++ b/cargo/remote/fluent-bundle-0.10.2.BUILD.bazel @@ -0,0 +1,72 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "bundle" with type "test" omitted +# Unsupported target "custom_formatter" with type "example" omitted +# Unsupported target "custom_type" with type "example" omitted +# Unsupported target "custom_types" with type "test" omitted +# Unsupported target "external_arguments" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "fluent_bundle", + crate_type = "lib", + deps = [ + "@raze__fluent_langneg__0_12_1//:fluent_langneg", + "@raze__fluent_syntax__0_9_3//:fluent_syntax", + "@raze__intl_memoizer__0_3_0//:intl_memoizer", + "@raze__intl_pluralrules__6_0_0//:intl_pluralrules", + "@raze__rental__0_5_5//:rental", + "@raze__smallvec__1_4_2//:smallvec", + "@raze__unic_langid__0_8_0//:unic_langid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "fluent-bundle/src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "functions" with type "example" omitted +# Unsupported target "hello" with type "example" omitted +# Unsupported target "message_reference" with type "example" omitted +# Unsupported target "resolver" with type "bench" omitted +# Unsupported target "resolver_fixtures" with type "test" omitted +# Unsupported target "selector" with type "example" omitted +# Unsupported target "simple-app" with type "example" omitted +# Unsupported target "types_test" with type "test" omitted diff --git a/cargo/remote/fluent-langneg-0.12.1.BUILD.bazel b/cargo/remote/fluent-langneg-0.12.1.BUILD.bazel new file mode 100644 index 000000000..8e7e59dcf --- /dev/null +++ b/cargo/remote/fluent-langneg-0.12.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fluent_langneg", + crate_type = "lib", + deps = [ + "@raze__unic_langid__0_8_0//:unic_langid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.12.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) +# Unsupported target "lib" with type "test" omitted +# Unsupported target "negotiate" with type "bench" omitted +# Unsupported target "negotiate" with type "example" omitted diff --git a/cargo/remote/fluent-syntax-0.9.3.BUILD.bazel b/cargo/remote/fluent-syntax-0.9.3.BUILD.bazel new file mode 100644 index 000000000..142ed843d --- /dev/null +++ b/cargo/remote/fluent-syntax-0.9.3.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fluent_syntax", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) +# Unsupported target "parser" with type "bench" omitted + +# buildifier: leave-alone +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_parser", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":fluent_syntax", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/parser.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) +# Unsupported target "parser_fixtures" with type "test" omitted +# Unsupported target "unicode" with type "test" omitted diff --git a/cargo/remote/fnv-1.0.7.BUILD.bazel b/cargo/remote/fnv-1.0.7.BUILD.bazel new file mode 100644 index 000000000..5ad890bbd --- /dev/null +++ b/cargo/remote/fnv-1.0.7.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fnv", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel b/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel new file mode 100644 index 000000000..1bef22cd5 --- /dev/null +++ b/cargo/remote/fuchsia-zircon-0.3.3.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fuchsia_zircon", + crate_type = "lib", + deps = [ + "@raze__bitflags__1_2_1//:bitflags", + "@raze__fuchsia_zircon_sys__0_3_3//:fuchsia_zircon_sys", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel b/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.bazel new file mode 100644 index 000000000..ae0aaf01c --- /dev/null +++ b/cargo/remote/fuchsia-zircon-sys-0.3.3.BUILD.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", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "fuchsia_zircon_sys", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "hello" with type "example" omitted diff --git a/cargo/remote/futures-0.3.6.BUILD.bazel b/cargo/remote/futures-0.3.6.BUILD.bazel new file mode 100644 index 000000000..6c555e90b --- /dev/null +++ b/cargo/remote/futures-0.3.6.BUILD.bazel @@ -0,0 +1,114 @@ +""" +@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 "_require_features" with type "test" omitted +# Unsupported target "abortable" with type "test" omitted +# Unsupported target "arc_wake" with type "test" omitted +# Unsupported target "async_await_macros" with type "test" omitted +# Unsupported target "atomic_waker" with type "test" omitted +# Unsupported target "basic_combinators" with type "test" omitted +# Unsupported target "buffer_unordered" with type "test" omitted +# Unsupported target "compat" with type "test" omitted +# Unsupported target "eager_drop" with type "test" omitted +# Unsupported target "eventual" with type "test" omitted +# Unsupported target "fuse" with type "test" omitted +# Unsupported target "future_obj" with type "test" omitted +# Unsupported target "future_try_flatten_stream" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "futures", + crate_type = "lib", + deps = [ + "@raze__futures_channel__0_3_6//:futures_channel", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_executor__0_3_6//:futures_executor", + "@raze__futures_io__0_3_6//:futures_io", + "@raze__futures_sink__0_3_6//:futures_sink", + "@raze__futures_task__0_3_6//:futures_task", + "@raze__futures_util__0_3_6//:futures_util", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "async-await", + "default", + "executor", + "futures-executor", + "std", + ], +) +# Unsupported target "futures_ordered" with type "test" omitted +# Unsupported target "futures_unordered" with type "test" omitted +# Unsupported target "inspect" with type "test" omitted +# Unsupported target "io_buf_reader" with type "test" omitted +# Unsupported target "io_buf_writer" with type "test" omitted +# Unsupported target "io_cursor" with type "test" omitted +# Unsupported target "io_lines" with type "test" omitted +# Unsupported target "io_read" with type "test" omitted +# Unsupported target "io_read_exact" with type "test" omitted +# Unsupported target "io_read_line" with type "test" omitted +# Unsupported target "io_read_to_string" with type "test" omitted +# Unsupported target "io_read_until" with type "test" omitted +# Unsupported target "io_window" with type "test" omitted +# Unsupported target "io_write" with type "test" omitted +# Unsupported target "join_all" with type "test" omitted +# Unsupported target "macro_comma_support" with type "test" omitted +# Unsupported target "mutex" with type "test" omitted +# Unsupported target "object_safety" with type "test" omitted +# Unsupported target "oneshot" with type "test" omitted +# Unsupported target "ready_queue" with type "test" omitted +# Unsupported target "recurse" with type "test" omitted +# Unsupported target "select_all" with type "test" omitted +# Unsupported target "select_ok" with type "test" omitted +# Unsupported target "shared" with type "test" omitted +# Unsupported target "sink" with type "test" omitted +# Unsupported target "sink_fanout" with type "test" omitted +# Unsupported target "split" with type "test" omitted +# Unsupported target "stream" with type "test" omitted +# Unsupported target "stream_catch_unwind" with type "test" omitted +# Unsupported target "stream_into_async_read" with type "test" omitted +# Unsupported target "stream_peekable" with type "test" omitted +# Unsupported target "stream_select_all" with type "test" omitted +# Unsupported target "stream_select_next_some" with type "test" omitted +# Unsupported target "try_join" with type "test" omitted +# Unsupported target "try_join_all" with type "test" omitted +# Unsupported target "unfold" with type "test" omitted diff --git a/cargo/remote/futures-channel-0.3.6.BUILD.bazel b/cargo/remote/futures-channel-0.3.6.BUILD.bazel new file mode 100644 index 000000000..6efb674c5 --- /dev/null +++ b/cargo/remote/futures-channel-0.3.6.BUILD.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 "channel" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "futures_channel", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_sink__0_3_6//:futures_sink", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + "futures-sink", + "sink", + "std", + ], +) +# Unsupported target "mpsc" with type "test" omitted +# Unsupported target "mpsc-close" with type "test" omitted +# Unsupported target "oneshot" with type "test" omitted +# Unsupported target "sync_mpsc" with type "bench" omitted diff --git a/cargo/remote/futures-core-0.3.6.BUILD.bazel b/cargo/remote/futures-core-0.3.6.BUILD.bazel new file mode 100644 index 000000000..e3aa8fa9c --- /dev/null +++ b/cargo/remote/futures-core-0.3.6.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "futures_core", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + "std", + ], +) diff --git a/cargo/remote/futures-executor-0.3.6.BUILD.bazel b/cargo/remote/futures-executor-0.3.6.BUILD.bazel new file mode 100644 index 000000000..9c016e44f --- /dev/null +++ b/cargo/remote/futures-executor-0.3.6.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "futures_executor", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_task__0_3_6//:futures_task", + "@raze__futures_util__0_3_6//:futures_util", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "std", + ], +) +# Unsupported target "local_pool" with type "test" omitted +# Unsupported target "thread_notify" with type "bench" omitted diff --git a/cargo/remote/futures-io-0.3.6.BUILD.bazel b/cargo/remote/futures-io-0.3.6.BUILD.bazel new file mode 100644 index 000000000..1e61b2a9b --- /dev/null +++ b/cargo/remote/futures-io-0.3.6.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "futures_io", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "std", + ], +) diff --git a/cargo/remote/futures-macro-0.3.6.BUILD.bazel b/cargo/remote/futures-macro-0.3.6.BUILD.bazel new file mode 100644 index 000000000..e8d8c386c --- /dev/null +++ b/cargo/remote/futures-macro-0.3.6.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "futures_macro", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/futures-sink-0.3.6.BUILD.bazel b/cargo/remote/futures-sink-0.3.6.BUILD.bazel new file mode 100644 index 000000000..d90b740b8 --- /dev/null +++ b/cargo/remote/futures-sink-0.3.6.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "futures_sink", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + "std", + ], +) diff --git a/cargo/remote/futures-task-0.3.6.BUILD.bazel b/cargo/remote/futures-task-0.3.6.BUILD.bazel new file mode 100644 index 000000000..7ea6c886d --- /dev/null +++ b/cargo/remote/futures-task-0.3.6.BUILD.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 OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "futures_task", + crate_type = "lib", + deps = [ + "@raze__once_cell__1_4_1//:once_cell", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "once_cell", + "std", + ], +) diff --git a/cargo/remote/futures-util-0.3.6.BUILD.bazel b/cargo/remote/futures-util-0.3.6.BUILD.bazel new file mode 100644 index 000000000..e4461d91e --- /dev/null +++ b/cargo/remote/futures-util-0.3.6.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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: leave-alone +rust_library( + name = "futures_util", + crate_type = "lib", + deps = [ + "@raze__futures_channel__0_3_6//:futures_channel", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_io__0_3_6//:futures_io", + "@raze__futures_sink__0_3_6//:futures_sink", + "@raze__futures_task__0_3_6//:futures_task", + "@raze__memchr__2_3_3//:memchr", + "@raze__pin_project__0_4_27//:pin_project", + "@raze__pin_utils__0_1_0//:pin_utils", + "@raze__proc_macro_nested__0_1_6//:proc_macro_nested", + "@raze__slab__0_4_2//:slab", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__futures_macro__0_3_6//:futures_macro", + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "async-await", + "async-await-macro", + "channel", + "default", + "futures-channel", + "futures-io", + "futures-macro", + "futures-sink", + "io", + "memchr", + "proc-macro-hack", + "proc-macro-nested", + "sink", + "slab", + "std", + ], +) +# Unsupported target "futures_unordered" with type "bench" omitted diff --git a/cargo/remote/fxhash-0.2.1.BUILD.bazel b/cargo/remote/fxhash-0.2.1.BUILD.bazel new file mode 100644 index 000000000..bc2fdb0aa --- /dev/null +++ b/cargo/remote/fxhash-0.2.1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "fxhash" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "fxhash", + crate_type = "lib", + deps = [ + "@raze__byteorder__1_3_4//:byteorder", + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/generic-array-0.14.4.BUILD.bazel b/cargo/remote/generic-array-0.14.4.BUILD.bazel new file mode 100644 index 000000000..14570240b --- /dev/null +++ b/cargo/remote/generic-array-0.14.4.BUILD.bazel @@ -0,0 +1,91 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "generic_array_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__version_check__0_9_2//:version_check", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.14.4", + visibility = ["//visibility:private"], +) + +# Unsupported target "arr" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "generic_array", + crate_type = "lib", + deps = [ + ":generic_array_build_script", + "@raze__typenum__1_12_0//:typenum", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.14.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "generics" with type "test" omitted +# Unsupported target "hex" with type "test" omitted +# Unsupported target "import_name" with type "test" omitted +# Unsupported target "iter" with type "test" omitted +# Unsupported target "mod" with type "test" omitted diff --git a/cargo/remote/getrandom-0.1.15.BUILD.bazel b/cargo/remote/getrandom-0.1.15.BUILD.bazel new file mode 100644 index 000000000..6d3c8cfdc --- /dev/null +++ b/cargo/remote/getrandom-0.1.15.BUILD.bazel @@ -0,0 +1,115 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "getrandom_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }), + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.15", + visibility = ["//visibility:private"], +) + +# Unsupported target "common" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "getrandom", + crate_type = "lib", + deps = [ + ":getrandom_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.15", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "std", + ], + aliases = { + }, +) +# Unsupported target "mod" with type "bench" omitted diff --git a/cargo/remote/ghost-0.1.2.BUILD.bazel b/cargo/remote/ghost-0.1.2.BUILD.bazel new file mode 100644 index 000000000..961de1f4d --- /dev/null +++ b/cargo/remote/ghost-0.1.2.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "ghost", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/gimli-0.22.0.BUILD.bazel b/cargo/remote/gimli-0.22.0.BUILD.bazel new file mode 100644 index 000000000..d0f077b31 --- /dev/null +++ b/cargo/remote/gimli-0.22.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "bench" with type "bench" omitted +# Unsupported target "convert_self" with type "test" omitted +# Unsupported target "dwarf-validate" with type "example" omitted +# Unsupported target "dwarfdump" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "gimli", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.22.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "read", + ], +) +# Unsupported target "parse_self" with type "test" omitted +# Unsupported target "simple" with type "example" omitted +# Unsupported target "simple_line" with type "example" omitted diff --git a/cargo/remote/h2-0.2.6.BUILD.bazel b/cargo/remote/h2-0.2.6.BUILD.bazel new file mode 100644 index 000000000..5dbdd1ed4 --- /dev/null +++ b/cargo/remote/h2-0.2.6.BUILD.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 "akamai" with type "example" omitted +# Unsupported target "client" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "h2", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__fnv__1_0_7//:fnv", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_sink__0_3_6//:futures_sink", + "@raze__futures_util__0_3_6//:futures_util", + "@raze__http__0_2_1//:http", + "@raze__indexmap__1_6_0//:indexmap", + "@raze__slab__0_4_2//:slab", + "@raze__tokio__0_2_22//:tokio", + "@raze__tokio_util__0_3_1//:tokio_util", + "@raze__tracing__0_1_21//:tracing", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "server" with type "example" omitted diff --git a/cargo/remote/hashbrown-0.9.1.BUILD.bazel b/cargo/remote/hashbrown-0.9.1.BUILD.bazel new file mode 100644 index 000000000..dc7a0a94c --- /dev/null +++ b/cargo/remote/hashbrown-0.9.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "hashbrown", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "raw", + ], +) +# Unsupported target "hasher" with type "test" omitted +# Unsupported target "rayon" with type "test" omitted +# Unsupported target "serde" with type "test" omitted +# Unsupported target "set" with type "test" omitted diff --git a/cargo/remote/heck-0.3.1.BUILD.bazel b/cargo/remote/heck-0.3.1.BUILD.bazel new file mode 100644 index 000000000..cd95f5088 --- /dev/null +++ b/cargo/remote/heck-0.3.1.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "heck", + crate_type = "lib", + deps = [ + "@raze__unicode_segmentation__1_6_0//:unicode_segmentation", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/hermit-abi-0.1.17.BUILD.bazel b/cargo/remote/hermit-abi-0.1.17.BUILD.bazel new file mode 100644 index 000000000..7b121fbc3 --- /dev/null +++ b/cargo/remote/hermit-abi-0.1.17.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "hermit_abi", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_79//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.17", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/hex-0.4.2.BUILD.bazel b/cargo/remote/hex-0.4.2.BUILD.bazel new file mode 100644 index 000000000..781b253b9 --- /dev/null +++ b/cargo/remote/hex-0.4.2.BUILD.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 +# Unsupported target "hex" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "hex", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "serde" with type "test" omitted +# Unsupported target "version-number" with type "test" omitted diff --git a/cargo/remote/htmlescape-0.3.1.BUILD.bazel b/cargo/remote/htmlescape-0.3.1.BUILD.bazel new file mode 100644 index 000000000..0829740dc --- /dev/null +++ b/cargo/remote/htmlescape-0.3.1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (MIT OR MPL-2.0)" +]) + +# Generated targets +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "htmlescape", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/http-0.2.1.BUILD.bazel b/cargo/remote/http-0.2.1.BUILD.bazel new file mode 100644 index 000000000..270221cc0 --- /dev/null +++ b/cargo/remote/http-0.2.1.BUILD.bazel @@ -0,0 +1,62 @@ +""" +@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 "header_map" with type "bench" omitted +# Unsupported target "header_map" with type "test" omitted +# Unsupported target "header_map_fuzz" with type "test" omitted +# Unsupported target "header_name" with type "bench" omitted +# Unsupported target "header_value" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "http", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__fnv__1_0_7//:fnv", + "@raze__itoa__0_4_6//:itoa", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "status_code" with type "test" omitted +# Unsupported target "uri" with type "bench" omitted diff --git a/cargo/remote/http-body-0.3.1.BUILD.bazel b/cargo/remote/http-body-0.3.1.BUILD.bazel new file mode 100644 index 000000000..400dbfa3e --- /dev/null +++ b/cargo/remote/http-body-0.3.1.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "http_body", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__http__0_2_1//:http", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "is_end_stream" with type "test" omitted diff --git a/cargo/remote/httparse-1.3.4.BUILD.bazel b/cargo/remote/httparse-1.3.4.BUILD.bazel new file mode 100644 index 000000000..80321812e --- /dev/null +++ b/cargo/remote/httparse-1.3.4.BUILD.bazel @@ -0,0 +1,89 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "httparse_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.3.4", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "httparse", + crate_type = "lib", + deps = [ + ":httparse_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.3.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "parse" with type "bench" omitted +# Unsupported target "uri" with type "test" omitted diff --git a/cargo/remote/httpdate-0.3.2.BUILD.bazel b/cargo/remote/httpdate-0.3.2.BUILD.bazel new file mode 100644 index 000000000..a4b7dc4b9 --- /dev/null +++ b/cargo/remote/httpdate-0.3.2.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "httpdate", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/humansize-1.1.0.BUILD.bazel b/cargo/remote/humansize-1.1.0.BUILD.bazel new file mode 100644 index 000000000..21311f43d --- /dev/null +++ b/cargo/remote/humansize-1.1.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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 "custom_options" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "humansize", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "sizes" with type "example" omitted diff --git a/cargo/remote/humantime-1.3.0.BUILD.bazel b/cargo/remote/humantime-1.3.0.BUILD.bazel new file mode 100644 index 000000000..943773aa4 --- /dev/null +++ b/cargo/remote/humantime-1.3.0.BUILD.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 +# Unsupported target "datetime_format" with type "bench" omitted +# Unsupported target "datetime_parse" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "humantime", + crate_type = "lib", + deps = [ + "@raze__quick_error__1_2_3//:quick_error", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/hyper-0.13.8.BUILD.bazel b/cargo/remote/hyper-0.13.8.BUILD.bazel new file mode 100644 index 000000000..e3e943d8b --- /dev/null +++ b/cargo/remote/hyper-0.13.8.BUILD.bazel @@ -0,0 +1,96 @@ +""" +@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 "body" with type "bench" omitted +# Unsupported target "client" with type "example" omitted +# Unsupported target "client" with type "test" omitted +# Unsupported target "client_json" with type "example" omitted +# Unsupported target "connect" with type "bench" omitted +# Unsupported target "echo" with type "example" omitted +# Unsupported target "end_to_end" with type "bench" omitted +# Unsupported target "gateway" with type "example" omitted +# Unsupported target "hello" with type "example" omitted +# Unsupported target "http_proxy" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "hyper", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__futures_channel__0_3_6//:futures_channel", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_util__0_3_6//:futures_util", + "@raze__h2__0_2_6//:h2", + "@raze__http__0_2_1//:http", + "@raze__http_body__0_3_1//:http_body", + "@raze__httparse__1_3_4//:httparse", + "@raze__httpdate__0_3_2//:httpdate", + "@raze__itoa__0_4_6//:itoa", + "@raze__pin_project__0_4_27//:pin_project", + "@raze__socket2__0_3_15//:socket2", + "@raze__tokio__0_2_22//:tokio", + "@raze__tower_service__0_3_0//:tower_service", + "@raze__tracing__0_1_21//:tracing", + "@raze__want__0_3_0//:want", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.13.8", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "runtime", + "socket2", + "stream", + "tcp", + ], +) +# Unsupported target "integration" with type "test" omitted +# Unsupported target "multi_server" with type "example" omitted +# Unsupported target "params" with type "example" omitted +# Unsupported target "pipeline" with type "bench" omitted +# Unsupported target "send_file" with type "example" omitted +# Unsupported target "server" with type "bench" omitted +# Unsupported target "server" with type "test" omitted +# Unsupported target "single_threaded" with type "example" omitted +# Unsupported target "state" with type "example" omitted +# Unsupported target "tower_client" with type "example" omitted +# Unsupported target "tower_server" with type "example" omitted +# Unsupported target "upgrades" with type "example" omitted +# Unsupported target "web_api" with type "example" omitted diff --git a/cargo/remote/hyper-rustls-0.20.0.BUILD.bazel b/cargo/remote/hyper-rustls-0.20.0.BUILD.bazel new file mode 100644 index 000000000..aa28431df --- /dev/null +++ b/cargo/remote/hyper-rustls-0.20.0.BUILD.bazel @@ -0,0 +1,69 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +# Generated targets +# Unsupported target "client" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "hyper_rustls", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__ct_logs__0_6_0//:ct_logs", + "@raze__futures_util__0_3_6//:futures_util", + "@raze__hyper__0_13_8//:hyper", + "@raze__log__0_4_11//:log", + "@raze__rustls__0_17_0//:rustls", + "@raze__tokio__0_2_22//:tokio", + "@raze__tokio_rustls__0_13_1//:tokio_rustls", + "@raze__webpki__0_21_3//:webpki", + "@raze__webpki_roots__0_19_0//:webpki_roots", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.20.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "ct-logs", + "tokio-runtime", + "webpki-roots", + "webpki-tokio", + ], +) +# Unsupported target "server" with type "example" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/hyper-timeout-0.3.1.BUILD.bazel b/cargo/remote/hyper-timeout-0.3.1.BUILD.bazel new file mode 100644 index 000000000..76d0de098 --- /dev/null +++ b/cargo/remote/hyper-timeout-0.3.1.BUILD.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 +# Unsupported target "client" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "hyper_timeout", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__hyper__0_13_8//:hyper", + "@raze__tokio__0_2_22//:tokio", + "@raze__tokio_io_timeout__0_4_0//:tokio_io_timeout", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/idna-0.2.0.BUILD.bazel b/cargo/remote/idna-0.2.0.BUILD.bazel new file mode 100644 index 000000000..46bc1a3f8 --- /dev/null +++ b/cargo/remote/idna-0.2.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "idna", + crate_type = "lib", + deps = [ + "@raze__matches__0_1_8//:matches", + "@raze__unicode_bidi__0_3_4//:unicode_bidi", + "@raze__unicode_normalization__0_1_13//:unicode_normalization", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "tests" with type "test" omitted +# Unsupported target "unit" with type "test" omitted diff --git a/cargo/remote/indexmap-1.6.0.BUILD.bazel b/cargo/remote/indexmap-1.6.0.BUILD.bazel new file mode 100644 index 000000000..cd528d3aa --- /dev/null +++ b/cargo/remote/indexmap-1.6.0.BUILD.bazel @@ -0,0 +1,91 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "indexmap_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.6.0", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench" with type "bench" omitted +# Unsupported target "equivalent_trait" with type "test" omitted +# Unsupported target "faststring" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "indexmap", + crate_type = "lib", + deps = [ + ":indexmap_build_script", + "@raze__hashbrown__0_9_1//:hashbrown", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "macros_full_path" with type "test" omitted +# Unsupported target "quick" with type "test" omitted +# Unsupported target "tests" with type "test" omitted diff --git a/cargo/remote/indoc-0.3.6.BUILD.bazel b/cargo/remote/indoc-0.3.6.BUILD.bazel new file mode 100644 index 000000000..50646e004 --- /dev/null +++ b/cargo/remote/indoc-0.3.6.BUILD.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 "compiletest" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "indoc", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__indoc_impl__0_3_6//:indoc_impl", + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "run-pass" with type "test" omitted diff --git a/cargo/remote/indoc-impl-0.3.6.BUILD.bazel b/cargo/remote/indoc-impl-0.3.6.BUILD.bazel new file mode 100644 index 000000000..0963a5a5b --- /dev/null +++ b/cargo/remote/indoc-impl-0.3.6.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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: leave-alone +rust_library( + name = "indoc_impl", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + "@raze__unindent__0_1_7//:unindent", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/instant-0.1.7.BUILD.bazel b/cargo/remote/instant-0.1.7.BUILD.bazel new file mode 100644 index 000000000..8129141a3 --- /dev/null +++ b/cargo/remote/instant-0.1.7.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "instant", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/intl-memoizer-0.3.0.BUILD.bazel b/cargo/remote/intl-memoizer-0.3.0.BUILD.bazel new file mode 100644 index 000000000..4204e24ba --- /dev/null +++ b/cargo/remote/intl-memoizer-0.3.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "intl_memoizer", + crate_type = "lib", + deps = [ + "@raze__type_map__0_3_0//:type_map", + "@raze__unic_langid__0_8_0//:unic_langid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "intl-memoizer/src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "numberformat" with type "example" omitted +# Unsupported target "pluralrules" with type "example" omitted diff --git a/cargo/remote/intl_pluralrules-6.0.0.BUILD.bazel b/cargo/remote/intl_pluralrules-6.0.0.BUILD.bazel new file mode 100644 index 000000000..5f7a58fbe --- /dev/null +++ b/cargo/remote/intl_pluralrules-6.0.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "intl_pluralrules", + crate_type = "lib", + deps = [ + "@raze__tinystr__0_3_4//:tinystr", + "@raze__unic_langid__0_8_0//:unic_langid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "6.0.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "operands" with type "test" omitted +# Unsupported target "pluralrules" with type "bench" omitted diff --git a/cargo/remote/inventory-0.1.9.BUILD.bazel b/cargo/remote/inventory-0.1.9.BUILD.bazel new file mode 100644 index 000000000..373b91caa --- /dev/null +++ b/cargo/remote/inventory-0.1.9.BUILD.bazel @@ -0,0 +1,89 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "inventory_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.9", + visibility = ["//visibility:private"], +) + +# Unsupported target "flags" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "inventory", + crate_type = "lib", + deps = [ + ":inventory_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__ctor__0_1_16//:ctor", + "@raze__ghost__0_1_2//:ghost", + "@raze__inventory_impl__0_1_9//:inventory_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.9", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/inventory-impl-0.1.9.BUILD.bazel b/cargo/remote/inventory-impl-0.1.9.BUILD.bazel new file mode 100644 index 000000000..866fb6a78 --- /dev/null +++ b/cargo/remote/inventory-impl-0.1.9.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "inventory_impl", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.9", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/iovec-0.1.4.BUILD.bazel b/cargo/remote/iovec-0.1.4.BUILD.bazel new file mode 100644 index 000000000..5a12c2f69 --- /dev/null +++ b/cargo/remote/iovec-0.1.4.BUILD.bazel @@ -0,0 +1,67 @@ +""" +@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: leave-alone +rust_library( + name = "iovec", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/itertools-0.9.0.BUILD.bazel b/cargo/remote/itertools-0.9.0.BUILD.bazel new file mode 100644 index 000000000..7936b4003 --- /dev/null +++ b/cargo/remote/itertools-0.9.0.BUILD.bazel @@ -0,0 +1,72 @@ +""" +@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 "adaptors_no_collect" with type "test" omitted +# Unsupported target "bench1" with type "bench" omitted +# Unsupported target "combinations_with_replacement" with type "bench" omitted +# Unsupported target "fold_specialization" with type "bench" omitted +# Unsupported target "fold_specialization" with type "test" omitted +# Unsupported target "iris" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "itertools", + crate_type = "lib", + deps = [ + "@raze__either__1_6_1//:either", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "use_std", + ], +) +# Unsupported target "merge_join" with type "test" omitted +# Unsupported target "peeking_take_while" with type "test" omitted +# Unsupported target "quick" with type "test" omitted +# Unsupported target "specializations" with type "test" omitted +# Unsupported target "test_core" with type "test" omitted +# Unsupported target "test_std" with type "test" omitted +# Unsupported target "tree_fold1" with type "bench" omitted +# Unsupported target "tuple_combinations" with type "bench" omitted +# Unsupported target "tuples" with type "bench" omitted +# Unsupported target "tuples" with type "test" omitted +# Unsupported target "zip" with type "test" omitted diff --git a/cargo/remote/itoa-0.4.6.BUILD.bazel b/cargo/remote/itoa-0.4.6.BUILD.bazel new file mode 100644 index 000000000..83d87932b --- /dev/null +++ b/cargo/remote/itoa-0.4.6.BUILD.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 +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "itoa", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "i128", + "std", + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/js-sys-0.3.45.BUILD.bazel b/cargo/remote/js-sys-0.3.45.BUILD.bazel new file mode 100644 index 000000000..6aa980368 --- /dev/null +++ b/cargo/remote/js-sys-0.3.45.BUILD.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 +# Unsupported target "headless" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "js_sys", + crate_type = "lib", + deps = [ + "@raze__wasm_bindgen__0_2_68//:wasm_bindgen", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.45", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "wasm" with type "test" omitted diff --git a/cargo/remote/kernel32-sys-0.2.2.BUILD.bazel b/cargo/remote/kernel32-sys-0.2.2.BUILD.bazel new file mode 100644 index 000000000..42848892b --- /dev/null +++ b/cargo/remote/kernel32-sys-0.2.2.BUILD.bazel @@ -0,0 +1,94 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "kernel32_sys_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__winapi_build__0_1_1//:winapi_build", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.2", + visibility = ["//visibility:private"], +) + + +alias( + name = "kernel32_sys", + actual = ":kernel32", + tags = [ + "cargo-raze", + "manual", + ], +) + +# buildifier: leave-alone +rust_library( + name = "kernel32", + crate_type = "lib", + deps = [ + ":kernel32_sys_build_script", + "@raze__winapi__0_2_8//:winapi", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/lazy_static-1.4.0.BUILD.bazel b/cargo/remote/lazy_static-1.4.0.BUILD.bazel new file mode 100644 index 000000000..9a223beb3 --- /dev/null +++ b/cargo/remote/lazy_static-1.4.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "lazy_static", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.4.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "no_std" with type "test" omitted +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/lexical-core-0.7.4.BUILD.bazel b/cargo/remote/lexical-core-0.7.4.BUILD.bazel new file mode 100644 index 000000000..082302146 --- /dev/null +++ b/cargo/remote/lexical-core-0.7.4.BUILD.bazel @@ -0,0 +1,102 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "lexical_core_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "arrayvec", + "correct", + "default", + "ryu", + "static_assertions", + "std", + "table", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.7.4", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "lexical_core", + crate_type = "lib", + deps = [ + ":lexical_core_build_script", + "@raze__arrayvec__0_5_1//:arrayvec", + "@raze__bitflags__1_2_1//:bitflags", + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__ryu__1_0_5//:ryu", + "@raze__static_assertions__1_1_0//:static_assertions", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "arrayvec", + "correct", + "default", + "ryu", + "static_assertions", + "std", + "table", + ], +) diff --git a/cargo/remote/libc-0.2.79.BUILD.bazel b/cargo/remote/libc-0.2.79.BUILD.bazel new file mode 100644 index 000000000..d2db47196 --- /dev/null +++ b/cargo/remote/libc-0.2.79.BUILD.bazel @@ -0,0 +1,88 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "libc_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.79", + visibility = ["//visibility:private"], +) + +# Unsupported target "const_fn" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "libc", + crate_type = "lib", + deps = [ + ":libc_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.79", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/libsqlite3-sys-0.18.0.BUILD.bazel b/cargo/remote/libsqlite3-sys-0.18.0.BUILD.bazel new file mode 100644 index 000000000..ca966daca --- /dev/null +++ b/cargo/remote/libsqlite3-sys-0.18.0.BUILD.bazel @@ -0,0 +1,122 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "libsqlite3_sys_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__cc__1_0_61//:cc", + "@raze__pkg_config__0_3_19//:pkg_config", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__vcpkg__0_2_10//:vcpkg", + ], + "//conditions:default": [], + }), + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "bundled", + "bundled_bindings", + "cc", + "default", + "min_sqlite_version_3_6_23", + "min_sqlite_version_3_6_8", + "min_sqlite_version_3_7_7", + "pkg-config", + "vcpkg", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.18.0", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "libsqlite3_sys", + crate_type = "lib", + deps = [ + ":libsqlite3_sys_build_script", + ] + selects.with_or({ + # cfg(target_env = "msvc") + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.18.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "bundled", + "bundled_bindings", + "cc", + "default", + "min_sqlite_version_3_6_23", + "min_sqlite_version_3_6_8", + "min_sqlite_version_3_7_7", + "pkg-config", + "vcpkg", + ], + aliases = { + }, +) diff --git a/cargo/remote/linked-hash-map-0.5.3.BUILD.bazel b/cargo/remote/linked-hash-map-0.5.3.BUILD.bazel new file mode 100644 index 000000000..2a16c5440 --- /dev/null +++ b/cargo/remote/linked-hash-map-0.5.3.BUILD.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 +# Unsupported target "heapsize" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "linked_hash_map", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "serde" with type "test" omitted +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/lock_api-0.4.1.BUILD.bazel b/cargo/remote/lock_api-0.4.1.BUILD.bazel new file mode 100644 index 000000000..985f188af --- /dev/null +++ b/cargo/remote/lock_api-0.4.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "lock_api", + crate_type = "lib", + deps = [ + "@raze__scopeguard__1_1_0//:scopeguard", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/log-0.4.11.BUILD.bazel b/cargo/remote/log-0.4.11.BUILD.bazel new file mode 100644 index 000000000..21676e9e6 --- /dev/null +++ b/cargo/remote/log-0.4.11.BUILD.bazel @@ -0,0 +1,88 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "log_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.11", + visibility = ["//visibility:private"], +) + +# Unsupported target "filters" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "log", + crate_type = "lib", + deps = [ + ":log_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.11", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "std", + ], +) +# Unsupported target "macros" with type "test" omitted diff --git a/cargo/remote/lru-cache-0.1.2.BUILD.bazel b/cargo/remote/lru-cache-0.1.2.BUILD.bazel new file mode 100644 index 000000000..c3b696a35 --- /dev/null +++ b/cargo/remote/lru-cache-0.1.2.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "lru_cache", + crate_type = "lib", + deps = [ + "@raze__linked_hash_map__0_5_3//:linked_hash_map", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/matches-0.1.8.BUILD.bazel b/cargo/remote/matches-0.1.8.BUILD.bazel new file mode 100644 index 000000000..705ed6a03 --- /dev/null +++ b/cargo/remote/matches-0.1.8.BUILD.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 +# Unsupported target "macro_use_one" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "matches", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.8", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/maybe-uninit-2.0.0.BUILD.bazel b/cargo/remote/maybe-uninit-2.0.0.BUILD.bazel new file mode 100644 index 000000000..208b3e7ff --- /dev/null +++ b/cargo/remote/maybe-uninit-2.0.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "maybe_uninit_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "2.0.0", + visibility = ["//visibility:private"], +) + +# Unsupported target "doesnt_drop" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "maybe_uninit", + crate_type = "lib", + deps = [ + ":maybe_uninit_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.0.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/memchr-2.3.3.BUILD.bazel b/cargo/remote/memchr-2.3.3.BUILD.bazel new file mode 100644 index 000000000..255cd232f --- /dev/null +++ b/cargo/remote/memchr-2.3.3.BUILD.bazel @@ -0,0 +1,89 @@ +""" +@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([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "memchr_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + "use_std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "2.3.3", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "memchr", + crate_type = "lib", + deps = [ + ":memchr_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.3.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + "use_std", + ], +) diff --git a/cargo/remote/memoffset-0.5.6.BUILD.bazel b/cargo/remote/memoffset-0.5.6.BUILD.bazel new file mode 100644 index 000000000..02b2fb95c --- /dev/null +++ b/cargo/remote/memoffset-0.5.6.BUILD.bazel @@ -0,0 +1,86 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "memoffset_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.5.6", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "memoffset", + crate_type = "lib", + deps = [ + ":memoffset_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/mime-0.3.16.BUILD.bazel b/cargo/remote/mime-0.3.16.BUILD.bazel new file mode 100644 index 000000000..06f35c424 --- /dev/null +++ b/cargo/remote/mime-0.3.16.BUILD.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 +# Unsupported target "cmp" with type "bench" omitted +# Unsupported target "fmt" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "mime", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.16", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "parse" with type "bench" omitted diff --git a/cargo/remote/mime_guess-2.0.3.BUILD.bazel b/cargo/remote/mime_guess-2.0.3.BUILD.bazel new file mode 100644 index 000000000..0b18c342e --- /dev/null +++ b/cargo/remote/mime_guess-2.0.3.BUILD.bazel @@ -0,0 +1,92 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "mime_guess_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__unicase__2_6_0//:unicase", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "rev-mappings", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "2.0.3", + visibility = ["//visibility:private"], +) + +# Unsupported target "benchmark" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "mime_guess", + crate_type = "lib", + deps = [ + ":mime_guess_build_script", + "@raze__mime__0_3_16//:mime", + "@raze__unicase__2_6_0//:unicase", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.0.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "rev-mappings", + ], +) +# Unsupported target "rev_map" with type "example" omitted diff --git a/cargo/remote/miniz_oxide-0.3.7.BUILD.bazel b/cargo/remote/miniz_oxide-0.3.7.BUILD.bazel new file mode 100644 index 000000000..08877d818 --- /dev/null +++ b/cargo/remote/miniz_oxide-0.3.7.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "miniz_oxide", + crate_type = "lib", + deps = [ + "@raze__adler32__1_2_0//:adler32", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/miniz_oxide-0.4.3.BUILD.bazel b/cargo/remote/miniz_oxide-0.4.3.BUILD.bazel new file mode 100644 index 000000000..1b1d14228 --- /dev/null +++ b/cargo/remote/miniz_oxide-0.4.3.BUILD.bazel @@ -0,0 +1,85 @@ +""" +@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 (Zlib OR Apache-2.0)" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "miniz_oxide_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.3", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "miniz_oxide", + crate_type = "lib", + deps = [ + ":miniz_oxide_build_script", + "@raze__adler__0_2_3//:adler", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/mio-0.6.22.BUILD.bazel b/cargo/remote/mio-0.6.22.BUILD.bazel new file mode 100644 index 000000000..f52547cd7 --- /dev/null +++ b/cargo/remote/mio-0.6.22.BUILD.bazel @@ -0,0 +1,86 @@ +""" +@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 + +# buildifier: leave-alone +rust_library( + name = "mio", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__iovec__0_1_4//:iovec", + "@raze__log__0_4_11//:log", + "@raze__net2__0_2_35//:net2", + "@raze__slab__0_4_2//:slab", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__kernel32_sys__0_2_2//:kernel32_sys", + "@raze__miow__0_2_1//:miow", + "@raze__winapi__0_2_8//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.22", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "with-deprecated", + ], + aliases = { + }, +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/miow-0.2.1.BUILD.bazel b/cargo/remote/miow-0.2.1.BUILD.bazel new file mode 100644 index 000000000..4032074b9 --- /dev/null +++ b/cargo/remote/miow-0.2.1.BUILD.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 OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "miow", + crate_type = "lib", + deps = [ + "@raze__kernel32_sys__0_2_2//:kernel32_sys", + "@raze__net2__0_2_35//:net2", + "@raze__winapi__0_2_8//:winapi", + "@raze__ws2_32_sys__0_2_1//:ws2_32_sys", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/multimap-0.8.2.BUILD.bazel b/cargo/remote/multimap-0.8.2.BUILD.bazel new file mode 100644 index 000000000..5751fcdb4 --- /dev/null +++ b/cargo/remote/multimap-0.8.2.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "multimap", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/net2-0.2.35.BUILD.bazel b/cargo/remote/net2-0.2.35.BUILD.bazel new file mode 100644 index 000000000..b70088568 --- /dev/null +++ b/cargo/remote/net2-0.2.35.BUILD.bazel @@ -0,0 +1,79 @@ +""" +@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: leave-alone +rust_library( + name = "net2", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + ] + selects.with_or({ + # cfg(any(target_os = "redox", unix, target_os = "wasi")) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.35", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "duration", + ], + aliases = { + }, +) diff --git a/cargo/remote/nodrop-0.1.14.BUILD.bazel b/cargo/remote/nodrop-0.1.14.BUILD.bazel new file mode 100644 index 000000000..2af4a6ca5 --- /dev/null +++ b/cargo/remote/nodrop-0.1.14.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "nodrop", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.14", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/nom-5.1.2.BUILD.bazel b/cargo/remote/nom-5.1.2.BUILD.bazel new file mode 100644 index 000000000..ca4894e6e --- /dev/null +++ b/cargo/remote/nom-5.1.2.BUILD.bazel @@ -0,0 +1,123 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "nom_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__version_check__0_9_2//:version_check", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "alloc", + "default", + "lexical", + "lexical-core", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "5.1.2", + visibility = ["//visibility:private"], +) + +# Unsupported target "arithmetic" with type "bench" omitted +# Unsupported target "arithmetic" with type "test" omitted +# Unsupported target "arithmetic_ast" with type "test" omitted +# Unsupported target "blockbuf-arithmetic" with type "test" omitted +# Unsupported target "css" with type "test" omitted +# Unsupported target "custom_errors" with type "test" omitted +# Unsupported target "escaped" with type "test" omitted +# Unsupported target "float" with type "test" omitted +# Unsupported target "http" with type "bench" omitted +# Unsupported target "inference" with type "test" omitted +# Unsupported target "ini" with type "bench" omitted +# Unsupported target "ini" with type "test" omitted +# Unsupported target "ini_complete" with type "bench" omitted +# Unsupported target "ini_str" with type "bench" omitted +# Unsupported target "ini_str" with type "test" omitted +# Unsupported target "issues" with type "test" omitted +# Unsupported target "json" with type "bench" omitted +# Unsupported target "json" with type "example" omitted +# Unsupported target "json" with type "test" omitted +# Unsupported target "mp4" with type "test" omitted +# Unsupported target "multiline" with type "test" omitted +# Unsupported target "named_args" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "nom", + crate_type = "lib", + deps = [ + ":nom_build_script", + "@raze__lexical_core__0_7_4//:lexical_core", + "@raze__memchr__2_3_3//:memchr", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "5.1.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + "lexical", + "lexical-core", + "std", + ], +) +# Unsupported target "overflow" with type "test" omitted +# Unsupported target "reborrow_fold" with type "test" omitted +# Unsupported target "s_expression" with type "example" omitted +# Unsupported target "string" with type "example" omitted +# Unsupported target "test1" with type "test" omitted diff --git a/cargo/remote/num-format-0.4.0.BUILD.bazel b/cargo/remote/num-format-0.4.0.BUILD.bazel new file mode 100644 index 000000000..5d65e4cc4 --- /dev/null +++ b/cargo/remote/num-format-0.4.0.BUILD.bazel @@ -0,0 +1,87 @@ +""" +@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: leave-alone +rust_library( + name = "num_format", + crate_type = "lib", + deps = [ + "@raze__arrayvec__0_4_12//:arrayvec", + "@raze__itoa__0_4_6//:itoa", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], + aliases = { + }, +) +# Unsupported target "test_errors" with type "test" omitted +# Unsupported target "test_no_bytes_written" with type "test" omitted +# Unsupported target "test_non_zero" with type "test" omitted +# Unsupported target "test_num_bigint" with type "test" omitted +# Unsupported target "test_serialization" with type "test" omitted +# Unsupported target "test_signed" with type "test" omitted +# Unsupported target "test_system_locale_unix" with type "test" omitted +# Unsupported target "test_system_locale_windows" with type "test" omitted +# Unsupported target "test_unsigned" with type "test" omitted diff --git a/cargo/remote/num-integer-0.1.43.BUILD.bazel b/cargo/remote/num-integer-0.1.43.BUILD.bazel new file mode 100644 index 000000000..5d726184a --- /dev/null +++ b/cargo/remote/num-integer-0.1.43.BUILD.bazel @@ -0,0 +1,94 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "num_integer_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.43", + visibility = ["//visibility:private"], +) + +# Unsupported target "average" with type "bench" omitted +# Unsupported target "average" with type "test" omitted +# Unsupported target "gcd" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "num_integer", + crate_type = "lib", + deps = [ + ":num_integer_build_script", + "@raze__num_traits__0_2_12//:num_traits", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.43", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "roots" with type "bench" omitted +# Unsupported target "roots" with type "test" omitted diff --git a/cargo/remote/num-traits-0.2.12.BUILD.bazel b/cargo/remote/num-traits-0.2.12.BUILD.bazel new file mode 100644 index 000000000..520eb6456 --- /dev/null +++ b/cargo/remote/num-traits-0.2.12.BUILD.bazel @@ -0,0 +1,89 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "num_traits_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.12", + visibility = ["//visibility:private"], +) + +# Unsupported target "cast" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "num_traits", + crate_type = "lib", + deps = [ + ":num_traits_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.12", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/num_cpus-1.13.0.BUILD.bazel b/cargo/remote/num_cpus-1.13.0.BUILD.bazel new file mode 100644 index 000000000..6aa300aa8 --- /dev/null +++ b/cargo/remote/num_cpus-1.13.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "num_cpus", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_79//:libc", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.13.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "values" with type "example" omitted diff --git a/cargo/remote/num_enum-0.5.1.BUILD.bazel b/cargo/remote/num_enum-0.5.1.BUILD.bazel new file mode 100644 index 000000000..018507808 --- /dev/null +++ b/cargo/remote/num_enum-0.5.1.BUILD.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", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets +# Unsupported target "from_primitive" with type "test" omitted +# Unsupported target "into_primitive" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "num_enum", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__derivative__2_1_1//:derivative", + "@raze__num_enum_derive__0_5_1//:num_enum_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "renamed_num_enum" with type "test" omitted +# Unsupported target "try_build" with type "test" omitted +# Unsupported target "try_from_primitive" with type "test" omitted +# Unsupported target "unsafe_from_primitive" with type "test" omitted diff --git a/cargo/remote/num_enum_derive-0.5.1.BUILD.bazel b/cargo/remote/num_enum_derive-0.5.1.BUILD.bazel new file mode 100644 index 000000000..eaf513be8 --- /dev/null +++ b/cargo/remote/num_enum_derive-0.5.1.BUILD.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", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "num_enum_derive", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro_crate__0_1_5//:proc_macro_crate", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "proc-macro-crate", + "std", + ], +) diff --git a/cargo/remote/object-0.21.1.BUILD.bazel b/cargo/remote/object-0.21.1.BUILD.bazel new file mode 100644 index 000000000..931f02a0c --- /dev/null +++ b/cargo/remote/object-0.21.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "integration" with type "test" omitted +# Unsupported target "nm" with type "example" omitted +# Unsupported target "objcopy" with type "example" omitted +# Unsupported target "objdump" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "object", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.21.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "coff", + "elf", + "macho", + "pe", + "read_core", + "unaligned", + ], +) +# Unsupported target "parse_self" with type "test" omitted diff --git a/cargo/remote/once_cell-1.4.1.BUILD.bazel b/cargo/remote/once_cell-1.4.1.BUILD.bazel new file mode 100644 index 000000000..e8df211af --- /dev/null +++ b/cargo/remote/once_cell-1.4.1.BUILD.bazel @@ -0,0 +1,62 @@ +""" +@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 "bench" with type "example" omitted +# Unsupported target "bench_acquire" with type "example" omitted +# Unsupported target "bench_vs_lazy_static" with type "example" omitted +# Unsupported target "lazy_static" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "once_cell", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.4.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "reentrant_init_deadlocks" with type "example" omitted +# Unsupported target "regex" with type "example" omitted +# Unsupported target "test" with type "test" omitted +# Unsupported target "test_synchronization" with type "example" omitted diff --git a/cargo/remote/parking_lot-0.11.0.BUILD.bazel b/cargo/remote/parking_lot-0.11.0.BUILD.bazel new file mode 100644 index 000000000..df0d82097 --- /dev/null +++ b/cargo/remote/parking_lot-0.11.0.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "issue_203" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "parking_lot", + crate_type = "lib", + deps = [ + "@raze__instant__0_1_7//:instant", + "@raze__lock_api__0_4_1//:lock_api", + "@raze__parking_lot_core__0_8_0//:parking_lot_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.11.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/parking_lot_core-0.8.0.BUILD.bazel b/cargo/remote/parking_lot_core-0.8.0.BUILD.bazel new file mode 100644 index 000000000..c7e32372b --- /dev/null +++ b/cargo/remote/parking_lot_core-0.8.0.BUILD.bazel @@ -0,0 +1,79 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "parking_lot_core", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__instant__0_1_7//:instant", + "@raze__smallvec__1_4_2//:smallvec", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/paste-0.1.18.BUILD.bazel b/cargo/remote/paste-0.1.18.BUILD.bazel new file mode 100644 index 000000000..09c85d2b8 --- /dev/null +++ b/cargo/remote/paste-0.1.18.BUILD.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 "compiletest" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "paste", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__paste_impl__0_1_18//:paste_impl", + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.18", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/paste-impl-0.1.18.BUILD.bazel b/cargo/remote/paste-impl-0.1.18.BUILD.bazel new file mode 100644 index 000000000..0406a328f --- /dev/null +++ b/cargo/remote/paste-impl-0.1.18.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "paste_impl", + crate_type = "proc-macro", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.18", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/percent-encoding-2.1.0.BUILD.bazel b/cargo/remote/percent-encoding-2.1.0.BUILD.bazel new file mode 100644 index 000000000..74f9a461c --- /dev/null +++ b/cargo/remote/percent-encoding-2.1.0.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "percent_encoding", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/petgraph-0.5.1.BUILD.bazel b/cargo/remote/petgraph-0.5.1.BUILD.bazel new file mode 100644 index 000000000..10e5e2d43 --- /dev/null +++ b/cargo/remote/petgraph-0.5.1.BUILD.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 "dijkstra" with type "bench" omitted +# Unsupported target "graph" with type "test" omitted +# Unsupported target "graphmap" with type "test" omitted +# Unsupported target "iso" with type "bench" omitted +# Unsupported target "iso" with type "test" omitted +# Unsupported target "matrix_graph" with type "bench" omitted +# Unsupported target "ograph" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "petgraph", + crate_type = "lib", + deps = [ + "@raze__fixedbitset__0_2_0//:fixedbitset", + "@raze__indexmap__1_6_0//:indexmap", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "quickcheck" with type "test" omitted +# Unsupported target "stable_graph" with type "bench" omitted +# Unsupported target "stable_graph" with type "test" omitted +# Unsupported target "unionfind" with type "bench" omitted +# Unsupported target "unionfind" with type "test" omitted diff --git a/cargo/remote/pin-project-0.4.27.BUILD.bazel b/cargo/remote/pin-project-0.4.27.BUILD.bazel new file mode 100644 index 000000000..9029a7c32 --- /dev/null +++ b/cargo/remote/pin-project-0.4.27.BUILD.bazel @@ -0,0 +1,79 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "cfg" with type "test" omitted +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "drop_order" with type "test" omitted +# Unsupported target "enum-default" with type "example" omitted +# Unsupported target "enum-default-expanded" with type "example" omitted +# Unsupported target "lint" with type "test" omitted +# Unsupported target "not_unpin" with type "example" omitted +# Unsupported target "not_unpin-expanded" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "pin_project", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__pin_project_internal__0_4_27//:pin_project_internal", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.27", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "pin_project" with type "test" omitted +# Unsupported target "pinned_drop" with type "example" omitted +# Unsupported target "pinned_drop" with type "test" omitted +# Unsupported target "pinned_drop-expanded" with type "example" omitted +# Unsupported target "project" with type "test" omitted +# Unsupported target "project_ref" with type "test" omitted +# Unsupported target "project_replace" with type "example" omitted +# Unsupported target "project_replace" with type "test" omitted +# Unsupported target "project_replace-expanded" with type "example" omitted +# Unsupported target "repr_packed" with type "test" omitted +# Unsupported target "sized" with type "test" omitted +# Unsupported target "struct-default" with type "example" omitted +# Unsupported target "struct-default-expanded" with type "example" omitted +# Unsupported target "unsafe_unpin" with type "example" omitted +# Unsupported target "unsafe_unpin" with type "test" omitted +# Unsupported target "unsafe_unpin-expanded" with type "example" omitted diff --git a/cargo/remote/pin-project-internal-0.4.27.BUILD.bazel b/cargo/remote/pin-project-internal-0.4.27.BUILD.bazel new file mode 100644 index 000000000..36b41db9a --- /dev/null +++ b/cargo/remote/pin-project-internal-0.4.27.BUILD.bazel @@ -0,0 +1,86 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "pin_project_internal_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.27", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "pin_project_internal", + crate_type = "proc-macro", + deps = [ + ":pin_project_internal_build_script", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.27", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/pin-project-lite-0.1.11.BUILD.bazel b/cargo/remote/pin-project-lite-0.1.11.BUILD.bazel new file mode 100644 index 000000000..5ed17c8ca --- /dev/null +++ b/cargo/remote/pin-project-lite-0.1.11.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "compiletest" with type "test" omitted +# Unsupported target "lint" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "pin_project_lite", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.11", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "proper_unpin" with type "test" omitted +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/pin-utils-0.1.0.BUILD.bazel b/cargo/remote/pin-utils-0.1.0.BUILD.bazel new file mode 100644 index 000000000..ee3bff5bb --- /dev/null +++ b/cargo/remote/pin-utils-0.1.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "pin_utils", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "projection" with type "test" omitted +# Unsupported target "stack_pin" with type "test" omitted diff --git a/cargo/remote/pkg-config-0.3.19.BUILD.bazel b/cargo/remote/pkg-config-0.3.19.BUILD.bazel new file mode 100644 index 000000000..fae65f38c --- /dev/null +++ b/cargo/remote/pkg-config-0.3.19.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "pkg_config", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.19", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/ppv-lite86-0.2.9.BUILD.bazel b/cargo/remote/ppv-lite86-0.2.9.BUILD.bazel new file mode 100644 index 000000000..1bd29336c --- /dev/null +++ b/cargo/remote/ppv-lite86-0.2.9.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "ppv_lite86", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.9", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "simd", + "std", + ], +) diff --git a/cargo/remote/proc-macro-crate-0.1.5.BUILD.bazel b/cargo/remote/proc-macro-crate-0.1.5.BUILD.bazel new file mode 100644 index 000000000..1c91362b5 --- /dev/null +++ b/cargo/remote/proc-macro-crate-0.1.5.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "proc_macro_crate", + crate_type = "lib", + deps = [ + "@raze__toml__0_5_7//:toml", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/proc-macro-hack-0.5.18.BUILD.bazel b/cargo/remote/proc-macro-hack-0.5.18.BUILD.bazel new file mode 100644 index 000000000..b996d1119 --- /dev/null +++ b/cargo/remote/proc-macro-hack-0.5.18.BUILD.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 +# Unsupported target "compiletest" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "proc_macro_hack", + crate_type = "proc-macro", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.18", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/proc-macro-nested-0.1.6.BUILD.bazel b/cargo/remote/proc-macro-nested-0.1.6.BUILD.bazel new file mode 100644 index 000000000..8e2780f09 --- /dev/null +++ b/cargo/remote/proc-macro-nested-0.1.6.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "proc_macro_nested_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.6", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "proc_macro_nested", + crate_type = "lib", + deps = [ + ":proc_macro_nested_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/proc-macro2-1.0.24.BUILD.bazel b/cargo/remote/proc-macro2-1.0.24.BUILD.bazel new file mode 100644 index 000000000..ec8330ce3 --- /dev/null +++ b/cargo/remote/proc-macro2-1.0.24.BUILD.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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "proc_macro2_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "proc-macro", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.24", + visibility = ["//visibility:private"], +) + +# Unsupported target "comments" with type "test" omitted +# Unsupported target "features" with type "test" omitted +# Unsupported target "marker" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "proc_macro2", + crate_type = "lib", + deps = [ + ":proc_macro2_build_script", + "@raze__unicode_xid__0_2_1//:unicode_xid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.24", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "proc-macro", + ], +) +# Unsupported target "test" with type "test" omitted +# Unsupported target "test_fmt" with type "test" omitted diff --git a/cargo/remote/prost-0.6.1.BUILD.bazel b/cargo/remote/prost-0.6.1.BUILD.bazel new file mode 100644 index 000000000..83c2632d6 --- /dev/null +++ b/cargo/remote/prost-0.6.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "prost", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__prost_derive__0_6_1//:prost_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "prost-derive", + "std", + ], +) +# Unsupported target "varint" with type "bench" omitted diff --git a/cargo/remote/prost-build-0.6.1.BUILD.bazel b/cargo/remote/prost-build-0.6.1.BUILD.bazel new file mode 100644 index 000000000..038469fd5 --- /dev/null +++ b/cargo/remote/prost-build-0.6.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "prost_build_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "prost-build/build.rs", + edition = "2018", + deps = [ + "@raze__which__4_0_2//:which", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.6.1", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "prost_build", + crate_type = "lib", + deps = [ + ":prost_build_build_script", + "@raze__bytes__0_5_6//:bytes", + "@raze__heck__0_3_1//:heck", + "@raze__itertools__0_9_0//:itertools", + "@raze__log__0_4_11//:log", + "@raze__multimap__0_8_2//:multimap", + "@raze__petgraph__0_5_1//:petgraph", + "@raze__prost__0_6_1//:prost", + "@raze__prost_types__0_6_1//:prost_types", + "@raze__tempfile__3_1_0//:tempfile", + ], + srcs = glob(["**/*.rs"]), + crate_root = "prost-build/src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/prost-derive-0.6.1.BUILD.bazel b/cargo/remote/prost-derive-0.6.1.BUILD.bazel new file mode 100644 index 000000000..ba8ef4bd5 --- /dev/null +++ b/cargo/remote/prost-derive-0.6.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "prost_derive", + crate_type = "proc-macro", + deps = [ + "@raze__anyhow__1_0_33//:anyhow", + "@raze__itertools__0_9_0//:itertools", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "prost-derive/src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/prost-types-0.6.1.BUILD.bazel b/cargo/remote/prost-types-0.6.1.BUILD.bazel new file mode 100644 index 000000000..149584769 --- /dev/null +++ b/cargo/remote/prost-types-0.6.1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "prost_types", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__prost__0_6_1//:prost", + ], + srcs = glob(["**/*.rs"]), + crate_root = "prost-types/src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/pyo3-0.11.1.BUILD.bazel b/cargo/remote/pyo3-0.11.1.BUILD.bazel new file mode 100644 index 000000000..455809cc8 --- /dev/null +++ b/cargo/remote/pyo3-0.11.1.BUILD.bazel @@ -0,0 +1,142 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "pyo3_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "ctor", + "default", + "extension-module", + "indoc", + "inventory", + "macros", + "paste", + "pyo3cls", + "unindent", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.11.1", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench_dict" with type "bench" omitted +# Unsupported target "bench_list" with type "bench" omitted +# Unsupported target "bench_pyobject" with type "bench" omitted +# Unsupported target "bench_tuple" with type "bench" omitted +# Unsupported target "common" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "pyo3", + crate_type = "lib", + deps = [ + ":pyo3_build_script", + "@raze__indoc__0_3_6//:indoc", + "@raze__inventory__0_1_9//:inventory", + "@raze__libc__0_2_79//:libc", + "@raze__parking_lot__0_11_0//:parking_lot", + "@raze__paste__0_1_18//:paste", + "@raze__unindent__0_1_7//:unindent", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__ctor__0_1_16//:ctor", + "@raze__pyo3cls__0_11_1//:pyo3cls", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["**"]), + version = "0.11.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "ctor", + "default", + "extension-module", + "indoc", + "inventory", + "macros", + "paste", + "pyo3cls", + "unindent", + ], +) +# Unsupported target "test_arithmetics" with type "test" omitted +# Unsupported target "test_buffer_protocol" with type "test" omitted +# Unsupported target "test_bytes" with type "test" omitted +# Unsupported target "test_class_attributes" with type "test" omitted +# Unsupported target "test_class_basics" with type "test" omitted +# Unsupported target "test_class_conversion" with type "test" omitted +# Unsupported target "test_class_new" with type "test" omitted +# Unsupported target "test_compile_error" with type "test" omitted +# Unsupported target "test_datetime" with type "test" omitted +# Unsupported target "test_dict_iter" with type "test" omitted +# Unsupported target "test_dunder" with type "test" omitted +# Unsupported target "test_exceptions" with type "test" omitted +# Unsupported target "test_gc" with type "test" omitted +# Unsupported target "test_getter_setter" with type "test" omitted +# Unsupported target "test_inheritance" with type "test" omitted +# Unsupported target "test_mapping" with type "test" omitted +# Unsupported target "test_methods" with type "test" omitted +# Unsupported target "test_module" with type "test" omitted +# Unsupported target "test_pyfunction" with type "test" omitted +# Unsupported target "test_pyself" with type "test" omitted +# Unsupported target "test_sequence" with type "test" omitted +# Unsupported target "test_string" with type "test" omitted +# Unsupported target "test_text_signature" with type "test" omitted +# Unsupported target "test_variable_arguments" with type "test" omitted +# Unsupported target "test_various" with type "test" omitted diff --git a/cargo/remote/pyo3-derive-backend-0.11.1.BUILD.bazel b/cargo/remote/pyo3-derive-backend-0.11.1.BUILD.bazel new file mode 100644 index 000000000..f387781a4 --- /dev/null +++ b/cargo/remote/pyo3-derive-backend-0.11.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "pyo3_derive_backend", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.11.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/pyo3cls-0.11.1.BUILD.bazel b/cargo/remote/pyo3cls-0.11.1.BUILD.bazel new file mode 100644 index 000000000..911f14a7f --- /dev/null +++ b/cargo/remote/pyo3cls-0.11.1.BUILD.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", # Apache-2.0 from expression "Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "pyo3cls", + crate_type = "proc-macro", + deps = [ + "@raze__pyo3_derive_backend__0_11_1//:pyo3_derive_backend", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.11.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/quick-error-1.2.3.BUILD.bazel b/cargo/remote/quick-error-1.2.3.BUILD.bazel new file mode 100644 index 000000000..43c9d4d06 --- /dev/null +++ b/cargo/remote/quick-error-1.2.3.BUILD.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 +# Unsupported target "context" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "quick_error", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.2.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/quote-1.0.7.BUILD.bazel b/cargo/remote/quote-1.0.7.BUILD.bazel new file mode 100644 index 000000000..81bdef1c4 --- /dev/null +++ b/cargo/remote/quote-1.0.7.BUILD.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 +# Unsupported target "compiletest" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "quote", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "proc-macro", + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/rand-0.7.3.BUILD.bazel b/cargo/remote/rand-0.7.3.BUILD.bazel new file mode 100644 index 000000000..ab6a7ba28 --- /dev/null +++ b/cargo/remote/rand-0.7.3.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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 "generators" with type "bench" omitted +# Unsupported target "misc" with type "bench" omitted +# Unsupported target "monte-carlo" with type "example" omitted +# Unsupported target "monty-hall" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "rand", + crate_type = "lib", + deps = [ + "@raze__getrandom__0_1_15//:getrandom", + "@raze__rand_chacha__0_2_2//:rand_chacha", + "@raze__rand_core__0_5_1//:rand_core", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + "getrandom", + "getrandom_package", + "libc", + "std", + ], + aliases = { + "@raze__getrandom__0_1_15//:getrandom": "getrandom_package", + }, +) +# Unsupported target "seq" with type "bench" omitted +# Unsupported target "weighted" with type "bench" omitted diff --git a/cargo/remote/rand_chacha-0.2.2.BUILD.bazel b/cargo/remote/rand_chacha-0.2.2.BUILD.bazel new file mode 100644 index 000000000..e806cebc5 --- /dev/null +++ b/cargo/remote/rand_chacha-0.2.2.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "rand_chacha", + crate_type = "lib", + deps = [ + "@raze__ppv_lite86__0_2_9//:ppv_lite86", + "@raze__rand_core__0_5_1//:rand_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "std", + ], +) diff --git a/cargo/remote/rand_core-0.5.1.BUILD.bazel b/cargo/remote/rand_core-0.5.1.BUILD.bazel new file mode 100644 index 000000000..c22a46d8d --- /dev/null +++ b/cargo/remote/rand_core-0.5.1.BUILD.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 OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "rand_core", + crate_type = "lib", + deps = [ + "@raze__getrandom__0_1_15//:getrandom", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "getrandom", + "std", + ], +) diff --git a/cargo/remote/rand_hc-0.2.0.BUILD.bazel b/cargo/remote/rand_hc-0.2.0.BUILD.bazel new file mode 100644 index 000000000..d04ddfd9e --- /dev/null +++ b/cargo/remote/rand_hc-0.2.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "rand_hc", + crate_type = "lib", + deps = [ + "@raze__rand_core__0_5_1//:rand_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/redox_syscall-0.1.57.BUILD.bazel b/cargo/remote/redox_syscall-0.1.57.BUILD.bazel new file mode 100644 index 000000000..81799b8b9 --- /dev/null +++ b/cargo/remote/redox_syscall-0.1.57.BUILD.bazel @@ -0,0 +1,61 @@ +""" +@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 + +alias( + name = "redox_syscall", + actual = ":syscall", + tags = [ + "cargo-raze", + "manual", + ], +) + +# buildifier: leave-alone +rust_library( + name = "syscall", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.57", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/redox_users-0.3.5.BUILD.bazel b/cargo/remote/redox_users-0.3.5.BUILD.bazel new file mode 100644 index 000000000..6505112eb --- /dev/null +++ b/cargo/remote/redox_users-0.3.5.BUILD.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" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "redox_users", + crate_type = "lib", + deps = [ + "@raze__getrandom__0_1_15//:getrandom", + "@raze__redox_syscall__0_1_57//:redox_syscall", + "@raze__rust_argon2__0_8_2//:rust_argon2", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "auth", + "default", + "rust-argon2", + ], +) diff --git a/cargo/remote/regex-1.4.1.BUILD.bazel b/cargo/remote/regex-1.4.1.BUILD.bazel new file mode 100644 index 000000000..9cb8408a7 --- /dev/null +++ b/cargo/remote/regex-1.4.1.BUILD.bazel @@ -0,0 +1,89 @@ +""" +@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 "backtrack" with type "test" omitted +# Unsupported target "backtrack-bytes" with type "test" omitted +# Unsupported target "backtrack-utf8bytes" with type "test" omitted +# Unsupported target "crates-regex" with type "test" omitted +# Unsupported target "default" with type "test" omitted +# Unsupported target "default-bytes" with type "test" omitted +# Unsupported target "nfa" with type "test" omitted +# Unsupported target "nfa-bytes" with type "test" omitted +# Unsupported target "nfa-utf8bytes" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "regex", + crate_type = "lib", + deps = [ + "@raze__aho_corasick__0_7_14//:aho_corasick", + "@raze__memchr__2_3_3//:memchr", + "@raze__regex_syntax__0_6_20//:regex_syntax", + "@raze__thread_local__1_0_1//:thread_local", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.4.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "aho-corasick", + "default", + "memchr", + "perf", + "perf-cache", + "perf-dfa", + "perf-inline", + "perf-literal", + "std", + "thread_local", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + ], +) +# Unsupported target "shootout-regex-dna" with type "example" omitted +# Unsupported target "shootout-regex-dna-bytes" with type "example" omitted +# Unsupported target "shootout-regex-dna-cheat" with type "example" omitted +# Unsupported target "shootout-regex-dna-replace" with type "example" omitted +# Unsupported target "shootout-regex-dna-single" with type "example" omitted +# Unsupported target "shootout-regex-dna-single-cheat" with type "example" omitted diff --git a/cargo/remote/regex-syntax-0.6.20.BUILD.bazel b/cargo/remote/regex-syntax-0.6.20.BUILD.bazel new file mode 100644 index 000000000..75d79e047 --- /dev/null +++ b/cargo/remote/regex-syntax-0.6.20.BUILD.bazel @@ -0,0 +1,62 @@ +""" +@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 "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "regex_syntax", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.20", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "unicode", + "unicode-age", + "unicode-bool", + "unicode-case", + "unicode-gencat", + "unicode-perl", + "unicode-script", + "unicode-segment", + ], +) diff --git a/cargo/remote/remove_dir_all-0.5.3.BUILD.bazel b/cargo/remote/remove_dir_all-0.5.3.BUILD.bazel new file mode 100644 index 000000000..e300d6ddb --- /dev/null +++ b/cargo/remote/remove_dir_all-0.5.3.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "remove_dir_all", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/rental-0.5.5.BUILD.bazel b/cargo/remote/rental-0.5.5.BUILD.bazel new file mode 100644 index 000000000..4d7f94313 --- /dev/null +++ b/cargo/remote/rental-0.5.5.BUILD.bazel @@ -0,0 +1,75 @@ +""" +@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 "clone" with type "test" omitted +# Unsupported target "complex" with type "test" omitted +# Unsupported target "complex_mut" with type "test" omitted +# Unsupported target "covariant" with type "test" omitted +# Unsupported target "debug" with type "test" omitted +# Unsupported target "drop_order" with type "test" omitted +# Unsupported target "generic" with type "test" omitted +# Unsupported target "lt_params" with type "test" omitted +# Unsupported target "map" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "rental", + crate_type = "lib", + deps = [ + "@raze__stable_deref_trait__1_2_0//:stable_deref_trait", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + proc_macro_deps = [ + "@raze__rental_impl__0_5_5//:rental_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) +# Unsupported target "simple_mut" with type "test" omitted +# Unsupported target "simple_ref" with type "test" omitted +# Unsupported target "string" with type "test" omitted +# Unsupported target "subrental" with type "test" omitted +# Unsupported target "target_ty_hack" with type "test" omitted +# Unsupported target "trait" with type "test" omitted +# Unsupported target "unused" with type "test" omitted +# Unsupported target "vec_slice" with type "test" omitted diff --git a/cargo/remote/rental-impl-0.5.5.BUILD.bazel b/cargo/remote/rental-impl-0.5.5.BUILD.bazel new file mode 100644 index 000000000..a17388127 --- /dev/null +++ b/cargo/remote/rental-impl-0.5.5.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "rental_impl", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/reqwest-0.10.4.BUILD.bazel b/cargo/remote/reqwest-0.10.4.BUILD.bazel new file mode 100644 index 000000000..3fafda2d0 --- /dev/null +++ b/cargo/remote/reqwest-0.10.4.BUILD.bazel @@ -0,0 +1,129 @@ +""" +@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 "badssl" with type "test" omitted +# Unsupported target "blocking" with type "example" omitted +# Unsupported target "blocking" with type "test" omitted +# Unsupported target "brotli" with type "test" omitted +# Unsupported target "client" with type "test" omitted +# Unsupported target "cookie" with type "test" omitted +# Unsupported target "form" with type "example" omitted +# Unsupported target "gzip" with type "test" omitted +# Unsupported target "json_dynamic" with type "example" omitted +# Unsupported target "json_typed" with type "example" omitted +# Unsupported target "multipart" with type "test" omitted +# Unsupported target "proxy" with type "test" omitted +# Unsupported target "redirect" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "reqwest", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__http__0_2_1//:http", + "@raze__hyper_timeout__0_3_1//:hyper_timeout", + "@raze__serde__1_0_117//:serde", + "@raze__serde_json__1_0_59//:serde_json", + "@raze__url__2_1_1//:url", + ] + selects.with_or({ + # cfg(not(target_arch = "wasm32")) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__base64__0_12_3//:base64", + "@raze__encoding_rs__0_8_24//:encoding_rs", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_util__0_3_6//:futures_util", + "@raze__http_body__0_3_1//:http_body", + "@raze__hyper__0_13_8//:hyper", + "@raze__hyper_rustls__0_20_0//:hyper_rustls", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__log__0_4_11//:log", + "@raze__mime__0_3_16//:mime", + "@raze__mime_guess__2_0_3//:mime_guess", + "@raze__percent_encoding__2_1_0//:percent_encoding", + "@raze__pin_project_lite__0_1_11//:pin_project_lite", + "@raze__rustls__0_17_0//:rustls", + "@raze__serde_urlencoded__0_6_1//:serde_urlencoded", + "@raze__tokio__0_2_22//:tokio", + "@raze__tokio_rustls__0_13_1//:tokio_rustls", + "@raze__tokio_socks__0_2_2//:tokio_socks", + "@raze__webpki_roots__0_18_0//:webpki_roots", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winreg__0_6_2//:winreg", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "__tls", + "hyper-rustls", + "json", + "rustls", + "rustls-tls", + "serde_json", + "socks", + "stream", + "tokio-rustls", + "tokio-socks", + "webpki-roots", + ], + aliases = { + }, +) +# Unsupported target "simple" with type "example" omitted +# Unsupported target "timeouts" with type "test" omitted +# Unsupported target "tor_socks" with type "example" omitted diff --git a/cargo/remote/ring-0.16.15.BUILD.bazel b/cargo/remote/ring-0.16.15.BUILD.bazel new file mode 100644 index 000000000..fc45954ab --- /dev/null +++ b/cargo/remote/ring-0.16.15.BUILD.bazel @@ -0,0 +1,213 @@ +""" +@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([ + "restricted", # no license +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "ring_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + "@raze__cc__1_0_61//:cc", + ] + selects.with_or({ + # cfg(all(any(target_arch = "aarch64", target_arch = "arm", target_arch = "x86", target_arch = "x86_64"), not(target_os = "ios"))) + ( + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "android", target_os = "freebsd", target_os = "linux", target_os = "netbsd", target_os = "openbsd", target_os = "solaris")) + ( + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "android", target_os = "linux")) + ( + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(unix, windows)) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_os = "windows") + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + "once_cell", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.16.15", + visibility = ["//visibility:private"], +) + +# Unsupported target "aead_tests" with type "test" omitted +# Unsupported target "agreement_tests" with type "test" omitted +# Unsupported target "constant_time_tests" with type "test" omitted +# Unsupported target "digest_tests" with type "test" omitted +# Unsupported target "ecdsa_tests" with type "test" omitted +# Unsupported target "ed25519_tests" with type "test" omitted +# Unsupported target "hkdf_tests" with type "test" omitted +# Unsupported target "hmac_tests" with type "test" omitted +# Unsupported target "pbkdf2_tests" with type "test" omitted +# Unsupported target "quic_tests" with type "test" omitted +# Unsupported target "rand_tests" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "ring", + crate_type = "lib", + deps = [ + ":ring_build_script", + "@raze__untrusted__0_7_1//:untrusted", + ] + selects.with_or({ + # cfg(all(any(target_arch = "aarch64", target_arch = "arm", target_arch = "x86", target_arch = "x86_64"), not(target_os = "ios"))) + ( + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__spin__0_5_2//:spin", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "android", target_os = "freebsd", target_os = "linux", target_os = "netbsd", target_os = "openbsd", target_os = "solaris")) + ( + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__once_cell__1_4_1//:once_cell", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(target_os = "android", target_os = "linux")) + ( + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(any(unix, windows)) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(target_os = "windows") + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["src/**"]), + version = "0.16.15", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + "dev_urandom_fallback", + "once_cell", + ], + aliases = { + }, +) +# Unsupported target "rsa_tests" with type "test" omitted +# Unsupported target "signature_tests" with type "test" omitted diff --git a/cargo/remote/rusqlite-0.23.1.BUILD.bazel b/cargo/remote/rusqlite-0.23.1.BUILD.bazel new file mode 100644 index 000000000..112abad85 --- /dev/null +++ b/cargo/remote/rusqlite-0.23.1.BUILD.bazel @@ -0,0 +1,69 @@ +""" +@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 "cache" with type "bench" omitted +# Unsupported target "config_log" with type "test" omitted +# Unsupported target "deny_single_threaded_sqlite_config" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "rusqlite", + crate_type = "lib", + deps = [ + "@raze__bitflags__1_2_1//:bitflags", + "@raze__fallible_iterator__0_2_0//:fallible_iterator", + "@raze__fallible_streaming_iterator__0_1_9//:fallible_streaming_iterator", + "@raze__libsqlite3_sys__0_18_0//:libsqlite3_sys", + "@raze__lru_cache__0_1_2//:lru_cache", + "@raze__memchr__2_3_3//:memchr", + "@raze__smallvec__1_4_2//:smallvec", + "@raze__time__0_1_44//:time", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.23.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "bundled", + "collation", + "functions", + "modern_sqlite", + "trace", + ], +) +# Unsupported target "vtab" with type "test" omitted diff --git a/cargo/remote/rust-argon2-0.8.2.BUILD.bazel b/cargo/remote/rust-argon2-0.8.2.BUILD.bazel new file mode 100644 index 000000000..1f4aae8d1 --- /dev/null +++ b/cargo/remote/rust-argon2-0.8.2.BUILD.bazel @@ -0,0 +1,68 @@ +""" +@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 + +alias( + name = "rust_argon2", + actual = ":argon2", + tags = [ + "cargo-raze", + "manual", + ], +) + +# buildifier: leave-alone +rust_library( + name = "argon2", + crate_type = "lib", + deps = [ + "@raze__base64__0_12_3//:base64", + "@raze__blake2b_simd__0_5_10//:blake2b_simd", + "@raze__constant_time_eq__0_1_5//:constant_time_eq", + "@raze__crossbeam_utils__0_7_2//:crossbeam_utils", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "crossbeam-utils", + "default", + ], +) +# Unsupported target "integration_test" with type "test" omitted diff --git a/cargo/remote/rustc-demangle-0.1.17.BUILD.bazel b/cargo/remote/rustc-demangle-0.1.17.BUILD.bazel new file mode 100644 index 000000000..2fd821ad9 --- /dev/null +++ b/cargo/remote/rustc-demangle-0.1.17.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "rustc_demangle", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.17", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/rustls-0.17.0.BUILD.bazel b/cargo/remote/rustls-0.17.0.BUILD.bazel new file mode 100644 index 000000000..ad6ac2753 --- /dev/null +++ b/cargo/remote/rustls-0.17.0.BUILD.bazel @@ -0,0 +1,67 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +# Generated targets +# 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 + +# buildifier: leave-alone +rust_library( + name = "rustls", + crate_type = "lib", + deps = [ + "@raze__base64__0_11_0//:base64", + "@raze__log__0_4_11//:log", + "@raze__ring__0_16_15//:ring", + "@raze__sct__0_6_0//:sct", + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.17.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "dangerous_configuration", + "default", + "log", + "logging", + ], +) +# Unsupported target "trytls_shim" with type "example" omitted diff --git a/cargo/remote/ryu-1.0.5.BUILD.bazel b/cargo/remote/ryu-1.0.5.BUILD.bazel new file mode 100644 index 000000000..02b5cae0e --- /dev/null +++ b/cargo/remote/ryu-1.0.5.BUILD.bazel @@ -0,0 +1,92 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR BSL-1.0" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "ryu_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.5", + visibility = ["//visibility:private"], +) + +# Unsupported target "bench" with type "bench" omitted +# Unsupported target "common_test" with type "test" omitted +# Unsupported target "d2s_table_test" with type "test" omitted +# Unsupported target "d2s_test" with type "test" omitted +# Unsupported target "exhaustive" with type "test" omitted +# Unsupported target "f2s_test" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "ryu", + crate_type = "lib", + deps = [ + ":ryu_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "s2d_test" with type "test" omitted +# Unsupported target "s2f_test" with type "test" omitted +# Unsupported target "upstream_benchmark" with type "example" omitted diff --git a/cargo/remote/scopeguard-1.1.0.BUILD.bazel b/cargo/remote/scopeguard-1.1.0.BUILD.bazel new file mode 100644 index 000000000..a2d8755c8 --- /dev/null +++ b/cargo/remote/scopeguard-1.1.0.BUILD.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 +# Unsupported target "readme" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "scopeguard", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "use_std", + ], +) diff --git a/cargo/remote/sct-0.6.0.BUILD.bazel b/cargo/remote/sct-0.6.0.BUILD.bazel new file mode 100644 index 000000000..5a83f3146 --- /dev/null +++ b/cargo/remote/sct-0.6.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (ISC OR MIT)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "sct", + crate_type = "lib", + deps = [ + "@raze__ring__0_16_15//:ring", + "@raze__untrusted__0_7_1//:untrusted", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/serde-1.0.117.BUILD.bazel b/cargo/remote/serde-1.0.117.BUILD.bazel new file mode 100644 index 000000000..40077c4c8 --- /dev/null +++ b/cargo/remote/serde-1.0.117.BUILD.bazel @@ -0,0 +1,94 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "serde_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.117", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "serde", + crate_type = "lib", + deps = [ + ":serde_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + proc_macro_deps = [ + "@raze__serde_derive__1_0_117//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.117", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "derive", + "serde_derive", + "std", + ], +) diff --git a/cargo/remote/serde-aux-0.6.1.BUILD.bazel b/cargo/remote/serde-aux-0.6.1.BUILD.bazel new file mode 100644 index 000000000..76a8deceb --- /dev/null +++ b/cargo/remote/serde-aux-0.6.1.BUILD.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" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "serde_aux", + crate_type = "lib", + deps = [ + "@raze__chrono__0_4_19//:chrono", + "@raze__serde__1_0_117//:serde", + "@raze__serde_json__1_0_59//:serde_json", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + proc_macro_deps = [ + "@raze__serde_derive__1_0_117//:serde_derive", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "chrono", + "default", + ], +) diff --git a/cargo/remote/serde_derive-1.0.117.BUILD.bazel b/cargo/remote/serde_derive-1.0.117.BUILD.bazel new file mode 100644 index 000000000..847217faa --- /dev/null +++ b/cargo/remote/serde_derive-1.0.117.BUILD.bazel @@ -0,0 +1,88 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "serde_derive_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.117", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "serde_derive", + crate_type = "proc-macro", + deps = [ + ":serde_derive_build_script", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.117", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/serde_json-1.0.59.BUILD.bazel b/cargo/remote/serde_json-1.0.59.BUILD.bazel new file mode 100644 index 000000000..5f656d48e --- /dev/null +++ b/cargo/remote/serde_json-1.0.59.BUILD.bazel @@ -0,0 +1,90 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "serde_json_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.59", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "serde_json", + crate_type = "lib", + deps = [ + ":serde_json_build_script", + "@raze__itoa__0_4_6//:itoa", + "@raze__ryu__1_0_5//:ryu", + "@raze__serde__1_0_117//:serde", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.59", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/serde_repr-0.1.6.BUILD.bazel b/cargo/remote/serde_repr-0.1.6.BUILD.bazel new file mode 100644 index 000000000..cedc239aa --- /dev/null +++ b/cargo/remote/serde_repr-0.1.6.BUILD.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 +# Unsupported target "compiletest" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "serde_repr", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.6", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test" with type "test" omitted diff --git a/cargo/remote/serde_tuple-0.5.0.BUILD.bazel b/cargo/remote/serde_tuple-0.5.0.BUILD.bazel new file mode 100644 index 000000000..da10b5e77 --- /dev/null +++ b/cargo/remote/serde_tuple-0.5.0.BUILD.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" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "serde_tuple", + crate_type = "lib", + deps = [ + "@raze__serde__1_0_117//:serde", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__serde_tuple_macros__0_5_0//:serde_tuple_macros", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "simple" with type "example" omitted diff --git a/cargo/remote/serde_tuple_macros-0.5.0.BUILD.bazel b/cargo/remote/serde_tuple_macros-0.5.0.BUILD.bazel new file mode 100644 index 000000000..25a533663 --- /dev/null +++ b/cargo/remote/serde_tuple_macros-0.5.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "serde_tuple_macros", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/serde_urlencoded-0.6.1.BUILD.bazel b/cargo/remote/serde_urlencoded-0.6.1.BUILD.bazel new file mode 100644 index 000000000..bd6993be6 --- /dev/null +++ b/cargo/remote/serde_urlencoded-0.6.1.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "serde_urlencoded", + crate_type = "lib", + deps = [ + "@raze__dtoa__0_4_6//:dtoa", + "@raze__itoa__0_4_6//:itoa", + "@raze__serde__1_0_117//:serde", + "@raze__url__2_1_1//:url", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "test_deserialize" with type "test" omitted +# Unsupported target "test_serialize" with type "test" omitted diff --git a/cargo/remote/sha1-0.6.0.BUILD.bazel b/cargo/remote/sha1-0.6.0.BUILD.bazel new file mode 100644 index 000000000..5f514461b --- /dev/null +++ b/cargo/remote/sha1-0.6.0.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "sha1", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/slab-0.4.2.BUILD.bazel b/cargo/remote/slab-0.4.2.BUILD.bazel new file mode 100644 index 000000000..949a6d6bc --- /dev/null +++ b/cargo/remote/slab-0.4.2.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "slab", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "slab" with type "test" omitted diff --git a/cargo/remote/slog-2.5.2.BUILD.bazel b/cargo/remote/slog-2.5.2.BUILD.bazel new file mode 100644 index 000000000..7c6486009 --- /dev/null +++ b/cargo/remote/slog-2.5.2.BUILD.bazel @@ -0,0 +1,94 @@ +""" +@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 "MPL-2.0 OR (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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "slog_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "max_level_trace", + "release_max_level_debug", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "2.5.2", + visibility = ["//visibility:private"], +) + +# Unsupported target "named" with type "example" omitted +# Unsupported target "singlethread" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "slog", + crate_type = "lib", + deps = [ + ":slog_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.5.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "max_level_trace", + "release_max_level_debug", + "std", + ], +) +# Unsupported target "struct-log-self" with type "example" omitted diff --git a/cargo/remote/slog-async-2.5.0.BUILD.bazel b/cargo/remote/slog-async-2.5.0.BUILD.bazel new file mode 100644 index 000000000..c5ed09405 --- /dev/null +++ b/cargo/remote/slog-async-2.5.0.BUILD.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 "MPL-2.0 OR (MIT OR Apache-2.0)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "slog_async", + crate_type = "lib", + deps = [ + "@raze__crossbeam_channel__0_4_4//:crossbeam_channel", + "@raze__slog__2_5_2//:slog", + "@raze__take_mut__0_2_2//:take_mut", + "@raze__thread_local__1_0_1//:thread_local", + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.5.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/slog-envlogger-2.2.0.BUILD.bazel b/cargo/remote/slog-envlogger-2.2.0.BUILD.bazel new file mode 100644 index 000000000..079eb1dfd --- /dev/null +++ b/cargo/remote/slog-envlogger-2.2.0.BUILD.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 "proper" with type "example" omitted +# Unsupported target "regexp_filter" with type "test" omitted +# Unsupported target "scopes" with type "example" omitted +# Unsupported target "simple" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "slog_envlogger", + crate_type = "lib", + deps = [ + "@raze__log__0_4_11//:log", + "@raze__regex__1_4_1//:regex", + "@raze__slog__2_5_2//:slog", + "@raze__slog_async__2_5_0//:slog_async", + "@raze__slog_scope__4_3_0//:slog_scope", + "@raze__slog_stdlog__4_0_0//:slog_stdlog", + "@raze__slog_term__2_6_0//:slog_term", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "regex", + ], +) diff --git a/cargo/remote/slog-scope-4.3.0.BUILD.bazel b/cargo/remote/slog-scope-4.3.0.BUILD.bazel new file mode 100644 index 000000000..f489a53b4 --- /dev/null +++ b/cargo/remote/slog-scope-4.3.0.BUILD.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 "MPL-2.0 OR (MIT OR Apache-2.0)" +]) + +# Generated targets +# Unsupported target "compact-color" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "slog_scope", + crate_type = "lib", + deps = [ + "@raze__arc_swap__0_4_7//:arc_swap", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__slog__2_5_2//:slog", + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "4.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/slog-stdlog-4.0.0.BUILD.bazel b/cargo/remote/slog-stdlog-4.0.0.BUILD.bazel new file mode 100644 index 000000000..9321b27b9 --- /dev/null +++ b/cargo/remote/slog-stdlog-4.0.0.BUILD.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 "MPL-2.0 OR (MIT OR Apache-2.0)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "slog_stdlog", + crate_type = "lib", + deps = [ + "@raze__crossbeam__0_7_3//:crossbeam", + "@raze__log__0_4_11//:log", + "@raze__slog__2_5_2//:slog", + "@raze__slog_scope__4_3_0//:slog_scope", + ], + srcs = glob(["**/*.rs"]), + crate_root = "lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "4.0.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/slog-term-2.6.0.BUILD.bazel b/cargo/remote/slog-term-2.6.0.BUILD.bazel new file mode 100644 index 000000000..de6cc14cd --- /dev/null +++ b/cargo/remote/slog-term-2.6.0.BUILD.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 "MPL-2.0 OR (MIT OR Apache-2.0)" +]) + +# Generated targets +# Unsupported target "compact" with type "example" omitted +# Unsupported target "compact-color" with type "example" omitted +# Unsupported target "full" with type "example" omitted +# Unsupported target "full-color" with type "example" omitted +# Unsupported target "full-color-oorder" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "slog_term", + crate_type = "lib", + deps = [ + "@raze__atty__0_2_14//:atty", + "@raze__chrono__0_4_19//:chrono", + "@raze__slog__2_5_2//:slog", + "@raze__term__0_6_1//:term", + "@raze__thread_local__1_0_1//:thread_local", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "term" with type "test" omitted +# Unsupported target "to-file" with type "example" omitted diff --git a/cargo/remote/smallvec-1.4.2.BUILD.bazel b/cargo/remote/smallvec-1.4.2.BUILD.bazel new file mode 100644 index 000000000..68f89abe0 --- /dev/null +++ b/cargo/remote/smallvec-1.4.2.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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 "bench" with type "bench" omitted +# Unsupported target "macro" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "smallvec", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.4.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/socket2-0.3.15.BUILD.bazel b/cargo/remote/socket2-0.3.15.BUILD.bazel new file mode 100644 index 000000000..7ad0f45e8 --- /dev/null +++ b/cargo/remote/socket2-0.3.15.BUILD.bazel @@ -0,0 +1,77 @@ +""" +@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: leave-alone +rust_library( + name = "socket2", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(any(unix, target_os = "redox")) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.15", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/spin-0.5.2.BUILD.bazel b/cargo/remote/spin-0.5.2.BUILD.bazel new file mode 100644 index 000000000..0423e4523 --- /dev/null +++ b/cargo/remote/spin-0.5.2.BUILD.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 +# Unsupported target "debug" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "spin", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/stable_deref_trait-1.2.0.BUILD.bazel b/cargo/remote/stable_deref_trait-1.2.0.BUILD.bazel new file mode 100644 index 000000000..09a9a662e --- /dev/null +++ b/cargo/remote/stable_deref_trait-1.2.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "stable_deref_trait", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.2.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "std", + ], +) diff --git a/cargo/remote/static_assertions-1.1.0.BUILD.bazel b/cargo/remote/static_assertions-1.1.0.BUILD.bazel new file mode 100644 index 000000000..8ab446e3b --- /dev/null +++ b/cargo/remote/static_assertions-1.1.0.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "static_assertions", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/subtle-2.3.0.BUILD.bazel b/cargo/remote/subtle-2.3.0.BUILD.bazel new file mode 100644 index 000000000..934ef22f0 --- /dev/null +++ b/cargo/remote/subtle-2.3.0.BUILD.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", # BSD-3-Clause from expression "BSD-3-Clause" +]) + +# Generated targets +# Unsupported target "mod" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "subtle", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/syn-1.0.45.BUILD.bazel b/cargo/remote/syn-1.0.45.BUILD.bazel new file mode 100644 index 000000000..2497e0a5a --- /dev/null +++ b/cargo/remote/syn-1.0.45.BUILD.bazel @@ -0,0 +1,138 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "syn_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "fold", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + "visit-mut", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.0.45", + visibility = ["//visibility:private"], +) + +# Unsupported target "file" with type "bench" omitted +# Unsupported target "rust" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "syn", + crate_type = "lib", + deps = [ + ":syn_build_script", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__unicode_xid__0_2_1//:unicode_xid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.45", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "clone-impls", + "default", + "derive", + "extra-traits", + "fold", + "full", + "parsing", + "printing", + "proc-macro", + "quote", + "visit", + "visit-mut", + ], +) +# Unsupported target "test_asyncness" with type "test" omitted +# Unsupported target "test_attribute" with type "test" omitted +# Unsupported target "test_derive_input" with type "test" omitted +# Unsupported target "test_expr" with type "test" omitted +# Unsupported target "test_generics" with type "test" omitted +# Unsupported target "test_grouping" with type "test" omitted +# Unsupported target "test_ident" with type "test" omitted +# Unsupported target "test_item" with type "test" omitted +# Unsupported target "test_iterators" with type "test" omitted +# Unsupported target "test_lit" with type "test" omitted +# Unsupported target "test_meta" with type "test" omitted +# Unsupported target "test_parse_buffer" with type "test" omitted +# Unsupported target "test_parse_stream" with type "test" omitted +# Unsupported target "test_pat" with type "test" omitted +# Unsupported target "test_path" with type "test" omitted +# Unsupported target "test_precedence" with type "test" omitted +# Unsupported target "test_receiver" with type "test" omitted +# Unsupported target "test_round_trip" with type "test" omitted +# Unsupported target "test_shebang" with type "test" omitted +# Unsupported target "test_should_parse" with type "test" omitted +# Unsupported target "test_size" with type "test" omitted +# Unsupported target "test_stmt" with type "test" omitted +# Unsupported target "test_token_trees" with type "test" omitted +# Unsupported target "test_ty" with type "test" omitted +# Unsupported target "test_visibility" with type "test" omitted +# Unsupported target "zzz_stable" with type "test" omitted diff --git a/cargo/remote/synstructure-0.12.4.BUILD.bazel b/cargo/remote/synstructure-0.12.4.BUILD.bazel new file mode 100644 index 000000000..51aa76367 --- /dev/null +++ b/cargo/remote/synstructure-0.12.4.BUILD.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" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "synstructure", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + "@raze__unicode_xid__0_2_1//:unicode_xid", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.12.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "proc-macro", + ], +) diff --git a/cargo/remote/take_mut-0.2.2.BUILD.bazel b/cargo/remote/take_mut-0.2.2.BUILD.bazel new file mode 100644 index 000000000..3338dcad7 --- /dev/null +++ b/cargo/remote/take_mut-0.2.2.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "take_mut", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/tempfile-3.1.0.BUILD.bazel b/cargo/remote/tempfile-3.1.0.BUILD.bazel new file mode 100644 index 000000000..9ff3bb339 --- /dev/null +++ b/cargo/remote/tempfile-3.1.0.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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 "namedtempfile" with type "test" omitted +# Unsupported target "spooled" with type "test" omitted +# Unsupported target "tempdir" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "tempfile", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__rand__0_7_3//:rand", + "@raze__remove_dir_all__0_5_3//:remove_dir_all", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "3.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) +# Unsupported target "tempfile" with type "test" omitted diff --git a/cargo/remote/term-0.6.1.BUILD.bazel b/cargo/remote/term-0.6.1.BUILD.bazel new file mode 100644 index 000000000..b58c11059 --- /dev/null +++ b/cargo/remote/term-0.6.1.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "term", + crate_type = "lib", + deps = [ + "@raze__dirs__2_0_2//:dirs", + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], + aliases = { + }, +) +# Unsupported target "terminfo" with type "test" omitted diff --git a/cargo/remote/termcolor-1.1.0.BUILD.bazel b/cargo/remote/termcolor-1.1.0.BUILD.bazel new file mode 100644 index 000000000..996a1f43f --- /dev/null +++ b/cargo/remote/termcolor-1.1.0.BUILD.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([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "termcolor", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi_util__0_1_5//:winapi_util", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.1.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/thiserror-1.0.21.BUILD.bazel b/cargo/remote/thiserror-1.0.21.BUILD.bazel new file mode 100644 index 000000000..8d5d2750b --- /dev/null +++ b/cargo/remote/thiserror-1.0.21.BUILD.bazel @@ -0,0 +1,67 @@ +""" +@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 "compiletest" with type "test" omitted +# Unsupported target "test_backtrace" with type "test" omitted +# Unsupported target "test_deprecated" with type "test" omitted +# Unsupported target "test_display" with type "test" omitted +# Unsupported target "test_error" with type "test" omitted +# Unsupported target "test_expr" with type "test" omitted +# Unsupported target "test_from" with type "test" omitted +# Unsupported target "test_lints" with type "test" omitted +# Unsupported target "test_option" with type "test" omitted +# Unsupported target "test_path" with type "test" omitted +# Unsupported target "test_source" with type "test" omitted +# Unsupported target "test_transparent" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "thiserror", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__thiserror_impl__1_0_21//:thiserror_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.21", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/thiserror-impl-1.0.21.BUILD.bazel b/cargo/remote/thiserror-impl-1.0.21.BUILD.bazel new file mode 100644 index 000000000..760776c3b --- /dev/null +++ b/cargo/remote/thiserror-impl-1.0.21.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "thiserror_impl", + crate_type = "proc-macro", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.21", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/thread_local-1.0.1.BUILD.bazel b/cargo/remote/thread_local-1.0.1.BUILD.bazel new file mode 100644 index 000000000..98c6a06f5 --- /dev/null +++ b/cargo/remote/thread_local-1.0.1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "thread_local" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "thread_local", + crate_type = "lib", + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.0.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/time-0.1.44.BUILD.bazel b/cargo/remote/time-0.1.44.BUILD.bazel new file mode 100644 index 000000000..b884709a7 --- /dev/null +++ b/cargo/remote/time-0.1.44.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "time", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_79//:libc", + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.44", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/tinystr-0.3.4.BUILD.bazel b/cargo/remote/tinystr-0.3.4.BUILD.bazel new file mode 100644 index 000000000..52aa522e2 --- /dev/null +++ b/cargo/remote/tinystr-0.3.4.BUILD.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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets +# Unsupported target "construct" with type "bench" omitted +# Unsupported target "main" with type "example" omitted +# Unsupported target "main" with type "test" omitted +# Unsupported target "tinystr" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "tinystr", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/tinyvec-0.3.4.BUILD.bazel b/cargo/remote/tinyvec-0.3.4.BUILD.bazel new file mode 100644 index 000000000..4b746cc55 --- /dev/null +++ b/cargo/remote/tinyvec-0.3.4.BUILD.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", # Zlib from expression "Zlib OR (Apache-2.0 OR MIT)" +]) + +# Generated targets +# Unsupported target "arrayvec" with type "test" omitted +# Unsupported target "macros" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "tinyvec", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "alloc", + "default", + ], +) +# Unsupported target "tinyvec" with type "test" omitted diff --git a/cargo/remote/tokio-0.2.22.BUILD.bazel b/cargo/remote/tokio-0.2.22.BUILD.bazel new file mode 100644 index 000000000..0c80de00d --- /dev/null +++ b/cargo/remote/tokio-0.2.22.BUILD.bazel @@ -0,0 +1,200 @@ +""" +@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 "_require_full" with type "test" omitted +# Unsupported target "async_send_sync" with type "test" omitted +# Unsupported target "buffered" with type "test" omitted +# Unsupported target "fs" with type "test" omitted +# Unsupported target "fs_copy" with type "test" omitted +# Unsupported target "fs_dir" with type "test" omitted +# Unsupported target "fs_file" with type "test" omitted +# Unsupported target "fs_file_mocked" with type "test" omitted +# Unsupported target "fs_link" with type "test" omitted +# Unsupported target "io_async_read" with type "test" omitted +# Unsupported target "io_chain" with type "test" omitted +# Unsupported target "io_copy" with type "test" omitted +# Unsupported target "io_driver" with type "test" omitted +# Unsupported target "io_driver_drop" with type "test" omitted +# Unsupported target "io_lines" with type "test" omitted +# Unsupported target "io_read" with type "test" omitted +# Unsupported target "io_read_exact" with type "test" omitted +# Unsupported target "io_read_line" with type "test" omitted +# Unsupported target "io_read_to_end" with type "test" omitted +# Unsupported target "io_read_to_string" with type "test" omitted +# Unsupported target "io_read_until" with type "test" omitted +# Unsupported target "io_split" with type "test" omitted +# Unsupported target "io_take" with type "test" omitted +# Unsupported target "io_write" with type "test" omitted +# Unsupported target "io_write_all" with type "test" omitted +# Unsupported target "io_write_int" with type "test" omitted +# Unsupported target "macros_join" with type "test" omitted +# Unsupported target "macros_pin" with type "test" omitted +# Unsupported target "macros_select" with type "test" omitted +# Unsupported target "macros_test" with type "test" omitted +# Unsupported target "macros_try_join" with type "test" omitted +# Unsupported target "net_bind_resource" with type "test" omitted +# Unsupported target "net_lookup_host" with type "test" omitted +# Unsupported target "no_rt" with type "test" omitted +# Unsupported target "process_issue_2174" with type "test" omitted +# 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 +# Unsupported target "signal_ctrl_c" with type "test" omitted +# Unsupported target "signal_drop_recv" with type "test" omitted +# Unsupported target "signal_drop_rt" with type "test" omitted +# Unsupported target "signal_drop_signal" with type "test" omitted +# Unsupported target "signal_multi_rt" with type "test" omitted +# Unsupported target "signal_no_rt" with type "test" omitted +# Unsupported target "signal_notify_both" with type "test" omitted +# Unsupported target "signal_twice" with type "test" omitted +# Unsupported target "signal_usr1" with type "test" omitted +# Unsupported target "stream_chain" with type "test" omitted +# Unsupported target "stream_collect" with type "test" omitted +# Unsupported target "stream_empty" with type "test" omitted +# Unsupported target "stream_fuse" with type "test" omitted +# Unsupported target "stream_iter" with type "test" omitted +# Unsupported target "stream_merge" with type "test" omitted +# Unsupported target "stream_once" with type "test" omitted +# Unsupported target "stream_pending" with type "test" omitted +# Unsupported target "stream_reader" with type "test" omitted +# Unsupported target "stream_stream_map" with type "test" omitted +# Unsupported target "stream_timeout" with type "test" omitted +# Unsupported target "sync_barrier" with type "test" omitted +# Unsupported target "sync_broadcast" with type "test" omitted +# Unsupported target "sync_cancellation_token" with type "test" omitted +# Unsupported target "sync_errors" with type "test" omitted +# Unsupported target "sync_mpsc" with type "test" omitted +# Unsupported target "sync_mutex" with type "test" omitted +# Unsupported target "sync_mutex_owned" with type "test" omitted +# Unsupported target "sync_notify" with type "test" omitted +# 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 +# Unsupported target "task_local_set" with type "test" omitted +# 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 +# Unsupported target "test_clock" with type "test" omitted +# Unsupported target "time_delay" with type "test" omitted +# Unsupported target "time_delay_queue" with type "test" omitted +# Unsupported target "time_interval" with type "test" omitted +# Unsupported target "time_rt" with type "test" omitted +# Unsupported target "time_throttle" with type "test" omitted +# Unsupported target "time_timeout" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "tokio", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__fnv__1_0_7//:fnv", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__iovec__0_1_4//:iovec", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__memchr__2_3_3//:memchr", + "@raze__mio__0_6_22//:mio", + "@raze__num_cpus__1_13_0//:num_cpus", + "@raze__pin_project_lite__0_1_11//:pin_project_lite", + "@raze__slab__0_4_2//:slab", + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.22", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "blocking", + "default", + "fnv", + "fs", + "futures-core", + "io-driver", + "io-util", + "iovec", + "lazy_static", + "memchr", + "mio", + "num_cpus", + "rt-core", + "rt-threaded", + "slab", + "stream", + "sync", + "tcp", + "time", + ], + aliases = { + }, +) +# Unsupported target "udp" with type "test" omitted +# Unsupported target "uds_cred" with type "test" omitted +# Unsupported target "uds_datagram" with type "test" omitted +# Unsupported target "uds_split" with type "test" omitted +# Unsupported target "uds_stream" with type "test" omitted diff --git a/cargo/remote/tokio-io-timeout-0.4.0.BUILD.bazel b/cargo/remote/tokio-io-timeout-0.4.0.BUILD.bazel new file mode 100644 index 000000000..ba895a9a4 --- /dev/null +++ b/cargo/remote/tokio-io-timeout-0.4.0.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "tokio_io_timeout", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__tokio__0_2_22//:tokio", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/tokio-rustls-0.13.1.BUILD.bazel b/cargo/remote/tokio-rustls-0.13.1.BUILD.bazel new file mode 100644 index 000000000..702e07545 --- /dev/null +++ b/cargo/remote/tokio-rustls-0.13.1.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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 "badssl" with type "test" omitted +# Unsupported target "early-data" with type "test" omitted +# Unsupported target "test" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "tokio_rustls", + crate_type = "lib", + deps = [ + "@raze__futures_core__0_3_6//:futures_core", + "@raze__rustls__0_17_0//:rustls", + "@raze__tokio__0_2_22//:tokio", + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.13.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/tokio-socks-0.2.2.BUILD.bazel b/cargo/remote/tokio-socks-0.2.2.BUILD.bazel new file mode 100644 index 000000000..a68f5863e --- /dev/null +++ b/cargo/remote/tokio-socks-0.2.2.BUILD.bazel @@ -0,0 +1,62 @@ +""" +@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 "common" with type "test" omitted +# Unsupported target "long_username_password_auth" with type "test" omitted +# Unsupported target "no_auth" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "tokio_socks", + crate_type = "lib", + deps = [ + "@raze__bytes__0_4_12//:bytes", + "@raze__either__1_6_1//:either", + "@raze__futures__0_3_6//:futures", + "@raze__thiserror__1_0_21//:thiserror", + "@raze__tokio__0_2_22//:tokio", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "tor" with type "example" omitted +# Unsupported target "username_auth" with type "test" omitted diff --git a/cargo/remote/tokio-util-0.3.1.BUILD.bazel b/cargo/remote/tokio-util-0.3.1.BUILD.bazel new file mode 100644 index 000000000..7adfa6b6d --- /dev/null +++ b/cargo/remote/tokio-util-0.3.1.BUILD.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 "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 + +# buildifier: leave-alone +rust_library( + name = "tokio_util", + crate_type = "lib", + deps = [ + "@raze__bytes__0_5_6//:bytes", + "@raze__futures_core__0_3_6//:futures_core", + "@raze__futures_sink__0_3_6//:futures_sink", + "@raze__log__0_4_11//:log", + "@raze__pin_project_lite__0_1_11//:pin_project_lite", + "@raze__tokio__0_2_22//:tokio", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "codec", + "default", + ], +) +# Unsupported target "udp" with type "test" omitted diff --git a/cargo/remote/toml-0.5.7.BUILD.bazel b/cargo/remote/toml-0.5.7.BUILD.bazel new file mode 100644 index 000000000..537278c2e --- /dev/null +++ b/cargo/remote/toml-0.5.7.BUILD.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 "decode" with type "example" omitted +# Unsupported target "enum_external" with type "example" omitted +# Unsupported target "enum_external_deserialize" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "toml", + crate_type = "lib", + deps = [ + "@raze__serde__1_0_117//:serde", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) +# Unsupported target "toml2json" with type "example" omitted diff --git a/cargo/remote/tower-service-0.3.0.BUILD.bazel b/cargo/remote/tower-service-0.3.0.BUILD.bazel new file mode 100644 index 000000000..a4bc6115d --- /dev/null +++ b/cargo/remote/tower-service-0.3.0.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "tower_service", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/tracing-0.1.21.BUILD.bazel b/cargo/remote/tracing-0.1.21.BUILD.bazel new file mode 100644 index 000000000..c00334431 --- /dev/null +++ b/cargo/remote/tracing-0.1.21.BUILD.bazel @@ -0,0 +1,71 @@ +""" +@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 "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 "filters_dont_leak" with type "test" omitted +# Unsupported target "macro_imports" with type "test" omitted +# Unsupported target "macros" with type "test" omitted +# Unsupported target "max_level_hint" with type "test" omitted +# Unsupported target "multiple_max_level_hints" 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 + +# buildifier: leave-alone +rust_library( + name = "tracing", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__log__0_4_11//:log", + "@raze__pin_project_lite__0_1_11//:pin_project_lite", + "@raze__tracing_core__0_1_17//:tracing_core", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.21", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "log", + "std", + ], +) diff --git a/cargo/remote/tracing-core-0.1.17.BUILD.bazel b/cargo/remote/tracing-core-0.1.17.BUILD.bazel new file mode 100644 index 000000000..025408510 --- /dev/null +++ b/cargo/remote/tracing-core-0.1.17.BUILD.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" +]) + +# Generated targets +# Unsupported target "dispatch" with type "test" omitted +# Unsupported target "global_dispatch" with type "test" omitted +# Unsupported target "macros" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "tracing_core", + crate_type = "lib", + deps = [ + "@raze__lazy_static__1_4_0//:lazy_static", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.17", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "lazy_static", + "std", + ], +) diff --git a/cargo/remote/try-lock-0.2.3.BUILD.bazel b/cargo/remote/try-lock-0.2.3.BUILD.bazel new file mode 100644 index 000000000..694a76017 --- /dev/null +++ b/cargo/remote/try-lock-0.2.3.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "try_lock", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/type-map-0.3.0.BUILD.bazel b/cargo/remote/type-map-0.3.0.BUILD.bazel new file mode 100644 index 000000000..3be61cb00 --- /dev/null +++ b/cargo/remote/type-map-0.3.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "type_map", + crate_type = "lib", + deps = [ + "@raze__fxhash__0_2_1//:fxhash", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/typenum-1.12.0.BUILD.bazel b/cargo/remote/typenum-1.12.0.BUILD.bazel new file mode 100644 index 000000000..aaf658a79 --- /dev/null +++ b/cargo/remote/typenum-1.12.0.BUILD.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 OR Apache-2.0" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "typenum_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build/main.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "1.12.0", + visibility = ["//visibility:private"], +) + +# Unsupported target "test" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "typenum", + crate_type = "lib", + deps = [ + ":typenum_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.12.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/unic-langid-0.8.0.BUILD.bazel b/cargo/remote/unic-langid-0.8.0.BUILD.bazel new file mode 100644 index 000000000..7423b2210 --- /dev/null +++ b/cargo/remote/unic-langid-0.8.0.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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 "langid" with type "test" omitted +# Unsupported target "simple-langid" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "unic_langid", + crate_type = "lib", + deps = [ + "@raze__unic_langid_impl__0_8_0//:unic_langid_impl", + "@raze__unic_langid_macros__0_8_0//:unic_langid_macros", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "macros", + "unic-langid-macros", + ], +) diff --git a/cargo/remote/unic-langid-impl-0.8.0.BUILD.bazel b/cargo/remote/unic-langid-impl-0.8.0.BUILD.bazel new file mode 100644 index 000000000..624f032b0 --- /dev/null +++ b/cargo/remote/unic-langid-impl-0.8.0.BUILD.bazel @@ -0,0 +1,111 @@ +""" +@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 "canonicalize" with type "bench" omitted +# Unsupported target "canonicalize_test" with type "test" omitted +# Unsupported target "fixtures" with type "test" omitted + +# buildifier: leave-alone +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_generate_layout", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":unic_langid_impl", + "@raze__tinystr__0_3_4//:tinystr", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/generate_layout.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) + +# buildifier: leave-alone +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_generate_likelysubtags", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":unic_langid_impl", + "@raze__tinystr__0_3_4//:tinystr", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/generate_likelysubtags.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) +# Unsupported target "langid" with type "bench" omitted +# Unsupported target "language_identifier_test" with type "test" omitted +# Unsupported target "likely_subtags" with type "bench" omitted +# Unsupported target "likelysubtags" with type "test" omitted +# Unsupported target "parser" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "unic_langid_impl", + crate_type = "lib", + deps = [ + "@raze__tinystr__0_3_4//:tinystr", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/unic-langid-macros-0.8.0.BUILD.bazel b/cargo/remote/unic-langid-macros-0.8.0.BUILD.bazel new file mode 100644 index 000000000..cd1fa259b --- /dev/null +++ b/cargo/remote/unic-langid-macros-0.8.0.BUILD.bazel @@ -0,0 +1,59 @@ +""" +@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 "langid-macro" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "unic_langid_macros", + crate_type = "lib", + deps = [ + "@raze__tinystr__0_3_4//:tinystr", + "@raze__unic_langid_impl__0_8_0//:unic_langid_impl", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + "@raze__unic_langid_macros_impl__0_8_0//:unic_langid_macros_impl", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/unic-langid-macros-impl-0.8.0.BUILD.bazel b/cargo/remote/unic-langid-macros-impl-0.8.0.BUILD.bazel new file mode 100644 index 000000000..cecef91d6 --- /dev/null +++ b/cargo/remote/unic-langid-macros-impl-0.8.0.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "unic_langid_macros_impl", + crate_type = "proc-macro", + deps = [ + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + "@raze__unic_langid_impl__0_8_0//:unic_langid_impl", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__proc_macro_hack__0_5_18//:proc_macro_hack", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.8.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/unicase-2.6.0.BUILD.bazel b/cargo/remote/unicase-2.6.0.BUILD.bazel new file mode 100644 index 000000000..8a2f38ce9 --- /dev/null +++ b/cargo/remote/unicase-2.6.0.BUILD.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 OR Apache-2.0" +]) + +# Generated targets +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "unicase_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__version_check__0_9_2//:version_check", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "2.6.0", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "unicase", + crate_type = "lib", + deps = [ + ":unicase_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/unicode-bidi-0.3.4.BUILD.bazel b/cargo/remote/unicode-bidi-0.3.4.BUILD.bazel new file mode 100644 index 000000000..79c26cd90 --- /dev/null +++ b/cargo/remote/unicode-bidi-0.3.4.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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: leave-alone +rust_library( + name = "unicode_bidi", + crate_type = "lib", + deps = [ + "@raze__matches__0_1_8//:matches", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.4", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/unicode-normalization-0.1.13.BUILD.bazel b/cargo/remote/unicode-normalization-0.1.13.BUILD.bazel new file mode 100644 index 000000000..642bbf9c8 --- /dev/null +++ b/cargo/remote/unicode-normalization-0.1.13.BUILD.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 OR Apache-2.0" +]) + +# Generated targets +# Unsupported target "bench" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "unicode_normalization", + crate_type = "lib", + deps = [ + "@raze__tinyvec__0_3_4//:tinyvec", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.13", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/unicode-segmentation-1.6.0.BUILD.bazel b/cargo/remote/unicode-segmentation-1.6.0.BUILD.bazel new file mode 100644 index 000000000..4d17619fd --- /dev/null +++ b/cargo/remote/unicode-segmentation-1.6.0.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "unicode_segmentation", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "1.6.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/unicode-xid-0.2.1.BUILD.bazel b/cargo/remote/unicode-xid-0.2.1.BUILD.bazel new file mode 100644 index 000000000..8bea35669 --- /dev/null +++ b/cargo/remote/unicode-xid-0.2.1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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 "exhaustive_tests" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "unicode_xid", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + ], +) diff --git a/cargo/remote/unindent-0.1.7.BUILD.bazel b/cargo/remote/unindent-0.1.7.BUILD.bazel new file mode 100644 index 000000000..cce89968c --- /dev/null +++ b/cargo/remote/unindent-0.1.7.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "unindent", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.7", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/untrusted-0.7.1.BUILD.bazel b/cargo/remote/untrusted-0.7.1.BUILD.bazel new file mode 100644 index 000000000..7701ab910 --- /dev/null +++ b/cargo/remote/untrusted-0.7.1.BUILD.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", # ISC from expression "ISC" +]) + +# Generated targets +# Unsupported target "tests" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "untrusted", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/untrusted.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.7.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/url-2.1.1.BUILD.bazel b/cargo/remote/url-2.1.1.BUILD.bazel new file mode 100644 index 000000000..bad16daa4 --- /dev/null +++ b/cargo/remote/url-2.1.1.BUILD.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 "data" with type "test" omitted +# Unsupported target "parse_url" with type "bench" omitted +# Unsupported target "unit" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "url", + crate_type = "lib", + deps = [ + "@raze__idna__0_2_0//:idna", + "@raze__matches__0_1_8//:matches", + "@raze__percent_encoding__2_1_0//:percent_encoding", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "2.1.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/utime-0.3.1.BUILD.bazel b/cargo/remote/utime-0.3.1.BUILD.bazel new file mode 100644 index 000000000..253a0bf9c --- /dev/null +++ b/cargo/remote/utime-0.3.1.BUILD.bazel @@ -0,0 +1,77 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "utime", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(unix) + ( + "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios", + "@io_bazel_rules_rust//rust/platform:i686-apple-darwin", + "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios", + "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu", + ): [ + "@raze__libc__0_2_79//:libc", + ], + "//conditions:default": [], + }) + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) +# Unsupported target "utime" with type "test" omitted diff --git a/cargo/remote/vcpkg-0.2.10.BUILD.bazel b/cargo/remote/vcpkg-0.2.10.BUILD.bazel new file mode 100644 index 000000000..d7d62d035 --- /dev/null +++ b/cargo/remote/vcpkg-0.2.10.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "vcpkg", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.10", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/version_check-0.9.2.BUILD.bazel b/cargo/remote/version_check-0.9.2.BUILD.bazel new file mode 100644 index 000000000..fef24a659 --- /dev/null +++ b/cargo/remote/version_check-0.9.2.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "version_check", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/want-0.3.0.BUILD.bazel b/cargo/remote/want-0.3.0.BUILD.bazel new file mode 100644 index 000000000..9214b5ea2 --- /dev/null +++ b/cargo/remote/want-0.3.0.BUILD.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 +# Unsupported target "throughput" with type "bench" omitted + +# buildifier: leave-alone +rust_library( + name = "want", + crate_type = "lib", + deps = [ + "@raze__log__0_4_11//:log", + "@raze__try_lock__0_2_3//:try_lock", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD.bazel b/cargo/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD.bazel new file mode 100644 index 000000000..384524e2f --- /dev/null +++ b/cargo/remote/wasi-0.10.0+wasi-snapshot-preview1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "wasi", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.10.0+wasi-snapshot-preview1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD.bazel b/cargo/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD.bazel new file mode 100644 index 000000000..baa3e62c1 --- /dev/null +++ b/cargo/remote/wasi-0.9.0+wasi-snapshot-preview1.BUILD.bazel @@ -0,0 +1,54 @@ +""" +@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", # Apache-2.0 from expression "Apache-2.0 OR (Apache-2.0 OR MIT)" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "wasi", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.9.0+wasi-snapshot-preview1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + ], +) diff --git a/cargo/remote/wasm-bindgen-0.2.68.BUILD.bazel b/cargo/remote/wasm-bindgen-0.2.68.BUILD.bazel new file mode 100644 index 000000000..bb839e5f7 --- /dev/null +++ b/cargo/remote/wasm-bindgen-0.2.68.BUILD.bazel @@ -0,0 +1,107 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "wasm_bindgen_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "default", + "serde", + "serde-serialize", + "serde_json", + "spans", + "std", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.68", + visibility = ["//visibility:private"], +) + +# Unsupported target "headless" with type "test" omitted +# Unsupported target "must_use" with type "test" omitted +# Unsupported target "non_wasm" with type "test" omitted +# Unsupported target "std-crate-no-std-dep" with type "test" omitted +# Unsupported target "unwrap_throw" with type "test" omitted +# Unsupported target "wasm" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "wasm_bindgen", + crate_type = "lib", + deps = [ + ":wasm_bindgen_build_script", + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__serde__1_0_117//:serde", + "@raze__serde_json__1_0_59//:serde_json", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + proc_macro_deps = [ + "@raze__wasm_bindgen_macro__0_2_68//:wasm_bindgen_macro", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "serde", + "serde-serialize", + "serde_json", + "spans", + "std", + ], +) diff --git a/cargo/remote/wasm-bindgen-backend-0.2.68.BUILD.bazel b/cargo/remote/wasm-bindgen-backend-0.2.68.BUILD.bazel new file mode 100644 index 000000000..29f6b9b13 --- /dev/null +++ b/cargo/remote/wasm-bindgen-backend-0.2.68.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "wasm_bindgen_backend", + crate_type = "lib", + deps = [ + "@raze__bumpalo__3_4_0//:bumpalo", + "@raze__lazy_static__1_4_0//:lazy_static", + "@raze__log__0_4_11//:log", + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + "@raze__wasm_bindgen_shared__0_2_68//:wasm_bindgen_shared", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "spans", + ], +) diff --git a/cargo/remote/wasm-bindgen-futures-0.4.18.BUILD.bazel b/cargo/remote/wasm-bindgen-futures-0.4.18.BUILD.bazel new file mode 100644 index 000000000..78a140824 --- /dev/null +++ b/cargo/remote/wasm-bindgen-futures-0.4.18.BUILD.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 OR Apache-2.0" +]) + +# Generated targets +# Unsupported target "tests" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "wasm_bindgen_futures", + crate_type = "lib", + deps = [ + "@raze__cfg_if__0_1_10//:cfg_if", + "@raze__js_sys__0_3_45//:js_sys", + "@raze__wasm_bindgen__0_2_68//:wasm_bindgen", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.18", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/wasm-bindgen-macro-0.2.68.BUILD.bazel b/cargo/remote/wasm-bindgen-macro-0.2.68.BUILD.bazel new file mode 100644 index 000000000..5aa0ae9aa --- /dev/null +++ b/cargo/remote/wasm-bindgen-macro-0.2.68.BUILD.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 OR Apache-2.0" +]) + +# Generated targets +# Unsupported target "ui" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "wasm_bindgen_macro", + crate_type = "proc-macro", + deps = [ + "@raze__quote__1_0_7//:quote", + "@raze__wasm_bindgen_macro_support__0_2_68//:wasm_bindgen_macro_support", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "spans", + ], +) diff --git a/cargo/remote/wasm-bindgen-macro-support-0.2.68.BUILD.bazel b/cargo/remote/wasm-bindgen-macro-support-0.2.68.BUILD.bazel new file mode 100644 index 000000000..088b131c6 --- /dev/null +++ b/cargo/remote/wasm-bindgen-macro-support-0.2.68.BUILD.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 + +# buildifier: leave-alone +rust_library( + name = "wasm_bindgen_macro_support", + crate_type = "lib", + deps = [ + "@raze__proc_macro2__1_0_24//:proc_macro2", + "@raze__quote__1_0_7//:quote", + "@raze__syn__1_0_45//:syn", + "@raze__wasm_bindgen_backend__0_2_68//:wasm_bindgen_backend", + "@raze__wasm_bindgen_shared__0_2_68//:wasm_bindgen_shared", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "spans", + ], +) diff --git a/cargo/remote/wasm-bindgen-shared-0.2.68.BUILD.bazel b/cargo/remote/wasm-bindgen-shared-0.2.68.BUILD.bazel new file mode 100644 index 000000000..91e39f8ca --- /dev/null +++ b/cargo/remote/wasm-bindgen-shared-0.2.68.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "wasm_bindgen_shared_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2018", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.68", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "wasm_bindgen_shared", + crate_type = "lib", + deps = [ + ":wasm_bindgen_shared_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.68", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/web-sys-0.3.45.BUILD.bazel b/cargo/remote/web-sys-0.3.45.BUILD.bazel new file mode 100644 index 000000000..e804a22e4 --- /dev/null +++ b/cargo/remote/web-sys-0.3.45.BUILD.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 "wasm" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "web_sys", + crate_type = "lib", + deps = [ + "@raze__js_sys__0_3_45//:js_sys", + "@raze__wasm_bindgen__0_2_68//:wasm_bindgen", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.45", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "Crypto", + "Event", + "EventTarget", + "Headers", + "MessageEvent", + "Request", + "RequestInit", + "RequestMode", + "Response", + "Window", + "Worker", + ], +) diff --git a/cargo/remote/webpki-0.21.3.BUILD.bazel b/cargo/remote/webpki-0.21.3.BUILD.bazel new file mode 100644 index 000000000..61bc0d2b6 --- /dev/null +++ b/cargo/remote/webpki-0.21.3.BUILD.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([ + "restricted", # no license +]) + +# Generated targets +# Unsupported target "dns_name_tests" with type "test" omitted +# Unsupported target "integration" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "webpki", + crate_type = "lib", + deps = [ + "@raze__ring__0_16_15//:ring", + "@raze__untrusted__0_7_1//:untrusted", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/webpki.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + data = glob(["src/**"]), + version = "0.21.3", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "default", + "std", + "trust_anchor_util", + ], +) diff --git a/cargo/remote/webpki-roots-0.18.0.BUILD.bazel b/cargo/remote/webpki-roots-0.18.0.BUILD.bazel new file mode 100644 index 000000000..61f7b6d8e --- /dev/null +++ b/cargo/remote/webpki-roots-0.18.0.BUILD.bazel @@ -0,0 +1,78 @@ +""" +@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([ + "reciprocal", # MPL-2.0 from expression "MPL-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +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_process_cert", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":webpki_roots", + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/process_cert.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.18.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) + +# buildifier: leave-alone +rust_library( + name = "webpki_roots", + crate_type = "lib", + deps = [ + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.18.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/webpki-roots-0.19.0.BUILD.bazel b/cargo/remote/webpki-roots-0.19.0.BUILD.bazel new file mode 100644 index 000000000..e4642a9fa --- /dev/null +++ b/cargo/remote/webpki-roots-0.19.0.BUILD.bazel @@ -0,0 +1,78 @@ +""" +@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([ + "reciprocal", # MPL-2.0 from expression "MPL-2.0" +]) + +# Generated targets + +# buildifier: leave-alone +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_process_cert", + deps = [ + # Binaries get an implicit dependency on their crate's lib + ":webpki_roots", + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/bin/process_cert.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.19.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) + +# buildifier: leave-alone +rust_library( + name = "webpki_roots", + crate_type = "lib", + deps = [ + "@raze__webpki__0_21_3//:webpki", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.19.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/which-4.0.2.BUILD.bazel b/cargo/remote/which-4.0.2.BUILD.bazel new file mode 100644 index 000000000..c26743b0f --- /dev/null +++ b/cargo/remote/which-4.0.2.BUILD.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 +# Unsupported target "basic" with type "test" omitted + +# buildifier: leave-alone +rust_library( + name = "which", + crate_type = "lib", + deps = [ + "@raze__libc__0_2_79//:libc", + "@raze__thiserror__1_0_21//:thiserror", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "4.0.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/winapi-0.2.8.BUILD.bazel b/cargo/remote/winapi-0.2.8.BUILD.bazel new file mode 100644 index 000000000..6566787be --- /dev/null +++ b/cargo/remote/winapi-0.2.8.BUILD.bazel @@ -0,0 +1,52 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load( + "@io_bazel_rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "winapi", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.8", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/winapi-0.3.9.BUILD.bazel b/cargo/remote/winapi-0.3.9.BUILD.bazel new file mode 100644 index 000000000..73c72bf6f --- /dev/null +++ b/cargo/remote/winapi-0.3.9.BUILD.bazel @@ -0,0 +1,141 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "winapi_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + "consoleapi", + "errhandlingapi", + "fileapi", + "handleapi", + "impl-debug", + "impl-default", + "knownfolders", + "minwinbase", + "minwindef", + "ntdef", + "ntsecapi", + "ntstatus", + "objbase", + "processenv", + "profileapi", + "shlobj", + "std", + "sysinfoapi", + "timezoneapi", + "winbase", + "wincon", + "winerror", + "winnt", + "winreg", + "winsock2", + "ws2def", + "ws2ipdef", + "ws2tcpip", + "wtypesbase", + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.9", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "winapi", + crate_type = "lib", + deps = [ + ":winapi_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.3.9", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "consoleapi", + "errhandlingapi", + "fileapi", + "handleapi", + "impl-debug", + "impl-default", + "knownfolders", + "minwinbase", + "minwindef", + "ntdef", + "ntsecapi", + "ntstatus", + "objbase", + "processenv", + "profileapi", + "shlobj", + "std", + "sysinfoapi", + "timezoneapi", + "winbase", + "wincon", + "winerror", + "winnt", + "winreg", + "winsock2", + "ws2def", + "ws2ipdef", + "ws2tcpip", + "wtypesbase", + ], +) diff --git a/cargo/remote/winapi-build-0.1.1.BUILD.bazel b/cargo/remote/winapi-build-0.1.1.BUILD.bazel new file mode 100644 index 000000000..175749ad6 --- /dev/null +++ b/cargo/remote/winapi-build-0.1.1.BUILD.bazel @@ -0,0 +1,61 @@ +""" +@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 + +alias( + name = "winapi_build", + actual = ":build", + tags = [ + "cargo-raze", + "manual", + ], +) + +# buildifier: leave-alone +rust_library( + name = "build", + crate_type = "lib", + deps = [ + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel b/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel new file mode 100644 index 000000000..9741d4f2e --- /dev/null +++ b/cargo/remote/winapi-i686-pc-windows-gnu-0.4.0.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "winapi_i686_pc_windows_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.0", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "winapi_i686_pc_windows_gnu", + crate_type = "lib", + deps = [ + ":winapi_i686_pc_windows_gnu_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/winapi-util-0.1.5.BUILD.bazel b/cargo/remote/winapi-util-0.1.5.BUILD.bazel new file mode 100644 index 000000000..fe7177042 --- /dev/null +++ b/cargo/remote/winapi-util-0.1.5.BUILD.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([ + "unencumbered", # Unlicense from expression "Unlicense OR MIT" +]) + +# Generated targets + +# buildifier: leave-alone +rust_library( + name = "winapi_util", + crate_type = "lib", + deps = [ + ] + selects.with_or({ + # cfg(windows) + ( + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + ): [ + "@raze__winapi__0_3_9//:winapi", + ], + "//conditions:default": [], + }), + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.1.5", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], + aliases = { + }, +) diff --git a/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel b/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel new file mode 100644 index 000000000..1aad8a701 --- /dev/null +++ b/cargo/remote/winapi-x86_64-pc-windows-gnu-0.4.0.BUILD.bazel @@ -0,0 +1,83 @@ +""" +@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", +) + +# buildifier: leave-alone +cargo_build_script( + name = "winapi_x86_64_pc_windows_gnu_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.0", + visibility = ["//visibility:private"], +) + + +# buildifier: leave-alone +rust_library( + name = "winapi_x86_64_pc_windows_gnu", + crate_type = "lib", + deps = [ + ":winapi_x86_64_pc_windows_gnu_build_script", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.4.0", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/winreg-0.6.2.BUILD.bazel b/cargo/remote/winreg-0.6.2.BUILD.bazel new file mode 100644 index 000000000..cbeb9ffb3 --- /dev/null +++ b/cargo/remote/winreg-0.6.2.BUILD.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" +]) + +# Generated targets +# Unsupported target "basic_usage" with type "example" omitted +# Unsupported target "enum" with type "example" omitted +# Unsupported target "installed_apps" with type "example" omitted +# Unsupported target "serialization" with type "example" omitted +# Unsupported target "transactions" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "winreg", + crate_type = "lib", + deps = [ + "@raze__winapi__0_3_9//:winapi", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.6.2", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/ws2_32-sys-0.2.1.BUILD.bazel b/cargo/remote/ws2_32-sys-0.2.1.BUILD.bazel new file mode 100644 index 000000000..e023eab9a --- /dev/null +++ b/cargo/remote/ws2_32-sys-0.2.1.BUILD.bazel @@ -0,0 +1,94 @@ +""" +@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 +# buildifier: disable=load-on-top +load( + "@io_bazel_rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +# buildifier: leave-alone +cargo_build_script( + name = "ws2_32_sys_build_script", + srcs = glob(["**/*.rs"]), + crate_root = "build.rs", + edition = "2015", + deps = [ + "@raze__winapi_build__0_1_1//:winapi_build", + ], + rustc_flags = [ + "--cap-lints=allow", + ], + crate_features = [ + ], + build_script_env = { + }, + data = glob(["**"]), + tags = [ + "cargo-raze", + "manual", + ], + version = "0.2.1", + visibility = ["//visibility:private"], +) + + +alias( + name = "ws2_32_sys", + actual = ":ws2_32", + tags = [ + "cargo-raze", + "manual", + ], +) + +# buildifier: leave-alone +rust_library( + name = "ws2_32", + crate_type = "lib", + deps = [ + ":ws2_32_sys_build_script", + "@raze__winapi__0_2_8//:winapi", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.2.1", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + ], +) diff --git a/cargo/remote/zip-0.5.8.BUILD.bazel b/cargo/remote/zip-0.5.8.BUILD.bazel new file mode 100644 index 000000000..bd5ac7c36 --- /dev/null +++ b/cargo/remote/zip-0.5.8.BUILD.bazel @@ -0,0 +1,71 @@ +""" +@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 "end_to_end" with type "test" omitted +# Unsupported target "extract" with type "example" omitted +# Unsupported target "extract_lorem" with type "example" omitted +# Unsupported target "file_info" with type "example" omitted +# Unsupported target "invalid_date" with type "test" omitted +# Unsupported target "read_entry" with type "bench" omitted +# Unsupported target "stdin_info" with type "example" omitted +# Unsupported target "write_dir" with type "example" omitted +# Unsupported target "write_sample" with type "example" omitted + +# buildifier: leave-alone +rust_library( + name = "zip", + crate_type = "lib", + deps = [ + "@raze__byteorder__1_3_4//:byteorder", + "@raze__crc32fast__1_2_0//:crc32fast", + "@raze__flate2__1_0_14//:flate2", + "@raze__thiserror__1_0_21//:thiserror", + "@raze__time__0_1_44//:time", + ], + srcs = glob(["**/*.rs"]), + crate_root = "src/lib.rs", + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + version = "0.5.8", + tags = [ + "cargo-raze", + "manual", + ], + crate_features = [ + "deflate", + "flate2", + "time", + ], +) +# Unsupported target "zip64_large" with type "test" omitted +# Unsupported target "zip_crypto" with type "test" omitted diff --git a/README.contributing b/docs/contributing.md similarity index 92% rename from README.contributing rename to docs/contributing.md index 425b03580..1a0a2a3a3 100644 --- a/README.contributing +++ b/docs/contributing.md @@ -1,5 +1,8 @@ -Contributing Code -================== +# Needs updating + +Some of the below references the old build system, and needs updating. + +# Contributing Code For info on contributing things other than code, such as translations, decks and add-ons, please see http://ankisrs.net/docs/manual.html#contributing @@ -22,8 +25,7 @@ on the support site before you begin work. Some areas (primarily pylib/) are likely to change/conflict with other work, and larger changes will likely need to wait until the refactoring process nears completion. -Help wanted ------------ +## Help wanted If you'd like to contribute but don't know what to work on, please take a look at the issues on the following repo. It's quite bare at the moment, but will @@ -31,8 +33,7 @@ hopefully grow with time. https://github.com/ankitects/help-wanted -Type hints ------------ +## Type hints Type hints have recently been added to parts of the Python codebase, mainly using automated tools. At the moment, large parts of the codebase are still @@ -56,28 +57,33 @@ Anki bundles Qt stubs, but they are not perfect, so you'll find when doing things like connecting signals, you may have to add the following to the end of a line to silence the spurious errors. +``` # type: ignore +``` In cases where you have two modules that reference each other, you can fix the import cycle by using fully qualified names in the types, and enabling annotations. For example, instead of - from aqt.browser import Browser +``` +from aqt.browser import Browser - def myfunc(b: Browser) -> None: - pass +def myfunc(b: Browser) -> None: + pass +``` use the following instead: - from __future__ import annotations +``` +from __future__ import annotations - import aqt +import aqt - def myfunc(b: aqt.browser.Browser) -> None: - pass +def myfunc(b: aqt.browser.Browser) -> None: + pass +``` -Hooks -------- +## Hooks If you're writing an add-on and would like to extend a function that doesn't currently have a hook, a pull request that adds the required hooks would be @@ -105,8 +111,7 @@ pylib/tools/genhooks.py and qt/tools/genhooks_gui.py. Adding a new definition in one of those files and running 'make develop' will update pylib/anki/hooks .py or qt/aqt/gui_hooks.py. -Translations --------------- +## Translations The translations into other languages will be fetched on the first build. If you'd like to keep them up to date, you need to run 'make pull-i18n' @@ -115,15 +120,14 @@ periodically. For information on adding new translatable strings to Anki, please see https://ankitects.github.io/translating/#/anki/developers -Tests Must Pass ----------------- +## Tests Must Pass Please make sure 'make check' completes successfully before submitting code. You can do this automatically by adding the following into .git/hooks/pre-commit or .git/hooks/pre-push and making it executable. #!/bin/bash -set -eu -o pipefail ${SHELLFLAGS} +set -eu -o pipefail \${SHELLFLAGS} make check You may need to adjust the PATH variable so that things like a local install @@ -132,8 +136,7 @@ of cargo can be found. If your change is to anki/ and not covered by the existing unit tests, please consider adding a unit test at the same time. -Code Style ------------------- +## Code Style You are welcome to use snake_case variable names and functions in newly introduced code, but please avoid renaming existing functions and global @@ -143,15 +146,13 @@ reasons as well. Code formatting is automatically done when you use "make fix". -Do One Thing -------------- +## Do One Thing A patch or pull request should be the minimum necessary to address one issue. Please don't make a pull request for a bunch of unrelated changes, as they are difficult to review and will be rejected - split them up into separate requests instead. -License -------- +## License Please add yourself to the CONTRIBUTORS file in your first pull request. diff --git a/README.development b/docs/development.md similarity index 50% rename from README.development rename to docs/development.md index 403c1902b..026ca9c07 100644 --- a/README.development +++ b/docs/development.md @@ -1,65 +1,43 @@ -Anki development -================= +# Anki development -Packaged betas ---------------- +## Packaged betas For non-developers who want to try this development code, the easiest way is to use a packaged version - please see: https://betas.ankiweb.net/#/ -You are welcome to run Anki from source instead, but it is expected that you -can sort out all dependencies and issues by yourself - we are not able to -provide support for problems you encounter when running from source. +You are welcome to run Anki from source instead, but it is expected that you can +sort out issues by yourself - we are not able to provide support for problems +you encounter when running from source. -Python wheels --------------- +## Python wheels If you want to run Anki from a local Python installation but don't want to make changes to the source code, you can install pre-built packages from PyPI. +``` $ python -m venv pyenv $ pyenv/bin/pip install aqt anki ankirspy pyqt5 pyqtwebengine $ pyenv/bin/python -c 'import aqt; aqt.run()' +``` -Building from source --------------------- +## Building from source -You will need the following dependencies. Some OS-specific tips on installing -them are further down this document. +Platform-specific instructions: - - Python 3.7+ - - portaudio - - mpv - - lame - - npm - - your platform's C compiler, eg gcc, Xcode or Visual Studio 2017. - - GNU make - - protoc v3 (https://github.com/protocolbuffers/protobuf/releases) - - rustup (https://rustup.rs/) - - gettext - - rsync - - perl - - ripgrep (cargo install ripgrep) - - git - - curl - -Once you've installed the above components, execute ./run in this repo, -which will build the subcomponents, and start Anki. Any arguments included -on the command line will be passed on to Anki. The first run will take -quite a while to download and build everything - please be patient. +- [Windows](./windows.md) +- [Mac](./mac.md) +- [Linux](./linux.md) Don't name the Git checkout ~/Anki or ~/Documents/Anki, as those folders were used on old Anki versions and will be automatically moved. -Before contributing code, please read README.contributing. +Before contributing code, please see [Contributing](./contributing.md). -If you'd like to contribute translations, please see the translations section -of http://ankisrs.net/docs/manual.html#_contributing +If you'd like to contribute translations, please see . -Subcomponents --------------- +## Subcomponents - pylib contains a Python module (anki) with the non-GUI Python code. - qt contains the Qt GUI implementation (aqt). @@ -68,12 +46,16 @@ Subcomponents - proto contains the interface used to communicate between different languages. +# Obsolete instructions that need updating + +The text below was written before the build system was changed, +and these instructions need updating or are obsolete. + The pyenv folder is created when running make for the first time. It is a Python virtual environment that contains Anki's libraries and all the required dependencies. -Makefile --------------- +## Makefile Use 'make check' to run unit tests, type checking and linting on all of the subcomponents. @@ -89,21 +71,17 @@ To see all commands run by make or any shell script, export the environment variable SHELLFLAGS with '-x' to tell shell to print all commands run by it. For example, 'export SHELLFLAGS=-x' on Linux or 'set SHELLFLAGS=-x' on Windows. -PyQt ------ +## PyQt The build scripts will use PyQt/Qt from PyPI by default. If you wish to use a system install, you will need to set up the pyenv folder yourself, making sure you have PyQt5, the WebEngine module and development tools (eg pyqt5-dev-tools) installed as well. You'll need to create the venv with --system-site-packages. -Studying Anki on your Dev machine? ----------------------------------- +## Studying Anki on your Dev machine? + It's advisable to create a new Anki dev profile for debug and testing so that your study collection doesn't become -incompatible with your installed version: - - run Anki - - File | Switch profile > Add > provide [dev profile name] > Ok - - make a note of that [dev profile name] +incompatible with your installed version: - run Anki - File | Switch profile > Add > provide [dev profile name] > Ok - make a note of that [dev profile name] Because you now have at least two profiles the Profiles dialog will open when Anki runs to allow you to choose the profile to load. @@ -111,20 +89,14 @@ profile to load. Alternatively you can set your Anki project to load your [dev profile name] profile automatically with the startup options described here: https://docs.ankiweb.net/#/files?id=startup-options -To do this in PyCharm: - - right click on the "run" file in the root of the PyCharm Anki folder - - click "Edit 'run'..." - - in Script options enter: - - "-p [dev profile name]" - - without the quotes - - click "Ok" +To do this in PyCharm: - right click on the "run" file in the root of the PyCharm Anki folder - click "Edit 'run'..." - in Script options enter: - "-p [dev profile name]" - without the quotes - click "Ok" -Debian/Ubuntu users -------------------- +## Debian/Ubuntu users Install Python 3.7+ if it's not installed. Install other dependencies: + ``` sudo apt install portaudio19-dev mpv lame npm rsync gcc gettext git curl python3-dev python3-venv libxcb-xinerama0 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh @@ -138,17 +110,15 @@ cargo install ripgrep Another way to build Anki on Linux is to use Docker - please see README.docker for more information. -Mac users ----------- +## Mac users You can use homebrew to install some dependencies: -$ brew install python mpv lame portaudio protobuf npm rustup-init gettext rename ripgrep +\$ brew install python mpv lame portaudio protobuf npm rustup-init gettext rename ripgrep -$ brew link gettext --force +\$ brew link gettext --force -Windows users (using Visual Studio) ----------- +## Windows users (using Visual Studio) The build scripts assume a UNIX-like environment, so on Windows you will need to use WSL or Cygwin to use them. @@ -157,33 +127,33 @@ User-contributed instructions for building using Cygwin: 1. Download and install Cygwin and put its `/bin/` directory on your system path (This PC > Properties > Advancded system settings > Environment Variables > double-click Path > New). 1. Install the Cygwin Packages: `apt-cyg install rsync make` OR select rsync package during Cygwin installation - 1. Download `gettext` 0.20.1 or superior and put its `bin` directory on your system path. - 1. https://mlocati.github.io/articles/gettext-iconv-windows.html + 1. Download `gettext` 0.20.1 or superior and put its `bin` directory on your system path. + 1. https://mlocati.github.io/articles/gettext-iconv-windows.html 1. Download and install Python for Windows (not from Cygwin) and put `python.exe` (not `python3.exe`) on your system path. 1. Download and install pip for your Windows Python (`python -m ensurepip`). 1. Download and install rust (compiler), npm, git and put them your system path. 1. Download and install the pyaudio wheel from: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio - 1. After download the file for your Python version, you need to define the following environment - variable before running Anki: - `set "ANKI_EXTRA_PIP=python -m pip install full/path/to/PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl"` - 1. If there is not an wheel available for your Python version, you can built it from the source - following the installation instructions on: https://github.com/evandroforks/pyaudio - After building and installing portaudio, you need to define the following environment - variable before running Anki: - `set "ANKI_EXTRA_PIP=python -m pip install git+https://github.com/evandroforks/pyaudio"` + 1. After download the file for your Python version, you need to define the following environment + variable before running Anki: + `set "ANKI_EXTRA_PIP=python -m pip install full/path/to/PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl"` + 1. If there is not an wheel available for your Python version, you can built it from the source + following the installation instructions on: https://github.com/evandroforks/pyaudio + After building and installing portaudio, you need to define the following environment + variable before running Anki: + `set "ANKI_EXTRA_PIP=python -m pip install git+https://github.com/evandroforks/pyaudio"` 1. Open a `cmd.exe` (command prompt) on the Anki repository and run the command `sh run` - 1. Do not use `bash run` because it my call for Windows Subsystem for Linux - 1. Do not use any Cygwin terminal as `mintty.exe` because the `rust lang` compiler does not work with them + 1. Do not use `bash run` because it my call for Windows Subsystem for Linux + 1. Do not use any Cygwin terminal as `mintty.exe` because the `rust lang` compiler does not work with them + +## Windows users (using PyCharm) -Windows users (using PyCharm) ------------------------------ These instructions assume Microsoft Python support is not installed; neither via VS nor VS Code nor some other way. - If MS Python support is already installed the process is different, and these notes may not work seamlessly for you. +If MS Python support is already installed the process is different, and these notes may not work seamlessly for you. These notes are proscriptive, other methods will work (such as a different Bash/Shell). While some of this list is in an arbitrary order, significant steps are in a specific order, therefore it is strongly - recommended to follow these instructions step-by-step. +recommended to follow these instructions step-by-step. - Python and PyCharm are a given if you are choosing this path and should be the first and second step respectively. @@ -194,91 +164,101 @@ While some of this list is in an arbitrary order, significant steps are in a spe - install Cygwin (check the Cygwin /bin folder is added to System PATH) - use the Visual Studio Community installer to install: - - the individual C++ Clang Compiler for Windows (10.0.0) component. - - the Python development Workflow + + - the individual C++ Clang Compiler for Windows (10.0.0) component. + - the Python development Workflow - install rustup (https://rustup.rs/) - download and install Strawberry Perl msi from http://strawberryperl.com/ - - this is the installer at the time of writing these notes: - http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit.msi + + - this is the installer at the time of writing these notes: + http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit.msi - mpv isn't required unless you are developing against mpv (Anki will revert to Mplayer) - - open an elevated Git Bash (elevated to "Run as administrator") - - choco install mpv - - assumes you have Chocolatey installed + + - open an elevated Git Bash (elevated to "Run as administrator") + - choco install mpv + - assumes you have Chocolatey installed - install Git and Git Bash (this delivers curl too) - - add git/usr/bin to your System PATH before cygwin/bin folder, mentioned above. - - run: - - git config --global core.autocrlf - - make a note of the result (referred to as [yourLineEndingsValue] later in these notes) - - if the [yourLineEndingsValue] is not 'input', run (to preserve Anki's Unix line endings): - - git config --global core.autocrlf input - - run: - - cargo install ripgrep + + - add git/usr/bin to your System PATH before cygwin/bin folder, mentioned above. + - run: + - git config --global core.autocrlf + - make a note of the result (referred to as [yourLineEndingsValue] later in these notes) + - if the [yourLineEndingsValue] is not 'input', run (to preserve Anki's Unix line endings): + - git config --global core.autocrlf input + - run: + - cargo install ripgrep - got to https://github.com/protocolbuffers/protobuf/releases - - download latest protoc-v.v.v-win64.zip where 'v' is replaced with version numbers - - this is the file at the time of writing these notes: - https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-win64.zip - - extract bin\protoc.exe to C:\Program Files\Git\usr\bin (or where ever you installed Git and Git Bash above) + + - download latest protoc-v.v.v-win64.zip where 'v' is replaced with version numbers + - this is the file at the time of writing these notes: + https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-win64.zip + - extract bin\protoc.exe to C:\Program Files\Git\usr\bin (or where ever you installed Git and Git Bash above) - go to http://repo.msys2.org/msys/x86_64/ - - download latest rsync-v.v.v-v-x86_64.pkg.tar.xz where 'v' is replaced with version numbers - - this is the file at the time of writing these notes: - http://repo.msys2.org/msys/x86_64/rsync-3.1.3-1-x86_64.pkg.tar.xz - - extract the tar, then extract usr\bin\rsync.exe to c:\Program Files\Git\usr\bin as for protoc.exe above + + - download latest rsync-v.v.v-v-x86_64.pkg.tar.xz where 'v' is replaced with version numbers + - this is the file at the time of writing these notes: + http://repo.msys2.org/msys/x86_64/rsync-3.1.3-1-x86_64.pkg.tar.xz + - extract the tar, then extract usr\bin\rsync.exe to c:\Program Files\Git\usr\bin as for protoc.exe above - install remaining dependencies to Python packages - - pip install https://github.com/ankitects/windows-ci-tools/PyAudio-0.2.11-cp37-cp37-win_amd64.whl - - pip install lameenc - - pip install python-gettext + + - pip install https://github.com/ankitects/windows-ci-tools/PyAudio-0.2.11-cp37-cp37-win_amd64.whl + - pip install lameenc + - pip install python-gettext - clone your GitHub Anki fork to a local folder - open that local Anki source folder in PyCharm - default PyCharm Terminal to Git Bash: - - these steps aren't required, you can just use Git Bash externally to run Anki and the commands below, if you - prefer + + - these steps aren't required, you can just use Git Bash externally to run Anki and the commands below, if you + prefer - open Anki project in PyCharm - - open File > Settings - - navigate to Tools > Terminal - - set Shell path to: "C:\Program Files\Git\bin\bash.exe" (or where ever you installed Git and Git Bash) - - restart PyCharm with Anki project + - open File > Settings + - navigate to Tools > Terminal + - set Shell path to: "C:\Program Files\Git\bin\bash.exe" (or where ever you installed Git and Git Bash) + - restart PyCharm with Anki project - open PyCharm Terminal (Git Bash) - set your local Anki project to preserve unix line endings: - - git config --local core.autocrlf input + - git config --local core.autocrlf input - if [yourLineEndingsValue] was not 'input', revert global line endings: - - git config --global core.autocrlf [yourLineEndingsValue] - - e.g. (most likely): - - git config --global core.autocrlf true + + - git config --global core.autocrlf [yourLineEndingsValue] + - e.g. (most likely): + - git config --global core.autocrlf true - ensure your virtual environment is set up as you like it to be - - if you don't set the virtual environment to pyenv (Anki's virtual environment folder) don't forget to add the - virtual environment folder to your global (not local) .gitignore if you haven't already. + + - if you don't set the virtual environment to pyenv (Anki's virtual environment folder) don't forget to add the + virtual environment folder to your global (not local) .gitignore if you haven't already. - add .idea folder to your global .gitignore (not the local .gitignore in the cloned repo) - from project root run: - - pip install -r qt/requirements.qt + + - pip install -r qt/requirements.qt - in PyCharm - - either: - - open Terminal (Git Bash) - - type ./run - - or: - - right click 'run' file in Anki project root and click the command to run it - - watch the magic happen (it takes a while and there are a couple of long pauses). + - either: + - open Terminal (Git Bash) + - type ./run + - or: + - right click 'run' file in Anki project root and click the command to run it + - watch the magic happen (it takes a while and there are a couple of long pauses). please note: these instructions have been based off the general notes above and the notes for installing for Windows - using Visual Studio. Without those notes this section would have been very difficult, if not impossible. +using Visual Studio. Without those notes this section would have been very difficult, if not impossible. -Environmental Variables ------------------------ +## Environmental Variables If ANKIDEV is set before starting Anki, some extra log messages will be printed on stdout, and automatic backups will be disabled - so please don't use this except on a test profile. diff --git a/README.docker b/docs/docker.md similarity index 85% rename from README.docker rename to docs/docker.md index e57cb7c12..d94a94cc9 100644 --- a/README.docker +++ b/docs/docker.md @@ -1,5 +1,9 @@ -Anki in Docker -============== +# Needs updating + +The following was written before the build system changed, and will +need modifications to work. + +# Anki in Docker Anki can optionally be built and run with Docker, which will automate the installation of Anki's build dependencies. The instructions below cover running @@ -32,15 +36,15 @@ xhost -local:root Build your local source tree in Docker. -1. Build the Docker image with build-time dependencies. The Anki Dockerfile uses -multi-stage builds, so the target is the first stage, which includes only the -dependencies. +1. Build the Docker image with build-time dependencies. The Anki Dockerfile uses + multi-stage builds, so the target is the first stage, which includes only the + dependencies. - ``` - docker build --tag anki:dependencies --target dependencies . - ``` + ``` + docker build --tag anki:dependencies --target dependencies . + ``` -2. Compile your source tree +2. Compile your source tree Start the image with dependencies in the background. It is important to run the image as the current user, because otherwise, some files in the source tree will be @@ -80,7 +84,7 @@ dependencies. To compile without running the GUI, use `make develop`. -3. Other common operations +3. Other common operations If system packages need to be installed, use `apt-get` as below. The Docker image is based on a Debian Stable image. diff --git a/docs/linux.md b/docs/linux.md new file mode 100644 index 000000000..bfb0bbacf --- /dev/null +++ b/docs/linux.md @@ -0,0 +1,67 @@ +# Linux + +## Requirements + +These instructions are written for Debian/Ubuntu; adjust for your distribution. + +**Ensure some basic tools are installed**: + +``` +$ sudo apt install bash grep findutils curl gcc g++ git gettext +``` + +The 'find' utility is 'findutils' on Debian. + +**Install Python 3.8**: + +If you're on a modern distribution, you may be able to install Python from the repo: + +``` +$ sudo apt install python3.8 +``` + +If python3.8 is not available in your distro, you can download it from python.org. + +Notes: + +- The build scripts expect to find 'python3.8' on your path, so Python 3.7 or 3.9 will + not work. +- An active Python venv is not required, and may cause problems. + +**Install Bazelisk**: + +Download it under the name 'bazel': + +``` +$ curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.7.4/bazelisk-linux-amd64 -o ./bazel +``` + +And put it on your path: + +``` +$ chmod +x bazel && sudo mv bazel /usr/local/bin/ +``` + +## Running Anki during development + +From the top level of Anki's source folder: + +``` +./run +``` + +This will build Anki and run it in place. + +The first build will take while, as it downloads and builds a bunch of +dependencies. When the build is complete, Anki will automatically start. + +To play audio, install mpv. At the time of writing, recording is +not yet supported, as currently pyaudio is not being installed. + +## Running tests + +From inside the source folder: + +``` +bazel test //... +``` diff --git a/docs/mac.md b/docs/mac.md new file mode 100644 index 000000000..1c1d0d7ec --- /dev/null +++ b/docs/mac.md @@ -0,0 +1,57 @@ +# Mac + +## Requirements + +**Xcode**: + +Install the latest XCode from the App Store. Open it at least once +so it installs the command line tools. + +**Homebrew & Homebrew Deps**: + +Install Homebrew from + +Then install deps: + +``` +$ brew install rsync gettext bazelisk +``` + +**Install Python 3.8**: + +Install Python 3.8 from . You may be able to use +the Homebrew version instead, but this is untested. + +You do not need to set up a Python venv prior to building Anki. + +When you run "python" in a shell, if it shows Python 2.x, you may get a +bunch of hashlib warnings during build. You can work around this by +pointing python to python3.8: + +``` +$ ln -sf /usr/local/bin/{python3.8,python} +``` + +## Running Anki during development + +From the top level of Anki's source folder: + +``` +./run +``` + +This will build Anki and run it in place. + +The first build will take while, as it downloads and builds a bunch of +dependencies. When the build is complete, Anki will automatically start. + +To play audio, use Homebrew to install mpv. At the time of writing, recording is +not yet supported, as currently pyaudio is not being installed. + +## Running tests + +From inside the source folder: + +``` +bazel test //... +``` diff --git a/docs/windows.md b/docs/windows.md new file mode 100644 index 000000000..02532450b --- /dev/null +++ b/docs/windows.md @@ -0,0 +1,91 @@ +# Windows + +## Requirements + +**Windows**: + +You must be running 64 bit Windows 10, version 1703 or newer. + +The build system requires [Developer Mode](https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development) to be enabled. + +**Visual Studio**: + +Either the normal Visual Studio or just the [build tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019) should work. Make sure the C++ compiler and Windows 10 SDK are selected - they should be on +by default. + +**Python 3.8**: + +Download Python 3.8 from . Run the installer, and +customize the installation. Select "install for all users", and choose +the install path as c:\python. Currently the build scripts require +Python to be installed in that location. + +**MSYS**: + +Install [msys](https://www.msys2.org/) into the default folder location. + +After installation completes, run msys, and run the following commands: + +``` +$ pacman -Syu +$ pacman -S git gettext +``` + +**Bazelisk**: + +Use Start>Run to open PowerShell. Create a folder to store Bazelisk +and its working data. Anki's build scripts expect to find it in c:\bazel + +``` +PS> mkdir \bazel +PS> cd \bazel +``` + +Then grab Bazelisk: + +``` +PS> \msys64\usr\bin\curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.7.4/bazelisk-windows-amd64.exe -o bazel.exe +``` + +**Source folder**: + +Anki's source files should not need to be in a specific location, but +the path should be kept as short as possible, and we test with the source +stored in c:\anki. + +## Build failures + +The Javascript bundling on Windows is currently a bit flaky, so the initial +build will likely fail with an error about a missing rollup module. If you +get an error when running the commands below, try repeating them a few times - +they should pick up where they left off. + +## Running Anki during development + +Open PowerShell and change to the top level of Anki's source folder, +then run + +``` +.\run +``` + +This will build Anki and run it in place. + +The first build will take while, as it downloads and builds a bunch of +dependencies. When the build is complete, Anki will automatically start. + +To play audio, mpv.exe or mplayer.exe must be on the path. At the time +of writing, recording is not yet supported, as currently pyaudio is +not being installed. + +## Running tests + +From inside the top level of the source folder: + +``` +.\bazel test //... +``` + +Note that we call bazel.bat inside the Anki source folder, instead of +calling Bazel directly. This takes care of setting up the path and +output folder correctly, which avoids issues with long path names. diff --git a/meta/.gitignore b/meta/.gitignore deleted file mode 100644 index b583da4c4..000000000 --- a/meta/.gitignore +++ /dev/null @@ -1 +0,0 @@ -buildhash diff --git a/meta/version b/meta/version deleted file mode 100644 index d993c264b..000000000 --- a/meta/version +++ /dev/null @@ -1 +0,0 @@ -2.1.36 diff --git a/packages.bzl b/packages.bzl new file mode 100644 index 000000000..ab9d3b8b0 --- /dev/null +++ b/packages.bzl @@ -0,0 +1,171 @@ +""" +Dependencies required to build Anki. +""" + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") + +def register_deps(): + "Register required dependencies." + + # bazel + ########## + + http_archive( + name = "bazel_skylib", + sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", + ], + ) + + # protobuf + ############ + + http_archive( + name = "com_google_protobuf", + sha256 = "465fd9367992a9b9c4fba34a549773735da200903678b81b25f367982e8df376", + strip_prefix = "protobuf-3.13.0", + urls = [ + "https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protobuf-all-3.13.0.tar.gz", + ], + ) + + # rust + ######## + + git_repository( + name = "io_bazel_rules_rust", + commit = "5dac98e97b903e72514152bbdcc5965d4ca268b9", + remote = "https://github.com/ankitects/rules_rust", + shallow_since = "1603677585 +1000", + ) + + # local_repository( + # name = "io_bazel_rules_rust", + # path = "../rules_rust", + # ) + + # python + ########## + + git_repository( + name = "rules_python", + commit = "5c948dcfd4ca79c2ed3a87636c46abba9f5836e9", + remote = "https://github.com/bazelbuild/rules_python", + shallow_since = "1602856996 -0700", + ) + + # local_repository( + # name = "rules_python", + # path = "./rules_python", + # ) + + git_repository( + name = "com_github_ali5h_rules_pip", + commit = "5d1d7ae1b24f869062ff6bb490110a2e5a229988", + remote = "https://github.com/ankitects/rules_pip", + shallow_since = "1604116387 +1000", + ) + + # native.local_repository( + # name = "com_github_ali5h_rules_pip", + # path = "../rules_pip", + # ) + + # javascript + ############## + + http_archive( + name = "build_bazel_rules_nodejs", + sha256 = "cd6c9880292fc83f1fd16ba33000974544b0fe0fccf3d5e15b2e3071ba011266", + urls = ["https://github.com/ankitects/rules_nodejs/releases/download/runfiles-fix-release/release.tar.gz"], + ) + + # http_archive( + # name = "build_bazel_rules_nodejs", + # # sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", + # urls = [ + # "file:///c:/anki/release.tar.gz", + # "file:///Users/dae/Work/code/dtop/release.tar.gz", + # ], + # ) + + # sass + ############ + + http_archive( + name = "io_bazel_rules_sass", + sha256 = "6e60fc1cf0805af2cdcce727a5eed3f238fb4df41b35ce581c57996947c0202c", + strip_prefix = "rules_sass-1.26.12", + url = "https://github.com/bazelbuild/rules_sass/archive/1.26.12.zip", + ) + + # svelte + ########## + + git_repository( + name = "build_bazel_rules_svelte", + commit = "c28cd9e5d251a0ce47c68a6a2a11b075f3df8899", + remote = "https://github.com/ankitects/rules_svelte", + shallow_since = "1603950453 +1000", + ) + + # native.local_repository( + # name = "build_bazel_rules_svelte", + # path = "../rules_svelte", + # ) + + # translations + ################ + + core_i18n_commit = "b9fdeadef0b92a6d9acadbce01e43cba53739df6" + core_i18n_shallow_since = "1602372775 +0000" + + desktop_i18n_commit = "51320cdc51fbfb3d60791467879069ea3a8188a6" + desktop_i18n_shallow_since = "1600900614 +0000" + + desktop_i18n_po_commit = "710be3864b356ddf90253034c6acfcb420dffeff" + desktop_i18n_po_shallow_since = "1603966644 +0000" + + new_git_repository( + name = "rslib_ftl", + build_file_content = """ +filegroup( + name = "files", + srcs = glob(["**/*.ftl"]), + visibility = ["//visibility:public"], +) + """, + commit = core_i18n_commit, + shallow_since = core_i18n_shallow_since, + remote = "https://github.com/ankitects/anki-core-i18n", + ) + + if not native.existing_rule("extra_ftl"): + new_git_repository( + name = "extra_ftl", + build_file_content = """ +filegroup( + name = "files", + srcs = glob(["**/*.ftl"]), + visibility = ["//visibility:public"], +) +""", + commit = desktop_i18n_commit, + shallow_since = desktop_i18n_shallow_since, + remote = "https://github.com/ankitects/anki-desktop-ftl", + ) + + new_git_repository( + name = "aqt_po", + build_file_content = """ +exports_files(glob(["**/*.pot", "**/*.po"]), + visibility = ["//visibility:public"], +) + """, + commit = desktop_i18n_po_commit, + shallow_since = desktop_i18n_po_shallow_since, + remote = "https://github.com/ankitects/anki-desktop-i18n", + ) diff --git a/pip/BUILD.bazel b/pip/BUILD.bazel new file mode 100644 index 000000000..73cccce90 --- /dev/null +++ b/pip/BUILD.bazel @@ -0,0 +1 @@ +exports_files(["requirements.txt"]) diff --git a/pip/requirements.txt b/pip/requirements.txt new file mode 100644 index 000000000..13a2b76ba --- /dev/null +++ b/pip/requirements.txt @@ -0,0 +1,22 @@ +black +protobuf +stringcase +decorator +mypy-protobuf +mypy +pytest +beautifulsoup4 +requests[socks] +pylint +black +isort +mock +flask +flask-cors +waitress +send2trash +markdown +jsonschema +pyaudio +psutil; sys.platform == "win32" +pywin32; sys.platform == "win32" diff --git a/proto/BUILD.bazel b/proto/BUILD.bazel new file mode 100644 index 000000000..c6faa1341 --- /dev/null +++ b/proto/BUILD.bazel @@ -0,0 +1,32 @@ +load("@rules_python//python:defs.bzl", "py_binary") +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@py_deps//:requirements.bzl", "requirement") + +py_binary( + name = "mypy_protobuf", + srcs = [requirement("mypy-protobuf").replace(":pkg", ":mypy_protobuf.py")], + visibility = [ + "//visibility:public", + ], + deps = [requirement("mypy-protobuf")], +) + +py_binary( + name = "protoc_wrapper", + srcs = ["protoc_wrapper.py"], + visibility = [ + "//visibility:public", + ], + deps = [ + ":mypy_protobuf", + "@rules_python//python/runfiles", + ], +) + +proto_library( + name = "backend_proto_lib", + srcs = ["backend.proto"], + visibility = ["//visibility:public"], +) + +exports_files(["backend.proto"]) diff --git a/proto/backend.proto b/proto/backend.proto index b438cca38..675170fb6 100644 --- a/proto/backend.proto +++ b/proto/backend.proto @@ -1,7 +1,5 @@ syntax = "proto3"; -import "fluent.proto"; - package BackendProto; // Generic containers @@ -668,7 +666,7 @@ message TrashMediaFilesIn { } message TranslateStringIn { - FluentString key = 2; + int32 key = 2; map args = 3; } diff --git a/proto/defs.bzl b/proto/defs.bzl new file mode 100644 index 000000000..9c30bc5a6 --- /dev/null +++ b/proto/defs.bzl @@ -0,0 +1,50 @@ +load("@bazel_skylib//lib:paths.bzl", "paths") + +def _py_proto_library_impl(ctx): + basename = ctx.file.src.basename + outs = [ + ctx.actions.declare_file(paths.replace_extension(basename, "_pb2.py")), + ctx.actions.declare_file(paths.replace_extension(basename, "_pb2.pyi")), + ] + ctx.actions.run( + outputs = outs, + inputs = [ctx.file.src], + executable = ctx.executable.protoc_wrapper, + arguments = [ + ctx.executable.protoc.path, + ctx.executable.mypy_protobuf.path, + ctx.file.src.path, + paths.dirname(outs[0].path), + ], + tools = [ + ctx.executable.protoc, + ctx.executable.mypy_protobuf, + ], + use_default_shell_env = True, + ) + return [ + DefaultInfo(files = depset(direct = outs), data_runfiles = ctx.runfiles(files = outs)), + ] + +py_proto_library_typed = rule( + implementation = _py_proto_library_impl, + attrs = { + "src": attr.label(allow_single_file = [".proto"]), + "protoc_wrapper": attr.label( + executable = True, + cfg = "exec", + default = Label("//proto:protoc_wrapper"), + ), + "protoc": attr.label( + executable = True, + cfg = "host", + allow_files = True, + default = Label("@com_google_protobuf//:protoc"), + ), + "mypy_protobuf": attr.label( + executable = True, + cfg = "exec", + default = Label("//proto:mypy_protobuf"), + ), + }, +) diff --git a/proto/protoc_wrapper.py b/proto/protoc_wrapper.py new file mode 100644 index 000000000..4f4ffec14 --- /dev/null +++ b/proto/protoc_wrapper.py @@ -0,0 +1,35 @@ +#!/usr/bin/env +# +# Wrapper for protoc that strips the dirname from the output files, +# and generates mypy typechecking info. + +import sys +import subprocess +import shutil +import os + +(protoc, mypy_protobuf, proto, outdir) = sys.argv[1:] + +# copy to current dir +basename = os.path.basename(proto) +shutil.copyfile(proto, basename) + +# output filenames +without_ext = os.path.splitext(basename)[0] +pb2_py = without_ext + "_pb2.py" +pb2_pyi = without_ext + "_pb2.pyi" + +# invoke protoc +subprocess.run([ + protoc, + "--plugin=protoc-gen-mypy="+mypy_protobuf, + "--python_out=.", + "--mypy_out=.", + basename], + # mypy prints to stderr on success :-( + stderr=subprocess.DEVNULL, + check=True) + +# move files into output +shutil.move(pb2_py, outdir + "/" + pb2_py) +shutil.move(pb2_pyi, outdir + "/" + pb2_pyi) diff --git a/pylib/.gitignore b/pylib/.gitignore index 812ffd4a5..1596646cc 100644 --- a/pylib/.gitignore +++ b/pylib/.gitignore @@ -13,6 +13,5 @@ anki.egg-info anki/backend_pb2.* anki/fluent_pb2.* anki/rsbackend_gen.py -anki/buildhash.py build dist diff --git a/pylib/.isort.cfg b/pylib/.isort.cfg index 965d60343..a6f9d2938 100644 --- a/pylib/.isort.cfg +++ b/pylib/.isort.cfg @@ -1,8 +1,10 @@ [settings] -skip=aqt/forms,backend_pb2.py,backend_pb2.pyi,fluent_pb2.py,fluent_pb2.pyi,rsbackend_gen.py +skip=aqt/forms,backend_pb2.py,backend_pb2.pyi,fluent_pb2.py,fluent_pb2.pyi,rsbackend_gen.py,hooks_gen.py +profile=black multi_line_output=3 include_trailing_comma=True force_grid_wrap=0 use_parentheses=True line_length=88 ensure_newline_before_comments=true +known_first_party=tests,anki diff --git a/pylib/.pylintrc b/pylib/.pylintrc index 0d2769783..fd2c5cc6f 100644 --- a/pylib/.pylintrc +++ b/pylib/.pylintrc @@ -1,5 +1,6 @@ [MASTER] ignore-patterns=.*_pb2.* +persistent = no [MESSAGES CONTROL] disable=C,R, diff --git a/pylib/BUILD.bazel b/pylib/BUILD.bazel new file mode 100644 index 000000000..c3919939b --- /dev/null +++ b/pylib/BUILD.bazel @@ -0,0 +1,124 @@ +load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test") +load("@py_deps//:requirements.bzl", "requirement") + +py_binary( + name = "genbackend", + srcs = [ + "tools/genbackend.py", + "//pylib/anki:backend_pb2", + ], + imports = [ + ".", + ], + visibility = [":__subpackages__"], + deps = [ + requirement("black"), + requirement("stringcase"), + requirement("protobuf"), + ], +) + +py_library( + name = "hookslib", + srcs = ["tools/hookslib.py"], + imports = ["tools"], + visibility = ["//qt:__pkg__"], +) + +py_binary( + name = "genhooks", + srcs = [ + "tools/genhooks.py", + "tools/hookslib.py", + ], + imports = ["."], + visibility = [":__subpackages__"], + deps = [ + requirement("black"), + requirement("stringcase"), + ], +) + +py_test( + name = "pytest", + srcs = glob(["tests/*.py"]), + data = glob(["tests/support/**"]) + [ + "//rspy:ankirspy", + ], + main = "tests/run_pytest.py", + deps = [ + "//pylib/anki", + requirement("pytest"), + ], +) + +py_test( + name = "mypy", + srcs = [ + "tests/run_mypy.py", + ], + args = [ + "anki", + "$(location mypy.ini)", + ], + data = ["mypy.ini"], + main = "tests/run_mypy.py", + deps = [ + "//pylib/anki", + requirement("mypy"), + ], +) + +py_test( + name = "pylint", + srcs = [ + "tests/run_pylint.py", + ], + args = [ + "anki", + "$(location .pylintrc)", + ], + data = [".pylintrc"], + main = "tests/run_pylint.py", + deps = [ + "//pylib/anki", + requirement("pylint"), + ], +) + +py_test( + name = "format", + srcs = glob([ + "anki/**/*.py", + "tests/**/*.py", + "tools/*.py", + ]), + args = [ + "$(location .isort.cfg)", + ], + data = [".isort.cfg"], + main = "tests/run_format.py", + deps = [ + "//pylib/anki", + requirement("black"), + requirement("isort"), + ], +) + +py_binary( + name = "format_fix", + srcs = [ + "tests/run_format.py", + ], + args = [ + "$(location .isort.cfg)", + "fix", + ], + data = [".isort.cfg"], + main = "tests/run_format.py", + tags = ["manual"], + deps = [ + requirement("black"), + requirement("isort"), + ], +) diff --git a/pylib/anki/BUILD.bazel b/pylib/anki/BUILD.bazel new file mode 100644 index 000000000..6b101a3bd --- /dev/null +++ b/pylib/anki/BUILD.bazel @@ -0,0 +1,92 @@ +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") +load("@rules_python//python:defs.bzl", "py_library") +load("@py_deps//:requirements.bzl", "requirement") +load("//proto:defs.bzl", "py_proto_library_typed") +load("@rules_python//experimental/python:wheel.bzl", "py_package", "py_wheel") + +copy_file( + name = "buildinfo", + src = "//:buildinfo.txt", + out = "buildinfo.txt", +) + +genrule( + name = "rsbackend_gen", + outs = ["rsbackend_gen.py"], + cmd = "$(location //pylib:genbackend) > $@", + tools = ["//pylib:genbackend"], +) + +genrule( + name = "hooks_gen", + outs = ["hooks_gen.py"], + cmd = "$(location //pylib:genhooks) $@", + tools = ["//pylib:genhooks"], +) + +py_proto_library_typed( + name = "backend_pb2", + src = "//proto:backend.proto", + visibility = [ + "//visibility:public", + ], +) + +py_proto_library_typed( + name = "fluent_pb2", + src = "//rslib:fluent.proto", + visibility = [ + "//visibility:public", + ], +) + +py_library( + name = "anki", + srcs = glob([ + "**/*.py", + ]), + data = [ + "py.typed", + ":backend_pb2", + ":buildinfo", + ":fluent_pb2", + ":hooks_gen", + ":rsbackend_gen", + "//rspy:ankirspy", + ], + imports = [ + "..", + "../../rspy", + ], + visibility = ["//visibility:public"], + deps = [ + requirement("protobuf"), + requirement("decorator"), + requirement("requests"), + requirement("beautifulsoup4"), + ], +) + +py_package( + name = "anki_pkg", + # Only include these Python packages. + # packages = ["anki"], + deps = [":anki"], +) + +py_wheel( + name = "anki_whl", + # Package data. We're building "example_minimal_package-0.0.1-py3-none-any.whl" + distribution = "anki", + python_tag = "py3", + requires = [ + "ankirspy (==2.1.35)", + "distro ; sys_platform != \"darwin\" and sys_platform != \"win32\"", + ], + strip_path_prefixes = [ + "pylib", + # "foo3", + ], + version = "0.0.1", + deps = [":anki_pkg"], +) diff --git a/pylib/anki/buildinfo.py b/pylib/anki/buildinfo.py new file mode 100644 index 000000000..965b8f183 --- /dev/null +++ b/pylib/anki/buildinfo.py @@ -0,0 +1,14 @@ +# Copyright: Ankitects Pty Ltd and contributors +# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + +import os + +_buildinfo = {} +for line in open(os.path.join(os.path.dirname(__file__), "buildinfo.txt")).readlines(): + elems = line.split() + if len(elems) == 2: + k, v = elems + _buildinfo[k] = v + +buildhash=_buildinfo["STABLE_BUILDHASH"] +version=_buildinfo["STABLE_VERSION"] diff --git a/pylib/anki/hooks.py b/pylib/anki/hooks.py index adca62f7a..8a65d7bf2 100644 --- a/pylib/anki/hooks.py +++ b/pylib/anki/hooks.py @@ -12,561 +12,12 @@ modifying it. from __future__ import annotations -from typing import Any, Callable, Dict, List, Sequence, Tuple +from typing import Any, Callable, Dict, List import decorator -import anki -from anki.cards import Card -from anki.notes import Note - -# New hook/filter handling -############################################################################## -# The code in this section is automatically generated - any edits you make -# will be lost. To add new hooks, see ../tools/genhooks.py -# -# @@AUTOGEN@@ - - -class _CardDidLeechHook: - _hooks: List[Callable[[Card], None]] = [] - - def append(self, cb: Callable[[Card], None]) -> None: - """(card: Card)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Card], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: Card) -> None: - for hook in self._hooks: - try: - hook(card) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("leech", card) - - -card_did_leech = _CardDidLeechHook() - - -class _CardDidRenderHook: - """Can modify the resulting text after rendering completes.""" - - _hooks: List[ - Callable[ - [ - "anki.template.TemplateRenderOutput", - "anki.template.TemplateRenderContext", - ], - None, - ] - ] = [] - - def append( - self, - cb: Callable[ - [ - "anki.template.TemplateRenderOutput", - "anki.template.TemplateRenderContext", - ], - None, - ], - ) -> None: - """(output: anki.template.TemplateRenderOutput, ctx: anki.template.TemplateRenderContext)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[ - [ - "anki.template.TemplateRenderOutput", - "anki.template.TemplateRenderContext", - ], - None, - ], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - output: anki.template.TemplateRenderOutput, - ctx: anki.template.TemplateRenderContext, - ) -> None: - for hook in self._hooks: - try: - hook(output, ctx) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -card_did_render = _CardDidRenderHook() - - -class _CardOdueWasInvalidHook: - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -card_odue_was_invalid = _CardOdueWasInvalidHook() - - -class _CardWillFlushHook: - """Allow to change a card before it is added/updated in the database.""" - - _hooks: List[Callable[[Card], None]] = [] - - def append(self, cb: Callable[[Card], None]) -> None: - """(card: Card)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Card], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: Card) -> None: - for hook in self._hooks: - try: - hook(card) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -card_will_flush = _CardWillFlushHook() - - -class _DeckAddedHook: - """Obsolete, do not use.""" - - _hooks: List[Callable[["anki.decks.Deck"], None]] = [] - - def append(self, cb: Callable[["anki.decks.Deck"], None]) -> None: - """(deck: anki.decks.Deck)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.decks.Deck"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, deck: anki.decks.Deck) -> None: - for hook in self._hooks: - try: - hook(deck) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_added = _DeckAddedHook() - - -class _ExportersListCreatedHook: - _hooks: List[Callable[[List[Tuple[str, Any]]], None]] = [] - - def append(self, cb: Callable[[List[Tuple[str, Any]]], None]) -> None: - """(exporters: List[Tuple[str, Any]])""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[List[Tuple[str, Any]]], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, exporters: List[Tuple[str, Any]]) -> None: - for hook in self._hooks: - try: - hook(exporters) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("exportersList", exporters) - - -exporters_list_created = _ExportersListCreatedHook() - - -class _FieldFilterFilter: - """Allows you to define custom {{filters:..}} - - Your add-on can check filter_name to decide whether it should modify - field_text or not before returning it.""" - - _hooks: List[ - Callable[[str, str, str, "anki.template.TemplateRenderContext"], str] - ] = [] - - def append( - self, cb: Callable[[str, str, str, "anki.template.TemplateRenderContext"], str] - ) -> None: - """(field_text: str, field_name: str, filter_name: str, ctx: anki.template.TemplateRenderContext)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[[str, str, str, "anki.template.TemplateRenderContext"], str] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - field_text: str, - field_name: str, - filter_name: str, - ctx: anki.template.TemplateRenderContext, - ) -> str: - for filter in self._hooks: - try: - field_text = filter(field_text, field_name, filter_name, ctx) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return field_text - - -field_filter = _FieldFilterFilter() - - -class _MediaFilesDidExportHook: - _hooks: List[Callable[[int], None]] = [] - - def append(self, cb: Callable[[int], None]) -> None: - """(count: int)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[int], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, count: int) -> None: - for hook in self._hooks: - try: - hook(count) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -media_files_did_export = _MediaFilesDidExportHook() - - -class _NoteTypeAddedHook: - """Obsolete, do not use.""" - - _hooks: List[Callable[["anki.models.NoteType"], None]] = [] - - def append(self, cb: Callable[["anki.models.NoteType"], None]) -> None: - """(notetype: anki.models.NoteType)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.models.NoteType"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, notetype: anki.models.NoteType) -> None: - for hook in self._hooks: - try: - hook(notetype) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -note_type_added = _NoteTypeAddedHook() - - -class _NoteWillFlushHook: - """Allow to change a note before it is added/updated in the database.""" - - _hooks: List[Callable[[Note], None]] = [] - - def append(self, cb: Callable[[Note], None]) -> None: - """(note: Note)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Note], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, note: Note) -> None: - for hook in self._hooks: - try: - hook(note) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -note_will_flush = _NoteWillFlushHook() - - -class _NotesWillBeDeletedHook: - _hooks: List[Callable[["anki.collection.Collection", Sequence[int]], None]] = [] - - def append( - self, cb: Callable[["anki.collection.Collection", Sequence[int]], None] - ) -> None: - """(col: anki.collection.Collection, ids: Sequence[int])""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["anki.collection.Collection", Sequence[int]], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, col: anki.collection.Collection, ids: Sequence[int]) -> None: - for hook in self._hooks: - try: - hook(col, ids) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("remNotes", col, ids) - - -notes_will_be_deleted = _NotesWillBeDeletedHook() - - -class _SchedulerNewLimitForSingleDeckFilter: - """Allows changing the number of new card for this deck (without - considering descendants).""" - - _hooks: List[Callable[[int, "anki.decks.Deck"], int]] = [] - - def append(self, cb: Callable[[int, "anki.decks.Deck"], int]) -> None: - """(count: int, deck: anki.decks.Deck)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[int, "anki.decks.Deck"], int]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, count: int, deck: anki.decks.Deck) -> int: - for filter in self._hooks: - try: - count = filter(count, deck) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return count - - -scheduler_new_limit_for_single_deck = _SchedulerNewLimitForSingleDeckFilter() - - -class _SchedulerReviewLimitForSingleDeckFilter: - """Allows changing the number of rev card for this deck (without - considering descendants).""" - - _hooks: List[Callable[[int, "anki.decks.Deck"], int]] = [] - - def append(self, cb: Callable[[int, "anki.decks.Deck"], int]) -> None: - """(count: int, deck: anki.decks.Deck)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[int, "anki.decks.Deck"], int]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, count: int, deck: anki.decks.Deck) -> int: - for filter in self._hooks: - try: - count = filter(count, deck) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return count - - -scheduler_review_limit_for_single_deck = _SchedulerReviewLimitForSingleDeckFilter() - - -class _Schedv2DidAnswerReviewCardHook: - _hooks: List[Callable[["anki.cards.Card", int, bool], None]] = [] - - def append(self, cb: Callable[["anki.cards.Card", int, bool], None]) -> None: - """(card: anki.cards.Card, ease: int, early: bool)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.cards.Card", int, bool], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: anki.cards.Card, ease: int, early: bool) -> None: - for hook in self._hooks: - try: - hook(card, ease, early) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -schedv2_did_answer_review_card = _Schedv2DidAnswerReviewCardHook() - - -class _SchemaWillChangeFilter: - _hooks: List[Callable[[bool], bool]] = [] - - def append(self, cb: Callable[[bool], bool]) -> None: - """(proceed: bool)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[bool], bool]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, proceed: bool) -> bool: - for filter in self._hooks: - try: - proceed = filter(proceed) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return proceed - - -schema_will_change = _SchemaWillChangeFilter() - - -class _SyncProgressDidChangeHook: - """Obsolete, do not use.""" - - _hooks: List[Callable[[str], None]] = [] - - def append(self, cb: Callable[[str], None]) -> None: - """(msg: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, msg: str) -> None: - for hook in self._hooks: - try: - hook(msg) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -sync_progress_did_change = _SyncProgressDidChangeHook() - - -class _SyncStageDidChangeHook: - """Obsolete, do not use.""" - - _hooks: List[Callable[[str], None]] = [] - - def append(self, cb: Callable[[str], None]) -> None: - """(stage: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, stage: str) -> None: - for hook in self._hooks: - try: - hook(stage) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -sync_stage_did_change = _SyncStageDidChangeHook() -# @@AUTOGEN@@ +# You can find the definitions in ../tools/genhooks.py +from anki.hooks_gen import * # Legacy hook handling ############################################################################## diff --git a/pylib/mypy_version.txt b/pylib/mypy_version.txt new file mode 100644 index 000000000..45278fa49 --- /dev/null +++ b/pylib/mypy_version.txt @@ -0,0 +1 @@ +mypy==0.790 diff --git a/pylib/requirement.protobuf b/pylib/requirement.protobuf new file mode 100644 index 000000000..911bae084 --- /dev/null +++ b/pylib/requirement.protobuf @@ -0,0 +1 @@ +protobuf==3.13.0 diff --git a/pylib/tests/run_format.py b/pylib/tests/run_format.py new file mode 100644 index 000000000..a5da0efc3 --- /dev/null +++ b/pylib/tests/run_format.py @@ -0,0 +1,51 @@ +import os +import subprocess +import sys + +if __name__ == "__main__": + isort_ini = sys.argv[1] + isort_ini = os.path.abspath(isort_ini) + fix = len(sys.argv) > 2 + + if fix: + os.chdir(os.path.join(os.environ["BUILD_WORKSPACE_DIRECTORY"], "pylib")) + args = [] + else: + folder = os.path.join(os.path.dirname(__file__), "..") + os.chdir(folder) + args = ["--diff", "--check"] + + retcode = subprocess.run( + [ + sys.executable, + "-m", + "black", + "-t", + "py36", + "anki", + "tests", + "tools", + "--exclude=_pb2|buildinfo|_gen", + ] + + args, + check=False, + ).returncode + if retcode != 0: + sys.exit(retcode) + + retcode = subprocess.run( + [ + sys.executable, + "-m", + "isort", + "--settings-path", + isort_ini, + "anki", + "tests", + "tools", + ] + + args, + check=False, + ).returncode + if retcode != 0: + sys.exit(retcode) diff --git a/pylib/tests/run_mypy.py b/pylib/tests/run_mypy.py new file mode 100644 index 000000000..2cc7a20c9 --- /dev/null +++ b/pylib/tests/run_mypy.py @@ -0,0 +1,23 @@ +import os +import subprocess +import sys + +if __name__ == "__main__": + (module, ini) = sys.argv[1:] + ini = os.path.abspath(ini) + + folder = os.path.join(os.path.dirname(__file__), "..") + os.chdir(folder) + + args = [sys.executable, "-m", "mypy", module, "--config-file", ini] + + if sys.platform.startswith("win32"): + # bazel passes in \\?\c:\... path; mypy can't handle it, so we + # strip off prefix + for entry in sys.path: + if "__mypy_" in entry: + typeshed = entry[4:] + "\\mypy\\typeshed" + args.append("--custom-typeshed-dir") + args.append(typeshed) + + sys.exit(subprocess.run(args, check=False).returncode) diff --git a/pylib/tests/run_pylint.py b/pylib/tests/run_pylint.py new file mode 100644 index 000000000..6a3e3bc81 --- /dev/null +++ b/pylib/tests/run_pylint.py @@ -0,0 +1,17 @@ +import os +import subprocess +import sys + +if __name__ == "__main__": + (module, ini) = sys.argv[1:] + ini = os.path.abspath(ini) + + folder = os.path.join(os.path.dirname(__file__), "..") + os.chdir(folder) + + sys.exit( + subprocess.run( + [sys.executable, "-m", "pylint", module, "-j", "0", "--rcfile", ini], + check=False, + ).returncode + ) diff --git a/pylib/tests/run_pytest.py b/pylib/tests/run_pytest.py new file mode 100644 index 000000000..f1a8dcfc5 --- /dev/null +++ b/pylib/tests/run_pytest.py @@ -0,0 +1,10 @@ +import os +import sys + +import pytest + +os.environ["SHIFT_CLOCK_HACK"] = "1" + +if __name__ == "__main__": + folder = os.path.join(os.path.dirname(__file__), "..", "tests") + sys.exit(pytest.main(["--verbose", "-s", folder])) diff --git a/pylib/tests/test_importing.py b/pylib/tests/test_importing.py index 1bd66c0c1..84470b2a1 100644 --- a/pylib/tests/test_importing.py +++ b/pylib/tests/test_importing.py @@ -78,7 +78,7 @@ def test_anki2_mediadupes(): def test_apkg(): col = getEmptyCol() - apkg = str(os.path.join(testDir, "support/media.apkg")) + apkg = str(os.path.join(testDir, "support", "media.apkg")) imp = AnkiPackageImporter(col, apkg) assert os.listdir(col.media.dir()) == [] imp.run() @@ -149,7 +149,7 @@ def test_anki2_updates(): def test_csv(): col = getEmptyCol() - file = str(os.path.join(testDir, "support/text-2fields.txt")) + file = str(os.path.join(testDir, "support", "text-2fields.txt")) i = TextImporter(col, file) i.initMapping() i.run() @@ -195,7 +195,7 @@ def test_csv2(): n["Three"] = "3" col.addNote(n) # an update with unmapped fields should not clobber those fields - file = str(os.path.join(testDir, "support/text-update.txt")) + file = str(os.path.join(testDir, "support", "text-update.txt")) i = TextImporter(col, file) i.initMapping() i.run() @@ -309,7 +309,7 @@ def test_csv_tag_only_if_modified(): @pytest.mark.filterwarnings("ignore:Using or importing the ABCs") def test_supermemo_xml_01_unicode(): col = getEmptyCol() - file = str(os.path.join(testDir, "support/supermemo1.xml")) + file = str(os.path.join(testDir, "support", "supermemo1.xml")) i = SupermemoXmlImporter(col, file) # i.META.logToStdOutput = True i.run() @@ -324,7 +324,7 @@ def test_supermemo_xml_01_unicode(): def test_mnemo(): col = getEmptyCol() - file = str(os.path.join(testDir, "support/mnemo.db")) + file = str(os.path.join(testDir, "support", "mnemo.db")) i = MnemosyneImporter(col, file) i.run() assert col.cardCount() == 7 diff --git a/pylib/tests/test_media.py b/pylib/tests/test_media.py index 5f17af373..0f805ca0c 100644 --- a/pylib/tests/test_media.py +++ b/pylib/tests/test_media.py @@ -3,7 +3,7 @@ import os import tempfile -from .shared import getEmptyCol, testDir +from tests.shared import getEmptyCol, testDir # copying files to media folder @@ -57,7 +57,7 @@ def test_deckIntegration(): # create a media dir col.media.dir() # put a file into it - file = str(os.path.join(testDir, "support/fake.png")) + file = str(os.path.join(testDir, "support", "fake.png")) col.media.addFile(file) # add a note which references it note = col.newNote() diff --git a/pylib/tools/diff-sched.py b/pylib/tools/diff-sched.py index 2091f6d0a..d64708924 100644 --- a/pylib/tools/diff-sched.py +++ b/pylib/tools/diff-sched.py @@ -1,10 +1,11 @@ # a quick script to compare methods in the two schedulers import inspect +import sys +from difflib import SequenceMatcher, unified_diff + from anki.sched import Scheduler as S1 from anki.schedv2 import Scheduler as S2 -from difflib import SequenceMatcher, unified_diff -import sys s1map = {} for k, v in S1.__dict__.items(): diff --git a/pylib/tools/genbackend.py b/pylib/tools/genbackend.py index 25d63ce62..4186ba270 100755 --- a/pylib/tools/genbackend.py +++ b/pylib/tools/genbackend.py @@ -1,11 +1,18 @@ #!/usr/bin/env python3 # Copyright: Ankitects Pty Ltd and contributors # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +import os import re +import sys -from anki import backend_pb2 as pb import stringcase +try: + import anki.backend_pb2 as pb +except: + # windows + import anki.pylib.anki.backend_pb2 as pb + TYPE_DOUBLE = 1 TYPE_FLOAT = 2 TYPE_INT64 = 3 @@ -145,12 +152,10 @@ for idx, method in enumerate(pb._BACKENDSERVICE.methods): out = "\n".join(out) -path = "anki/rsbackend_gen.py" -with open(path, "wb") as file: - file.write( - ( - '''# Copyright: Ankitects Pty Ltd and contributors +sys.stdout.buffer.write( + ( + '''# Copyright: Ankitects Pty Ltd and contributors # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html # pylint: skip-file @@ -174,6 +179,6 @@ class RustBackendGenerated: raise Exception("not implemented") ''' - + out - ).encode("utf8") - ) + + out + ).encode("utf8") +) diff --git a/pylib/tools/genhooks.py b/pylib/tools/genhooks.py index 97f783516..11d8acc49 100644 --- a/pylib/tools/genhooks.py +++ b/pylib/tools/genhooks.py @@ -4,16 +4,15 @@ """ Generate code for hook handling, and insert it into anki/hooks.py. -To add a new hook: -- update the hooks list below -- run 'make develop' -- send a pull request that includes the changes to this file and hooks.py +To add a new hook, update the hooks list below, then send a pull request +that includes the changes to this file. -In most cases, hooks are better placed in genhooks_gui.py +In most cases, hooks are better placed in genhooks_gui.py. """ -import os -from hookslib import Hook, update_file +import sys + +from hookslib import Hook, write_file # Hook/filter list ###################################################################### @@ -104,6 +103,21 @@ hooks = [ ), ] +prefix = """\ +# This file is automatically generated; edit tools/genhooks.py instead. +# Please import from anki.hooks instead of this file. + +from __future__ import annotations + +from typing import Any, Callable, List, Sequence, Tuple +import anki +import anki.hooks +from anki.cards import Card +from anki.notes import Note +""" + +suffix = "" + if __name__ == "__main__": - path = os.path.join(os.path.dirname(__file__), "..", "anki", "hooks.py") - update_file(path, hooks) + path = sys.argv[1] + write_file(path, hooks, prefix, suffix) diff --git a/pylib/tools/hookslib.py b/pylib/tools/hookslib.py index 3159e55af..1ff3b7974 100644 --- a/pylib/tools/hookslib.py +++ b/pylib/tools/hookslib.py @@ -2,10 +2,12 @@ # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html """ -Code for generating parts of hooks.py +Code for generating hooks. """ import re +import subprocess +import sys from dataclasses import dataclass from operator import attrgetter from typing import List, Optional @@ -123,7 +125,7 @@ class {self.classname()}: if self.legacy_hook: out += f"""\ # legacy support - runHook({self.legacy_args()}) + anki.hooks.runHook({self.legacy_args()}) """ return out + "\n\n" @@ -143,7 +145,7 @@ class {self.classname()}: if self.legacy_hook: out += f"""\ # legacy support - {arg_names[0]} = runFilter({self.legacy_args()}) + {arg_names[0]} = anki.hooks.runFilter({self.legacy_args()}) """ out += f"""\ @@ -152,20 +154,14 @@ class {self.classname()}: return out + "\n\n" -def update_file(path: str, hooks: List[Hook]): +def write_file(path: str, hooks: List[Hook], prefix: str, suffix: str): hooks.sort(key=attrgetter("name")) - code = "" + code = prefix + "\n" for hook in hooks: code += hook.code() - with open(path) as file: - orig = file.read() - - new = re.sub( - "(?s)# @@AUTOGEN@@.*?# @@AUTOGEN@@\n", - f"# @@AUTOGEN@@\n\n{code}# @@AUTOGEN@@\n", - orig, - ) + code += "\n" + suffix with open(path, "wb") as file: - file.write(new.encode("utf8")) + file.write(code.encode("utf8")) + subprocess.run([sys.executable, "-m", "black", "-q", path], check=True) diff --git a/pyqt5/BUILD.bazel b/pyqt5/BUILD.bazel new file mode 100644 index 000000000..e69de29bb diff --git a/pyqt5/defs.bzl b/pyqt5/defs.bzl new file mode 100644 index 000000000..b58d80a1e --- /dev/null +++ b/pyqt5/defs.bzl @@ -0,0 +1,47 @@ +# based off https://github.com/ali5h/rules_pip/blob/master/defs.bzl + +pip_vendor_label = Label("@com_github_ali5h_rules_pip//:third_party/py/easy_install.py") + +def _execute(repository_ctx, arguments, quiet = False): + pip_vendor = str(repository_ctx.path(pip_vendor_label).dirname) + return repository_ctx.execute(arguments, environment = { + "PYTHONPATH": pip_vendor, + }, quiet = quiet) + +def _install_pyqt5_impl(repository_ctx): + python_interpreter = repository_ctx.attr.python_interpreter + if repository_ctx.attr.python_runtime: + python_interpreter = repository_ctx.path(repository_ctx.attr.python_runtime) + + args = [ + python_interpreter, + repository_ctx.path(repository_ctx.attr._script), + repository_ctx.path("."), + ] + + result = _execute(repository_ctx, args, quiet = repository_ctx.attr.quiet) + if result.return_code: + fail("failed: %s (%s)" % (result.stdout, result.stderr)) + +install_pyqt5 = repository_rule( + attrs = { + "python_interpreter": attr.string(default = "python", doc = """ +The command to run the Python interpreter used to invoke pip and unpack the +wheels. +"""), + "python_runtime": attr.label(doc = """ +The label to the Python run-time interpreted used to invoke pip and unpack the wheels. +If the label is specified it will overwrite the python_interpreter attribute. +"""), + "_script": attr.label( + executable = True, + default = Label("//pyqt5:install_pyqt5.py"), + cfg = "host", + ), + "quiet": attr.bool( + default = True, + doc = "If stdout and stderr should be printed to the terminal.", + ), + }, + implementation = _install_pyqt5_impl, +) diff --git a/pyqt5/install_pyqt5.py b/pyqt5/install_pyqt5.py new file mode 100644 index 000000000..b6324f710 --- /dev/null +++ b/pyqt5/install_pyqt5.py @@ -0,0 +1,163 @@ +# based on https://github.com/ali5h/rules_pip/blob/master/src/whl.py +# MIT + +"""downloads and parses info of a pkg and generates a BUILD file for it""" +import argparse +import glob +import logging +import os +import shutil +import sys +import re + +from pip._internal.commands import create_command +from pip._vendor import pkg_resources + +import pkginfo + + +def _create_nspkg_init(dirpath): + """Creates an init file to enable namespacing""" + if not os.path.exists(dirpath): + # Handle missing namespace packages by ignoring them + return + nspkg_init = os.path.join(dirpath, "__init__.py") + with open(nspkg_init, "w") as nspkg: + nspkg.write("__path__ = __import__('pkgutil').extend_path(__path__, __name__)") + + +def install_package(pkg, directory, pip_args): + """Downloads wheel for a package. Assumes python binary provided has + pip and wheel package installed. + + Args: + pkg: package name + directory: destination directory to download the wheel file in + python: python binary path used to run pip command + pip_args: extra pip args sent to pip + Returns: + str: path to the wheel file + """ + pip_args = [ + "--isolated", + "--disable-pip-version-check", + "--target", + directory, + "--no-deps", + "--ignore-requires-python", + pkg, + ] + pip_args + cmd = create_command("install") + cmd.main(pip_args) + + # need dist-info directory for pkg_resources to be able to find the packages + dist_info = glob.glob(os.path.join(directory, "*.dist-info"))[0] + # fix namespace packages by adding proper __init__.py files + namespace_packages = os.path.join(dist_info, "namespace_packages.txt") + if os.path.exists(namespace_packages): + with open(namespace_packages) as nspkg: + for line in nspkg.readlines(): + namespace = line.strip().replace(".", os.sep) + if namespace: + _create_nspkg_init(os.path.join(directory, namespace)) + + # PEP 420 -- Implicit Namespace Packages + if (sys.version_info[0], sys.version_info[1]) >= (3, 3): + for dirpath, dirnames, filenames in os.walk(directory): + # we are only interested in dirs with no init file + if "__init__.py" in filenames: + dirnames[:] = [] + continue + # remove bin and dist-info dirs + for ignored in ("bin", os.path.basename(dist_info)): + if ignored in dirnames: + dirnames.remove(ignored) + _create_nspkg_init(dirpath) + + return pkginfo.Wheel(dist_info) + +def _cleanup(directory, pattern): + for p in glob.glob(os.path.join(directory, pattern)): + shutil.rmtree(p) + +fix_none = re.compile(r"(\s*None) =") + +def copy_and_fix_pyi(source, dest): + "Fix broken PyQt types." + with open(source) as input_file: + with open(dest, "w") as output_file: + for line in input_file.readlines(): + line = fix_none.sub(r"\1_ =", line) + output_file.write(line) + +def merge_files(root, source): + for dirpath, _dirnames, filenames in os.walk(source): + target_dir = os.path.join(root, os.path.relpath(dirpath, source)) + if not os.path.exists(target_dir): + os.mkdir(target_dir) + for fname in filenames: + source_path = os.path.join(dirpath, fname) + target_path = os.path.join(target_dir, fname) + if not os.path.exists(target_path): + if fname.endswith(".pyi"): + copy_and_fix_pyi(source_path, target_path) + else: + shutil.copy2(source_path, target_path) + +def main(): + base = sys.argv[1] + + packages = [ + ("pyqt5", "pyqt5==5.15.1"), + ("pyqtwebengine", "pyqtwebengine==5.15.1"), + ("pyqt5-sip", "pyqt5_sip==12.8.1"), + ] + + for (name, with_version) in packages: + # install package in subfolder + folder = os.path.join(base, "temp") + _pkg = install_package(with_version, folder, []) + # merge into parent + merge_files(base, folder) + shutil.rmtree(folder) + + # add missing py.typed file + with open(os.path.join(base, "py.typed"), "w") as file: + pass + + result = """ +load("@rules_python//python:defs.bzl", "py_library") + +package(default_visibility = ["//visibility:public"]) + +py_library( + name = "pkg", + srcs = glob(["**/*.py"]), + data = glob(["**/*"], exclude = [ + "**/*.py", + "**/*.pyc", + "**/* *", + "BUILD", + "WORKSPACE", + "bin/*", + "__pycache__", + # these make building slower + "Qt/qml/**", + "**/*.sip", + "**/*.png", + ]), + # This makes this directory a top-level in the python import + # search path for anything that depends on this. + imports = ["."], +) +""" + + # clean up + _cleanup(base, "__pycache__") + + with open(os.path.join(base, "BUILD"), "w") as f: + f.write(result) + + +if __name__ == "__main__": + main() diff --git a/python.bzl b/python.bzl new file mode 100644 index 000000000..f4afea901 --- /dev/null +++ b/python.bzl @@ -0,0 +1,41 @@ +def _impl(rctx): + # locate python on path, and export it + path = rctx.which("python3.8") + if not path: + path = rctx.which("python.exe") + if not path: + fail("python3.8 or python.exe not found on path") + + rctx.symlink(path, "python") + rctx.file("BUILD.bazel", """ +load("@rules_python//python:defs.bzl", "py_runtime_pair") + +py_runtime( + name = "python_runtime", + interpreter_path = "{path}", + python_version = "PY3", + visibility = ["//visibility:public"], +) + +py_runtime_pair( + name = "python3_runtime_pair", + py2_runtime = None, + py3_runtime = ":python_runtime", +) + +toolchain( + name = "python3_toolchain", + toolchain = ":python3_runtime_pair", + toolchain_type = "@bazel_tools//tools/python:toolchain_type", + visibility = ["//visibility:public"], + +) + +exports_files(["python"]) +""".format(path = path)) + +setup_local_python = repository_rule( + implementation = _impl, + local = True, + attrs = {}, +) diff --git a/qt/.gitignore b/qt/.gitignore deleted file mode 100644 index b38578942..000000000 --- a/qt/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -*.mo -*.pyc -*\# -*~ -.*.swp -.build -.coverage -.DS_Store -.mypy_cache -.pytype -__pycache__ -aqt/forms -tools/runanki.system -ts/node_modules -aqt_data/locale -aqt_data/web/deckbrowser.js -aqt_data/web/editor.js -aqt_data/web/overview.js -aqt_data/web/reviewer-bottom.js -aqt_data/web/reviewer.js -aqt_data/web/webview.js -aqt_data/web/toolbar.js -aqt_data/web/graphs* -aqt_data/web/congrats* -aqt_data/web/*.css -dist -aqt.egg-info -build -i18n/anki.pot diff --git a/qt/.isort.cfg b/qt/.isort.cfg index 5e97e0334..0ae1208de 100644 --- a/qt/.isort.cfg +++ b/qt/.isort.cfg @@ -1,9 +1,9 @@ [settings] -skip=aqt/forms,anki/backend_pb2.py,backend_pb2.pyi +skip=aqt/forms,hooks_gen.py multi_line_output=3 include_trailing_comma=True force_grid_wrap=0 use_parentheses=True line_length=88 ensure_newline_before_comments=true -known_first_party=anki +known_first_party=anki,aqt diff --git a/qt/.pylintrc b/qt/.pylintrc index 106398f9f..453698df9 100644 --- a/qt/.pylintrc +++ b/qt/.pylintrc @@ -1,3 +1,15 @@ +[MASTER] +persistent = no +extension-pkg-whitelist=PyQt5,ankirspy +ignore = aqt/forms +init-hook='from PyQt5.QtWebChannel import QWebChannel; print("successful import!"); import sys; print(sys.path)' + +[TYPECHECK] +ignored-modules=win32file,pywintypes,socket,win32pipe + +[REPORTS] +output-format=colorized + [MESSAGES CONTROL] disable=C,R, fixme, diff --git a/qt/BUILD.bazel b/qt/BUILD.bazel new file mode 100644 index 000000000..9eba196da --- /dev/null +++ b/qt/BUILD.bazel @@ -0,0 +1,136 @@ +load("@rules_python//python:defs.bzl", "py_binary", "py_test") +load("@py_deps//:requirements.bzl", "requirement") + +py_binary( + name = "genhooks_gui", + srcs = [ + "tools/genhooks_gui.py", + ], + imports = ["."], + visibility = [":__subpackages__"], + deps = [ + "//pylib:hookslib", + requirement("black"), + requirement("stringcase"), + ], +) + +py_binary( + name = "extract_sass_colors", + srcs = [ + "tools/extract_sass_colors.py", + ], + imports = ["."], + visibility = [":__subpackages__"], +) + +py_test( + name = "pytest", + srcs = glob(["tests/*.py"]), + data = [ + "//qt/aqt_data", + "//rspy:ankirspy", + ], + main = "tests/run_pytest.py", + deps = [ + "//pylib/anki", + "//qt/aqt", + requirement("pytest"), + requirement("mock"), + ], +) + +py_test( + name = "mypy", + srcs = [ + "tests/run_mypy.py", + ], + args = [ + "aqt", + "$(location mypy.ini)", + "$(location @pyqt5//:__init__.py)", + ], + data = [ + "mypy.ini", + "@pyqt5//:__init__.py", + ], + main = "tests/run_mypy.py", + deps = [ + "//pylib/anki", + "//qt/aqt", + "@pyqt5//:pkg", + requirement("mypy"), + ], +) + +py_test( + name = "pylint", + srcs = [ + "tests/run_pylint.py", + ], + args = [ + "aqt", + "$(location .pylintrc)", + "foo", #$(location PyQt5/__init__.py)", + ], + data = [ + ".pylintrc", + # "PyQt5-stubs", + #"PyQt5/__init__.py", + ], + main = "tests/run_pylint.py", + deps = [ + "//pylib/anki", + "//qt/aqt", + requirement("pylint"), + "@pyqt5//:pkg", + ], +) + +py_test( + name = "format", + srcs = glob([ + "**/*.py", + ]), + args = [ + "$(location .isort.cfg)", + ], + data = [".isort.cfg"], + main = "tests/run_format.py", + deps = [ + "//qt/aqt", + requirement("black"), + requirement("isort"), + ], +) + +py_binary( + name = "format_fix", + srcs = [ + "tests/run_format.py", + ], + args = [ + "$(location .isort.cfg)", + "fix", + ], + data = [".isort.cfg"], + main = "tests/run_format.py", + tags = ["manual"], + deps = [ + requirement("black"), + requirement("isort"), + ], +) + +py_binary( + name = "runanki", + srcs = ["runanki.py"], + data = [ + "//qt/aqt_data", + ], + imports = ["."], + deps = [ + "//pylib/anki", + "//qt/aqt", + ], +) diff --git a/qt/aqt/.gitignore b/qt/aqt/.gitignore deleted file mode 100644 index b56d01f0a..000000000 --- a/qt/aqt/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -buildinfo.py -colors.py diff --git a/qt/aqt/BUILD.bazel b/qt/aqt/BUILD.bazel new file mode 100644 index 000000000..b0d23ce7d --- /dev/null +++ b/qt/aqt/BUILD.bazel @@ -0,0 +1,95 @@ +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") +load("@rules_python//python:defs.bzl", "py_library") +load("@py_deps//:requirements.bzl", "requirement") + +copy_file( + name = "buildinfo", + src = "//:buildinfo.txt", + out = "buildinfo.txt", +) + +genrule( + name = "hooks_gen", + outs = ["hooks_gen.py"], + cmd = "$(location //qt:genhooks_gui) $@", + tools = ["//qt:genhooks_gui"], +) + +genrule( + name = "extract_sass_colors", + srcs = [ + "//ts/sass:_vars.scss", + ], + outs = ["colors.py"], + cmd = "$(location //qt:extract_sass_colors) $< $@", + tools = [ + "//qt:extract_sass_colors", + ], +) + +py_library( + name = "aqt", + srcs = glob([ + "**/*.py", + ]) + [ + "//qt/aqt/forms:forms", + "//qt/aqt/forms:icons", + ], + data = [ + "buildinfo.txt", + "colors.py", + "py.typed", + ":hooks_gen", + ], + imports = [ + # "..", + "../../rspy", + ], + visibility = ["//visibility:public"], + deps = [ + requirement("protobuf"), + requirement("decorator"), + requirement("requests"), + requirement("beautifulsoup4"), + requirement("flask"), + requirement("flask-cors"), + requirement("waitress"), + requirement("send2trash"), + requirement("markdown"), + requirement("jsonschema"), + "@pyqt5//:pkg", + ] + select({ + "@bazel_tools//src/conditions:host_windows": [ + requirement("psutil"), + requirement("pywin32"), + ], + "//conditions:default": [], + }), + # requirement("pyaudio"), + # ... this is making pytest very slow.. + # requirement("pyqt5"), +) + +# py_package( +# name = "anki_pkg", +# # Only include these Python packages. +# # packages = ["anki"], +# deps = [":anki"], +# ) + +# py_wheel( +# name = "anki_whl", +# # Package data. We're building "example_minimal_package-0.0.1-py3-none-any.whl" +# distribution = "anki", +# python_tag = "py3", +# requires = [ +# "ankirspy (==2.1.35)", +# "distro ; sys_platform != \"darwin\" and sys_platform != \"win32\"", +# ], +# strip_path_prefixes = [ +# "pylib", +# # "foo3", +# ], +# version = "0.0.1", +# deps = [":anki_pkg"], +# ) diff --git a/qt/aqt/buildinfo.py b/qt/aqt/buildinfo.py new file mode 100644 index 000000000..965b8f183 --- /dev/null +++ b/qt/aqt/buildinfo.py @@ -0,0 +1,14 @@ +# Copyright: Ankitects Pty Ltd and contributors +# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + +import os + +_buildinfo = {} +for line in open(os.path.join(os.path.dirname(__file__), "buildinfo.txt")).readlines(): + elems = line.split() + if len(elems) == 2: + k, v = elems + _buildinfo[k] = v + +buildhash=_buildinfo["STABLE_BUILDHASH"] +version=_buildinfo["STABLE_VERSION"] diff --git a/qt/aqt/clayout.py b/qt/aqt/clayout.py index f4d2fb8ec..adb597778 100644 --- a/qt/aqt/clayout.py +++ b/qt/aqt/clayout.py @@ -302,15 +302,15 @@ class CardLayout(QDialog): qconnect(pform.preview_settings.clicked, self.on_preview_settings) jsinc = [ - "jquery.js", - "browsersel.js", - "mathjax/conf.js", - "mathjax/MathJax.js", - "reviewer.js", + "js/vendor/jquery.js", + "js/vendor/browsersel.js", + "js/vendor/mathjax/conf.js", + "js/vendor/mathjax/MathJax.js", + "js/reviewer.js", ] self.preview_web.stdHtml( self.mw.reviewer.revHtml(), - css=["reviewer.css"], + css=["css/reviewer.css"], js=jsinc, context=self, ) diff --git a/qt/aqt/deckbrowser.py b/qt/aqt/deckbrowser.py index 7fb06dd37..fcb8d58e0 100644 --- a/qt/aqt/deckbrowser.py +++ b/qt/aqt/deckbrowser.py @@ -124,8 +124,8 @@ class DeckBrowser: gui_hooks.deck_browser_will_render_content(self, content) self.web.stdHtml( self._body % content.__dict__, - css=["deckbrowser.css"], - js=["jquery.js", "jquery-ui.js", "deckbrowser.js"], + css=["css/deckbrowser.css"], + js=["js/vendor/jquery.js", "js/vendor/jquery-ui.js", "js/deckbrowser.js"], context=self, ) self.web.key = "deckBrowser" diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index ce5f044b1..95d953cda 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -198,8 +198,8 @@ class Editor: # then load page self.web.stdHtml( _html % (bgcol, bgcol, topbuts, _("Show Duplicates")), - css=["editor.css"], - js=["jquery.js", "editor.js"], + css=["css/editor.css"], + js=["js/vendor/jquery.js", "js/editor.js"], context=self, ) diff --git a/qt/aqt/forms/BUILD.bazel b/qt/aqt/forms/BUILD.bazel new file mode 100644 index 000000000..57bd2d66f --- /dev/null +++ b/qt/aqt/forms/BUILD.bazel @@ -0,0 +1,30 @@ +load("@rules_python//python:defs.bzl", "py_binary") +load("compile.bzl", "compile_all") + +py_binary( + name = "build_ui", + srcs = ["build_ui.py"], + legacy_create_init = False, + deps = ["@pyqt5//:pkg"], +) + +compile_all( + srcs = glob(["*.ui"]), + group = "forms", +) + +py_binary( + name = "build_rcc", + srcs = ["build_rcc.py"], + legacy_create_init = False, + deps = ["@pyqt5//:pkg"], +) + +genrule( + name = "icons", + srcs = ["icons.qrc"] + glob(["icons/*"]), + outs = ["icons_rc.py"], + cmd = "$(location build_rcc) $(location icons.qrc) $(location icons_rc.py)", + tools = ["build_rcc"], + visibility = ["//qt/aqt:__pkg__"], +) diff --git a/qt/aqt/forms/__init__.py b/qt/aqt/forms/__init__.py new file mode 100644 index 000000000..0a38598dc --- /dev/null +++ b/qt/aqt/forms/__init__.py @@ -0,0 +1,42 @@ +from . import about +from . import addcards +from . import addfield +from . import addmodel +from . import addonconf +from . import addons +from . import browser +from . import browserdisp +from . import browseropts +from . import changemap +from . import changemodel +from . import clayout_top +from . import customstudy +from . import dconf +from . import debug +from . import dyndconf +from . import editaddon +from . import editcurrent +from . import edithtml +from . import emptycards +from . import exporting +from . import fields +from . import finddupes +from . import findreplace +from . import getaddons +from . import importing +from . import main +from . import modelopts +from . import models +from . import preferences +from . import preview +from . import profiles +from . import progress +from . import reposition +from . import reschedule +from . import setgroup +from . import setlang +from . import stats +from . import studydeck +from . import synclog +from . import taglimit +from . import template \ No newline at end of file diff --git a/qt/designer/about.ui b/qt/aqt/forms/about.ui similarity index 100% rename from qt/designer/about.ui rename to qt/aqt/forms/about.ui diff --git a/qt/designer/addcards.ui b/qt/aqt/forms/addcards.ui similarity index 100% rename from qt/designer/addcards.ui rename to qt/aqt/forms/addcards.ui diff --git a/qt/designer/addfield.ui b/qt/aqt/forms/addfield.ui similarity index 100% rename from qt/designer/addfield.ui rename to qt/aqt/forms/addfield.ui diff --git a/qt/designer/addmodel.ui b/qt/aqt/forms/addmodel.ui similarity index 100% rename from qt/designer/addmodel.ui rename to qt/aqt/forms/addmodel.ui diff --git a/qt/designer/addonconf.ui b/qt/aqt/forms/addonconf.ui similarity index 100% rename from qt/designer/addonconf.ui rename to qt/aqt/forms/addonconf.ui diff --git a/qt/designer/addons.ui b/qt/aqt/forms/addons.ui similarity index 100% rename from qt/designer/addons.ui rename to qt/aqt/forms/addons.ui diff --git a/qt/designer/browser.ui b/qt/aqt/forms/browser.ui similarity index 100% rename from qt/designer/browser.ui rename to qt/aqt/forms/browser.ui diff --git a/qt/designer/browserdisp.ui b/qt/aqt/forms/browserdisp.ui similarity index 100% rename from qt/designer/browserdisp.ui rename to qt/aqt/forms/browserdisp.ui diff --git a/qt/designer/browseropts.ui b/qt/aqt/forms/browseropts.ui similarity index 100% rename from qt/designer/browseropts.ui rename to qt/aqt/forms/browseropts.ui diff --git a/qt/aqt/forms/build_rcc.py b/qt/aqt/forms/build_rcc.py new file mode 100644 index 000000000..b2dd530a8 --- /dev/null +++ b/qt/aqt/forms/build_rcc.py @@ -0,0 +1,12 @@ +import sys +import os +from PyQt5.pyrcc_main import processResourceFile + +icons_qrc = sys.argv[1] +py_file = os.path.abspath(sys.argv[2]) + +# make paths relative for pyrcc +os.chdir(os.path.dirname(icons_qrc)) +icons_qrc = os.path.basename(icons_qrc) + +processResourceFile([icons_qrc], py_file, False) diff --git a/qt/aqt/forms/build_ui.py b/qt/aqt/forms/build_ui.py new file mode 100644 index 000000000..65c2cfb29 --- /dev/null +++ b/qt/aqt/forms/build_ui.py @@ -0,0 +1,48 @@ +import re +import sys +import io +from PyQt5.uic import compileUi + +ui_file = sys.argv[1] +py_file = sys.argv[2] +buf = io.StringIO() +compileUi(open(ui_file), buf, from_imports=True) + +outdata = buf.getvalue() +outdata = outdata.replace("# -*- coding: utf-8 -*-", "# -*- coding: utf-8 -*-\nfrom anki.lang import _\n") +outdata = re.sub(r'(QtGui\.QApplication\.)?_?translate\(".*?", ', '_(', outdata) +outdata = re.sub(r', None.*', '))', outdata) + +with open(py_file, "w") as file: + file.write(outdata) + +# init=aqt/forms/__init__.py +# temp=aqt/forms/scratch +# rm -f $init $temp +# echo "# This file auto-generated by build_ui.sh. Don't edit." > $init +# echo "__all__ = [" >> $init + +# echo "Generating forms.." +# for i in designer/*.ui +# do +# base=$(basename $i .ui) +# py="aqt/forms/${base}.py" +# echo " \"$base\"," >> $init +# echo "from . import $base" >> $temp +# if [ $i -nt $py ]; then +# echo " * "$py +# pyuic5 --from-imports $i -o $py.tmp +# (cat < $py +# # -*- coding: utf-8 -*- +# # pylint: disable=unsubscriptable-object,unused-import +# from anki.lang import _ +# EOF +# rm $py.tmp +# fi +# done +# echo "]" >> $init +# cat $temp >> $init +# rm $temp + +# echo "Building resources.." +# pyrcc5 designer/icons.qrc -o aqt/forms/icons_rc.py \ No newline at end of file diff --git a/qt/designer/changemap.ui b/qt/aqt/forms/changemap.ui similarity index 100% rename from qt/designer/changemap.ui rename to qt/aqt/forms/changemap.ui diff --git a/qt/designer/changemodel.ui b/qt/aqt/forms/changemodel.ui similarity index 100% rename from qt/designer/changemodel.ui rename to qt/aqt/forms/changemodel.ui diff --git a/qt/designer/clayout_top.ui b/qt/aqt/forms/clayout_top.ui similarity index 100% rename from qt/designer/clayout_top.ui rename to qt/aqt/forms/clayout_top.ui diff --git a/qt/aqt/forms/compile.bzl b/qt/aqt/forms/compile.bzl new file mode 100644 index 000000000..cb4377423 --- /dev/null +++ b/qt/aqt/forms/compile.bzl @@ -0,0 +1,28 @@ +def compile(name, ui_file, py_file): + native.genrule( + name = name, + srcs = [ui_file], + outs = [py_file], + cmd = "$(location build_ui) $(location {ui_file}) $(location {py_file})".format( + ui_file = ui_file, + py_file = py_file, + ), + tools = [ + "build_ui", + ], + message = "Building UI", + ) + +def compile_all(group, srcs): + py_files = [] + for ui_file in srcs: + name = ui_file.replace(".ui", "") + py_file = name + ".py" + py_files.append(py_file) + compile(name, ui_file, py_file) + + native.filegroup( + name = group, + srcs = py_files + ["__init__.py"], + visibility = ["//qt/aqt:__pkg__"], + ) diff --git a/qt/designer/customstudy.ui b/qt/aqt/forms/customstudy.ui similarity index 100% rename from qt/designer/customstudy.ui rename to qt/aqt/forms/customstudy.ui diff --git a/qt/designer/dconf.ui b/qt/aqt/forms/dconf.ui similarity index 100% rename from qt/designer/dconf.ui rename to qt/aqt/forms/dconf.ui diff --git a/qt/designer/debug.ui b/qt/aqt/forms/debug.ui similarity index 100% rename from qt/designer/debug.ui rename to qt/aqt/forms/debug.ui diff --git a/qt/designer/dyndconf.ui b/qt/aqt/forms/dyndconf.ui similarity index 100% rename from qt/designer/dyndconf.ui rename to qt/aqt/forms/dyndconf.ui diff --git a/qt/designer/editaddon.ui b/qt/aqt/forms/editaddon.ui similarity index 100% rename from qt/designer/editaddon.ui rename to qt/aqt/forms/editaddon.ui diff --git a/qt/designer/editcurrent.ui b/qt/aqt/forms/editcurrent.ui similarity index 100% rename from qt/designer/editcurrent.ui rename to qt/aqt/forms/editcurrent.ui diff --git a/qt/designer/edithtml.ui b/qt/aqt/forms/edithtml.ui similarity index 100% rename from qt/designer/edithtml.ui rename to qt/aqt/forms/edithtml.ui diff --git a/qt/designer/emptycards.ui b/qt/aqt/forms/emptycards.ui similarity index 100% rename from qt/designer/emptycards.ui rename to qt/aqt/forms/emptycards.ui diff --git a/qt/designer/exporting.ui b/qt/aqt/forms/exporting.ui similarity index 100% rename from qt/designer/exporting.ui rename to qt/aqt/forms/exporting.ui diff --git a/qt/designer/fields.ui b/qt/aqt/forms/fields.ui similarity index 100% rename from qt/designer/fields.ui rename to qt/aqt/forms/fields.ui diff --git a/qt/designer/finddupes.ui b/qt/aqt/forms/finddupes.ui similarity index 100% rename from qt/designer/finddupes.ui rename to qt/aqt/forms/finddupes.ui diff --git a/qt/designer/findreplace.ui b/qt/aqt/forms/findreplace.ui similarity index 100% rename from qt/designer/findreplace.ui rename to qt/aqt/forms/findreplace.ui diff --git a/qt/designer/getaddons.ui b/qt/aqt/forms/getaddons.ui similarity index 100% rename from qt/designer/getaddons.ui rename to qt/aqt/forms/getaddons.ui diff --git a/qt/designer/icons.qrc b/qt/aqt/forms/icons.qrc similarity index 100% rename from qt/designer/icons.qrc rename to qt/aqt/forms/icons.qrc diff --git a/qt/designer/icons/anki.png b/qt/aqt/forms/icons/anki.png similarity index 100% rename from qt/designer/icons/anki.png rename to qt/aqt/forms/icons/anki.png diff --git a/qt/designer/icons/collection.svg b/qt/aqt/forms/icons/collection.svg similarity index 100% rename from qt/designer/icons/collection.svg rename to qt/aqt/forms/icons/collection.svg diff --git a/qt/designer/icons/deck.svg b/qt/aqt/forms/icons/deck.svg similarity index 100% rename from qt/designer/icons/deck.svg rename to qt/aqt/forms/icons/deck.svg diff --git a/qt/designer/icons/heart.svg b/qt/aqt/forms/icons/heart.svg similarity index 100% rename from qt/designer/icons/heart.svg rename to qt/aqt/forms/icons/heart.svg diff --git a/qt/aqt/forms/icons/media-record.png b/qt/aqt/forms/icons/media-record.png new file mode 100644 index 000000000..776e38f6a Binary files /dev/null and b/qt/aqt/forms/icons/media-record.png differ diff --git a/qt/designer/icons/notetype.svg b/qt/aqt/forms/icons/notetype.svg similarity index 100% rename from qt/designer/icons/notetype.svg rename to qt/aqt/forms/icons/notetype.svg diff --git a/qt/designer/icons/tag.svg b/qt/aqt/forms/icons/tag.svg similarity index 100% rename from qt/designer/icons/tag.svg rename to qt/aqt/forms/icons/tag.svg diff --git a/qt/designer/importing.ui b/qt/aqt/forms/importing.ui similarity index 100% rename from qt/designer/importing.ui rename to qt/aqt/forms/importing.ui diff --git a/qt/designer/main.ui b/qt/aqt/forms/main.ui similarity index 100% rename from qt/designer/main.ui rename to qt/aqt/forms/main.ui diff --git a/qt/designer/modelopts.ui b/qt/aqt/forms/modelopts.ui similarity index 100% rename from qt/designer/modelopts.ui rename to qt/aqt/forms/modelopts.ui diff --git a/qt/designer/models.ui b/qt/aqt/forms/models.ui similarity index 100% rename from qt/designer/models.ui rename to qt/aqt/forms/models.ui diff --git a/qt/designer/preferences.ui b/qt/aqt/forms/preferences.ui similarity index 100% rename from qt/designer/preferences.ui rename to qt/aqt/forms/preferences.ui diff --git a/qt/designer/preview.ui b/qt/aqt/forms/preview.ui similarity index 100% rename from qt/designer/preview.ui rename to qt/aqt/forms/preview.ui diff --git a/qt/designer/profiles.ui b/qt/aqt/forms/profiles.ui similarity index 100% rename from qt/designer/profiles.ui rename to qt/aqt/forms/profiles.ui diff --git a/qt/designer/progress.ui b/qt/aqt/forms/progress.ui similarity index 100% rename from qt/designer/progress.ui rename to qt/aqt/forms/progress.ui diff --git a/qt/designer/reposition.ui b/qt/aqt/forms/reposition.ui similarity index 100% rename from qt/designer/reposition.ui rename to qt/aqt/forms/reposition.ui diff --git a/qt/designer/reschedule.ui b/qt/aqt/forms/reschedule.ui similarity index 100% rename from qt/designer/reschedule.ui rename to qt/aqt/forms/reschedule.ui diff --git a/qt/designer/setgroup.ui b/qt/aqt/forms/setgroup.ui similarity index 100% rename from qt/designer/setgroup.ui rename to qt/aqt/forms/setgroup.ui diff --git a/qt/designer/setlang.ui b/qt/aqt/forms/setlang.ui similarity index 100% rename from qt/designer/setlang.ui rename to qt/aqt/forms/setlang.ui diff --git a/qt/designer/stats.ui b/qt/aqt/forms/stats.ui similarity index 100% rename from qt/designer/stats.ui rename to qt/aqt/forms/stats.ui diff --git a/qt/designer/studydeck.ui b/qt/aqt/forms/studydeck.ui similarity index 100% rename from qt/designer/studydeck.ui rename to qt/aqt/forms/studydeck.ui diff --git a/qt/designer/synclog.ui b/qt/aqt/forms/synclog.ui similarity index 100% rename from qt/designer/synclog.ui rename to qt/aqt/forms/synclog.ui diff --git a/qt/designer/taglimit.ui b/qt/aqt/forms/taglimit.ui similarity index 100% rename from qt/designer/taglimit.ui rename to qt/aqt/forms/taglimit.ui diff --git a/qt/designer/template.ui b/qt/aqt/forms/template.ui similarity index 100% rename from qt/designer/template.ui rename to qt/aqt/forms/template.ui diff --git a/qt/aqt/gui_hooks.py b/qt/aqt/gui_hooks.py index 2d386e926..3a79841c0 100644 --- a/qt/aqt/gui_hooks.py +++ b/qt/aqt/gui_hooks.py @@ -9,3195 +9,5 @@ from __future__ import annotations from typing import Any, Callable, List, Optional, Tuple, Union -import anki -import aqt -from anki.cards import Card -from anki.decks import Deck, DeckConfig -from anki.hooks import runFilter, runHook -from anki.models import NoteType -from aqt.qt import QDialog, QEvent, QMenu -from aqt.tagedit import TagEdit - -# New hook/filter handling -############################################################################## -# The code in this section is automatically generated - any edits you make -# will be lost. To add new hooks, see ../tools/genhooks_gui.py -# -# @@AUTOGEN@@ - - -class _AddCardsDidAddNoteHook: - _hooks: List[Callable[["anki.notes.Note"], None]] = [] - - def append(self, cb: Callable[["anki.notes.Note"], None]) -> None: - """(note: anki.notes.Note)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.notes.Note"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, note: anki.notes.Note) -> None: - for hook in self._hooks: - try: - hook(note) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("AddCards.noteAdded", note) - - -add_cards_did_add_note = _AddCardsDidAddNoteHook() - - -class _AddCardsDidInitHook: - _hooks: List[Callable[["aqt.addcards.AddCards"], None]] = [] - - def append(self, cb: Callable[["aqt.addcards.AddCards"], None]) -> None: - """(addcards: aqt.addcards.AddCards)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.addcards.AddCards"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, addcards: aqt.addcards.AddCards) -> None: - for hook in self._hooks: - try: - hook(addcards) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -add_cards_did_init = _AddCardsDidInitHook() - - -class _AddCardsWillAddNoteFilter: - """Decides whether the note should be added to the collection or - not. It is assumed to come from the addCards window. - - reason_to_already_reject is the first reason to reject that - was found, or None. If your filter wants to reject, it should - replace return the reason to reject. Otherwise return the - input.""" - - _hooks: List[Callable[[Optional[str], "anki.notes.Note"], Optional[str]]] = [] - - def append( - self, cb: Callable[[Optional[str], "anki.notes.Note"], Optional[str]] - ) -> None: - """(problem: Optional[str], note: anki.notes.Note)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[[Optional[str], "anki.notes.Note"], Optional[str]] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, problem: Optional[str], note: anki.notes.Note) -> Optional[str]: - for filter in self._hooks: - try: - problem = filter(problem, note) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return problem - - -add_cards_will_add_note = _AddCardsWillAddNoteFilter() - - -class _AddCardsWillShowHistoryMenuHook: - _hooks: List[Callable[["aqt.addcards.AddCards", QMenu], None]] = [] - - def append(self, cb: Callable[["aqt.addcards.AddCards", QMenu], None]) -> None: - """(addcards: aqt.addcards.AddCards, menu: QMenu)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.addcards.AddCards", QMenu], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, addcards: aqt.addcards.AddCards, menu: QMenu) -> None: - for hook in self._hooks: - try: - hook(addcards, menu) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("AddCards.onHistory", addcards, menu) - - -add_cards_will_show_history_menu = _AddCardsWillShowHistoryMenuHook() - - -class _AddcardsWillAddHistoryEntryFilter: - """Allows changing the history line in the add-card window.""" - - _hooks: List[Callable[[str, "anki.notes.Note"], str]] = [] - - def append(self, cb: Callable[[str, "anki.notes.Note"], str]) -> None: - """(line: str, note: anki.notes.Note)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, "anki.notes.Note"], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, line: str, note: anki.notes.Note) -> str: - for filter in self._hooks: - try: - line = filter(line, note) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return line - - -addcards_will_add_history_entry = _AddcardsWillAddHistoryEntryFilter() - - -class _AddonConfigEditorWillDisplayJsonFilter: - """Allows changing the text of the json configuration before actually - displaying it to the user. For example, you can replace "\n" by - some actual new line. Then you can replace the new lines by "\n" - while reading the file and let the user uses real new line in - string instead of its encoding.""" - - _hooks: List[Callable[[str], str]] = [] - - def append(self, cb: Callable[[str], str]) -> None: - """(text: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, text: str) -> str: - for filter in self._hooks: - try: - text = filter(text) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return text - - -addon_config_editor_will_display_json = _AddonConfigEditorWillDisplayJsonFilter() - - -class _AddonConfigEditorWillSaveJsonFilter: - """Allows changing the text of the json configuration that was - received from the user before actually reading it. For - example, you can replace new line in strings by some "\n".""" - - _hooks: List[Callable[[str], str]] = [] - - def append(self, cb: Callable[[str], str]) -> None: - """(text: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, text: str) -> str: - for filter in self._hooks: - try: - text = filter(text) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return text - - -addon_config_editor_will_save_json = _AddonConfigEditorWillSaveJsonFilter() - - -class _AddonsDialogDidChangeSelectedAddonHook: - """Allows doing an action when a single add-on is selected.""" - - _hooks: List[ - Callable[["aqt.addons.AddonsDialog", "aqt.addons.AddonMeta"], None] - ] = [] - - def append( - self, cb: Callable[["aqt.addons.AddonsDialog", "aqt.addons.AddonMeta"], None] - ) -> None: - """(dialog: aqt.addons.AddonsDialog, add_on: aqt.addons.AddonMeta)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.addons.AddonsDialog", "aqt.addons.AddonMeta"], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, dialog: aqt.addons.AddonsDialog, add_on: aqt.addons.AddonMeta - ) -> None: - for hook in self._hooks: - try: - hook(dialog, add_on) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -addons_dialog_did_change_selected_addon = _AddonsDialogDidChangeSelectedAddonHook() - - -class _AddonsDialogWillShowHook: - """Allows changing the add-on dialog before it is shown. E.g. add - buttons.""" - - _hooks: List[Callable[["aqt.addons.AddonsDialog"], None]] = [] - - def append(self, cb: Callable[["aqt.addons.AddonsDialog"], None]) -> None: - """(dialog: aqt.addons.AddonsDialog)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.addons.AddonsDialog"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, dialog: aqt.addons.AddonsDialog) -> None: - for hook in self._hooks: - try: - hook(dialog) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -addons_dialog_will_show = _AddonsDialogWillShowHook() - - -class _AvPlayerDidBeginPlayingHook: - _hooks: List[Callable[["aqt.sound.Player", "anki.sound.AVTag"], None]] = [] - - def append( - self, cb: Callable[["aqt.sound.Player", "anki.sound.AVTag"], None] - ) -> None: - """(player: aqt.sound.Player, tag: anki.sound.AVTag)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.sound.Player", "anki.sound.AVTag"], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, player: aqt.sound.Player, tag: anki.sound.AVTag) -> None: - for hook in self._hooks: - try: - hook(player, tag) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -av_player_did_begin_playing = _AvPlayerDidBeginPlayingHook() - - -class _AvPlayerDidEndPlayingHook: - _hooks: List[Callable[["aqt.sound.Player"], None]] = [] - - def append(self, cb: Callable[["aqt.sound.Player"], None]) -> None: - """(player: aqt.sound.Player)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.sound.Player"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, player: aqt.sound.Player) -> None: - for hook in self._hooks: - try: - hook(player) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -av_player_did_end_playing = _AvPlayerDidEndPlayingHook() - - -class _AvPlayerWillPlayHook: - _hooks: List[Callable[["anki.sound.AVTag"], None]] = [] - - def append(self, cb: Callable[["anki.sound.AVTag"], None]) -> None: - """(tag: anki.sound.AVTag)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.sound.AVTag"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, tag: anki.sound.AVTag) -> None: - for hook in self._hooks: - try: - hook(tag) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -av_player_will_play = _AvPlayerWillPlayHook() - - -class _BackupDidCompleteHook: - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -backup_did_complete = _BackupDidCompleteHook() - - -class _BrowserDidChangeRowHook: - _hooks: List[Callable[["aqt.browser.Browser"], None]] = [] - - def append(self, cb: Callable[["aqt.browser.Browser"], None]) -> None: - """(browser: aqt.browser.Browser)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.Browser"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, browser: aqt.browser.Browser) -> None: - for hook in self._hooks: - try: - hook(browser) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("browser.rowChanged", browser) - - -browser_did_change_row = _BrowserDidChangeRowHook() - - -class _BrowserDidSearchHook: - """Allows you to modify the list of returned card ids from a search.""" - - _hooks: List[Callable[["aqt.browser.SearchContext"], None]] = [] - - def append(self, cb: Callable[["aqt.browser.SearchContext"], None]) -> None: - """(context: aqt.browser.SearchContext)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.SearchContext"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, context: aqt.browser.SearchContext) -> None: - for hook in self._hooks: - try: - hook(context) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -browser_did_search = _BrowserDidSearchHook() - - -class _BrowserHeaderWillShowContextMenuHook: - _hooks: List[Callable[["aqt.browser.Browser", QMenu], None]] = [] - - def append(self, cb: Callable[["aqt.browser.Browser", QMenu], None]) -> None: - """(browser: aqt.browser.Browser, menu: QMenu)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.Browser", QMenu], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, browser: aqt.browser.Browser, menu: QMenu) -> None: - for hook in self._hooks: - try: - hook(browser, menu) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -browser_header_will_show_context_menu = _BrowserHeaderWillShowContextMenuHook() - - -class _BrowserMenusDidInitHook: - _hooks: List[Callable[["aqt.browser.Browser"], None]] = [] - - def append(self, cb: Callable[["aqt.browser.Browser"], None]) -> None: - """(browser: aqt.browser.Browser)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.Browser"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, browser: aqt.browser.Browser) -> None: - for hook in self._hooks: - try: - hook(browser) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("browser.setupMenus", browser) - - -browser_menus_did_init = _BrowserMenusDidInitHook() - - -class _BrowserWillBuildTreeFilter: - """Used to add or replace items in the browser sidebar tree - - 'tree' is the root SidebarItem that all other items are added to. - - 'stage' is an enum describing the different construction stages of - the sidebar tree at which you can interject your changes. - The different values can be inspected by looking at - aqt.browser.SidebarStage. - - If you want Anki to proceed with the construction of the tree stage - in question after your have performed your changes or additions, - return the 'handled' boolean unchanged. - - On the other hand, if you want to prevent Anki from adding its own - items at a particular construction stage (e.g. in case your add-on - implements its own version of that particular stage), return 'True'. - - If you return 'True' at SidebarStage.ROOT, the sidebar will not be - populated by any of the other construction stages. For any other stage - the tree construction will just continue as usual. - - For example, if your code wishes to replace the tag tree, you could do: - - def on_browser_will_build_tree(handled, root, stage, browser): - if stage != SidebarStage.TAGS: - # not at tag tree building stage, pass on - return handled - - # your tag tree construction code - # root.addChild(...) - - # your code handled tag tree construction, no need for Anki - # or other add-ons to build the tag tree - return True - """ - - _hooks: List[ - Callable[ - [ - bool, - "aqt.browser.SidebarItem", - "aqt.browser.SidebarStage", - "aqt.browser.Browser", - ], - bool, - ] - ] = [] - - def append( - self, - cb: Callable[ - [ - bool, - "aqt.browser.SidebarItem", - "aqt.browser.SidebarStage", - "aqt.browser.Browser", - ], - bool, - ], - ) -> None: - """(handled: bool, tree: aqt.browser.SidebarItem, stage: aqt.browser.SidebarStage, browser: aqt.browser.Browser)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[ - [ - bool, - "aqt.browser.SidebarItem", - "aqt.browser.SidebarStage", - "aqt.browser.Browser", - ], - bool, - ], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - handled: bool, - tree: aqt.browser.SidebarItem, - stage: aqt.browser.SidebarStage, - browser: aqt.browser.Browser, - ) -> bool: - for filter in self._hooks: - try: - handled = filter(handled, tree, stage, browser) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return handled - - -browser_will_build_tree = _BrowserWillBuildTreeFilter() - - -class _BrowserWillSearchHook: - """Allows you to modify the search text, or perform your own search. - - You can modify context.search to change the text that is sent to the - searching backend. - - If you set context.card_ids to a list of ids, the regular search will - not be performed, and the provided ids will be used instead. - - Your add-on should check if context.card_ids is not None, and return - without making changes if it has been set. - """ - - _hooks: List[Callable[["aqt.browser.SearchContext"], None]] = [] - - def append(self, cb: Callable[["aqt.browser.SearchContext"], None]) -> None: - """(context: aqt.browser.SearchContext)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.SearchContext"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, context: aqt.browser.SearchContext) -> None: - for hook in self._hooks: - try: - hook(context) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -browser_will_search = _BrowserWillSearchHook() - - -class _BrowserWillShowHook: - _hooks: List[Callable[["aqt.browser.Browser"], None]] = [] - - def append(self, cb: Callable[["aqt.browser.Browser"], None]) -> None: - """(browser: aqt.browser.Browser)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.Browser"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, browser: aqt.browser.Browser) -> None: - for hook in self._hooks: - try: - hook(browser) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -browser_will_show = _BrowserWillShowHook() - - -class _BrowserWillShowContextMenuHook: - _hooks: List[Callable[["aqt.browser.Browser", QMenu], None]] = [] - - def append(self, cb: Callable[["aqt.browser.Browser", QMenu], None]) -> None: - """(browser: aqt.browser.Browser, menu: QMenu)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.browser.Browser", QMenu], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, browser: aqt.browser.Browser, menu: QMenu) -> None: - for hook in self._hooks: - try: - hook(browser, menu) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("browser.onContextMenu", browser, menu) - - -browser_will_show_context_menu = _BrowserWillShowContextMenuHook() - - -class _CardLayoutWillShowHook: - """Allow to change the display of the card layout. After most values are - set and before the window is actually shown.""" - - _hooks: List[Callable[["aqt.clayout.CardLayout"], None]] = [] - - def append(self, cb: Callable[["aqt.clayout.CardLayout"], None]) -> None: - """(clayout: aqt.clayout.CardLayout)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.clayout.CardLayout"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, clayout: aqt.clayout.CardLayout) -> None: - for hook in self._hooks: - try: - hook(clayout) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -card_layout_will_show = _CardLayoutWillShowHook() - - -class _CardWillShowFilter: - """Can modify card text before review/preview.""" - - _hooks: List[Callable[[str, Card, str], str]] = [] - - def append(self, cb: Callable[[str, Card, str], str]) -> None: - """(text: str, card: Card, kind: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, Card, str], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, text: str, card: Card, kind: str) -> str: - for filter in self._hooks: - try: - text = filter(text, card, kind) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - # legacy support - text = runFilter("prepareQA", text, card, kind) - return text - - -card_will_show = _CardWillShowFilter() - - -class _CollectionDidLoadHook: - _hooks: List[Callable[["anki.collection.Collection"], None]] = [] - - def append(self, cb: Callable[["anki.collection.Collection"], None]) -> None: - """(col: anki.collection.Collection)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.collection.Collection"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, col: anki.collection.Collection) -> None: - for hook in self._hooks: - try: - hook(col) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("colLoading", col) - - -collection_did_load = _CollectionDidLoadHook() - - -class _CurrentNoteTypeDidChangeHook: - _hooks: List[Callable[[NoteType], None]] = [] - - def append(self, cb: Callable[[NoteType], None]) -> None: - """(notetype: NoteType)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[NoteType], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, notetype: NoteType) -> None: - for hook in self._hooks: - try: - hook(notetype) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("currentModelChanged") - - -current_note_type_did_change = _CurrentNoteTypeDidChangeHook() - - -class _DebugConsoleDidEvaluatePythonFilter: - """Allows processing the debug result. E.g. logging queries and - result, saving last query to display it later...""" - - _hooks: List[Callable[[str, str, QDialog], str]] = [] - - def append(self, cb: Callable[[str, str, QDialog], str]) -> None: - """(output: str, query: str, debug_window: QDialog)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, str, QDialog], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, output: str, query: str, debug_window: QDialog) -> str: - for filter in self._hooks: - try: - output = filter(output, query, debug_window) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return output - - -debug_console_did_evaluate_python = _DebugConsoleDidEvaluatePythonFilter() - - -class _DebugConsoleWillShowHook: - """Allows editing the debug window. E.g. setting a default code, or - previous code.""" - - _hooks: List[Callable[[QDialog], None]] = [] - - def append(self, cb: Callable[[QDialog], None]) -> None: - """(debug_window: QDialog)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[QDialog], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, debug_window: QDialog) -> None: - for hook in self._hooks: - try: - hook(debug_window) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -debug_console_will_show = _DebugConsoleWillShowHook() - - -class _DeckBrowserDidRenderHook: - """Allow to update the deck browser window. E.g. change its title.""" - - _hooks: List[Callable[["aqt.deckbrowser.DeckBrowser"], None]] = [] - - def append(self, cb: Callable[["aqt.deckbrowser.DeckBrowser"], None]) -> None: - """(deck_browser: aqt.deckbrowser.DeckBrowser)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.deckbrowser.DeckBrowser"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, deck_browser: aqt.deckbrowser.DeckBrowser) -> None: - for hook in self._hooks: - try: - hook(deck_browser) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_browser_did_render = _DeckBrowserDidRenderHook() - - -class _DeckBrowserWillRenderContentHook: - """Used to modify HTML content sections in the deck browser body - - 'content' contains the sections of HTML content the deck browser body - will be updated with. - - When modifying the content of a particular section, please make sure your - changes only perform the minimum required edits to make your add-on work. - You should avoid overwriting or interfering with existing data as much - as possible, instead opting to append your own changes, e.g.: - - def on_deck_browser_will_render_content(deck_browser, content): - content.stats += " -
my html
" - """ - - _hooks: List[ - Callable[ - ["aqt.deckbrowser.DeckBrowser", "aqt.deckbrowser.DeckBrowserContent"], None - ] - ] = [] - - def append( - self, - cb: Callable[ - ["aqt.deckbrowser.DeckBrowser", "aqt.deckbrowser.DeckBrowserContent"], None - ], - ) -> None: - """(deck_browser: aqt.deckbrowser.DeckBrowser, content: aqt.deckbrowser.DeckBrowserContent)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[ - ["aqt.deckbrowser.DeckBrowser", "aqt.deckbrowser.DeckBrowserContent"], None - ], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - deck_browser: aqt.deckbrowser.DeckBrowser, - content: aqt.deckbrowser.DeckBrowserContent, - ) -> None: - for hook in self._hooks: - try: - hook(deck_browser, content) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_browser_will_render_content = _DeckBrowserWillRenderContentHook() - - -class _DeckBrowserWillShowOptionsMenuHook: - _hooks: List[Callable[[QMenu, int], None]] = [] - - def append(self, cb: Callable[[QMenu, int], None]) -> None: - """(menu: QMenu, deck_id: int)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[QMenu, int], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, menu: QMenu, deck_id: int) -> None: - for hook in self._hooks: - try: - hook(menu, deck_id) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("showDeckOptions", menu, deck_id) - - -deck_browser_will_show_options_menu = _DeckBrowserWillShowOptionsMenuHook() - - -class _DeckConfDidAddConfigHook: - """Allows modification of a newly created config group - - This hook is called after the config group was created, but - before initializing the widget state. - - `deck_conf` will point to the old config group, `new_conf_id` will - point to the newly created config group. - - Config groups are created as clones of the current one. - """ - - _hooks: List[ - Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig, str, int], None] - ] = [] - - def append( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig, str, int], None] - ) -> None: - """(deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig, new_name: str, new_conf_id: int)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig, str, int], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - deck_conf: aqt.deckconf.DeckConf, - deck: Deck, - config: DeckConfig, - new_name: str, - new_conf_id: int, - ) -> None: - for hook in self._hooks: - try: - hook(deck_conf, deck, config, new_name, new_conf_id) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_did_add_config = _DeckConfDidAddConfigHook() - - -class _DeckConfDidLoadConfigHook: - """Called once widget state has been set from deck config""" - - _hooks: List[Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None]] = [] - - def append( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None] - ) -> None: - """(deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig - ) -> None: - for hook in self._hooks: - try: - hook(deck_conf, deck, config) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_did_load_config = _DeckConfDidLoadConfigHook() - - -class _DeckConfDidSetupUiFormHook: - """Allows modifying or adding widgets in the deck options UI form""" - - _hooks: List[Callable[["aqt.deckconf.DeckConf"], None]] = [] - - def append(self, cb: Callable[["aqt.deckconf.DeckConf"], None]) -> None: - """(deck_conf: aqt.deckconf.DeckConf)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.deckconf.DeckConf"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, deck_conf: aqt.deckconf.DeckConf) -> None: - for hook in self._hooks: - try: - hook(deck_conf) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_did_setup_ui_form = _DeckConfDidSetupUiFormHook() - - -class _DeckConfWillRemoveConfigHook: - """Called before current config group is removed""" - - _hooks: List[Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None]] = [] - - def append( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None] - ) -> None: - """(deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig - ) -> None: - for hook in self._hooks: - try: - hook(deck_conf, deck, config) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_will_remove_config = _DeckConfWillRemoveConfigHook() - - -class _DeckConfWillRenameConfigHook: - """Called before config group is renamed""" - - _hooks: List[Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig, str], None]] = [] - - def append( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig, str], None] - ) -> None: - """(deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig, new_name: str)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig, str], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - deck_conf: aqt.deckconf.DeckConf, - deck: Deck, - config: DeckConfig, - new_name: str, - ) -> None: - for hook in self._hooks: - try: - hook(deck_conf, deck, config, new_name) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_will_rename_config = _DeckConfWillRenameConfigHook() - - -class _DeckConfWillSaveConfigHook: - """Called before widget state is saved to config""" - - _hooks: List[Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None]] = [] - - def append( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None] - ) -> None: - """(deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.deckconf.DeckConf", Deck, DeckConfig], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, deck_conf: aqt.deckconf.DeckConf, deck: Deck, config: DeckConfig - ) -> None: - for hook in self._hooks: - try: - hook(deck_conf, deck, config) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_will_save_config = _DeckConfWillSaveConfigHook() - - -class _DeckConfWillShowHook: - """Allows modifying the deck options dialog before it is shown""" - - _hooks: List[Callable[["aqt.deckconf.DeckConf"], None]] = [] - - def append(self, cb: Callable[["aqt.deckconf.DeckConf"], None]) -> None: - """(deck_conf: aqt.deckconf.DeckConf)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.deckconf.DeckConf"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, deck_conf: aqt.deckconf.DeckConf) -> None: - for hook in self._hooks: - try: - hook(deck_conf) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -deck_conf_will_show = _DeckConfWillShowHook() - - -class _EditorDidFireTypingTimerHook: - _hooks: List[Callable[["anki.notes.Note"], None]] = [] - - def append(self, cb: Callable[["anki.notes.Note"], None]) -> None: - """(note: anki.notes.Note)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.notes.Note"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, note: anki.notes.Note) -> None: - for hook in self._hooks: - try: - hook(note) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("editTimer", note) - - -editor_did_fire_typing_timer = _EditorDidFireTypingTimerHook() - - -class _EditorDidFocusFieldHook: - _hooks: List[Callable[["anki.notes.Note", int], None]] = [] - - def append(self, cb: Callable[["anki.notes.Note", int], None]) -> None: - """(note: anki.notes.Note, current_field_idx: int)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.notes.Note", int], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, note: anki.notes.Note, current_field_idx: int) -> None: - for hook in self._hooks: - try: - hook(note, current_field_idx) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("editFocusGained", note, current_field_idx) - - -editor_did_focus_field = _EditorDidFocusFieldHook() - - -class _EditorDidInitHook: - _hooks: List[Callable[["aqt.editor.Editor"], None]] = [] - - def append(self, cb: Callable[["aqt.editor.Editor"], None]) -> None: - """(editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.editor.Editor"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, editor: aqt.editor.Editor) -> None: - for hook in self._hooks: - try: - hook(editor) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -editor_did_init = _EditorDidInitHook() - - -class _EditorDidInitButtonsHook: - _hooks: List[Callable[[List[str], "aqt.editor.Editor"], None]] = [] - - def append(self, cb: Callable[[List[str], "aqt.editor.Editor"], None]) -> None: - """(buttons: List[str], editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[List[str], "aqt.editor.Editor"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, buttons: List[str], editor: aqt.editor.Editor) -> None: - for hook in self._hooks: - try: - hook(buttons, editor) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -editor_did_init_buttons = _EditorDidInitButtonsHook() - - -class _EditorDidInitLeftButtonsHook: - _hooks: List[Callable[[List[str], "aqt.editor.Editor"], None]] = [] - - def append(self, cb: Callable[[List[str], "aqt.editor.Editor"], None]) -> None: - """(buttons: List[str], editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[List[str], "aqt.editor.Editor"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, buttons: List[str], editor: aqt.editor.Editor) -> None: - for hook in self._hooks: - try: - hook(buttons, editor) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -editor_did_init_left_buttons = _EditorDidInitLeftButtonsHook() - - -class _EditorDidInitShortcutsHook: - _hooks: List[Callable[[List[Tuple], "aqt.editor.Editor"], None]] = [] - - def append(self, cb: Callable[[List[Tuple], "aqt.editor.Editor"], None]) -> None: - """(shortcuts: List[Tuple], editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[List[Tuple], "aqt.editor.Editor"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, shortcuts: List[Tuple], editor: aqt.editor.Editor) -> None: - for hook in self._hooks: - try: - hook(shortcuts, editor) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("setupEditorShortcuts", shortcuts, editor) - - -editor_did_init_shortcuts = _EditorDidInitShortcutsHook() - - -class _EditorDidLoadNoteHook: - _hooks: List[Callable[["aqt.editor.Editor"], None]] = [] - - def append(self, cb: Callable[["aqt.editor.Editor"], None]) -> None: - """(editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.editor.Editor"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, editor: aqt.editor.Editor) -> None: - for hook in self._hooks: - try: - hook(editor) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("loadNote", editor) - - -editor_did_load_note = _EditorDidLoadNoteHook() - - -class _EditorDidUnfocusFieldFilter: - _hooks: List[Callable[[bool, "anki.notes.Note", int], bool]] = [] - - def append(self, cb: Callable[[bool, "anki.notes.Note", int], bool]) -> None: - """(changed: bool, note: anki.notes.Note, current_field_idx: int)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[bool, "anki.notes.Note", int], bool]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, changed: bool, note: anki.notes.Note, current_field_idx: int - ) -> bool: - for filter in self._hooks: - try: - changed = filter(changed, note, current_field_idx) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - # legacy support - changed = runFilter("editFocusLost", changed, note, current_field_idx) - return changed - - -editor_did_unfocus_field = _EditorDidUnfocusFieldFilter() - - -class _EditorDidUpdateTagsHook: - _hooks: List[Callable[["anki.notes.Note"], None]] = [] - - def append(self, cb: Callable[["anki.notes.Note"], None]) -> None: - """(note: anki.notes.Note)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["anki.notes.Note"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, note: anki.notes.Note) -> None: - for hook in self._hooks: - try: - hook(note) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("tagsUpdated", note) - - -editor_did_update_tags = _EditorDidUpdateTagsHook() - - -class _EditorWebViewDidInitHook: - _hooks: List[Callable[["aqt.editor.EditorWebView"], None]] = [] - - def append(self, cb: Callable[["aqt.editor.EditorWebView"], None]) -> None: - """(editor_web_view: aqt.editor.EditorWebView)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.editor.EditorWebView"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, editor_web_view: aqt.editor.EditorWebView) -> None: - for hook in self._hooks: - try: - hook(editor_web_view) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -editor_web_view_did_init = _EditorWebViewDidInitHook() - - -class _EditorWillLoadNoteFilter: - """Allows changing the javascript commands to load note before - executing it and do change in the QT editor.""" - - _hooks: List[Callable[[str, "anki.notes.Note", "aqt.editor.Editor"], str]] = [] - - def append( - self, cb: Callable[[str, "anki.notes.Note", "aqt.editor.Editor"], str] - ) -> None: - """(js: str, note: anki.notes.Note, editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[[str, "anki.notes.Note", "aqt.editor.Editor"], str] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, js: str, note: anki.notes.Note, editor: aqt.editor.Editor - ) -> str: - for filter in self._hooks: - try: - js = filter(js, note, editor) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return js - - -editor_will_load_note = _EditorWillLoadNoteFilter() - - -class _EditorWillMungeHtmlFilter: - """Allows manipulating the text that will be saved by the editor""" - - _hooks: List[Callable[[str, "aqt.editor.Editor"], str]] = [] - - def append(self, cb: Callable[[str, "aqt.editor.Editor"], str]) -> None: - """(txt: str, editor: aqt.editor.Editor)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, "aqt.editor.Editor"], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, txt: str, editor: aqt.editor.Editor) -> str: - for filter in self._hooks: - try: - txt = filter(txt, editor) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return txt - - -editor_will_munge_html = _EditorWillMungeHtmlFilter() - - -class _EditorWillShowContextMenuHook: - _hooks: List[Callable[["aqt.editor.EditorWebView", QMenu], None]] = [] - - def append(self, cb: Callable[["aqt.editor.EditorWebView", QMenu], None]) -> None: - """(editor_webview: aqt.editor.EditorWebView, menu: QMenu)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.editor.EditorWebView", QMenu], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, editor_webview: aqt.editor.EditorWebView, menu: QMenu) -> None: - for hook in self._hooks: - try: - hook(editor_webview, menu) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("EditorWebView.contextMenuEvent", editor_webview, menu) - - -editor_will_show_context_menu = _EditorWillShowContextMenuHook() - - -class _EditorWillUseFontForFieldFilter: - _hooks: List[Callable[[str], str]] = [] - - def append(self, cb: Callable[[str], str]) -> None: - """(font: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, font: str) -> str: - for filter in self._hooks: - try: - font = filter(font) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - # legacy support - font = runFilter("mungeEditingFontName", font) - return font - - -editor_will_use_font_for_field = _EditorWillUseFontForFieldFilter() - - -class _EmptyCardsWillShowHook: - """Allows changing the list of cards to delete.""" - - _hooks: List[Callable[["aqt.emptycards.EmptyCardsDialog"], None]] = [] - - def append(self, cb: Callable[["aqt.emptycards.EmptyCardsDialog"], None]) -> None: - """(diag: aqt.emptycards.EmptyCardsDialog)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.emptycards.EmptyCardsDialog"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, diag: aqt.emptycards.EmptyCardsDialog) -> None: - for hook in self._hooks: - try: - hook(diag) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -empty_cards_will_show = _EmptyCardsWillShowHook() - - -class _FieldsDidDeleteFieldHook: - _hooks: List[Callable[["aqt.fields.FieldDialog", "anki.models.Field"], None]] = [] - - def append( - self, cb: Callable[["aqt.fields.FieldDialog", "anki.models.Field"], None] - ) -> None: - """(dialog: aqt.fields.FieldDialog, field: anki.models.Field)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.fields.FieldDialog", "anki.models.Field"], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, dialog: aqt.fields.FieldDialog, field: anki.models.Field - ) -> None: - for hook in self._hooks: - try: - hook(dialog, field) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -fields_did_delete_field = _FieldsDidDeleteFieldHook() - - -class _FieldsDidRenameFieldHook: - _hooks: List[ - Callable[["aqt.fields.FieldDialog", "anki.models.Field", str], None] - ] = [] - - def append( - self, cb: Callable[["aqt.fields.FieldDialog", "anki.models.Field", str], None] - ) -> None: - """(dialog: aqt.fields.FieldDialog, field: anki.models.Field, old_name: str)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.fields.FieldDialog", "anki.models.Field", str], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, dialog: aqt.fields.FieldDialog, field: anki.models.Field, old_name: str - ) -> None: - for hook in self._hooks: - try: - hook(dialog, field, old_name) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -fields_did_rename_field = _FieldsDidRenameFieldHook() - - -class _MainWindowDidInitHook: - """Executed after the main window is fully initialized - - A sample use case for this hook would be to delay actions until Anki objects - like the profile or collection are fully initialized. In contrast to - `profile_did_open`, this hook will only fire once per Anki session and - is thus suitable for single-shot subscribers. - """ - - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -main_window_did_init = _MainWindowDidInitHook() - - -class _MainWindowShouldRequireResetFilter: - """Executed before the main window will require a reset - - This hook can be used to change the behavior of the main window, - when other dialogs, like the AddCards or Browser, require a reset - from the main window. - If you decide to use this hook, make you sure you check the reason for the reset. - Some reasons require more attention than others, and skipping important ones might - put the main window into an invalid state (e.g. display a deleted note). - """ - - _hooks: List[ - Callable[[bool, "Union[aqt.main.ResetReason, str]", Optional[Any]], bool] - ] = [] - - def append( - self, - cb: Callable[[bool, "Union[aqt.main.ResetReason, str]", Optional[Any]], bool], - ) -> None: - """(will_reset: bool, reason: Union[aqt.main.ResetReason, str], context: Optional[Any])""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[[bool, "Union[aqt.main.ResetReason, str]", Optional[Any]], bool], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - will_reset: bool, - reason: Union[aqt.main.ResetReason, str], - context: Optional[Any], - ) -> bool: - for filter in self._hooks: - try: - will_reset = filter(will_reset, reason, context) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return will_reset - - -main_window_should_require_reset = _MainWindowShouldRequireResetFilter() - - -class _MediaSyncDidProgressHook: - _hooks: List[Callable[["aqt.mediasync.LogEntryWithTime"], None]] = [] - - def append(self, cb: Callable[["aqt.mediasync.LogEntryWithTime"], None]) -> None: - """(entry: aqt.mediasync.LogEntryWithTime)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.mediasync.LogEntryWithTime"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, entry: aqt.mediasync.LogEntryWithTime) -> None: - for hook in self._hooks: - try: - hook(entry) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -media_sync_did_progress = _MediaSyncDidProgressHook() - - -class _MediaSyncDidStartOrStopHook: - _hooks: List[Callable[[bool], None]] = [] - - def append(self, cb: Callable[[bool], None]) -> None: - """(running: bool)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[bool], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, running: bool) -> None: - for hook in self._hooks: - try: - hook(running) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -media_sync_did_start_or_stop = _MediaSyncDidStartOrStopHook() - - -class _ModelsAdvancedWillShowHook: - _hooks: List[Callable[[QDialog], None]] = [] - - def append(self, cb: Callable[[QDialog], None]) -> None: - """(advanced: QDialog)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[QDialog], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, advanced: QDialog) -> None: - for hook in self._hooks: - try: - hook(advanced) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -models_advanced_will_show = _ModelsAdvancedWillShowHook() - - -class _ModelsDidInitButtonsFilter: - """Allows adding buttons to the Model dialog""" - - _hooks: List[ - Callable[ - [List[Tuple[str, Callable[[], None]]], "aqt.models.Models"], - List[Tuple[str, Callable[[], None]]], - ] - ] = [] - - def append( - self, - cb: Callable[ - [List[Tuple[str, Callable[[], None]]], "aqt.models.Models"], - List[Tuple[str, Callable[[], None]]], - ], - ) -> None: - """(buttons: List[Tuple[str, Callable[[], None]]], models: aqt.models.Models)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[ - [List[Tuple[str, Callable[[], None]]], "aqt.models.Models"], - List[Tuple[str, Callable[[], None]]], - ], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, buttons: List[Tuple[str, Callable[[], None]]], models: aqt.models.Models - ) -> List[Tuple[str, Callable[[], None]]]: - for filter in self._hooks: - try: - buttons = filter(buttons, models) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return buttons - - -models_did_init_buttons = _ModelsDidInitButtonsFilter() - - -class _OverviewDidRefreshHook: - """Allow to update the overview window. E.g. add the deck name in the - title.""" - - _hooks: List[Callable[["aqt.overview.Overview"], None]] = [] - - def append(self, cb: Callable[["aqt.overview.Overview"], None]) -> None: - """(overview: aqt.overview.Overview)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.overview.Overview"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, overview: aqt.overview.Overview) -> None: - for hook in self._hooks: - try: - hook(overview) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -overview_did_refresh = _OverviewDidRefreshHook() - - -class _OverviewWillRenderContentHook: - """Used to modify HTML content sections in the overview body - - 'content' contains the sections of HTML content the overview body - will be updated with. - - When modifying the content of a particular section, please make sure your - changes only perform the minimum required edits to make your add-on work. - You should avoid overwriting or interfering with existing data as much - as possible, instead opting to append your own changes, e.g.: - - def on_overview_will_render_content(overview, content): - content.table += " -
my html
" - """ - - _hooks: List[ - Callable[["aqt.overview.Overview", "aqt.overview.OverviewContent"], None] - ] = [] - - def append( - self, - cb: Callable[["aqt.overview.Overview", "aqt.overview.OverviewContent"], None], - ) -> None: - """(overview: aqt.overview.Overview, content: aqt.overview.OverviewContent)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[["aqt.overview.Overview", "aqt.overview.OverviewContent"], None], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, overview: aqt.overview.Overview, content: aqt.overview.OverviewContent - ) -> None: - for hook in self._hooks: - try: - hook(overview, content) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -overview_will_render_content = _OverviewWillRenderContentHook() - - -class _ProfileDidOpenHook: - """Executed whenever a user profile has been opened - - Please note that this hook will also be called on profile switches, so if you - are looking to simply delay an add-on action in a single-shot manner, - `main_window_did_init` is likely the more suitable choice. - """ - - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("profileLoaded") - - -profile_did_open = _ProfileDidOpenHook() - - -class _ProfileWillCloseHook: - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("unloadProfile") - - -profile_will_close = _ProfileWillCloseHook() - - -class _ReviewDidUndoHook: - _hooks: List[Callable[[int], None]] = [] - - def append(self, cb: Callable[[int], None]) -> None: - """(card_id: int)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[int], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card_id: int) -> None: - for hook in self._hooks: - try: - hook(card_id) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("revertedCard", card_id) - - -review_did_undo = _ReviewDidUndoHook() - - -class _ReviewerDidAnswerCardHook: - _hooks: List[Callable[["aqt.reviewer.Reviewer", Card, int], None]] = [] - - def append(self, cb: Callable[["aqt.reviewer.Reviewer", Card, int], None]) -> None: - """(reviewer: aqt.reviewer.Reviewer, card: Card, ease: int)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.reviewer.Reviewer", Card, int], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, reviewer: aqt.reviewer.Reviewer, card: Card, ease: int) -> None: - for hook in self._hooks: - try: - hook(reviewer, card, ease) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -reviewer_did_answer_card = _ReviewerDidAnswerCardHook() - - -class _ReviewerDidShowAnswerHook: - _hooks: List[Callable[[Card], None]] = [] - - def append(self, cb: Callable[[Card], None]) -> None: - """(card: Card)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Card], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: Card) -> None: - for hook in self._hooks: - try: - hook(card) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("showAnswer") - - -reviewer_did_show_answer = _ReviewerDidShowAnswerHook() - - -class _ReviewerDidShowQuestionHook: - _hooks: List[Callable[[Card], None]] = [] - - def append(self, cb: Callable[[Card], None]) -> None: - """(card: Card)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Card], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: Card) -> None: - for hook in self._hooks: - try: - hook(card) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("showQuestion") - - -reviewer_did_show_question = _ReviewerDidShowQuestionHook() - - -class _ReviewerWillAnswerCardFilter: - """Used to modify the ease at which a card is rated or to bypass - rating the card completely. - - ease_tuple is a tuple consisting of a boolean expressing whether the reviewer - should continue with rating the card, and an integer expressing the ease at - which the card should be rated. - - If your code just needs to be notified of the card rating event, you should use - the reviewer_did_answer_card hook instead.""" - - _hooks: List[ - Callable[[Tuple[bool, int], "aqt.reviewer.Reviewer", Card], Tuple[bool, int]] - ] = [] - - def append( - self, - cb: Callable[ - [Tuple[bool, int], "aqt.reviewer.Reviewer", Card], Tuple[bool, int] - ], - ) -> None: - """(ease_tuple: Tuple[bool, int], reviewer: aqt.reviewer.Reviewer, card: Card)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[ - [Tuple[bool, int], "aqt.reviewer.Reviewer", Card], Tuple[bool, int] - ], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, ease_tuple: Tuple[bool, int], reviewer: aqt.reviewer.Reviewer, card: Card - ) -> Tuple[bool, int]: - for filter in self._hooks: - try: - ease_tuple = filter(ease_tuple, reviewer, card) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return ease_tuple - - -reviewer_will_answer_card = _ReviewerWillAnswerCardFilter() - - -class _ReviewerWillEndHook: - """Called before Anki transitions from the review screen to another screen.""" - - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("reviewCleanup") - - -reviewer_will_end = _ReviewerWillEndHook() - - -class _ReviewerWillInitAnswerButtonsFilter: - """Used to modify list of answer buttons - - buttons_tuple is a tuple of buttons, with each button represented by a - tuple containing an int for the button's ease and a string for the - button's label. - - Return a tuple of the form ((int, str), ...), e.g.: - ((1, "Label1"), (2, "Label2"), ...) - - Note: import _ from anki.lang to support translation, using, e.g., - ((1, _("Label1")), ...) - """ - - _hooks: List[ - Callable[ - ["Tuple[Tuple[int, str], ...]", "aqt.reviewer.Reviewer", Card], - Tuple[Tuple[int, str], ...], - ] - ] = [] - - def append( - self, - cb: Callable[ - ["Tuple[Tuple[int, str], ...]", "aqt.reviewer.Reviewer", Card], - Tuple[Tuple[int, str], ...], - ], - ) -> None: - """(buttons_tuple: Tuple[Tuple[int, str], ...], reviewer: aqt.reviewer.Reviewer, card: Card)""" - self._hooks.append(cb) - - def remove( - self, - cb: Callable[ - ["Tuple[Tuple[int, str], ...]", "aqt.reviewer.Reviewer", Card], - Tuple[Tuple[int, str], ...], - ], - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, - buttons_tuple: Tuple[Tuple[int, str], ...], - reviewer: aqt.reviewer.Reviewer, - card: Card, - ) -> Tuple[Tuple[int, str], ...]: - for filter in self._hooks: - try: - buttons_tuple = filter(buttons_tuple, reviewer, card) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return buttons_tuple - - -reviewer_will_init_answer_buttons = _ReviewerWillInitAnswerButtonsFilter() - - -class _ReviewerWillPlayAnswerSoundsHook: - """Called before showing the answer/back side. - - `tags` can be used to inspect and manipulate the sounds - that will be played (if any). - - This won't be called when the user manually plays sounds - using `Replay Audio`. - - Note that this hook is called even when the `Automatically play audio` - option is unchecked; This is so as to allow playing custom - sounds regardless of that option.""" - - _hooks: List[Callable[[Card, "List[anki.sound.AVTag]"], None]] = [] - - def append(self, cb: Callable[[Card, "List[anki.sound.AVTag]"], None]) -> None: - """(card: Card, tags: List[anki.sound.AVTag])""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Card, "List[anki.sound.AVTag]"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: Card, tags: List[anki.sound.AVTag]) -> None: - for hook in self._hooks: - try: - hook(card, tags) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -reviewer_will_play_answer_sounds = _ReviewerWillPlayAnswerSoundsHook() - - -class _ReviewerWillPlayQuestionSoundsHook: - """Called before showing the question/front side. - - `tags` can be used to inspect and manipulate the sounds - that will be played (if any). - - This won't be called when the user manually plays sounds - using `Replay Audio`. - - Note that this hook is called even when the `Automatically play audio` - option is unchecked; This is so as to allow playing custom - sounds regardless of that option.""" - - _hooks: List[Callable[[Card, "List[anki.sound.AVTag]"], None]] = [] - - def append(self, cb: Callable[[Card, "List[anki.sound.AVTag]"], None]) -> None: - """(card: Card, tags: List[anki.sound.AVTag])""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[Card, "List[anki.sound.AVTag]"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, card: Card, tags: List[anki.sound.AVTag]) -> None: - for hook in self._hooks: - try: - hook(card, tags) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -reviewer_will_play_question_sounds = _ReviewerWillPlayQuestionSoundsHook() - - -class _ReviewerWillShowContextMenuHook: - _hooks: List[Callable[["aqt.reviewer.Reviewer", QMenu], None]] = [] - - def append(self, cb: Callable[["aqt.reviewer.Reviewer", QMenu], None]) -> None: - """(reviewer: aqt.reviewer.Reviewer, menu: QMenu)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.reviewer.Reviewer", QMenu], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, reviewer: aqt.reviewer.Reviewer, menu: QMenu) -> None: - for hook in self._hooks: - try: - hook(reviewer, menu) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("Reviewer.contextMenuEvent", reviewer, menu) - - -reviewer_will_show_context_menu = _ReviewerWillShowContextMenuHook() - - -class _SidebarShouldRefreshDecksHook: - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -sidebar_should_refresh_decks = _SidebarShouldRefreshDecksHook() - - -class _SidebarShouldRefreshNotetypesHook: - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -sidebar_should_refresh_notetypes = _SidebarShouldRefreshNotetypesHook() - - -class _StateDidChangeHook: - _hooks: List[Callable[[str, str], None]] = [] - - def append(self, cb: Callable[[str, str], None]) -> None: - """(new_state: str, old_state: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, str], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, new_state: str, old_state: str) -> None: - for hook in self._hooks: - try: - hook(new_state, old_state) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("afterStateChange", new_state, old_state) - - -state_did_change = _StateDidChangeHook() - - -class _StateDidResetHook: - """Called when the interface needs to be redisplayed after non-trivial changes have been made.""" - - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("reset") - - -state_did_reset = _StateDidResetHook() - - -class _StateDidRevertHook: - """Called when user used the undo option to restore to an earlier database state.""" - - _hooks: List[Callable[[str], None]] = [] - - def append(self, cb: Callable[[str], None]) -> None: - """(action: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, action: str) -> None: - for hook in self._hooks: - try: - hook(action) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("revertedState", action) - - -state_did_revert = _StateDidRevertHook() - - -class _StateShortcutsWillChangeHook: - _hooks: List[Callable[[str, List[Tuple[str, Callable]]], None]] = [] - - def append(self, cb: Callable[[str, List[Tuple[str, Callable]]], None]) -> None: - """(state: str, shortcuts: List[Tuple[str, Callable]])""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, List[Tuple[str, Callable]]], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, state: str, shortcuts: List[Tuple[str, Callable]]) -> None: - for hook in self._hooks: - try: - hook(state, shortcuts) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -state_shortcuts_will_change = _StateShortcutsWillChangeHook() - - -class _StateWillChangeHook: - _hooks: List[Callable[[str, str], None]] = [] - - def append(self, cb: Callable[[str, str], None]) -> None: - """(new_state: str, old_state: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str, str], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, new_state: str, old_state: str) -> None: - for hook in self._hooks: - try: - hook(new_state, old_state) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("beforeStateChange", new_state, old_state) - - -state_will_change = _StateWillChangeHook() - - -class _StatsDialogOldWillShowHook: - """Allows changing the old stats dialog before it is shown.""" - - _hooks: List[Callable[["aqt.stats.DeckStats"], None]] = [] - - def append(self, cb: Callable[["aqt.stats.DeckStats"], None]) -> None: - """(dialog: aqt.stats.DeckStats)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.stats.DeckStats"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, dialog: aqt.stats.DeckStats) -> None: - for hook in self._hooks: - try: - hook(dialog) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -stats_dialog_old_will_show = _StatsDialogOldWillShowHook() - - -class _StatsDialogWillShowHook: - """Allows changing the stats dialog before it is shown.""" - - _hooks: List[Callable[["aqt.stats.NewDeckStats"], None]] = [] - - def append(self, cb: Callable[["aqt.stats.NewDeckStats"], None]) -> None: - """(dialog: aqt.stats.NewDeckStats)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.stats.NewDeckStats"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, dialog: aqt.stats.NewDeckStats) -> None: - for hook in self._hooks: - try: - hook(dialog) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -stats_dialog_will_show = _StatsDialogWillShowHook() - - -class _StyleDidInitFilter: - _hooks: List[Callable[[str], str]] = [] - - def append(self, cb: Callable[[str], str]) -> None: - """(style: str)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[str], str]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, style: str) -> str: - for filter in self._hooks: - try: - style = filter(style) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - # legacy support - style = runFilter("setupStyle", style) - return style - - -style_did_init = _StyleDidInitFilter() - - -class _SyncDidFinishHook: - """Executes after the sync of the collection concluded. - - Note that the media sync did not necessarily finish at this point.""" - - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -sync_did_finish = _SyncDidFinishHook() - - -class _SyncWillStartHook: - _hooks: List[Callable[[], None]] = [] - - def append(self, cb: Callable[[], None]) -> None: - """()""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self) -> None: - for hook in self._hooks: - try: - hook() - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -sync_will_start = _SyncWillStartHook() - - -class _TagEditorDidProcessKeyHook: - _hooks: List[Callable[[TagEdit, QEvent], None]] = [] - - def append(self, cb: Callable[[TagEdit, QEvent], None]) -> None: - """(tag_edit: TagEdit, evt: QEvent)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[TagEdit, QEvent], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, tag_edit: TagEdit, evt: QEvent) -> None: - for hook in self._hooks: - try: - hook(tag_edit, evt) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -tag_editor_did_process_key = _TagEditorDidProcessKeyHook() - - -class _TopToolbarDidInitLinksHook: - """Used to modify or add links in the top toolbar of Anki's main window - - 'links' is a list of HTML link elements. Add-ons can generate their own links - by using aqt.toolbar.Toolbar.create_link. Links created in that way can then be - appended to the link list, e.g.: - - def on_top_toolbar_did_init_links(links, toolbar): - my_link = toolbar.create_link(...) - links.append(my_link) - """ - - _hooks: List[Callable[[List[str], "aqt.toolbar.Toolbar"], None]] = [] - - def append(self, cb: Callable[[List[str], "aqt.toolbar.Toolbar"], None]) -> None: - """(links: List[str], top_toolbar: aqt.toolbar.Toolbar)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[List[str], "aqt.toolbar.Toolbar"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, links: List[str], top_toolbar: aqt.toolbar.Toolbar) -> None: - for hook in self._hooks: - try: - hook(links, top_toolbar) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -top_toolbar_did_init_links = _TopToolbarDidInitLinksHook() - - -class _TopToolbarDidRedrawHook: - """Executed when the top toolbar is redrawn""" - - _hooks: List[Callable[["aqt.toolbar.Toolbar"], None]] = [] - - def append(self, cb: Callable[["aqt.toolbar.Toolbar"], None]) -> None: - """(top_toolbar: aqt.toolbar.Toolbar)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.toolbar.Toolbar"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, top_toolbar: aqt.toolbar.Toolbar) -> None: - for hook in self._hooks: - try: - hook(top_toolbar) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -top_toolbar_did_redraw = _TopToolbarDidRedrawHook() - - -class _UndoStateDidChangeHook: - _hooks: List[Callable[[bool], None]] = [] - - def append(self, cb: Callable[[bool], None]) -> None: - """(can_undo: bool)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[[bool], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, can_undo: bool) -> None: - for hook in self._hooks: - try: - hook(can_undo) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("undoState", can_undo) - - -undo_state_did_change = _UndoStateDidChangeHook() - - -class _WebviewDidInjectStyleIntoPageHook: - '''Called after standard styling is injected into an external - html file, such as when loading the new graphs. You can use this hook to - mutate the DOM before the page is revealed. - - For example: - - def mytest(web: AnkiWebView): - page = os.path.basename(web.page().url().path()) - if page != "graphs.html": - return - web.eval( - """ - div = document.createElement("div"); - div.innerHTML = 'hello'; - document.body.appendChild(div); - """ - ) - - gui_hooks.webview_did_inject_style_into_page.append(mytest)''' - - _hooks: List[Callable[["aqt.webview.AnkiWebView"], None]] = [] - - def append(self, cb: Callable[["aqt.webview.AnkiWebView"], None]) -> None: - """(webview: aqt.webview.AnkiWebView)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.webview.AnkiWebView"], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, webview: aqt.webview.AnkiWebView) -> None: - for hook in self._hooks: - try: - hook(webview) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -webview_did_inject_style_into_page = _WebviewDidInjectStyleIntoPageHook() - - -class _WebviewDidReceiveJsMessageFilter: - """Used to handle pycmd() messages sent from Javascript. - - Message is the string passed to pycmd(). - - For messages you don't want to handle, return 'handled' unchanged. - - If you handle a message and don't want it passed to the original - bridge command handler, return (True, None). - - If you want to pass a value to pycmd's result callback, you can - return it with (True, some_value). - - Context is the instance that was passed to set_bridge_command(). - It can be inspected to check which screen this hook is firing - in, and to get a reference to the screen. For example, if your - code wishes to function only in the review screen, you could do: - - if not isinstance(context, aqt.reviewer.Reviewer): - # not reviewer, pass on message - return handled - - if message == "my-mark-action": - # our message, call onMark() on the reviewer instance - context.onMark() - # and don't pass message to other handlers - return (True, None) - else: - # some other command, pass it on - return handled - """ - - _hooks: List[Callable[[Tuple[bool, Any], str, Any], Tuple[bool, Any]]] = [] - - def append( - self, cb: Callable[[Tuple[bool, Any], str, Any], Tuple[bool, Any]] - ) -> None: - """(handled: Tuple[bool, Any], message: str, context: Any)""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[[Tuple[bool, Any], str, Any], Tuple[bool, Any]] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, handled: Tuple[bool, Any], message: str, context: Any - ) -> Tuple[bool, Any]: - for filter in self._hooks: - try: - handled = filter(handled, message, context) - except: - # if the hook fails, remove it - self._hooks.remove(filter) - raise - return handled - - -webview_did_receive_js_message = _WebviewDidReceiveJsMessageFilter() - - -class _WebviewWillSetContentHook: - """Used to modify web content before it is rendered. - - Web_content contains the HTML, JS, and CSS the web view will be - populated with. - - Context is the instance that was passed to stdHtml(). - It can be inspected to check which screen this hook is firing - in, and to get a reference to the screen. For example, if your - code wishes to function only in the review screen, you could do: - - def on_webview_will_set_content(web_content: WebContent, context): - - if not isinstance(context, aqt.reviewer.Reviewer): - # not reviewer, do not modify content - return - - # reviewer, perform changes to content - - context: aqt.reviewer.Reviewer - - addon_package = mw.addonManager.addonFromModule(__name__) - - web_content.css.append( - f"/_addons/{addon_package}/web/my-addon.css") - web_content.js.append( - f"/_addons/{addon_package}/web/my-addon.js") - - web_content.head += "" - web_content.body += "
" - """ - - _hooks: List[Callable[["aqt.webview.WebContent", Optional[Any]], None]] = [] - - def append( - self, cb: Callable[["aqt.webview.WebContent", Optional[Any]], None] - ) -> None: - """(web_content: aqt.webview.WebContent, context: Optional[Any])""" - self._hooks.append(cb) - - def remove( - self, cb: Callable[["aqt.webview.WebContent", Optional[Any]], None] - ) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__( - self, web_content: aqt.webview.WebContent, context: Optional[Any] - ) -> None: - for hook in self._hooks: - try: - hook(web_content, context) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - - -webview_will_set_content = _WebviewWillSetContentHook() - - -class _WebviewWillShowContextMenuHook: - _hooks: List[Callable[["aqt.webview.AnkiWebView", QMenu], None]] = [] - - def append(self, cb: Callable[["aqt.webview.AnkiWebView", QMenu], None]) -> None: - """(webview: aqt.webview.AnkiWebView, menu: QMenu)""" - self._hooks.append(cb) - - def remove(self, cb: Callable[["aqt.webview.AnkiWebView", QMenu], None]) -> None: - if cb in self._hooks: - self._hooks.remove(cb) - - def count(self) -> int: - return len(self._hooks) - - def __call__(self, webview: aqt.webview.AnkiWebView, menu: QMenu) -> None: - for hook in self._hooks: - try: - hook(webview, menu) - except: - # if the hook fails, remove it - self._hooks.remove(hook) - raise - # legacy support - runHook("AnkiWebView.contextMenuEvent", webview, menu) - - -webview_will_show_context_menu = _WebviewWillShowContextMenuHook() -# @@AUTOGEN@@ +# You can find the definitions in ../tools/genhooks_gui.py +from aqt.hooks_gen import * diff --git a/qt/aqt/mediasrv.py b/qt/aqt/mediasrv.py index be5a2d1bb..bdfd420ae 100644 --- a/qt/aqt/mediasrv.py +++ b/qt/aqt/mediasrv.py @@ -165,6 +165,26 @@ def _redirectWebExports(path): # catch /_anki references and rewrite them to web export folder targetPath = "_anki/" if path.startswith(targetPath): + dirname = os.path.dirname(path) + filename = os.path.basename(path) + addprefix = None + + # remap legacy top-level references + if dirname == "_anki": + base, ext = os.path.splitext(filename) + if ext == ".css": + addprefix = "css/" + elif ext == ".js": + if base in ("browsersel", "jquery-ui", "jquery", "plot"): + addprefix = "js/js/vendor/" + else: + addprefix = "js/" + + if addprefix: + oldpath = path + path = f"{targetPath}{addprefix}{filename}" + print(f"legacy {oldpath} remapped to {path}") + return _exportFolder, path[len(targetPath) :] # catch /_addons references and rewrite them to addons folder diff --git a/qt/aqt/overview.py b/qt/aqt/overview.py index bc02b4e85..76203ef56 100644 --- a/qt/aqt/overview.py +++ b/qt/aqt/overview.py @@ -174,8 +174,8 @@ class Overview: gui_hooks.overview_will_render_content(self, content) self.web.stdHtml( self._body % content.__dict__, - css=["overview.css"], - js=["jquery.js", "overview.js"], + css=["css/overview.css"], + js=["js/vendor/jquery.js", "js/overview.js"], context=self, ) diff --git a/qt/aqt/previewer.py b/qt/aqt/previewer.py index c1da2a289..5f770db14 100644 --- a/qt/aqt/previewer.py +++ b/qt/aqt/previewer.py @@ -112,15 +112,15 @@ class Previewer(QDialog): def _setup_web_view(self): jsinc = [ - "jquery.js", - "browsersel.js", - "mathjax/conf.js", - "mathjax/MathJax.js", - "reviewer.js", + "js/vendor/jquery.js", + "js/vendor/browsersel.js", + "js/vendor/mathjax/conf.js", + "js/vendor/mathjax/MathJax.js", + "js/reviewer.js", ] self._web.stdHtml( self.mw.reviewer.revHtml(), - css=["reviewer.css"], + css=["css/reviewer.css"], js=jsinc, context=self, ) diff --git a/qt/aqt/reviewer.py b/qt/aqt/reviewer.py index c2f4fee94..9ef7520e8 100644 --- a/qt/aqt/reviewer.py +++ b/qt/aqt/reviewer.py @@ -150,13 +150,13 @@ class Reviewer: # main window self.web.stdHtml( self.revHtml(), - css=["reviewer.css"], + css=["css/reviewer.css"], js=[ - "jquery.js", - "browsersel.js", - "mathjax/conf.js", - "mathjax/MathJax.js", - "reviewer.js", + "js/vendor/jquery.js", + "js/vendor/browsersel.js", + "js/vendor/mathjax/conf.js", + "js/vendor/mathjax/MathJax.js", + "js/reviewer.js", ], context=self, ) @@ -164,8 +164,8 @@ class Reviewer: self.bottom.web.show() self.bottom.web.stdHtml( self._bottomHTML(), - css=["toolbar-bottom.css", "reviewer-bottom.css"], - js=["jquery.js", "reviewer-bottom.js"], + css=["css/toolbar-bottom.css", "css/reviewer-bottom.css"], + js=["js/vendor/jquery.js", "js/reviewer-bottom.js"], context=ReviewerBottomBar(self), ) diff --git a/qt/aqt/stats.py b/qt/aqt/stats.py index 8ddf7685b..693377a1a 100644 --- a/qt/aqt/stats.py +++ b/qt/aqt/stats.py @@ -173,7 +173,7 @@ class DeckStats(QDialog): self.form.web.title = "deck stats" self.form.web.stdHtml( "" + self.report + "", - js=["jquery.js", "plot.js"], + js=["js/vendor/jquery.js", "js/vendor/plot.js"], context=self, ) self.mw.progress.finish() diff --git a/qt/aqt/toolbar.py b/qt/aqt/toolbar.py index b68e3f14b..3a9f668df 100644 --- a/qt/aqt/toolbar.py +++ b/qt/aqt/toolbar.py @@ -48,8 +48,8 @@ class Toolbar: self.web.set_bridge_command(link_handler, web_context) self.web.stdHtml( self._body % self._centerLinks(), - css=["toolbar.css"], - js=["webview.js", "jquery.js", "toolbar.js"], + css=["css/toolbar.css"], + js=["js/webview.js", "js/vendor/jquery.js", "js/toolbar.js"], context=web_context, ) self.web.adjustHeightToFit() @@ -230,7 +230,7 @@ class BottomBar(Toolbar): self.web.set_bridge_command(link_handler, web_context) self.web.stdHtml( self._centerBody % buf, - css=["toolbar.css", "toolbar-bottom.css"], + css=["css/toolbar.css", "css/toolbar-bottom.css"], context=web_context, ) self.web.adjustHeightToFit() diff --git a/qt/aqt/utils.py b/qt/aqt/utils.py index 98e8d6148..b5997e7a3 100644 --- a/qt/aqt/utils.py +++ b/qt/aqt/utils.py @@ -8,6 +8,7 @@ import os import re import subprocess import sys +from pathlib import Path from typing import TYPE_CHECKING, Any, List, Optional, Union import anki @@ -23,12 +24,16 @@ if TYPE_CHECKING: def aqt_data_folder() -> str: + # running in place? + dir = Path(os.path.dirname(__file__)) + dir = dir.parent.joinpath("aqt_data") + if os.path.exists(dir): + return dir # wheel install? dir = os.path.join(sys.prefix, "aqt_data") - if not os.path.exists(dir) or not os.listdir(dir): - # running in place? - dir = os.path.join(os.path.dirname(__file__), "..", "aqt_data") - return dir + if os.path.exists(dir): + return dir + raise Exception("data folder not found") def locale_dir() -> str: diff --git a/qt/aqt/webview.py b/qt/aqt/webview.py index ea4b37844..c784297e9 100644 --- a/qt/aqt/webview.py +++ b/qt/aqt/webview.py @@ -431,19 +431,19 @@ body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }} web_content = WebContent( body=body, head=head, - js=["webview.js"] + (["jquery.js"] if js is None else js), - css=["webview.css"] + ([] if css is None else css), + js=["js/webview.js"] + (["js/vendor/jquery.js"] if js is None else js), + css=["css/webview.css"] + ([] if css is None else css), ) gui_hooks.webview_will_set_content(web_content, context) csstxt = "" - if "webview.css" in web_content.css: + if "css/webview.css" in web_content.css: # we want our dynamic styling to override the defaults in - # webview.css, but come before user-provided stylesheets so that + # css/webview.css, but come before user-provided stylesheets so that # they can override us if necessary - web_content.css.remove("webview.css") - csstxt = self.bundledCSS("webview.css") + web_content.css.remove("css/webview.css") + csstxt = self.bundledCSS("css/webview.css") csstxt += f"" csstxt += "\n".join(self.bundledCSS(fname) for fname in web_content.css) @@ -622,5 +622,5 @@ document.head.appendChild(style); else: extra = "" self.hide_while_preserving_layout() - self.load(QUrl(f"{mw.serverURL()}_anki/{name}.html" + extra)) + self.load(QUrl(f"{mw.serverURL()}_anki/pages/{name}.html" + extra)) self.inject_dynamic_style_and_show() diff --git a/qt/aqt_data/BUILD.bazel b/qt/aqt_data/BUILD.bazel new file mode 100644 index 000000000..a3ce28e59 --- /dev/null +++ b/qt/aqt_data/BUILD.bazel @@ -0,0 +1,8 @@ +filegroup( + name = "aqt_data", + srcs = [ + "//qt/aqt_data/locale", + "//qt/aqt_data/web", + ], + visibility = ["//qt:__subpackages__"], +) diff --git a/qt/aqt_data/locale/BUILD.bazel b/qt/aqt_data/locale/BUILD.bazel new file mode 100644 index 000000000..b02cdd5d6 --- /dev/null +++ b/qt/aqt_data/locale/BUILD.bazel @@ -0,0 +1,6 @@ +load("compile.bzl", "compile_all") + +compile_all( + name = "locale", + visibility = ["//qt:__subpackages__"], +) diff --git a/qt/aqt_data/locale/compile.bzl b/qt/aqt_data/locale/compile.bzl new file mode 100644 index 000000000..cd7d13c54 --- /dev/null +++ b/qt/aqt_data/locale/compile.bzl @@ -0,0 +1,87 @@ +def compile(name, po_file, pot_file, mo_file): + native.genrule( + name = name, + srcs = [po_file, pot_file], + outs = [mo_file], + # homebrew gettext is not on path by default + cmd = """\ +export PATH="$$PATH":/usr/local/opt/gettext/bin +msgmerge -q $(location {po_file}) $(location {pot_file}) | msgfmt - --output-file=$(location {mo_file}) +""".format( + po_file = po_file, + pot_file = pot_file, + mo_file = mo_file, + ), + ) + +_langs = [ + "af", + "ar", + "bg", + "ca", + "cs", + "da", + "de", + "el", + "en-GB", + "eo", + "es", + "et", + "eu", + "fa", + "fi", + "fr", + "ga-IE", + "gl", + "he", + "hi-IN", + "hr", + "hu", + "hy-AM", + "it", + "ja", + "jbo", + "kab", + # "km", + "ko", + "la", + "mn", + "mr", + "ms", + "nb-NO", + "nl", + "nn-NO", + "oc", + "or", + "pl", + "pt-BR", + "pt-PT", + "ro", + "ru", + "sk", + "sl", + "sr", + "sv-SE", + "th", + "tr", + "uk", + # "ur", + "vi", + "zh-CN", + "zh-TW", +] + +def compile_all(name, visibility): + pot_file = "@aqt_po//:desktop/anki.pot" + mo_files = [] + for lang in _langs: + po_file = "@aqt_po//:desktop/{}/anki.po".format(lang) + mo_file = "{}/LC_MESSAGES/anki.mo".format(lang) + mo_files.append(mo_file) + compile(lang, po_file, pot_file, mo_file) + + native.filegroup( + name = name, + srcs = mo_files, + visibility = visibility, + ) diff --git a/qt/aqt_data/web/BUILD.bazel b/qt/aqt_data/web/BUILD.bazel new file mode 100644 index 000000000..c6f8e2f38 --- /dev/null +++ b/qt/aqt_data/web/BUILD.bazel @@ -0,0 +1,10 @@ +filegroup( + name = "web", + srcs = [ + "//qt/aqt_data/web/css", + "//qt/aqt_data/web/imgs", + "//qt/aqt_data/web/js", + "//qt/aqt_data/web/pages", + ], + visibility = ["//qt:__subpackages__"], +) diff --git a/qt/aqt_data/web/css/BUILD.bazel b/qt/aqt_data/web/css/BUILD.bazel new file mode 100644 index 000000000..107de0643 --- /dev/null +++ b/qt/aqt_data/web/css/BUILD.bazel @@ -0,0 +1,26 @@ +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") +load("compile_sass.bzl", "compile_sass") + +compile_sass( + srcs = glob( + ["*.scss"], + exclude = ["_*.scss"], + ), + group = "css_local", + visibility = ["//visibility:private"], +) + +copy_file( + name = "core_css", + src = "//ts/sass:core.css", + out = "core.css", +) + +filegroup( + name = "css", + srcs = [ + "core.css", + "css_local", + ], + visibility = ["//qt:__subpackages__"], +) diff --git a/qt/ts/scss/_buttons.scss b/qt/aqt_data/web/css/_buttons.scss similarity index 100% rename from qt/ts/scss/_buttons.scss rename to qt/aqt_data/web/css/_buttons.scss diff --git a/qt/ts/scss/_card_counts.scss b/qt/aqt_data/web/css/_card_counts.scss similarity index 100% rename from qt/ts/scss/_card_counts.scss rename to qt/aqt_data/web/css/_card_counts.scss diff --git a/qt/aqt_data/web/css/compile_sass.bzl b/qt/aqt_data/web/css/compile_sass.bzl new file mode 100644 index 000000000..f6c731cb5 --- /dev/null +++ b/qt/aqt_data/web/css/compile_sass.bzl @@ -0,0 +1,22 @@ +load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") + +def compile_sass(group, srcs, visibility): + css_files = [] + for scss_file in srcs: + base = scss_file.replace(".scss", "") + name = base + "_sass" + css_file = base + ".css" + css_files.append(css_file) + + sass_binary( + name = name, + src = scss_file, + sourcemap = False, + deps = ["//ts/sass:core_lib"], + ) + + native.filegroup( + name = group, + srcs = css_files, + visibility = visibility, + ) diff --git a/qt/ts/scss/deckbrowser.scss b/qt/aqt_data/web/css/deckbrowser.scss similarity index 100% rename from qt/ts/scss/deckbrowser.scss rename to qt/aqt_data/web/css/deckbrowser.scss diff --git a/qt/ts/scss/editor.scss b/qt/aqt_data/web/css/editor.scss similarity index 100% rename from qt/ts/scss/editor.scss rename to qt/aqt_data/web/css/editor.scss diff --git a/qt/ts/scss/overview.scss b/qt/aqt_data/web/css/overview.scss similarity index 100% rename from qt/ts/scss/overview.scss rename to qt/aqt_data/web/css/overview.scss diff --git a/qt/ts/scss/reviewer-bottom.scss b/qt/aqt_data/web/css/reviewer-bottom.scss similarity index 100% rename from qt/ts/scss/reviewer-bottom.scss rename to qt/aqt_data/web/css/reviewer-bottom.scss diff --git a/qt/ts/scss/reviewer.scss b/qt/aqt_data/web/css/reviewer.scss similarity index 100% rename from qt/ts/scss/reviewer.scss rename to qt/aqt_data/web/css/reviewer.scss diff --git a/qt/ts/scss/toolbar-bottom.scss b/qt/aqt_data/web/css/toolbar-bottom.scss similarity index 100% rename from qt/ts/scss/toolbar-bottom.scss rename to qt/aqt_data/web/css/toolbar-bottom.scss diff --git a/qt/ts/scss/toolbar.scss b/qt/aqt_data/web/css/toolbar.scss similarity index 100% rename from qt/ts/scss/toolbar.scss rename to qt/aqt_data/web/css/toolbar.scss diff --git a/qt/aqt_data/web/css/webview.scss b/qt/aqt_data/web/css/webview.scss new file mode 100644 index 000000000..42bb5dd56 --- /dev/null +++ b/qt/aqt_data/web/css/webview.scss @@ -0,0 +1,48 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + +@use 'ts/sass/core'; +@use 'buttons'; + +// core.scss sets border-box, but we need to +// keep the old behaviour for now to avoid breaking +// add-ons/card templates +* { + box-sizing: content-box; +} + +body { + margin: 2em; + overscroll-behavior: none; +} + +h1 { + margin-bottom: 0.2em; +} + +body.nightMode { + &::-webkit-scrollbar { + background: var(--window-bg); + + &:horizontal { + height: 12px; + } + + &:vertical { + width: 12px; + } + } + + &::-webkit-scrollbar-thumb { + background: buttons.$fusion-button-hover-bg; + border-radius: 8px; + + &:horizontal { + min-width: 50px; + } + + &:vertical { + min-height: 50px; + } + } +} diff --git a/qt/aqt_data/web/imgs/BUILD.bazel b/qt/aqt_data/web/imgs/BUILD.bazel new file mode 100644 index 000000000..58b338198 --- /dev/null +++ b/qt/aqt_data/web/imgs/BUILD.bazel @@ -0,0 +1,8 @@ +filegroup( + name = "imgs", + srcs = glob([ + "**/*.png", + "**/*.svg", + ]), + visibility = ["//qt:__subpackages__"], +) diff --git a/qt/aqt_data/web/js/BUILD.bazel b/qt/aqt_data/web/js/BUILD.bazel new file mode 100644 index 000000000..43bb9738a --- /dev/null +++ b/qt/aqt_data/web/js/BUILD.bazel @@ -0,0 +1,53 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_library") +load("//ts:prettier.bzl", "prettier_test") + +ts_library( + name = "pycmd", + srcs = ["pycmd.d.ts"], +) + +ts_library( + name = "aqt", + srcs = glob( + ["*.ts"], + exclude = ["*.d.ts"], + ), + tsconfig = "tsconfig.json", + deps = [ + "pycmd", + "@npm//@types/jquery", + "@npm//@types/jqueryui", + "@npm//@types/mathjax", + ], +) + +filegroup( + name = "aqt_es5", + srcs = ["aqt"], + output_group = "es5_sources", +) + +filegroup( + name = "vendor", + srcs = glob(["vendor/**"]), +) + +filegroup( + name = "js", + srcs = [ + "aqt_es5", + "vendor", + ], + visibility = ["//qt:__subpackages__"], +) + +prettier_test( + name = "format", + srcs = glob(["*.ts"]), +) + +# source files need fixing first +# eslint_test( +# name = "eslint", +# srcs = glob(["*.ts"]), +# ) diff --git a/qt/aqt_data/web/js/compile_ts.bzl b/qt/aqt_data/web/js/compile_ts.bzl new file mode 100644 index 000000000..3fd5e106b --- /dev/null +++ b/qt/aqt_data/web/js/compile_ts.bzl @@ -0,0 +1,19 @@ +def compile_ts(group, srcs): + css_files = [] + for ts_file in srcs: + name = ts_file.replace(".ts", "") + "_ts" + css_file = name + ".css" + css_files.append(css_file) + + sass_binary( + name = name, + src = ts_file, + sourcemap = False, + deps = ["//ts/sass:core_lib"], + ) + + native.filegroup( + name = group, + srcs = css_files, + visibility = ["//qt:__subpackages__"], + ) diff --git a/qt/ts/src/deckbrowser.ts b/qt/aqt_data/web/js/deckbrowser.ts similarity index 100% rename from qt/ts/src/deckbrowser.ts rename to qt/aqt_data/web/js/deckbrowser.ts diff --git a/qt/ts/src/editor.ts b/qt/aqt_data/web/js/editor.ts similarity index 100% rename from qt/ts/src/editor.ts rename to qt/aqt_data/web/js/editor.ts diff --git a/qt/ts/src/overview.ts b/qt/aqt_data/web/js/overview.ts similarity index 100% rename from qt/ts/src/overview.ts rename to qt/aqt_data/web/js/overview.ts diff --git a/qt/ts/src/types/global.d.ts b/qt/aqt_data/web/js/pycmd.d.ts similarity index 100% rename from qt/ts/src/types/global.d.ts rename to qt/aqt_data/web/js/pycmd.d.ts diff --git a/qt/ts/src/reviewer-bottom.ts b/qt/aqt_data/web/js/reviewer-bottom.ts similarity index 100% rename from qt/ts/src/reviewer-bottom.ts rename to qt/aqt_data/web/js/reviewer-bottom.ts diff --git a/qt/ts/src/reviewer.ts b/qt/aqt_data/web/js/reviewer.ts similarity index 100% rename from qt/ts/src/reviewer.ts rename to qt/aqt_data/web/js/reviewer.ts diff --git a/qt/ts/src/toolbar.ts b/qt/aqt_data/web/js/toolbar.ts similarity index 100% rename from qt/ts/src/toolbar.ts rename to qt/aqt_data/web/js/toolbar.ts diff --git a/qt/aqt_data/web/js/tsconfig.json b/qt/aqt_data/web/js/tsconfig.json new file mode 100644 index 000000000..fab6760c2 --- /dev/null +++ b/qt/aqt_data/web/js/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "lib": ["es6", "dom"], + "strict": true, + "noImplicitAny": false, + "strictNullChecks": false, + "noImplicitThis": false, + "esModuleInterop": true + } +} diff --git a/qt/aqt_data/web/browsersel.js b/qt/aqt_data/web/js/vendor/browsersel.js similarity index 100% rename from qt/aqt_data/web/browsersel.js rename to qt/aqt_data/web/js/vendor/browsersel.js diff --git a/qt/aqt_data/web/jquery-ui.js b/qt/aqt_data/web/js/vendor/jquery-ui.js similarity index 100% rename from qt/aqt_data/web/jquery-ui.js rename to qt/aqt_data/web/js/vendor/jquery-ui.js diff --git a/qt/aqt_data/web/jquery.js b/qt/aqt_data/web/js/vendor/jquery.js similarity index 100% rename from qt/aqt_data/web/jquery.js rename to qt/aqt_data/web/js/vendor/jquery.js diff --git a/qt/aqt_data/web/mathjax/MathJax.js b/qt/aqt_data/web/js/vendor/mathjax/MathJax.js similarity index 100% rename from qt/aqt_data/web/mathjax/MathJax.js rename to qt/aqt_data/web/js/vendor/mathjax/MathJax.js diff --git a/qt/aqt_data/web/mathjax/conf.js b/qt/aqt_data/web/js/vendor/mathjax/conf.js similarity index 100% rename from qt/aqt_data/web/mathjax/conf.js rename to qt/aqt_data/web/js/vendor/mathjax/conf.js diff --git a/qt/aqt_data/web/mathjax/extensions/FontWarnings.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/FontWarnings.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/FontWarnings.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/FontWarnings.js diff --git a/qt/aqt_data/web/mathjax/extensions/HTML-CSS/handle-floats.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/HTML-CSS/handle-floats.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/HTML-CSS/handle-floats.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/HTML-CSS/handle-floats.js diff --git a/qt/aqt_data/web/mathjax/extensions/HelpDialog.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/HelpDialog.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/HelpDialog.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/HelpDialog.js diff --git a/qt/aqt_data/web/mathjax/extensions/MatchWebFonts.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/MatchWebFonts.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/MatchWebFonts.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/MatchWebFonts.js diff --git a/qt/aqt_data/web/mathjax/extensions/MathEvents.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/MathEvents.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/MathEvents.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/MathEvents.js diff --git a/qt/aqt_data/web/mathjax/extensions/MathMenu.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/MathMenu.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/MathMenu.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/MathMenu.js diff --git a/qt/aqt_data/web/mathjax/extensions/MathZoom.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/MathZoom.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/MathZoom.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/MathZoom.js diff --git a/qt/aqt_data/web/mathjax/extensions/Safe.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/Safe.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/Safe.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/Safe.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/AMScd.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/AMScd.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/AMScd.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/AMScd.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/AMSmath.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/AMSmath.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/AMSmath.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/AMSmath.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/AMSsymbols.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/AMSsymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/AMSsymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/AMSsymbols.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/HTML.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/HTML.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/HTML.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/HTML.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/action.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/action.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/action.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/action.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/autobold.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/autobold.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/autobold.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/autobold.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/autoload-all.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/autoload-all.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/autoload-all.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/autoload-all.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/bbox.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/bbox.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/bbox.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/bbox.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/begingroup.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/begingroup.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/begingroup.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/begingroup.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/boldsymbol.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/boldsymbol.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/boldsymbol.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/boldsymbol.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/cancel.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/cancel.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/cancel.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/cancel.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/color.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/color.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/color.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/color.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/enclose.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/enclose.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/enclose.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/enclose.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/extpfeil.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/extpfeil.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/extpfeil.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/extpfeil.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/mathchoice.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mathchoice.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/mathchoice.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mathchoice.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/mediawiki-texvc.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mediawiki-texvc.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/mediawiki-texvc.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mediawiki-texvc.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/mhchem.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mhchem.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/mhchem.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mhchem.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/mhchem3/mhchem.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mhchem3/mhchem.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/mhchem3/mhchem.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/mhchem3/mhchem.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/newcommand.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/newcommand.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/newcommand.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/newcommand.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/noErrors.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/noErrors.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/noErrors.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/noErrors.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/noUndefined.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/noUndefined.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/noUndefined.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/noUndefined.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/unicode.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/unicode.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/unicode.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/unicode.js diff --git a/qt/aqt_data/web/mathjax/extensions/TeX/verb.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/verb.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/TeX/verb.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/TeX/verb.js diff --git a/qt/aqt_data/web/mathjax/extensions/asciimath2jax.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/asciimath2jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/asciimath2jax.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/asciimath2jax.js diff --git a/qt/aqt_data/web/mathjax/extensions/fast-preview.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/fast-preview.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/fast-preview.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/fast-preview.js diff --git a/qt/aqt_data/web/mathjax/extensions/jsMath2jax.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/jsMath2jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/jsMath2jax.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/jsMath2jax.js diff --git a/qt/aqt_data/web/mathjax/extensions/mhchem.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/mhchem.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/mhchem.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/mhchem.js diff --git a/qt/aqt_data/web/mathjax/extensions/mml2jax.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/mml2jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/mml2jax.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/mml2jax.js diff --git a/qt/aqt_data/web/mathjax/extensions/tex2jax.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/tex2jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/tex2jax.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/tex2jax.js diff --git a/qt/aqt_data/web/mathjax/extensions/toMathML.js b/qt/aqt_data/web/js/vendor/mathjax/extensions/toMathML.js similarity index 100% rename from qt/aqt_data/web/mathjax/extensions/toMathML.js rename to qt/aqt_data/web/js/vendor/mathjax/extensions/toMathML.js diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff diff --git a/qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff b/qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff similarity index 100% rename from qt/aqt_data/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff rename to qt/aqt_data/web/js/vendor/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/jax.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/jax.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/jax.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/Arrows.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/Arrows.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/Arrows.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/Arrows.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/CombDiactForSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/CombDiactForSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/CombDiactForSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/CombDiactForSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/Dingbats.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/Dingbats.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/Dingbats.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/Dingbats.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/GeneralPunctuation.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/GeneralPunctuation.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/GeneralPunctuation.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/GeneralPunctuation.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/GeometricShapes.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/GeometricShapes.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/GeometricShapes.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/GeometricShapes.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/GreekAndCoptic.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/GreekAndCoptic.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/GreekAndCoptic.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/GreekAndCoptic.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/Latin1Supplement.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/Latin1Supplement.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/Latin1Supplement.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/Latin1Supplement.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/LetterlikeSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/LetterlikeSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/LetterlikeSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/LetterlikeSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/MathOperators.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MathOperators.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/MathOperators.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MathOperators.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscMathSymbolsA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscMathSymbolsA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscMathSymbolsA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscMathSymbolsA.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscSymbolsAndArrows.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscSymbolsAndArrows.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscSymbolsAndArrows.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscSymbolsAndArrows.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscTechnical.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscTechnical.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/MiscTechnical.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/MiscTechnical.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/SpacingModLetters.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SpacingModLetters.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/SpacingModLetters.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SpacingModLetters.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/SuppMathOperators.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SuppMathOperators.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/SuppMathOperators.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SuppMathOperators.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/SupplementalArrowsA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SupplementalArrowsA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/SupplementalArrowsA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SupplementalArrowsA.js diff --git a/qt/aqt_data/web/mathjax/jax/element/mml/optable/SupplementalArrowsB.js b/qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SupplementalArrowsB.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/element/mml/optable/SupplementalArrowsB.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/element/mml/optable/SupplementalArrowsB.js diff --git a/qt/aqt_data/web/mathjax/jax/input/AsciiMath/config.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/AsciiMath/config.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/AsciiMath/config.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/AsciiMath/config.js diff --git a/qt/aqt_data/web/mathjax/jax/input/AsciiMath/jax.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/AsciiMath/jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/AsciiMath/jax.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/AsciiMath/jax.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/config.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/config.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/config.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/config.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/a.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/a.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/a.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/a.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/b.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/b.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/b.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/b.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/c.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/c.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/c.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/c.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/d.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/d.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/d.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/d.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/e.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/e.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/e.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/e.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/f.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/f.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/f.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/f.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/fr.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/fr.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/fr.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/fr.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/g.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/g.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/g.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/g.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/h.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/h.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/h.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/h.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/i.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/i.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/i.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/i.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/j.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/j.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/j.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/j.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/k.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/k.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/k.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/k.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/l.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/l.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/l.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/l.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/m.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/m.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/m.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/m.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/n.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/n.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/n.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/n.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/o.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/o.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/o.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/o.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/opf.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/opf.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/opf.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/opf.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/p.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/p.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/p.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/p.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/q.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/q.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/q.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/q.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/r.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/r.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/r.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/r.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/s.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/s.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/s.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/s.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/scr.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/scr.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/scr.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/scr.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/t.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/t.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/t.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/t.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/u.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/u.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/u.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/u.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/v.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/v.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/v.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/v.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/w.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/w.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/w.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/w.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/x.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/x.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/x.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/x.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/y.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/y.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/y.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/y.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/entities/z.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/z.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/entities/z.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/entities/z.js diff --git a/qt/aqt_data/web/mathjax/jax/input/MathML/jax.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/MathML/jax.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/MathML/jax.js diff --git a/qt/aqt_data/web/mathjax/jax/input/TeX/config.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/TeX/config.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/TeX/config.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/TeX/config.js diff --git a/qt/aqt_data/web/mathjax/jax/input/TeX/jax.js b/qt/aqt_data/web/js/vendor/mathjax/jax/input/TeX/jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/input/TeX/jax.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/input/TeX/jax.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/maction.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/maction.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/maction.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/maction.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/menclose.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/menclose.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/menclose.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/menclose.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/mglyph.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/mglyph.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/mglyph.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/mglyph.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/ms.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/ms.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/ms.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/ms.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/mtable.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/mtable.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/mtable.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/mtable.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/multiline.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/multiline.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/autoload/multiline.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/autoload/multiline.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/config.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/config.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/config.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/config.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js diff --git a/qt/aqt_data/web/mathjax/jax/output/CommonHTML/jax.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/CommonHTML/jax.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/CommonHTML/jax.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/maction.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/maction.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/maction.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/maction.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/menclose.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/menclose.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/menclose.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/menclose.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/mglyph.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/mglyph.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/mglyph.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/mglyph.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/ms.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/ms.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/ms.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/ms.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/mtable.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/mtable.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/mtable.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/mtable.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/multiline.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/multiline.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/autoload/multiline.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/autoload/multiline.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/config.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/config.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/config.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/config.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/imageFonts.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/imageFonts.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/imageFonts.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/imageFonts.js diff --git a/qt/aqt_data/web/mathjax/jax/output/HTML-CSS/jax.js b/qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/jax.js similarity index 100% rename from qt/aqt_data/web/mathjax/jax/output/HTML-CSS/jax.js rename to qt/aqt_data/web/js/vendor/mathjax/jax/output/HTML-CSS/jax.js diff --git a/qt/aqt_data/web/plot.js b/qt/aqt_data/web/js/vendor/plot.js similarity index 100% rename from qt/aqt_data/web/plot.js rename to qt/aqt_data/web/js/vendor/plot.js diff --git a/qt/aqt_data/web/js/vendor/protobuf.min.js b/qt/aqt_data/web/js/vendor/protobuf.min.js new file mode 100644 index 000000000..cefb63dce --- /dev/null +++ b/qt/aqt_data/web/js/vendor/protobuf.min.js @@ -0,0 +1,8 @@ +/*! + * protobuf.js v6.10.0 (c) 2016, daniel wirtz + * compiled wed, 15 jul 2020 23:34:14 utc + * licensed under the bsd-3-clause license + * see: https://github.com/dcodeio/protobuf.js for details + */ +!function(g){"use strict";var r,e,t,i;r={1:[function(t,i){i.exports=function(t,i){var n=Array(arguments.length-1),s=0,r=2,u=!0;for(;r>2],r=(3&f)<<4,o=1;break;case 1:s[u++]=h[r|f>>4],r=(15&f)<<2,o=2;break;case 2:s[u++]=h[r|f>>6],s[u++]=h[63&f],o=0}8191>4,r=o,s=2;break;case 2:i[n++]=(15&r)<<4|(60&o)>>2,r=o,s=3;break;case 3:i[n++]=(3&r)<<6|o,s=0}}if(1===s)throw Error(c);return n-e},r.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},{}],3:[function(t,i){function a(i,n){"string"==typeof i&&(n=i,i=g);var f=[];function h(t){if("string"!=typeof t){var i=c();if(a.verbose&&console.log("codegen: "+i),i="return "+i,t){for(var n=Object.keys(t),r=Array(n.length+1),e=Array(n.length),s=0;s>>0,n,r);else if(i<11754943508222875e-54)t((e<<31|Math.round(i/1401298464324817e-60))>>>0,n,r);else{var s=Math.floor(Math.log(i)/Math.LN2);t((e<<31|127+s<<23|8388607&Math.round(i*Math.pow(2,-s)*8388608))>>>0,n,r)}}function n(t,i,n){var r=t(i,n),e=2*(r>>31)+1,s=r>>>23&255,u=8388607&r;return 255==s?u?NaN:1/0*e:0==s?1401298464324817e-60*e*u:e*Math.pow(2,s-150)*(8388608+u)}function r(t,i,n){o[0]=t,i[n]=f[0],i[n+1]=f[1],i[n+2]=f[2],i[n+3]=f[3]}function e(t,i,n){o[0]=t,i[n]=f[3],i[n+1]=f[2],i[n+2]=f[1],i[n+3]=f[0]}function s(t,i){return f[0]=t[i],f[1]=t[i+1],f[2]=t[i+2],f[3]=t[i+3],o[0]}function u(t,i){return f[3]=t[i],f[2]=t[i+1],f[1]=t[i+2],f[0]=t[i+3],o[0]}var o,f,h,c,a,l;function v(t,i,n,r,e,s){var u=r<0?1:0;if(u&&(r=-r),0===r)t(0,e,s+i),t(0<1/r?0:2147483648,e,s+n);else if(isNaN(r))t(0,e,s+i),t(2146959360,e,s+n);else if(17976931348623157e292>>0,e,s+n);else{var o;if(r<22250738585072014e-324)t((o=r/5e-324)>>>0,e,s+i),t((u<<31|o/4294967296)>>>0,e,s+n);else{var f=Math.floor(Math.log(r)/Math.LN2);1024===f&&(f=1023),t(4503599627370496*(o=r*Math.pow(2,-f))>>>0,e,s+i),t((u<<31|f+1023<<20|1048576*o&1048575)>>>0,e,s+n)}}}function d(t,i,n,r,e){var s=t(r,e+i),u=t(r,e+n),o=2*(u>>31)+1,f=u>>>20&2047,h=4294967296*(1048575&u)+s;return 2047==f?h?NaN:1/0*o:0==f?5e-324*o*h:o*Math.pow(2,f-1075)*(h+4503599627370496)}function b(t,i,n){c[0]=t,i[n]=a[0],i[n+1]=a[1],i[n+2]=a[2],i[n+3]=a[3],i[n+4]=a[4],i[n+5]=a[5],i[n+6]=a[6],i[n+7]=a[7]}function y(t,i,n){c[0]=t,i[n]=a[7],i[n+1]=a[6],i[n+2]=a[5],i[n+3]=a[4],i[n+4]=a[3],i[n+5]=a[2],i[n+6]=a[1],i[n+7]=a[0]}function p(t,i){return a[0]=t[i],a[1]=t[i+1],a[2]=t[i+2],a[3]=t[i+3],a[4]=t[i+4],a[5]=t[i+5],a[6]=t[i+6],a[7]=t[i+7],c[0]}function m(t,i){return a[7]=t[i],a[6]=t[i+1],a[5]=t[i+2],a[4]=t[i+3],a[3]=t[i+4],a[2]=t[i+5],a[1]=t[i+6],a[0]=t[i+7],c[0]}return"undefined"!=typeof Float32Array?(o=new Float32Array([-0]),f=new Uint8Array(o.buffer),h=128===f[3],t.writeFloatLE=h?r:e,t.writeFloatBE=h?e:r,t.readFloatLE=h?s:u,t.readFloatBE=h?u:s):(t.writeFloatLE=i.bind(null,w),t.writeFloatBE=i.bind(null,g),t.readFloatLE=n.bind(null,j),t.readFloatBE=n.bind(null,k)),"undefined"!=typeof Float64Array?(c=new Float64Array([-0]),a=new Uint8Array(c.buffer),l=128===a[7],t.writeDoubleLE=l?b:y,t.writeDoubleBE=l?y:b,t.readDoubleLE=l?p:m,t.readDoubleBE=l?m:p):(t.writeDoubleLE=v.bind(null,w,0,4),t.writeDoubleBE=v.bind(null,g,4,0),t.readDoubleLE=d.bind(null,j,0,4),t.readDoubleBE=d.bind(null,k,4,0)),t}function w(t,i,n){i[n]=255&t,i[n+1]=t>>>8&255,i[n+2]=t>>>16&255,i[n+3]=t>>>24}function g(t,i,n){i[n]=t>>>24,i[n+1]=t>>>16&255,i[n+2]=t>>>8&255,i[n+3]=255&t}function j(t,i){return(t[i]|t[i+1]<<8|t[i+2]<<16|t[i+3]<<24)>>>0}function k(t,i){return(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0}i.exports=n(n)},{}],7:[function(t,i,n){function r(t){try{var i=eval("require")(t);if(i&&(i.length||Object.keys(i).length))return i}catch(t){}return null}i.exports=r},{}],8:[function(t,i,n){var r=n,s=r.isAbsolute=function(t){return/^(?:\/|\w+:)/.test(t)},e=r.normalize=function(t){var i=(t=t.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),n=s(t),r="";n&&(r=i.shift()+"/");for(var e=0;e>>1,u=null,o=e;return function(t){if(t<1||s>10),s[u++]=56320+(1023&r)):s[u++]=(15&r)<<12|(63&t[i++])<<6|63&t[i++],8191>6|192:(55296==(64512&r)&&56320==(64512&(e=t.charCodeAt(u+1)))?(r=65536+((1023&r)<<10)+(1023&e),++u,i[n++]=r>>18|240,i[n++]=r>>12&63|128):i[n++]=r>>12|224,i[n++]=r>>6&63|128),i[n++]=63&r|128);return n-s}},{}],11:[function(t,i,n){var r=n,l=t(14),v=t(33);function u(t,i,n,r){if(i.resolvedType)if(i.resolvedType instanceof l){t("switch(d%s){",r);for(var e=i.resolvedType.values,s=Object.keys(e),u=0;u>>0",r,r);break;case"int32":case"sint32":case"sfixed32":t("m%s=d%s|0",r,r);break;case"uint64":o=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":t("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",r,r,o)('else if(typeof d%s==="string")',r)("m%s=parseInt(d%s,10)",r,r)('else if(typeof d%s==="number")',r)("m%s=d%s",r,r)('else if(typeof d%s==="object")',r)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",r,r,r,o?"true":"");break;case"bytes":t('if(typeof d%s==="string")',r)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",r,r,r)("else if(d%s.length)",r)("m%s=d%s",r,r);break;case"string":t("m%s=String(d%s)",r,r);break;case"bool":t("m%s=Boolean(d%s)",r,r)}}return t}function d(t,i,n,r){if(i.resolvedType)i.resolvedType instanceof l?t("d%s=o.enums===String?types[%i].values[m%s]:m%s",r,n,r,r):t("d%s=types[%i].toObject(m%s,o)",r,n,r);else{var e=!1;switch(i.type){case"double":case"float":t("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",r,r,r,r);break;case"uint64":e=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":t('if(typeof m%s==="number")',r)("d%s=o.longs===String?String(m%s):m%s",r,r,r)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",r,r,r,r,e?"true":"",r);break;case"bytes":t("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",r,r,r,r,r);break;default:t("d%s=m%s",r,r)}}return t}r.fromObject=function(t){var i=t.fieldsArray,n=v.codegen(["d"],t.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!i.length)return n("return new this.ctor");n("var m=new this.ctor");for(var r=0;r>>3){");for(var n=0;n>>3){")("case 1: k=r.%s(); break",r.keyType)("case 2:"),f.basic[e]===g?i("value=types[%i].decode(r,r.uint32())",n):i("value=r.%s()",e),i("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),f.long[r.keyType]!==g?i('%s[typeof k==="object"?util.longToHash(k):k]=value',s):i("%s[k]=value",s)):r.repeated?(i("if(!(%s&&%s.length))",s,s)("%s=[]",s),f.packed[e]!==g&&i("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos>>0,8|c.mapKey[s.keyType],s.keyType),f===g?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",u,i):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|f,o,i),n("}")("}")):s.repeated?(n("if(%s!=null&&%s.length){",i,i),s.packed&&c.packed[o]!==g?n("w.uint32(%i).fork()",(s.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",i)("w.%s(%s[i])",o,i)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",i),f===g?l(n,s,u,i+"[i]"):n("w.uint32(%i).%s(%s[i])",(s.id<<3|f)>>>0,o,i)),n("}")):(s.optional&&n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",i,s.name),f===g?l(n,s,u,i):n("w.uint32(%i).%s(%s)",(s.id<<3|f)>>>0,o,i))}return n("return w")};var h=t(14),c=t(32),a=t(33);function l(t,i,n,r){return i.resolvedType.group?t("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",n,r,(i.id<<3|3)>>>0,(i.id<<3|4)>>>0):t("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",n,r,(i.id<<3|2)>>>0)}},{14:14,32:32,33:33}],14:[function(t,i){i.exports=e;var o=t(22);((e.prototype=Object.create(o.prototype)).constructor=e).className="Enum";var n=t(21),r=t(33);function e(t,i,n,r,e){if(o.call(this,t,n),i&&"object"!=typeof i)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=r,this.comments=e||{},this.reserved=g,i)for(var s=Object.keys(i),u=0;ui)return!0;return!1},h.isReservedName=function(t,i){if(t)for(var n=0;n "+t.len)}function o(t){this.buf=t,this.pos=0,this.len=t.length}function f(){return r.Buffer?function(t){return(o.create=function(t){return r.Buffer.isBuffer(t)?new n(t):c(t)})(t)}:c}var h,c="undefined"!=typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new o(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new o(t);throw Error("illegal buffer")};function a(){var t=new e(0,0),i=0;if(!(4=this.len)throw u(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*i)>>>0,t}for(;i<4;++i)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(i=0,4>>0,this.buf[this.pos++]<128)return t}else for(;i<5;++i){if(this.pos>=this.len)throw u(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*i+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function l(t,i){return(t[i-4]|t[i-3]<<8|t[i-2]<<16|t[i-1]<<24)>>>0}function v(){if(this.pos+8>this.len)throw u(this,8);return new e(l(this.buf,this.pos+=4),l(this.buf,this.pos+=4))}o.create=f(),o.prototype.f=r.Array.prototype.subarray||r.Array.prototype.slice,o.prototype.uint32=(h=4294967295,function(){if(h=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return h;if(h=(h|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return h;if(h=(h|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return h;if(h=(h|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return h;if(h=(h|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return h;if((this.pos+=5)>this.len)throw this.pos=this.len,u(this,10);return h}),o.prototype.int32=function(){return 0|this.uint32()},o.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},o.prototype.bool=function(){return 0!==this.uint32()},o.prototype.fixed32=function(){if(this.pos+4>this.len)throw u(this,4);return l(this.buf,this.pos+=4)},o.prototype.sfixed32=function(){if(this.pos+4>this.len)throw u(this,4);return 0|l(this.buf,this.pos+=4)},o.prototype.float=function(){if(this.pos+4>this.len)throw u(this,4);var t=r.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},o.prototype.double=function(){if(this.pos+8>this.len)throw u(this,4);var t=r.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},o.prototype.bytes=function(){var t=this.uint32(),i=this.pos,n=this.pos+t;if(n>this.len)throw u(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(i,n):i===n?new this.buf.constructor(0):this.f.call(this.buf,i,n)},o.prototype.string=function(){var t=this.bytes();return s.read(t,0,t.length)},o.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw u(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw u(this)}while(128&this.buf[this.pos++]);return this},o.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},o.r=function(t){n=t,o.create=f(),n.r();var i=r.Long?"toLong":"toNumber";r.merge(o.prototype,{int64:function(){return a.call(this)[i](!1)},uint64:function(){return a.call(this)[i](!0)},sint64:function(){return a.call(this).zzDecode()[i](!1)},fixed64:function(){return v.call(this)[i](!0)},sfixed64:function(){return v.call(this)[i](!1)}})}},{35:35}],25:[function(t,i){i.exports=e;var n=t(24);(e.prototype=Object.create(n.prototype)).constructor=e;var r=t(35);function e(t){n.call(this,t)}e.r=function(){r.Buffer&&(e.prototype.f=r.Buffer.prototype.slice)},e.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len))},e.r()},{24:24,35:35}],26:[function(t,i){i.exports=n;var r=t(21);((n.prototype=Object.create(r.prototype)).constructor=n).className="Root";var e,v,d,s=t(15),u=t(14),o=t(23),b=t(33);function n(t){r.call(this,"",t),this.deferred=[],this.files=[]}function y(){}n.fromJSON=function(t,i){return i=i||new n,t.options&&i.setOptions(t.options),i.addJSON(t.nested)},n.prototype.resolvePath=b.path.resolve,n.prototype.fetch=b.fetch,n.prototype.load=function t(i,s,e){"function"==typeof s&&(e=s,s=g);var u=this;if(!e)return b.asPromise(t,u,i,s);var o=e===y;function f(t,i){if(e){var n=e;if(e=null,o)throw t;n(t,i)}}function h(t){var i=t.lastIndexOf("google/protobuf/");if(-1>>0,this.hi=i>>>0}var s=e.zero=new e(0,0);s.toNumber=function(){return 0},s.zzEncode=s.zzDecode=function(){return this},s.length=function(){return 1};var r=e.zeroHash="\0\0\0\0\0\0\0\0";e.fromNumber=function(t){if(0===t)return s;var i=t<0;i&&(t=-t);var n=t>>>0,r=(t-n)/4294967296>>>0;return i&&(r=~r>>>0,n=~n>>>0,4294967295<++n&&(n=0,4294967295<++r&&(r=0))),new e(n,r)},e.from=function(t){if("number"==typeof t)return e.fromNumber(t);if(n.isString(t)){if(!n.Long)return e.fromNumber(parseInt(t,10));t=n.Long.fromString(t)}return t.low||t.high?new e(t.low>>>0,t.high>>>0):s},e.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var i=1+~this.lo>>>0,n=~this.hi>>>0;return i||(n=n+1>>>0),-(i+4294967296*n)}return this.lo+4294967296*this.hi},e.prototype.toLong=function(t){return n.Long?new n.Long(0|this.lo,0|this.hi,!!t):{low:0|this.lo,high:0|this.hi,unsigned:!!t}};var u=String.prototype.charCodeAt;e.fromHash=function(t){return t===r?s:new e((u.call(t,0)|u.call(t,1)<<8|u.call(t,2)<<16|u.call(t,3)<<24)>>>0,(u.call(t,4)|u.call(t,5)<<8|u.call(t,6)<<16|u.call(t,7)<<24)>>>0)},e.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},e.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},e.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},e.prototype.length=function(){var t=this.lo,i=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0==n?0==i?t<16384?t<128?1:2:t<2097152?3:4:i<16384?i<128?5:6:i<2097152?7:8:n<128?9:10}},{35:35}],35:[function(t,i,n){var r=n;function e(t,i,n){for(var r=Object.keys(i),e=0;e>>7|t.hi<<25)>>>0,t.hi>>>=7;for(;127>>7;i[n++]=t.lo}function b(t,i,n){i[n]=255&t,i[n+1]=t>>>8&255,i[n+2]=t>>>16&255,i[n+3]=t>>>24}c.create=a(),c.alloc=function(t){return new r.Array(t)},r.Array!==Array&&(c.alloc=r.pool(c.alloc,r.Array.prototype.subarray)),c.prototype.y=function(t,i,n){return this.tail=this.tail.next=new o(t,i,n),this.len+=i,this},(v.prototype=Object.create(o.prototype)).fn=function(t,i,n){for(;127>>=7;i[n]=t},c.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new v((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this},c.prototype.int32=function(t){return t<0?this.y(d,10,e.fromNumber(t)):this.uint32(t)},c.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},c.prototype.int64=c.prototype.uint64=function(t){var i=e.from(t);return this.y(d,i.length(),i)},c.prototype.sint64=function(t){var i=e.from(t).zzEncode();return this.y(d,i.length(),i)},c.prototype.bool=function(t){return this.y(l,1,t?1:0)},c.prototype.sfixed32=c.prototype.fixed32=function(t){return this.y(b,4,t>>>0)},c.prototype.sfixed64=c.prototype.fixed64=function(t){var i=e.from(t);return this.y(b,4,i.lo).y(b,4,i.hi)},c.prototype.float=function(t){return this.y(r.float.writeFloatLE,4,t)},c.prototype.double=function(t){return this.y(r.float.writeDoubleLE,8,t)};var y=r.Array.prototype.set?function(t,i,n){i.set(t,n)}:function(t,i,n){for(var r=0;r>>0;if(!i)return this.y(l,1,0);if(r.isString(t)){var n=c.alloc(i=s.length(t));s.decode(t,n,0),t=n}return this.uint32(i).y(y,i,t)},c.prototype.string=function(t){var i=u.length(t);return i?this.uint32(i).y(u.write,i,t):this.y(l,1,0)},c.prototype.fork=function(){return this.states=new h(this),this.head=this.tail=new o(f,0,0),this.len=0,this},c.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new o(f,0,0),this.len=0),this},c.prototype.ldelim=function(){var t=this.head,i=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=t.next,this.tail=i,this.len+=n),this},c.prototype.finish=function(){for(var t=this.head.next,i=this.constructor.alloc(this.len),n=0;t;)t.fn(t.val,i,n),n+=t.len,t=t.next;return i},c.r=function(t){n=t,c.create=a(),n.r()}},{35:35}],39:[function(t,i){i.exports=e;var n=t(38);(e.prototype=Object.create(n.prototype)).constructor=e;var r=t(35);function e(){n.call(this)}function s(t,i,n){t.length<40?r.utf8.write(t,i,n):i.utf8Write?i.utf8Write(t,n):i.write(t,n)}e.r=function(){e.alloc=r.b,e.writeBytesBuffer=r.Buffer&&r.Buffer.prototype instanceof Uint8Array&&"set"===r.Buffer.prototype.set.name?function(t,i,n){i.set(t,n)}:function(t,i,n){if(t.copy)t.copy(i,n,0,t.length);else for(var r=0;r>>0;return this.uint32(i),i&&this.y(e.writeBytesBuffer,i,t),this},e.prototype.string=function(t){var i=r.Buffer.byteLength(t);return this.uint32(i),i&&this.y(s,i,t),this},e.r()},{35:35,38:38}]},e={},t=[16],i=function t(i){var n=e[i];return n||r[i][0].call(n=e[i]={exports:{}},t,n,n.exports),n.exports}(t[0]),i.util.global.protobuf=i,"function"==typeof define&&define.amd&&define(["long"],function(t){return t&&t.isLong&&(i.util.Long=t,i.configure()),i}),"object"==typeof module&&module&&module.exports&&(module.exports=i)}(); +//# sourceMappingURL=protobuf.min.js.map diff --git a/qt/ts/src/webview.ts b/qt/aqt_data/web/js/webview.ts similarity index 100% rename from qt/ts/src/webview.ts rename to qt/aqt_data/web/js/webview.ts diff --git a/qt/aqt_data/web/pages/BUILD.bazel b/qt/aqt_data/web/pages/BUILD.bazel new file mode 100644 index 000000000..5e3ee0965 --- /dev/null +++ b/qt/aqt_data/web/pages/BUILD.bazel @@ -0,0 +1,29 @@ +load("defs.bzl", "copy_page") + +copy_page( + name = "graphs_page", + srcs = [ + "graphs.css", + "graphs.html", + "graphs.js", + ], + package = "//ts/graphs", +) + +copy_page( + name = "congrats_page", + srcs = [ + "congrats.html", + "congrats.js", + ], + package = "//ts/congrats", +) + +filegroup( + name = "pages", + srcs = [ + "congrats_page", + "graphs_page", + ], + visibility = ["//qt:__subpackages__"], +) diff --git a/qt/aqt_data/web/pages/defs.bzl b/qt/aqt_data/web/pages/defs.bzl new file mode 100644 index 000000000..8f2668ba2 --- /dev/null +++ b/qt/aqt_data/web/pages/defs.bzl @@ -0,0 +1,16 @@ +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") + +def copy_page(name, package, srcs): + outs = [] + for src in srcs: + copy_file( + name = src + "_copy", + src = package + ":" + src, + out = src, + ) + + native.filegroup( + name = name, + srcs = srcs, + visibility = ["//qt:__subpackages__"], + ) diff --git a/qt/designer/icons/media-record.png b/qt/designer/icons/media-record.png deleted file mode 120000 index ff781d925..000000000 --- a/qt/designer/icons/media-record.png +++ /dev/null @@ -1 +0,0 @@ -../../aqt_data/web/imgs/media-record.png \ No newline at end of file diff --git a/qt/mypy.ini b/qt/mypy.ini index a1115908a..d72efe6e8 100644 --- a/qt/mypy.ini +++ b/qt/mypy.ini @@ -46,6 +46,8 @@ ignore_missing_imports = True ignore_missing_imports = True [mypy-PyQt5.sip] ignore_missing_imports = True +[mypy-PyQt5.*] +ignore_errors = True [mypy-win32com.client] ignore_missing_imports = True [mypy-darkdetect] diff --git a/qt/pkgkey.asc b/qt/pkgkey.asc deleted file mode 100644 index 5cebf024f..000000000 --- a/qt/pkgkey.asc +++ /dev/null @@ -1,72 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBFueX68BEAClpx+Szt1cSTWJTCTpn9E+tGhYUKVpj1O4KGAj7qYKs651LPOA -en1Ng0MoK4Avq4zW3PpXxtp14q+CBpEP3AE3omJkKD42cmBvxqdMNiWnFZUbRal8 -L7LrkVFVV/C1Cq7pJR5xAORc2GCKKTE6Ybqdqj2lQKwZEJpM+GQPQqSUQjWpmO2n -YQ8OSftr58Nqm5N2j2i2BHvchpOUtoN4L5qlYtkPBFltBDVOKglnQE4N9pZjBX76 -D2Q4/6khfIx1kJ3xt8b30cPlDMATdnB6bDUr17vsofhPIY1N07ztyDLl2PyeeqVa -IrJEh9XvhwnN5RqM10PZDSEDVGLk4Mkbu5dwsbvXbdMrLbAaWoBDEmloVmM+rw+t -g76ldYu2FIxIVHDdgqJWSw5+JTQk+GlAwxAve3yluxvWrxKR1kG66XB8rX0G47Qd -DLmnj9PISi5rRJzQXTrIG93aKKBqz6vMS1n9V3BhEKSzJ2zH6Nhog/SIwFqfSvNL -+vJLmjPlOdVL4cBSa7EltOGevkeU5DCTV0PNz78TpBMTaduKxFyFfepyxkYrFrjR -hKR2HLFD0jecw36UoCETJm5/VbYE312qqWJxuuvsWtaU2I6SRv8rTRJ7prlo5zI1 -6pfUk3QCt1zDZC3v3NszhYIhLBIVv72iVo3DEbuqOyjGJnF1IOUv6XRvbwARAQAB -tCFBbmtpIFNpZ25hdHVyZXMgPGdwZ0Bhbmtpd2ViLm5ldD6JAk4EEwEKADgWIQSB -TqTpDDSvOacS3nA/VWai0WiZ+wUCW55frwIbAQULCQgHAwUVCgkICwUWAgMBAAIe -AQIXgAAKCRA/VWai0WiZ+yM6EACLvzNwwgXVE6KA9NA+Xn9z/5CEy894gNUXBdyP -x2peUZmvqZYJsWrq1EdwvyNPVnfxerzRPzzO1/+UFs9lyrVJBOIXRe790xUDEAOt -d67eIHk0/mwR8HA4EzBM3VhK90DzfdVl8CGjn7QMcgXZk8qp9ogSh4qoPq9slXjs -Ay8pdDKBQthR3jFoAX8tX8x3vrQPBFIA1xRX0Pr9w6CTR7lto0HTP1o4weB2AFVM -cshUnPWv7UkJsKDgsS0JpK46AS1y0z8TgGqZxPiXyiSw+r+uBOu5243ujfFKHfsR -26h23BO+9niHKIMkThTlYweUj0pqqcS9dZ1RBFFtW5/0+c/WA7Jg59XELg34jbvr -DJjW0kXkvH3TP0rxDNlzQivh48PTHovng/m0Ah6XoW6APBK04xTOPPsW8mILolwi -PYcd3frQx2gYCKiUDgXhn/0pHy35Qf2UMCpWMljNF3uaoeBDmRjmhaUDnldDWeYo -pg48bwe4utKeJK9mIl1tg24jOiZPWB7Yg5UOSa9qG9Z8O/Vvgmi9z4ujp4g37jUZ -PGAlsEagVUAenVbNpS07X2KtGuP3CKc1akN9I4YArH604lB6rJYVl7c1mZw6YZf1 -lDuFs+sorr+Qh6ivBvhCOZwC+cAfUHXm0Td6mBsnnCJl3Pe0w49x2ODdabjyM/d+ -19lNz4hdBBMRCgAdFiEErE89EK5NqyDOk9jPuclDRDSScSsFAlufSloACgkQuclD -RDSScStmmgCfZBxtwxhNHKDdSVbMUlFmPq3Ww5gAn1A0OzZEPJkj+gdq0bWbEePA -Na/+iQEzBBMBCgAdFiEE5As5X+DAzGQR/QaHdD/TCLkKzHEFAlufSu4ACgkQdD/T -CLkKzHH2HwgAj9jcRBL3Rsu4r7ZifbAPOlB/zQLos5Hmt70DzheWpU6hMcxkgnAs -CB3gutZAQ36yKgBzOFWDfo5X3ivhAm23VXkFKswgHmA1DLypmFPh2rm/Sh3G9khr -oogQmwErZRLNJ7QY9Q3sIxaSvZArWSRaysSaVG9CiSq+N4yXnhETS8uieWV9k+qk -Rs1eaJCjOYPgaxQXXL18RgkzuDKuSqmWW0AvmVNaAsX27diAxqcVysGyoJIqA4Dw -VaMJU+hSZZSryKTLWHZpGMMLLjt5oLyW3y1HvopVAuGRrAXLzqgvLv/WSXHWfSrL -l+VeP2jDU3mF43BtjGRMrVgAf0DGH1zg57kCDQRbnmAYARAAsvvWoYPy13YFqOsR -sgaJ1sW6hyGGOjhlHcfcc++CgYwowQ8jn0ZkYdcDs+zbJI8+BUCdVgO8kpJFVlmC -vpBeO0bKoqc63W6NIG7qrhgDoODO3J3CV4LJm5ipj9tcuXCW2o7GzrgJMaps8NQK -aUywSwZcV15aERrw9viHEPUHHAQkKBANv/cJ+YWD1SOZyI978yER0/qdby8cnLp+ -vwzRo+OB3ubZL3iFKKd716eSOJQOO1XbxsfF9RagFmGn8lq4tii9nU9c7BS3ajC3 -FJNNsNphe7DezAeV7IZZrmcSTl+h3n045yRJjisxqG74dSqJ8aIkuQvCTRn8MhIL -ulgX3W0Bl4xLkRDhskIOdO8d2h8nOzoNJ2yDrJp1JHEG6G3J3ZsQ1H1uhVCwvFAM -SMBo0kfnBfgsu7qyb3Lu5wOJ4Kh8+DZlgUnV8k/Gy21nvqjHCB4to/XSt5ZxWyBs -myZTxbA3w4zmkKhIdXBXEHT1+giM2n/xA7vnAUHYdGcRUza3fKXZFoBe3sOp2f6y -iF0kkO75Vkbshew8LymowU7eioiNLjIhVeOw0ICJVdHTreAFvkPo5e1N3z7Bov1E -fqLZA1p7sUJ68sNrIo3UNeADsy5YfTsSB/2zxHi1WEbhcGA2fICJfhNCOjrFKTqR -Sb+9EdKZj3Yl5fVRaMwYtqC2IKMAEQEAAYkEbAQYAQoAIBYhBIFOpOkMNK85pxLe -cD9VZqLRaJn7BQJbnmAYAhsCAkAJED9VZqLRaJn7wXQgBBkBCgAdFiEEHKk0tAuE -9EgxbOL8wKNRl5s347kFAlueYBgACgkQwKNRl5s347lE/A/+Mxd1Cf8aRkE8Pq8m -qAnMPNsuA0TpBxP7NMqi9VLpcQNU8fP5b2/7GPcz/bBsryGqQ0PxF/unHJh7Ei7V -GM6lYKkboWQNRC8jgRgwGxmoRMQZHocKojPlAPqJ9RiiGM6Hj6QP1oyYGp596osP -HW2FF8fNnoFFaghRVJmpNBnkUlRZhJDoJQmzQlSnbZlnphGMe4J6Eioj1dwoDPow -aBOXdWbo7j6VXvVjz3WpQ1InHuYEW3/rkuuTaxsiyq0/Kn1MT6G1uDrg9BczUDSF -txRoVzE3oR6gp+XfVSyfGQOeSXIi9pAENM0nsxLDf2mTqDFZGpP2Ja9T8RPJB2mh -wdfIfHWQu8+Yywmmbb/BA4ebF0zlGx7NWTc12NYqe+bMlHvZSacm6PVkg6ob6DtD -PAZbYg8oqzi7Mz4m3Z5lTRrTP5bul2Mx18XZH0gnKPHkFuSgSTh+0zVQi/OL8gED -63dbH+AHavua4ORhPXaOvcyGCzqoOMY3NXkYegB0lfj5uv71DzJWniabDfwMAC7T -O2rnhPk+iss2dCIpTFI6EqFL0BgFXpAV07nTCVyAYkrXnwlBusqc1TdZt8cVGoww -lD284T9WhDsuFST7iDpZWW4LyqsPlW/TMkHFtHfYnR+Ta1SgFCE3CVNhiym9x+BD -T51zPo1vfCMlz7yXCXTRaZ5eRJb3Bw/8DF5LwrFDMMuzHaEJCQGue9N4+ls+zc6J -EzKZNToerXWrn4S+dvu/1ZMscb8g9Cq5CqJ5ZxOgu0nitbskbrY9UvfVBUIRBfdV -m8c3ZO7LES5glVxF3zc1wouCwbTBFMb+sufukeGyIs62crDS6jwhIoKUPZcLOv9o -HVHo2pjymwy8lKqI3TH+uyCl8xxVmUTfSonmJXmZU00AOc3fVI6E7pmniqXywgHF -xSHTg3OiAzpd19jR611rX1shHvh1NFjTj4eeOduOCSbyempFJIIYf2uBxF5Q0uJ6 -YK1/bKWIxdJG/qsxTW1duE1Jf+uHs2LTMwNp7HgSQhVHywPK4uJnL6aZFOjLYXBP -8V9qJpBTQJfepCCuWZaeL6FV98cldKh3Eb6nEQbZVTN54RGDPYUH+diveZZVtbgD -kfRcIp1XBi092REpDGyrA5FA2UQA2dj4aNu+ml1QLdb0GxECAdRoXpIpYHDxOv4s -QXQZMF1O0bJmvUHaorqRD50K8L2B43yLspINbcv4+fuSHkq0mRaGQw6AVZiG9yO+ -LYosc0PWkifPjGAsAZieN/Cm0oYnzkn2LOD3ugR0OivAvocPVPEO2xOlMV5hTUOv -ebKxn40Zl7dNp/ZWjP3EMEXYB6K+Ol9uLXc5msvT8bw98xlCYMnuj0r3EBxcLN+T -8ZZrlhWMCzg= -=clm/ ------END PGP PUBLIC KEY BLOCK----- diff --git a/qt/pyproject.toml b/qt/pyproject.toml deleted file mode 100644 index 754ed04e1..000000000 --- a/qt/pyproject.toml +++ /dev/null @@ -1,4 +0,0 @@ -[build-system] -# Minimum requirements for the build system to execute. -# https://stackoverflow.com/questions/48048745/setup-py-require-a-recent-version-of-setuptools-before-trying-to-install -requires = ["setuptools", "wheel"] diff --git a/qt/runanki b/qt/runanki deleted file mode 100755 index 7d2123937..000000000 --- a/qt/runanki +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env python3 - -import aqt -aqt.run() diff --git a/qt/runanki.py b/qt/runanki.py new file mode 100644 index 000000000..9d8ab01c5 --- /dev/null +++ b/qt/runanki.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python3 + +import os +import sys + +def fix_pywin32_in_bazel(): + if sys.platform != "win32": + return + if "BAZEL_SH" not in os.environ: + return + + import imp + + # get path to pywin32 package + path = None + for path in sys.path: + if "pywin32" in path: + break + + # trigger pywin32 bootstrap + import site + site.addsitedir(path) + + # sys.path has been extended; use final + # path to locate dll folder and add it to path + path = sys.path[-1] + path = path.replace("Pythonwin", "pywin32_system32") + os.environ["PATH"] += ";" + path + + # import pythoncom module + filename = os.path.join(path, "pythoncom38.dll") + mod = imp.load_module("pythoncom", None, filename, + ('.dll', 'rb', imp.C_EXTENSION)) + + +def fix_extraneous_path_in_bazel(): + # source folder conflicts with bazel-out source + if sys.path[0].endswith("qt"): + del sys.path[0] + +fix_pywin32_in_bazel() +fix_extraneous_path_in_bazel() + +import aqt +aqt.run() diff --git a/qt/tests/run_format.py b/qt/tests/run_format.py new file mode 100644 index 000000000..09ceb7f37 --- /dev/null +++ b/qt/tests/run_format.py @@ -0,0 +1,51 @@ +import os +import subprocess +import sys + +if __name__ == "__main__": + isort_ini = sys.argv[1] + isort_ini = os.path.abspath(isort_ini) + fix = len(sys.argv) > 2 + + if fix: + os.chdir(os.path.join(os.environ["BUILD_WORKSPACE_DIRECTORY"], "qt")) + args = [] + else: + folder = os.path.join(os.path.dirname(__file__), "..") + os.chdir(folder) + args = ["--diff", "--check"] + + retcode = subprocess.run( + [ + sys.executable, + "-m", + "black", + "-t", + "py36", + "--exclude=aqt/forms|buildinfo|colors", + "aqt", + "tests", + "tools", + ] + + args, + check=False, + ).returncode + if retcode != 0: + sys.exit(retcode) + + retcode = subprocess.run( + [ + sys.executable, + "-m", + "isort", + "--settings-path", + isort_ini, + "aqt", + "tests", + "tools", + ] + + args, + check=False, + ).returncode + if retcode != 0: + sys.exit(retcode) diff --git a/qt/tests/run_mypy.py b/qt/tests/run_mypy.py new file mode 100644 index 000000000..0db40fc10 --- /dev/null +++ b/qt/tests/run_mypy.py @@ -0,0 +1,32 @@ +import os +import subprocess +import sys + +if __name__ == "__main__": + (module, ini, pyqt_init) = sys.argv[1:] + ini = os.path.abspath(ini) + pyqt_init = os.path.abspath(pyqt_init) + pyqt_folder = os.path.dirname(pyqt_init) + + folder = os.path.join(os.path.dirname(__file__), "..") + os.chdir(folder) + + if sys.platform.startswith("win32"): + mypy_path = ".;..\\pylib;" + pyqt_folder + else: + mypy_path = ".:../pylib:" + pyqt_folder + + os.environ["MYPYPATH"] = mypy_path + + args = [sys.executable, "-m", "mypy", module, "--config-file", ini] + + if sys.platform.startswith("win32"): + # bazel passes in \\?\c:\... path; mypy can't handle it, so we + # strip off prefix + for entry in sys.path: + if "__mypy_" in entry: + typeshed = entry[4:] + "\\mypy\\typeshed" + args.append("--custom-typeshed-dir") + args.append(typeshed) + + sys.exit(subprocess.run(args, check=False).returncode) diff --git a/qt/tests/run_pylint.py b/qt/tests/run_pylint.py new file mode 100644 index 000000000..c5dde830c --- /dev/null +++ b/qt/tests/run_pylint.py @@ -0,0 +1,36 @@ +import os +import subprocess +import sys + +import PyQt5.QtCore + +if __name__ == "__main__": + (module, ini, pyqt5_file) = sys.argv[1:] + ini = os.path.abspath(ini) + + # pyqt5_dir = os.path.abspath(os.path.join(os.path.dirname(pyqt5_file), "..")) + + # os.environ["PYTHONPATH"] += ":" + pyqt5_dir + # print(pyqt5_dir) + # print(os.listdir(pyqt5_dir)) + # print(os.listdir(pyqt5_dir + "/PyQt5")) + + # print(os.environ["PYTHONPATH"]) + + print(os.listdir(".")) + + sys.exit( + subprocess.run( + [ + sys.executable, + "-m", + "pylint", + "qt/aqt/qt.py", + "--rcfile", + ini, + "--extension-pkg-whitelist=PyQt5", + "-v", + ], + check=False, + ).returncode + ) diff --git a/qt/tests/run_pytest.py b/qt/tests/run_pytest.py new file mode 100644 index 000000000..1d106a419 --- /dev/null +++ b/qt/tests/run_pytest.py @@ -0,0 +1,9 @@ +import os +import sys + +import pytest + +if __name__ == "__main__": + print(os.path.dirname(__file__)) + folder = os.path.join(os.path.dirname(__file__), "..", "tests") + sys.exit(pytest.main(["--verbose", "-s", folder])) diff --git a/qt/tools/anki-wait.bat b/qt/tools/anki-wait.bat deleted file mode 100644 index 0b4f3af5c..000000000 --- a/qt/tools/anki-wait.bat +++ /dev/null @@ -1,4 +0,0 @@ -cd .. -set PYTHONPATH=../lib -python anki -pause diff --git a/qt/tools/extract_scss_colors.py b/qt/tools/extract_sass_colors.py similarity index 61% rename from qt/tools/extract_scss_colors.py rename to qt/tools/extract_sass_colors.py index 00e5230fd..e0d1db8ea 100644 --- a/qt/tools/extract_scss_colors.py +++ b/qt/tools/extract_sass_colors.py @@ -1,18 +1,27 @@ #!/usr/bin/env python3 # -*- coding: UTF-8 -*- -import re import json +import re +import sys + +input_scss = sys.argv[1] +output_py = sys.argv[2] colors = {} -for line in open("../ts/src/scss/_vars.scss"): +for line in open(input_scss): line = line.strip() if not line: continue m = re.match(r"--(.+): (.+);$", line) if not m: - if line != "}" and not ":root" in line: + if ( + line != "}" + and not ":root" in line + and "Copyright" not in line + and "License" not in line + ): print("failed to match", line) continue @@ -21,6 +30,6 @@ for line in open("../ts/src/scss/_vars.scss"): colors.setdefault(var, []).append(val) -with open("aqt/colors.py", "w") as buf: +with open(output_py, "w") as buf: buf.write("# this file is auto-generated from _vars.scss\n") buf.write("colors = " + json.dumps(colors)) diff --git a/qt/tools/genhooks_gui.py b/qt/tools/genhooks_gui.py index 4ea64ed8e..34eebd135 100644 --- a/qt/tools/genhooks_gui.py +++ b/qt/tools/genhooks_gui.py @@ -8,11 +8,25 @@ See pylib/tools/genhooks.py for more info. import os import sys -pylib = os.path.join(os.path.dirname(__file__), "..", "..", "pylib") -sys.path.append(pylib) +from hookslib import Hook, write_file +prefix = """\ +# This file is automatically generated; edit tools/genhooks_gui.py instead. +# Please import from anki.hooks instead of this file. -from tools.hookslib import Hook, update_file +from __future__ import annotations + +from typing import Any, Callable, List, Sequence, Tuple, Optional, Union + +import anki +import aqt +from anki.cards import Card +from anki.decks import Deck, DeckConfig +from anki.hooks import runFilter, runHook +from anki.models import NoteType +from aqt.qt import QDialog, QEvent, QMenu +from aqt.tagedit import TagEdit +""" # Hook list ###################################################################### @@ -777,6 +791,8 @@ gui_hooks.webview_did_inject_style_into_page.append(mytest) ), ] +suffix = "" + if __name__ == "__main__": - path = os.path.join(os.path.dirname(__file__), "..", "aqt", "gui_hooks.py") - update_file(path, hooks) + path = sys.argv[1] + write_file(path, hooks, prefix, suffix) diff --git a/qt/tools/runanki.system.in b/qt/tools/runanki.system.in index 9d39c3bbd..b098984c2 100755 --- a/qt/tools/runanki.system.in +++ b/qt/tools/runanki.system.in @@ -1,7 +1,9 @@ #!/usr/bin/env python3 import sys + sys.path.append("@PREFIX@/share/anki") import aqt + aqt.run() diff --git a/qt/tools/typecheck-setup.sh b/qt/tools/typecheck-setup.sh deleted file mode 100755 index a5a548ec2..000000000 --- a/qt/tools/typecheck-setup.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# -# Anki bundles sip 5 generated typings that allow type checking Qt code when -# installed next to the original modules. Attempting to use them as a separate -# stubs distribution with MYPYPATH yielded a bunch of errors which I was not -# able to resolve. A solution that doesn't require modifying the python install -# would be welcome! - -set -eu -o pipefail ${SHELLFLAGS} - -# https://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash -if [[ -z "${OS+x}" ]]; then - OS=unknown; -fi - -TOOLS="$(cd "`dirname "$0"`"; pwd)" -modDir="$(python -c 'import PyQt5, sys, os; sys.stdout.write(os.path.dirname(sys.modules["PyQt5"].__file__))')" - -# fix broken stubs in pyqt5.15.0 release -(cd "$modDir" && perl -i'' -pe 's/(\s*None) =/$1_ =/' *.pyi && touch py.typed) diff --git a/qt/ts/.gitignore b/qt/ts/.gitignore deleted file mode 100644 index b83e8995b..000000000 --- a/qt/ts/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/css diff --git a/qt/ts/.prettierrc b/qt/ts/.prettierrc deleted file mode 100644 index ef6f4ce45..000000000 --- a/qt/ts/.prettierrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "trailingComma": "es5", - "printWidth": 88, - "tabWidth": 4, - "semi": true -} diff --git a/qt/ts/Makefile b/qt/ts/Makefile deleted file mode 100644 index a18ce4830..000000000 --- a/qt/ts/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -SHELL := /bin/bash - -ifndef SHELLFLAGS - SHELLFLAGS := -endif - -.SHELLFLAGS := -eu -o pipefail ${SHELLFLAGS} -c -MAKEFLAGS += --warn-undefined-variables -MAKEFLAGS += --no-builtin-rules - -ifndef OS - OS := unknown -endif - -.DELETE_ON_ERROR: -.SUFFIXES: - -BIN := ../../ts/node_modules/.bin - -PHONY: all -all: check - -PHONY: build -build: - $(BIN)/tsc --build - $(BIN)/sass --no-source-map -I ../../ts/src/scss scss:css - rsync -a css/ ../aqt_data/web/ - -.PHONY: check -check: - $(BIN)/prettier --check src/*.ts - -.PHONY: fix -fix: - $(BIN)/prettier --write src/*.ts diff --git a/qt/ts/scss/webview.scss b/qt/ts/scss/webview.scss deleted file mode 100644 index fe22c3ea4..000000000 --- a/qt/ts/scss/webview.scss +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright: Ankitects Pty Ltd and contributors - * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ - -@use 'core'; -@use 'buttons'; - -// core.scss sets border-box, but we need to -// keep the old behaviour for now to avoid breaking -// add-ons/card templates -* { - box-sizing: content-box; -} - -body { - margin: 2em; - overscroll-behavior: none; -} - -h1 { - margin-bottom: 0.2em; -} - -body.nightMode { - &::-webkit-scrollbar { - background: var(--window-bg); - - &:horizontal { - height: 12px; - } - - &:vertical { - width: 12px; - } - } - - &::-webkit-scrollbar-thumb { - background: buttons.$fusion-button-hover-bg; - border-radius: 8px; - - &:horizontal { - min-width: 50px; - } - - &:vertical { - min-height: 50px; - } - } -} diff --git a/qt/ts/tsconfig.json b/qt/ts/tsconfig.json deleted file mode 100644 index b5772dfff..000000000 --- a/qt/ts/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "target": "es6", - "module": "commonjs", - "lib": ["es6", "dom"], - "rootDir": "src", - "outDir": "../aqt_data/web", - "typeRoots": ["../../ts/node_modules/@types"], - "strict": true, - /* Enable all strict type-checking options. */ - "noImplicitAny": false, - /* Raise error on expressions and declarations with an implied 'any' type. */ - "strictNullChecks": false, - /* Enable strict null checks. */ - "noImplicitThis": false, - /* Raise error on 'this' expressions with an implied 'any' type. */ - "esModuleInterop": true - } -} diff --git a/rslib/.cargo/config b/rslib/.cargo/config new file mode 100644 index 000000000..70d96612a --- /dev/null +++ b/rslib/.cargo/config @@ -0,0 +1,5 @@ +[profile.release] +#opt-level = 3 +lto = false +incremental = true +codegen-units = 256 diff --git a/rslib/.gitignore b/rslib/.gitignore index 57bd8324a..51613a3d0 100644 --- a/rslib/.gitignore +++ b/rslib/.gitignore @@ -1,4 +1,3 @@ Cargo.lock -src/backend_proto.rs .build target diff --git a/rslib/BUILD.bazel b/rslib/BUILD.bazel new file mode 100644 index 000000000..6552f7502 --- /dev/null +++ b/rslib/BUILD.bazel @@ -0,0 +1,184 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary", "rust_library", "rust_test") +load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") +load(":rustfmt.bzl", "rustfmt_fix", "rustfmt_test") + +# FTL file gathering +####################### + +all_ftl_files = [ + "@rslib_ftl//:files", + "@extra_ftl//:files", +] + glob(["ftl/*.ftl"]) + +genrule( + name = "ftl_files", + srcs = all_ftl_files, + outs = ["ftl_files.list"], + cmd = "echo $(SRCS) > $@", +) + +# Build script +####################### + +cargo_build_script( + name = "build_script", + srcs = glob(["build/*.rs"]), + build_script_env = { + "BACKEND_PROTO": "$(execpath //proto:backend.proto)", + "PROTOC": "$(execpath @com_google_protobuf//:protoc)", + "FTL_FILES": "$(execpath ftl_files.list)", + "BUILDINFO": "$(execpath //:buildinfo.txt)", + }, + crate_root = "build/main.rs", + data = all_ftl_files + [ + "ftl_files.list", + "//proto:backend.proto", + "//:buildinfo.txt", + "@com_google_protobuf//:protoc", + ], + deps = [ + "//cargo:fluent_syntax", + "//cargo:prost_build", + ], +) + +# Library +####################### + +_anki_deps = glob([ + "src/**/*.sql", + "src/**/*.html", + "src/**/*.css", + "src/**/*.tex", +]) + [ + "Cargo.toml", # prevents a warning about num_enum + "//:buildinfo.txt", + "templates/.empty", # required for askama, + # ":mergeftl", + # ":protobuf_gen", +] + +_anki_features = [ + "translations", +] + +rust_library( + name = "anki", + srcs = glob([ + "src/**/*.rs", + ]), + crate_features = _anki_features, + data = _anki_deps, + proc_macro_deps = [ + "//cargo:serde_derive", + "//cargo:serde_repr", + ], + tags = ["manual"], + visibility = ["//visibility:public"], + deps = [ + ":build_script", + "//cargo:askama", + "//cargo:async_compression", + "//cargo:blake3", + "//cargo:bytes", + "//cargo:chrono", + "//cargo:coarsetime", + "//cargo:failure", + "//cargo:flate2", + "//cargo:fluent", + "//cargo:futures", + "//cargo:hex", + "//cargo:htmlescape", + "//cargo:hyper", + "//cargo:intl_memoizer", + "//cargo:itertools", + "//cargo:lazy_static", + "//cargo:nom", + "//cargo:num_enum", + "//cargo:num_format", + "//cargo:num_integer", + "//cargo:once_cell", + "//cargo:pin_project", + "//cargo:prost", + "//cargo:rand", + "//cargo:regex", + "//cargo:reqwest", + "//cargo:rusqlite", + "//cargo:scopeguard", + "//cargo:serde", + "//cargo:serde_aux", + "//cargo:serde_json", + "//cargo:serde_tuple", + "//cargo:sha1", + "//cargo:slog", + "//cargo:slog_async", + "//cargo:slog_envlogger", + "//cargo:slog_term", + "//cargo:tempfile", + "//cargo:tokio", + "//cargo:unic_langid", + "//cargo:unicase", + "//cargo:unicode_normalization", + "//cargo:utime", + "//cargo:zip", + ], +) + +# Tests +####################### + +rust_test( + name = "unit_tests", + crate = ":anki", + crate_features = _anki_features, + data = _anki_deps + glob([ + "tests/support/**", + ]), + deps = ["//cargo:env_logger"], +) + +rustfmt_test( + name = "format", + srcs = glob([ + "src/**/*.rs", + ]), +) + +rustfmt_fix( + name = "format_fix", + srcs = glob([ + "src/**/*.rs", + ]), +) + +# fluent.proto generation +########################### +# This separate step is required to make the file available to downstream consumers. + +rust_binary( + name = "write_fluent_proto", + srcs = [ + "build/mergeftl.rs", + "build/write_fluent_proto.rs", + ], + deps = ["//cargo:fluent_syntax"], +) + +genrule( + name = "fluent_proto", + srcs = all_ftl_files + [ + "ftl_files.list", + ":write_fluent_proto", + "//cargo:fluent_syntax", + ], + outs = ["fluent.proto"], + cmd = "$(location :write_fluent_proto) $(location fluent.proto) $(location ftl_files.list)", + visibility = ["//visibility:public"], +) + +proto_library( + name = "fluent_proto_lib", + srcs = ["fluent.proto"], + visibility = ["//visibility:public"], +) diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index 145ed2493..323a7acab 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -6,6 +6,11 @@ authors = ["Ankitects Pty Ltd and contributors"] license = "AGPL-3.0-or-later" description = "Anki's Rust library code" readme = "README.md" +build = "build/main.rs" + +[lib] +name = "anki" +path = "src/lib.rs" [dependencies] # pinned as any changes could invalidate sqlite indexes @@ -73,9 +78,10 @@ git = "https://github.com/ankitects/reqwest.git" rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" features = ["json", "socks", "stream"] -[build-dependencies] -prost-build = "0.6.1" -fluent-syntax = "0.9.3" [dev-dependencies] env_logger = "0.7.1" + +[build-dependencies] +prost-build = "0.6.1" +fluent-syntax = "0.9.3" diff --git a/rslib/build.rs b/rslib/build.rs deleted file mode 100644 index acc1ed09a..000000000 --- a/rslib/build.rs +++ /dev/null @@ -1,252 +0,0 @@ -use std::fmt::Write; -use std::fs; -use std::path::Path; -use std::process::Command; - -use fluent_syntax::ast::{Entry::Message, ResourceEntry}; -use fluent_syntax::parser::parse; -use std::collections::HashMap; - -fn get_identifiers(ftl_text: &str) -> Vec { - let res = parse(ftl_text).unwrap(); - let mut idents = vec![]; - - for entry in res.body { - if let ResourceEntry::Entry(Message(m)) = entry { - idents.push(m.id.name.to_string()); - } - } - - idents.sort(); - - idents -} - -fn proto_enum(idents: &[String]) -> String { - let mut buf = String::from( - r#"// This file is automatically generated as part of the build process. - -syntax = "proto3"; -package BackendProto; -enum FluentString { -"#, - ); - for (idx, s) in idents.iter().enumerate() { - let name = s.replace("-", "_").to_uppercase(); - buf += &format!(" {} = {};\n", name, idx); - } - - buf += "}\n"; - - buf -} - -fn rust_string_vec(idents: &[String]) -> String { - let mut buf = String::from( - r#"// This file is automatically generated as part of the build process. - -pub(super) const FLUENT_KEYS: &[&str] = &[ -"#, - ); - - for s in idents { - buf += &format!(" \"{}\",\n", s); - } - - buf += "];\n"; - - buf -} - -#[cfg(test)] -mod test { - use crate::i18n::extract_idents::{get_identifiers, proto_enum, rust_string_vec}; - - #[test] - fn all() { - let idents = get_identifiers("key-one = foo\nkey-two = bar"); - assert_eq!(idents, vec!["key-one", "key-two"]); - - assert_eq!( - proto_enum(&idents), - r#"// This file is automatically generated as part of the build process. - -syntax = "proto3"; -package backend_strings; -enum FluentString { - KEY_ONE = 0; - KEY_TWO = 1; -} -"# - ); - - assert_eq!( - rust_string_vec(&idents), - r#"// This file is automatically generated as part of the build process. - -const FLUENT_KEYS: &[&str] = &[ - "key-one", - "key-two", -]; -"# - ); - } -} - -struct CustomGenerator {} - -fn write_method_enum(buf: &mut String, service: &prost_build::Service) { - buf.push_str( - r#" -use num_enum::TryFromPrimitive; -#[derive(PartialEq,TryFromPrimitive)] -#[repr(u32)] -pub enum BackendMethod { -"#, - ); - for (idx, method) in service.methods.iter().enumerate() { - writeln!(buf, " {} = {},", method.proto_name, idx + 1).unwrap(); - } - buf.push_str("}\n\n"); -} - -fn write_method_trait(buf: &mut String, service: &prost_build::Service) { - buf.push_str( - r#" -use prost::Message; -pub type BackendResult = std::result::Result; -pub trait BackendService { - fn run_command_bytes2_inner(&self, method: u32, input: &[u8]) -> std::result::Result, crate::err::AnkiError> { - match method { -"#, - ); - - for (idx, method) in service.methods.iter().enumerate() { - write!( - buf, - concat!(" ", - "{idx} => {{ let input = {input_type}::decode(input)?;\n", - "let output = self.{rust_method}(input)?;\n", - "let mut out_bytes = Vec::new(); output.encode(&mut out_bytes)?; Ok(out_bytes) }}, "), - idx = idx + 1, - input_type = method.input_type, - rust_method = method.name - ) - .unwrap(); - } - buf.push_str( - r#" - _ => Err(crate::err::AnkiError::invalid_input("invalid command")), - } - } -"#, - ); - - for method in &service.methods { - write!( - buf, - concat!( - " fn {method_name}(&self, input: {input_type}) -> ", - "BackendResult<{output_type}>;\n" - ), - method_name = method.name, - input_type = method.input_type, - output_type = method.output_type - ) - .unwrap(); - } - buf.push_str("}\n"); -} - -impl prost_build::ServiceGenerator for CustomGenerator { - fn generate(&mut self, service: prost_build::Service, buf: &mut String) { - write_method_enum(buf, &service); - write_method_trait(buf, &service); - } -} - -fn service_generator() -> Box { - Box::new(CustomGenerator {}) -} - -fn main() -> std::io::Result<()> { - // write template.ftl - let mut buf = String::new(); - let mut ftl_template_dirs = vec!["./ftl".to_string()]; - if let Ok(paths) = std::env::var("FTL_TEMPLATE_DIRS") { - ftl_template_dirs.extend(paths.split(',').map(|s| s.to_string())); - } - for ftl_dir in ftl_template_dirs { - let ftl_dir = Path::new(&ftl_dir); - for entry in fs::read_dir(ftl_dir)? { - let entry = entry?; - let fname = entry.file_name().into_string().unwrap(); - if !fname.ends_with(".ftl") { - continue; - } - let path = entry.path(); - println!("cargo:rerun-if-changed=./ftl/{}", fname); - buf += &fs::read_to_string(path)?; - buf.push('\n'); - } - } - let combined_ftl = Path::new("src/i18n/ftl/template.ftl"); - fs::write(combined_ftl, &buf)?; - - // generate code completion for ftl strings - let idents = get_identifiers(&buf); - let string_proto_path = Path::new("../proto/fluent.proto"); - fs::write(string_proto_path, proto_enum(&idents))?; - let rust_string_path = Path::new("src/i18n/autogen.rs"); - fs::write(rust_string_path, rust_string_vec(&idents))?; - - // output protobuf generated code - println!("cargo:rerun-if-changed=../proto/backend.proto"); - let mut config = prost_build::Config::new(); - config - // we avoid default OUT_DIR for now, as it breaks code completion - .out_dir("src") - .service_generator(service_generator()) - .compile_protos(&["../proto/backend.proto"], &["../proto"]) - .unwrap(); - // rustfmt the protobuf code - let rustfmt = Command::new("rustfmt") - .arg(Path::new("src/backend_proto.rs")) - .status() - .unwrap(); - assert!(rustfmt.success(), "rustfmt backend_proto.rs failed"); - - // write the other language ftl files - let mut ftl_lang_dirs = vec!["./ftl/repo/core".to_string()]; - if let Ok(paths) = std::env::var("FTL_LOCALE_DIRS") { - ftl_lang_dirs.extend(paths.split(',').map(|s| s.to_string())); - } - let mut langs = HashMap::new(); - for ftl_dir in ftl_lang_dirs { - for ftl_dir in fs::read_dir(ftl_dir)? { - let lang_dir = ftl_dir?; - if lang_dir.file_name() == "templates" { - continue; - } - let mut buf = String::new(); - let lang_name = lang_dir.file_name().into_string().unwrap(); - for entry in fs::read_dir(lang_dir.path())? { - let entry = entry?; - let path = entry.path(); - println!("cargo:rerun-if-changed={}", entry.path().to_string_lossy()); - buf += &fs::read_to_string(path)?; - buf.push('\n'); - } - langs - .entry(lang_name) - .or_insert_with(String::new) - .push_str(&buf) - } - } - - for (lang, text) in langs { - fs::write(format!("src/i18n/ftl/{}.ftl", lang), text)?; - } - - Ok(()) -} diff --git a/rslib/build/main.rs b/rslib/build/main.rs new file mode 100644 index 000000000..597d84686 --- /dev/null +++ b/rslib/build/main.rs @@ -0,0 +1,17 @@ +pub mod mergeftl; +pub mod protobuf; + +fn main() { + mergeftl::write_ftl_files_and_fluent_rs(); + protobuf::write_backend_proto_rs(); + + // copy or mock buildinfo in out_dir + let buildinfo = if let Ok(buildinfo) = std::env::var("BUILDINFO") { + std::fs::read_to_string(&buildinfo).expect("buildinfo missing") + } else { + "".to_string() + }; + let buildinfo_out = + std::path::Path::new(&std::env::var("OUT_DIR").unwrap()).join("buildinfo.txt"); + std::fs::write(&buildinfo_out, buildinfo).unwrap(); +} diff --git a/rslib/build/mergeftl.rs b/rslib/build/mergeftl.rs new file mode 100644 index 000000000..1b9552559 --- /dev/null +++ b/rslib/build/mergeftl.rs @@ -0,0 +1,212 @@ +use fluent_syntax::ast::{Entry::Message, ResourceEntry}; +use fluent_syntax::parser::parse; +use std::collections::HashMap; +use std::path::Path; +use std::{fs, path::PathBuf}; + +fn get_identifiers(ftl_text: &str) -> Vec { + let res = parse(ftl_text).unwrap(); + let mut idents = vec![]; + + for entry in res.body { + if let ResourceEntry::Entry(Message(m)) = entry { + idents.push(m.id.name.to_string()); + } + } + + idents.sort_unstable(); + + idents +} + +fn proto_enum(idents: &[String]) -> String { + let mut buf = String::from( + r#"// This file is automatically generated as part of the build process. + +syntax = "proto3"; +package FluentProto; +enum FluentString { +"#, + ); + for (idx, s) in idents.iter().enumerate() { + let name = s.replace("-", "_").to_uppercase(); + buf += &format!(" {} = {};\n", name, idx); + } + + buf += "}\n"; + + buf +} + +fn rust_string_vec(idents: &[String]) -> String { + let mut buf = String::from( + r#"// This file is automatically generated as part of the build process. + +pub(super) const FLUENT_KEYS: &[&str] = &[ +"#, + ); + + for s in idents { + buf += &format!(" \"{}\",\n", s); + } + + buf += "];\n"; + + buf +} + +struct FTLData { + templates: Vec, + /// lang -> [FileContent] + translations: HashMap>, +} + +fn get_ftl_data(ftl_list_path: Option) -> FTLData { + if let Some(path) = ftl_list_path { + let sources = fs::read_to_string(&path).expect("missing ftl list"); + get_ftl_data_from_provided_files(sources) + } else { + get_ftl_data_from_source_tree() + } +} + +/// Extract string of provided files, and read their data. +fn get_ftl_data_from_provided_files(sources: String) -> FTLData { + let mut templates: Vec = vec![]; + let mut translations: HashMap> = HashMap::new(); + + for path in sources.split(' ') { + let path = path.trim(); + let mut elems = path.rsplit('/'); + let (_fname, first_parent, second_parent) = ( + elems.next().unwrap(), + elems.next().unwrap(), + elems.next().unwrap(), + ); + let entry = std::fs::read_to_string(path).unwrap_or_else(|_| { + // try parent folder, for cases when we're running from build script + let path = Path::new("..").join(path); + std::fs::read_to_string(path).unwrap() + }); + match (first_parent, second_parent) { + // templates in the rslib translation repo are ignored, as their canonical + // form is part of this source tree + ("templates", "core") => (), + // templates from this source tree and extra_ftl get merged together + ("ftl", _) => templates.push(entry), + ("templates", _) => templates.push(entry), + // and translations for a given language get merged together + (lang, _) => translations + .entry(lang.to_string()) + .or_default() + .push(entry), + } + } + + FTLData { + templates, + translations, + } +} + +/// Called when no srcs.list file is available; we include the built-in +/// English templates, and no translations. +fn get_ftl_data_from_source_tree() -> FTLData { + let mut templates: Vec = vec![]; + for entry in fs::read_dir("ftl").unwrap() { + let entry = entry.unwrap(); + let fname = entry.file_name().into_string().unwrap(); + if fname.ends_with(".ftl") { + templates.push(fs::read_to_string(entry.path()).unwrap()); + } + } + + FTLData { + templates, + translations: Default::default(), + } +} + +/// Map of lang->content; Template lang is "template". +fn merge_ftl_data(data: FTLData) -> HashMap { + data.translations + .into_iter() + .map(|(lang, content)| (lang, content.join("\n"))) + .chain(std::iter::once(( + "template".to_string(), + data.templates.join("\n"), + ))) + .collect() +} + +fn write_merged_ftl_files(dir: &Path, data: &HashMap) { + for (lang, content) in data { + let path = dir.join(format!("{}.ftl", lang)); + fs::write(&path, content).unwrap(); + } +} + +fn write_fluent_keys_rs(dir: &Path, idents: &[String]) { + let path = dir.join("fluent_keys.rs"); + fs::write(&path, rust_string_vec(idents)).unwrap(); +} + +fn write_fluent_proto_inner(path: &Path, idents: &[String]) { + fs::write(&path, proto_enum(idents)).unwrap(); +} + +/// Write fluent.proto into the provided dir. +/// Can be called separately to provide a proto +/// to downstream code. +pub fn write_fluent_proto(out_path: &str, ftl_list: String) { + let merged_ftl = merge_ftl_data(get_ftl_data(Some(ftl_list))); + let idents = get_identifiers(merged_ftl.get("template").unwrap()); + write_fluent_proto_inner(Path::new(out_path), &idents); +} + +/// Write all ftl-related files into OUT_DIR. +pub fn write_ftl_files_and_fluent_rs() { + let dir = PathBuf::from(std::env::var("OUT_DIR").unwrap()); + let ftl_list = std::env::var("FTL_FILES").ok(); + let merged_ftl = merge_ftl_data(get_ftl_data(ftl_list)); + write_merged_ftl_files(&dir, &merged_ftl); + + let idents = get_identifiers(merged_ftl.get("template").unwrap()); + write_fluent_keys_rs(&dir, &idents); + write_fluent_proto_inner(&dir.join("fluent.proto"), &idents); +} + +#[cfg(test)] +mod test { + use super::*; + + #[test] + fn all() { + let idents = get_identifiers("key-one = foo\nkey-two = bar"); + assert_eq!(idents, vec!["key-one", "key-two"]); + + assert_eq!( + proto_enum(&idents), + r#"// This file is automatically generated as part of the build process. + +syntax = "proto3"; +package backend_strings; +enum FluentString { + KEY_ONE = 0; + KEY_TWO = 1; +} +"# + ); + + assert_eq!( + rust_string_vec(&idents), + r#"// This file is automatically generated as part of the build process. + +const FLUENT_KEYS: &[&str] = &[ + "key-one", + "key-two", +]; +"# + ); + } +} diff --git a/rslib/build/protobuf.rs b/rslib/build/protobuf.rs new file mode 100644 index 000000000..69b5ffaef --- /dev/null +++ b/rslib/build/protobuf.rs @@ -0,0 +1,94 @@ +use std::path::PathBuf; +use std::{env, fmt::Write}; + +struct CustomGenerator {} + +fn write_method_enum(buf: &mut String, service: &prost_build::Service) { + buf.push_str( + r#" +use num_enum::TryFromPrimitive; +#[derive(PartialEq,TryFromPrimitive)] +#[repr(u32)] +pub enum BackendMethod { +"#, + ); + for (idx, method) in service.methods.iter().enumerate() { + writeln!(buf, " {} = {},", method.proto_name, idx + 1).unwrap(); + } + buf.push_str("}\n\n"); +} + +fn write_method_trait(buf: &mut String, service: &prost_build::Service) { + buf.push_str( + r#" +use prost::Message; +pub type BackendResult = std::result::Result; +pub trait BackendService { + fn run_command_bytes2_inner(&self, method: u32, input: &[u8]) -> std::result::Result, crate::err::AnkiError> { + match method { +"#, + ); + + for (idx, method) in service.methods.iter().enumerate() { + write!( + buf, + concat!(" ", + "{idx} => {{ let input = {input_type}::decode(input)?;\n", + "let output = self.{rust_method}(input)?;\n", + "let mut out_bytes = Vec::new(); output.encode(&mut out_bytes)?; Ok(out_bytes) }}, "), + idx = idx + 1, + input_type = method.input_type, + rust_method = method.name + ) + .unwrap(); + } + buf.push_str( + r#" + _ => Err(crate::err::AnkiError::invalid_input("invalid command")), + } + } +"#, + ); + + for method in &service.methods { + write!( + buf, + concat!( + " fn {method_name}(&self, input: {input_type}) -> ", + "BackendResult<{output_type}>;\n" + ), + method_name = method.name, + input_type = method.input_type, + output_type = method.output_type + ) + .unwrap(); + } + buf.push_str("}\n"); +} + +impl prost_build::ServiceGenerator for CustomGenerator { + fn generate(&mut self, service: prost_build::Service, buf: &mut String) { + write_method_enum(buf, &service); + write_method_trait(buf, &service); + } +} + +fn service_generator() -> Box { + Box::new(CustomGenerator {}) +} + +pub fn write_backend_proto_rs() { + let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); + let backend_proto = PathBuf::from( + env::var("BACKEND_PROTO").unwrap_or_else(|_| "../proto/backend.proto".to_string()), + ); + let proto_dir = backend_proto.parent().unwrap().to_owned(); + let fluent_proto = out_dir.join("fluent.proto"); + + let mut config = prost_build::Config::new(); + config + .out_dir(&out_dir) + .service_generator(service_generator()) + .compile_protos(&[&backend_proto, &fluent_proto], &[&proto_dir, &out_dir]) + .unwrap(); +} diff --git a/rslib/build/write_fluent_proto.rs b/rslib/build/write_fluent_proto.rs new file mode 100644 index 000000000..178b19dfd --- /dev/null +++ b/rslib/build/write_fluent_proto.rs @@ -0,0 +1,6 @@ +include!("mergeftl.rs"); + +fn main() { + let args: Vec<_> = std::env::args().collect(); + write_fluent_proto(&args[1], args[2].clone()) +} diff --git a/rslib/rustfmt.bzl b/rslib/rustfmt.bzl new file mode 100644 index 000000000..a140458b8 --- /dev/null +++ b/rslib/rustfmt.bzl @@ -0,0 +1,82 @@ +def _rustfmt_impl(ctx): + toolchain = ctx.toolchains["@io_bazel_rules_rust//rust:toolchain"] + script_name = ctx.label.name + "_script" + rustfmt = toolchain.rustfmt.path + if ctx.attr.is_windows: + script_name += ".bat" + rustfmt = "@" + rustfmt.replace("/", "\\") + script = ctx.actions.declare_file(script_name) + + args = [f.path for f in ctx.files.srcs] + + if ctx.attr.fix: + mode = "--emit files" + else: + mode = "--check" + + ctx.actions.write( + output = script, + content = "{rustfmt} {mode} --edition {edition} {files}".format( + rustfmt = rustfmt, + edition = toolchain.default_edition, + files = " ".join(args), + mode = mode, + ), + ) + + runfiles = ctx.runfiles(files = ctx.files.srcs + [toolchain.rustfmt]) + return [DefaultInfo(runfiles = runfiles, executable = script)] + +_ATTRS = { + "srcs": attr.label_list(allow_files = True), + "is_windows": attr.bool(mandatory = True), + "fix": attr.bool(mandatory = True), +} + +_rustfmt_test = rule( + implementation = _rustfmt_impl, + test = True, + toolchains = [ + "@io_bazel_rules_rust//rust:toolchain", + ], + attrs = _ATTRS, +) + +_rustfmt_fix = rule( + implementation = _rustfmt_impl, + executable = True, + toolchains = [ + "@io_bazel_rules_rust//rust:toolchain", + ], + attrs = _ATTRS, +) + +def rustfmt_test(name, srcs, **kwargs): + _rustfmt_test( + name = name, + srcs = srcs, + testonly = True, + fix = False, + is_windows = select({ + "@bazel_tools//src/conditions:host_windows": True, + "//conditions:default": False, + }), + **kwargs + ) + +def rustfmt_fix(name, srcs, **kwargs): + # don't match //package/... + tags = kwargs.get("tags", []) + tags.append("manual") + + _rustfmt_fix( + name = name, + srcs = srcs, + tags = tags, + fix = True, + is_windows = select({ + "@bazel_tools//src/conditions:host_windows": True, + "//conditions:default": False, + }), + **kwargs + ) diff --git a/rslib/src/backend/mod.rs b/rslib/src/backend/mod.rs index 698d06135..23b124b01 100644 --- a/rslib/src/backend/mod.rs +++ b/rslib/src/backend/mod.rs @@ -1229,7 +1229,7 @@ impl BackendService for Backend { //------------------------------------------------------------------- fn translate_string(&self, input: pb::TranslateStringIn) -> BackendResult { - let key = match pb::FluentString::from_i32(input.key) { + let key = match crate::fluent_proto::FluentString::from_i32(input.key) { Some(key) => key, None => return Ok("invalid key".to_string().into()), }; diff --git a/rslib/src/backend_proto.rs b/rslib/src/backend_proto.rs new file mode 100644 index 000000000..8b00b2e2c --- /dev/null +++ b/rslib/src/backend_proto.rs @@ -0,0 +1 @@ +include!(concat!(env!("OUT_DIR"), "/backend_proto.rs")); diff --git a/rslib/src/fluent_proto.rs b/rslib/src/fluent_proto.rs new file mode 100644 index 000000000..2e436ad28 --- /dev/null +++ b/rslib/src/fluent_proto.rs @@ -0,0 +1 @@ +include!(concat!(env!("OUT_DIR"), "/fluent_proto.rs")); diff --git a/rslib/src/i18n/mod.rs b/rslib/src/i18n.rs similarity index 79% rename from rslib/src/i18n/mod.rs rename to rslib/src/i18n.rs index 97749d905..476bc7ed9 100644 --- a/rslib/src/i18n/mod.rs +++ b/rslib/src/i18n.rs @@ -13,10 +13,9 @@ use std::path::{Path, PathBuf}; use std::sync::{Arc, Mutex}; use unic_langid::LanguageIdentifier; -mod autogen; -use crate::i18n::autogen::FLUENT_KEYS; +include!(concat!(env!("OUT_DIR"), "/fluent_keys.rs")); -pub use crate::backend_proto::FluentString as TR; +pub use crate::fluent_proto::FluentString as TR; pub use fluent::fluent_args as tr_args; /// Helper for creating args with &strs @@ -63,76 +62,93 @@ fn lang_folder(lang: Option<&LanguageIdentifier>, ftl_folder: &Path) -> Option

{ + include_str!(concat!(env!("OUT_DIR"), "/", $fname)) + }; +} + +#[cfg(not(feature = "translations"))] +macro_rules! ftl_path { + ( "template.ftl" ) => { + include_str!(concat!(env!("OUT_DIR"), "/template.ftl")) + }; + ( $fname: expr ) => { + "" // translations not included + }; +} + /// Get the template/English resource text for the given group. /// These are embedded in the binary. fn ftl_template_text() -> &'static str { - include_str!("ftl/template.ftl") + ftl_path!("template.ftl") } fn ftl_localized_text(lang: &LanguageIdentifier) -> Option<&'static str> { Some(match lang.language() { "en" => { match lang.region() { - Some("GB") | Some("AU") => include_str!("ftl/en-GB.ftl"), + Some("GB") | Some("AU") => ftl_path!("en-GB.ftl"), // use fallback language instead _ => return None, } } "zh" => match lang.region() { - Some("TW") | Some("HK") => include_str!("ftl/zh-TW.ftl"), - _ => include_str!("ftl/zh-CN.ftl"), + Some("TW") | Some("HK") => ftl_path!("zh-TW.ftl"), + _ => ftl_path!("zh-CN.ftl"), }, "pt" => { if let Some("PT") = lang.region() { - include_str!("ftl/pt-PT.ftl") + ftl_path!("pt-PT.ftl") } else { - include_str!("ftl/pt-BR.ftl") + ftl_path!("pt-BR.ftl") } } - "ga" => include_str!("ftl/ga-IE.ftl"), - "hy" => include_str!("ftl/hy-AM.ftl"), - "nb" => include_str!("ftl/nb-NO.ftl"), - "sv" => include_str!("ftl/sv-SE.ftl"), - "jbo" => include_str!("ftl/jbo.ftl"), - "kab" => include_str!("ftl/kab.ftl"), - "af" => include_str!("ftl/af.ftl"), - "ar" => include_str!("ftl/ar.ftl"), - "bg" => include_str!("ftl/bg.ftl"), - "ca" => include_str!("ftl/ca.ftl"), - "cs" => include_str!("ftl/cs.ftl"), - "da" => include_str!("ftl/da.ftl"), - "de" => include_str!("ftl/de.ftl"), - "el" => include_str!("ftl/el.ftl"), - "eo" => include_str!("ftl/eo.ftl"), - "es" => include_str!("ftl/es.ftl"), - "et" => include_str!("ftl/et.ftl"), - "eu" => include_str!("ftl/eu.ftl"), - "fa" => include_str!("ftl/fa.ftl"), - "fi" => include_str!("ftl/fi.ftl"), - "fr" => include_str!("ftl/fr.ftl"), - "gl" => include_str!("ftl/gl.ftl"), - "he" => include_str!("ftl/he.ftl"), - "hr" => include_str!("ftl/hr.ftl"), - "hu" => include_str!("ftl/hu.ftl"), - "it" => include_str!("ftl/it.ftl"), - "ja" => include_str!("ftl/ja.ftl"), - "ko" => include_str!("ftl/ko.ftl"), - "la" => include_str!("ftl/la.ftl"), - "mn" => include_str!("ftl/mn.ftl"), - "mr" => include_str!("ftl/mr.ftl"), - "ms" => include_str!("ftl/ms.ftl"), - "nl" => include_str!("ftl/nl.ftl"), - "oc" => include_str!("ftl/oc.ftl"), - "pl" => include_str!("ftl/pl.ftl"), - "ro" => include_str!("ftl/ro.ftl"), - "ru" => include_str!("ftl/ru.ftl"), - "sk" => include_str!("ftl/sk.ftl"), - "sl" => include_str!("ftl/sl.ftl"), - "sr" => include_str!("ftl/sr.ftl"), - "th" => include_str!("ftl/th.ftl"), - "tr" => include_str!("ftl/tr.ftl"), - "uk" => include_str!("ftl/uk.ftl"), - "vi" => include_str!("ftl/vi.ftl"), + "ga" => ftl_path!("ga-IE.ftl"), + "hy" => ftl_path!("hy-AM.ftl"), + "nb" => ftl_path!("nb-NO.ftl"), + "sv" => ftl_path!("sv-SE.ftl"), + "jbo" => ftl_path!("jbo.ftl"), + "kab" => ftl_path!("kab.ftl"), + "af" => ftl_path!("af.ftl"), + "ar" => ftl_path!("ar.ftl"), + "bg" => ftl_path!("bg.ftl"), + "ca" => ftl_path!("ca.ftl"), + "cs" => ftl_path!("cs.ftl"), + "da" => ftl_path!("da.ftl"), + "de" => ftl_path!("de.ftl"), + "el" => ftl_path!("el.ftl"), + "eo" => ftl_path!("eo.ftl"), + "es" => ftl_path!("es.ftl"), + "et" => ftl_path!("et.ftl"), + "eu" => ftl_path!("eu.ftl"), + "fa" => ftl_path!("fa.ftl"), + "fi" => ftl_path!("fi.ftl"), + "fr" => ftl_path!("fr.ftl"), + "gl" => ftl_path!("gl.ftl"), + "he" => ftl_path!("he.ftl"), + "hr" => ftl_path!("hr.ftl"), + "hu" => ftl_path!("hu.ftl"), + "it" => ftl_path!("it.ftl"), + "ja" => ftl_path!("ja.ftl"), + "ko" => ftl_path!("ko.ftl"), + "la" => ftl_path!("la.ftl"), + "mn" => ftl_path!("mn.ftl"), + "mr" => ftl_path!("mr.ftl"), + "ms" => ftl_path!("ms.ftl"), + "nl" => ftl_path!("nl.ftl"), + "oc" => ftl_path!("oc.ftl"), + "pl" => ftl_path!("pl.ftl"), + "ro" => ftl_path!("ro.ftl"), + "ru" => ftl_path!("ru.ftl"), + "sk" => ftl_path!("sk.ftl"), + "sl" => ftl_path!("sl.ftl"), + "sr" => ftl_path!("sr.ftl"), + "th" => ftl_path!("th.ftl"), + "tr" => ftl_path!("tr.ftl"), + "uk" => ftl_path!("uk.ftl"), + "vi" => ftl_path!("vi.ftl"), _ => return None, }) } @@ -155,6 +171,26 @@ fn ftl_external_text(folder: &Path) -> Result { Ok(buf) } +/// Some sample text for testing purposes. +fn test_en_text() -> &'static str { + " +valid-key = a valid key +only-in-english = not translated +two-args-key = two args: {$one} and {$two} +plural = You have {$hats -> + [one] 1 hat + *[other] {$hats} hats +}. +" +} + +fn test_jp_text() -> &'static str { + " +valid-key = キー +two-args-key = {$one}と{$two} +" +} + /// Parse resource text into an AST for inclusion in a bundle. /// Returns None if text contains errors. /// extra_text may contain resources loaded from the filesystem @@ -206,7 +242,7 @@ fn get_bundle_with_extra( locales: &[LanguageIdentifier], log: &Logger, ) -> Option> { - let extra_text = if let Some(path) = lang_folder(lang, &ftl_folder) { + let mut extra_text = if let Some(path) = lang_folder(lang, &ftl_folder) { match ftl_external_text(&path) { Ok(text) => text, Err(e) => { @@ -218,6 +254,19 @@ fn get_bundle_with_extra( "".into() }; + if cfg!(test) { + // inject some test strings in test mode + match lang { + None => { + extra_text += test_en_text(); + } + Some(lang) if lang.language() == "ja" => { + extra_text += test_jp_text(); + } + _ => {} + } + } + get_bundle(text, extra_text, locales, log) } @@ -429,9 +478,7 @@ mod test { #[test] fn i18n() { - let mut ftl_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); - ftl_dir.push("tests/support/ftl"); - + let ftl_dir = PathBuf::from(std::env::var("TEST_SRCDIR").unwrap()); let log = log::terminal(); // English template diff --git a/rslib/src/i18n/.gitignore b/rslib/src/i18n/.gitignore deleted file mode 100644 index 4272f89c8..000000000 --- a/rslib/src/i18n/.gitignore +++ /dev/null @@ -1 +0,0 @@ -autogen.rs diff --git a/rslib/src/i18n/ftl/.gitignore b/rslib/src/i18n/ftl/.gitignore deleted file mode 100644 index eae8c2c28..000000000 --- a/rslib/src/i18n/ftl/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.ftl diff --git a/rslib/src/lib.rs b/rslib/src/lib.rs index 1cca25c30..209d00233 100644 --- a/rslib/src/lib.rs +++ b/rslib/src/lib.rs @@ -15,6 +15,7 @@ pub mod decks; pub mod err; pub mod filtered; pub mod findreplace; +mod fluent_proto; pub mod i18n; pub mod latex; pub mod log; diff --git a/rslib/src/version.rs b/rslib/src/version.rs index 38a4fd3ff..e07447e53 100644 --- a/rslib/src/version.rs +++ b/rslib/src/version.rs @@ -4,12 +4,23 @@ use lazy_static::lazy_static; use std::env; +fn buildinfo(key: &str) -> &'static str { + let volatile = include_str!(concat!(env!("OUT_DIR"), "/../../buildinfo.txt")); + for line in volatile.split('\n') { + let mut it = line.split(' '); + if it.next().unwrap() == key { + return it.next().unwrap(); + } + } + unreachable!("{} not found", key); +} + pub fn version() -> &'static str { - include_str!("../../meta/version").trim() + buildinfo("STABLE_VERSION") } pub fn buildhash() -> &'static str { - include_str!("../../meta/buildhash").trim() + buildinfo("STABLE_BUILDHASH") } pub(crate) fn sync_client_version() -> &'static str { diff --git a/rslib/tests/support/ftl/ja/test.ftl b/rslib/tests/support/ftl/ja/test.ftl deleted file mode 100644 index 1d8a84ff1..000000000 --- a/rslib/tests/support/ftl/ja/test.ftl +++ /dev/null @@ -1,2 +0,0 @@ -valid-key = キー -two-args-key = {$one}と{$two} diff --git a/rslib/tests/support/ftl/templates/test.ftl b/rslib/tests/support/ftl/templates/test.ftl deleted file mode 100644 index e654f414e..000000000 --- a/rslib/tests/support/ftl/templates/test.ftl +++ /dev/null @@ -1,7 +0,0 @@ -valid-key = a valid key -only-in-english = not translated -two-args-key = two args: {$one} and {$two} -plural = You have {$hats -> - [one] 1 hat - *[other] {$hats} hats - }. diff --git a/rspy/BUILD.bazel b/rspy/BUILD.bazel new file mode 100644 index 000000000..5f7e38c14 --- /dev/null +++ b/rspy/BUILD.bazel @@ -0,0 +1,67 @@ +load("@io_bazel_rules_rust//rust:rust.bzl", "rust_library", "rust_test") +load("@bazel_skylib//lib:selects.bzl", "selects") +load("@io_bazel_rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") +load("@bazel_skylib//rules:copy_file.bzl", "copy_file") + +cargo_build_script( + name = "build_script", + srcs = ["build.rs"], +) + +rust_library( + name = "ankirspy_lib", + srcs = glob([ + "src/**/*.rs", + ]), + crate_type = "cdylib", + data = [ + "//:buildinfo.txt", + ], + rustc_flags = selects.with_or({ + ( + "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin", + ): [ + "-Clink-arg=-undefined", + "-Clink-arg=dynamic_lookup", + "-Clink-arg=-mmacosx-version-min=10.7", + ], + "//conditions:default": [], + }), + deps = [ + ":build_script", + "//cargo:pyo3", + "//rslib:anki", + ], +) + +# a binary target so that test //rspy/... runs clippy +rust_test( + name = "rspy_test", + srcs = ["empty.rs"], + deps = [":ankirspy_lib"], +) + +# rename lib file for Python +copy_file( + name = "ankirspy_unix", + src = ":ankirspy_lib", + out = "ankirspy.so", +) + +copy_file( + name = "ankirspy_win", + src = ":ankirspy_lib", + out = "ankirspy.pyd", +) + +alias( + name = "ankirspy", + actual = selects.with_or({ + ( + "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc", + "@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc", + ): ":ankirspy_win", + "//conditions:default": ":ankirspy_unix", + }), + visibility = ["//visibility:public"], +) diff --git a/rspy/build.rs b/rspy/build.rs new file mode 100644 index 000000000..155bc72f8 --- /dev/null +++ b/rspy/build.rs @@ -0,0 +1,9 @@ +fn main() { + // this build script simply exists so we can extend the link path + // inside Bazel based on an env var, as we need to provide a custom + // path to Python on Windows. + if let Ok(path) = std::env::var("PYTHON_SYS_EXECUTABLE") { + let path = std::path::Path::new(&path).with_file_name("libs"); + println!("cargo:rustc-link-search={}", path.to_str().unwrap()); + } +} \ No newline at end of file diff --git a/rspy/empty.rs b/rspy/empty.rs new file mode 100644 index 000000000..e69de29bb diff --git a/rspy/src/lib.rs b/rspy/src/lib.rs index 0986ead04..bb04ea049 100644 --- a/rspy/src/lib.rs +++ b/rspy/src/lib.rs @@ -20,7 +20,7 @@ create_exception!(ankirspy, BackendError, Exception); #[pyfunction] fn buildhash() -> &'static str { - include_str!("../../meta/buildhash").trim() + anki::version::buildhash() } #[pyfunction] @@ -33,7 +33,7 @@ fn open_backend(init_msg: &PyBytes) -> PyResult { fn want_release_gil(method: u32) -> bool { if let Ok(method) = BackendMethod::try_from(method) { - match method { + !matches!(method, BackendMethod::ExtractAVTags | BackendMethod::ExtractLatex | BackendMethod::RenderExistingCard @@ -51,9 +51,7 @@ fn want_release_gil(method: u32) -> bool { | BackendMethod::FormatTimespan | BackendMethod::LatestProgress | BackendMethod::SetWantsAbort - | BackendMethod::I18nResources => false, - _ => true, - } + | BackendMethod::I18nResources) } else { false } diff --git a/run b/run index 1525ae050..7d3c59e44 100755 --- a/run +++ b/run @@ -1,5 +1,21 @@ #!/bin/bash -set -eu -o pipefail ${SHELLFLAGS} +run_linux() { + bazel run //qt:runanki -- $* +} -make -C $(dirname $0) run RUNFLAGS="$*" +run_mac() { + # QtWebEngineProcess is unable to locate icudtl.dat from a symlinked tree, + # so we need to copy the files into a working folder before running on a Mac. + workspace=$(dirname $0) + bazel build //qt:runanki && \ + rsync -avPL --exclude=anki/external --exclude=__pycache__ --delete \ + $workspace/bazel-bin/qt/runanki* $workspace/bazel-copy/ && \ + $workspace/bazel-copy/runanki $* +} + +if [[ "$OSTYPE" == "darwin"* ]]; then + run_mac +else + run_linux +fi diff --git a/run.bat b/run.bat new file mode 100755 index 000000000..d314ddbac --- /dev/null +++ b/run.bat @@ -0,0 +1 @@ +call .\bazel.bat run //qt:runanki -k -- %* diff --git a/scripts/status.sh b/scripts/status.sh new file mode 100755 index 000000000..d6aaaab1f --- /dev/null +++ b/scripts/status.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +echo "STABLE_VERSION 2.1.36" +if [ "$ANKI_RELEASE" != "" ]; then + echo "STABLE_BUILDHASH $(git rev-parse --short=8 HEAD || echo nogit)" +else + echo "STABLE_BUILDHASH dev" +fi diff --git a/setup.bzl b/setup.bzl new file mode 100644 index 000000000..f45f509ea --- /dev/null +++ b/setup.bzl @@ -0,0 +1,64 @@ +load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") +load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories") +load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version") +load("@anki//cargo:crates.bzl", "raze_fetch_remote_crates") +load(":python.bzl", "setup_local_python") +load("@rules_python//python:repositories.bzl", "py_repositories") +load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") +load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") +load("@build_bazel_rules_svelte//:defs.bzl", "rules_svelte_dependencies") +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") +load("@com_github_ali5h_rules_pip//:defs.bzl", "pip_import") +load("//pyqt5:defs.bzl", "install_pyqt5") + +def setup_deps(): + bazel_skylib_workspace() + + rust_repositories( + edition = "2018", + # use_worker = True, + version = "1.47.0", + ) + + bazel_version(name = "io_bazel_rules_rust_bazel_version") + + raze_fetch_remote_crates() + + setup_local_python(name = "python") + + native.register_toolchains("@python//:python3_toolchain") + + py_repositories() + + # pip_install( + # name = "py_deps", + # python_interpreter_target = "@python//:python", + # requirements = "@anki//pip:requirements.txt", + # ) + + pip_import( + name = "py_deps", + requirements = "@anki//pip:requirements.txt", + python_runtime = "@python//:python", + compile = True, + ) + + install_pyqt5( + name = "pyqt5", + python_runtime = "@python//:python", + ) + + node_repositories(package_json = ["//ts:package.json"]) + + yarn_install( + name = "npm", + package_json = "//ts:package.json", + # strict_visibility = True, + yarn_lock = "//ts:yarn.lock", + ) + + sass_repositories() + + rules_svelte_dependencies() + + protobuf_deps() diff --git a/ts/.eslintignore b/ts/.eslintignore deleted file mode 100644 index 89b902fe7..000000000 --- a/ts/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -src/backend/proto.d.ts -webpack.config.js diff --git a/ts/.eslintrc.js b/ts/.eslintrc.js index db1abdbe2..72d2ded4a 100644 --- a/ts/.eslintrc.js +++ b/ts/.eslintrc.js @@ -5,7 +5,7 @@ module.exports = { "plugin:@typescript-eslint/recommended", ], parser: "@typescript-eslint/parser", - plugins: ["@typescript-eslint", "svelte3"], + plugins: ["@typescript-eslint"], rules: { "prefer-const": "warn", "@typescript-eslint/ban-ts-ignore": "warn", @@ -14,14 +14,5 @@ module.exports = { { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, ], }, - overrides: [ - { - files: ["*.svelte"], - processor: "svelte3/svelte3", - rules: { - "@typescript-eslint/explicit-function-return-type": "off", - }, - }, - ], env: { browser: true }, }; diff --git a/ts/.gitignore b/ts/.gitignore index 23f1564cb..bae8f1051 100644 --- a/ts/.gitignore +++ b/ts/.gitignore @@ -1,5 +1,4 @@ node_modules -.build -dist -package-lock.json + + diff --git a/ts/.prettierrc b/ts/.prettierrc index ef6f4ce45..057819fc4 100644 --- a/ts/.prettierrc +++ b/ts/.prettierrc @@ -1,6 +1,6 @@ { - "trailingComma": "es5", - "printWidth": 88, - "tabWidth": 4, - "semi": true + "trailingComma": "es5", + "printWidth": 88, + "tabWidth": 4, + "semi": true } diff --git a/ts/BUILD.bazel b/ts/BUILD.bazel new file mode 100644 index 000000000..784fc3311 --- /dev/null +++ b/ts/BUILD.bazel @@ -0,0 +1,10 @@ +# Exported files +################# + +exports_files([ + "tsconfig.json", + "d3_missing.d.ts", + ".prettierrc", + "rollup.config.js", + ".eslintrc.js", +]) diff --git a/ts/congrats/BUILD.bazel b/ts/congrats/BUILD.bazel new file mode 100644 index 000000000..a5cf7206a --- /dev/null +++ b/ts/congrats/BUILD.bazel @@ -0,0 +1,80 @@ +load("@build_bazel_rules_svelte//:defs.bzl", "svelte") +load("@npm//@bazel/typescript:index.bzl", "ts_library") +load("@npm//@bazel/rollup:index.bzl", "rollup_bundle") +load("//ts:prettier.bzl", "prettier_test") +load("//ts:eslint.bzl", "eslint_test") +load("//ts:svelte.bzl", "svelte_check") + +svelte( + name = "CongratsPage", + entry_point = "CongratsPage.svelte", +) + +ts_library( + name = "bootstrap", + srcs = ["bootstrap.ts"], + deps = [ + "CongratsPage", + "lib", + "//ts/lib", + "@npm//svelte2tsx", + ], +) + +ts_library( + name = "lib", + srcs = ["lib.ts"], + deps = [ + "//ts/lib", + "//ts/lib:backend_proto", + ], +) + +rollup_bundle( + name = "congrats", + srcs = [ + "//ts/lib:es6", + ], + config_file = "//ts:rollup.config.js", + entry_point = "bootstrap.ts", + format = "iife", + link_workspace_root = True, + silent = True, + sourcemap = "false", + visibility = ["//visibility:public"], + deps = [ + "CongratsPage", + "bootstrap", + "@npm//@rollup/plugin-commonjs", + "@npm//@rollup/plugin-node-resolve", + "@npm//rollup-plugin-terser", + ], +) + +exports_files(["congrats.html"]) + +# Tests +################ + +prettier_test( + name = "format", + srcs = glob([ + "*.ts", + "*.svelte", + ]), +) + +eslint_test( + name = "eslint", + srcs = glob([ + "*.ts", + ]), +) + +svelte_check( + name = "svelte-check", + srcs = glob([ + "*.ts", + "*.svelte", + ]), +) diff --git a/ts/src/sched/CongratsPage.svelte b/ts/congrats/CongratsPage.svelte similarity index 86% rename from ts/src/sched/CongratsPage.svelte rename to ts/congrats/CongratsPage.svelte index dd24aa439..9e5d55626 100644 --- a/ts/src/sched/CongratsPage.svelte +++ b/ts/congrats/CongratsPage.svelte @@ -1,12 +1,8 @@ - - + diff --git a/ts/src/sched/congrats.ts b/ts/congrats/lib.ts similarity index 82% rename from ts/src/sched/congrats.ts rename to ts/congrats/lib.ts index 929409503..4341292f7 100644 --- a/ts/src/sched/congrats.ts +++ b/ts/congrats/lib.ts @@ -1,10 +1,10 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -import pb from "../backend/proto"; -import { postRequest } from "../postrequest"; -import { naturalUnit, unitAmount, unitName } from "../time"; -import { I18n } from "../i18n"; +import pb from "anki/ts/lib/backend_proto"; +import { postRequest } from "anki/ts/lib/postrequest"; +import { naturalUnit, unitAmount, unitName } from "anki/ts/lib/time"; +import type { I18n } from "anki/ts/lib/i18n"; export async function getCongratsInfo(): Promise { return pb.BackendProto.CongratsInfoOut.decode( diff --git a/ts/css.d.ts b/ts/css.d.ts deleted file mode 100644 index 0292a33a0..000000000 --- a/ts/css.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module "*.scss"; diff --git a/ts/eslint.bzl b/ts/eslint.bzl new file mode 100644 index 000000000..63814c9cf --- /dev/null +++ b/ts/eslint.bzl @@ -0,0 +1,18 @@ +load("@npm//eslint:index.bzl", _eslint_test = "eslint_test") + +def eslint_test(name = "eslint", srcs = []): + _eslint_test( + name = name, + args = [ + "--max-warnings=0", + "--ext", + ".ts", + "-c", + "$(location //ts:.eslintrc.js)", + ] + [native.package_name() + "/" + f for f in srcs], + data = [ + "//ts:.eslintrc.js", + "@npm//@typescript-eslint/parser", + "@npm//@typescript-eslint/eslint-plugin", + ] + srcs, + ) diff --git a/ts/src/stats/AddedGraph.svelte b/ts/graphs/AddedGraph.svelte similarity index 74% rename from ts/src/stats/AddedGraph.svelte rename to ts/graphs/AddedGraph.svelte index 9274ee1f5..065ccd141 100644 --- a/ts/src/stats/AddedGraph.svelte +++ b/ts/graphs/AddedGraph.svelte @@ -1,9 +1,11 @@ diff --git a/ts/graphs/BUILD.bazel b/ts/graphs/BUILD.bazel new file mode 100644 index 000000000..488027b3d --- /dev/null +++ b/ts/graphs/BUILD.bazel @@ -0,0 +1,125 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_library") +load("@npm//@bazel/rollup:index.bzl", "rollup_bundle") +load("//ts:svelte.bzl", "compile_svelte", "svelte_check") +load("//ts:prettier.bzl", "prettier_test") +load("//ts:eslint.bzl", "eslint_test") +load("@io_bazel_rules_sass//:defs.bzl", "sass_binary") + +sass_binary( + name = "graphs_css", + src = "graphs.scss", + visibility = ["//visibility:public"], + deps = [ + "//ts/sass:core_lib", + ], +) + +svelte_files = glob(["*.svelte"]) + +svelte_names = [f.replace(".svelte", "") for f in svelte_files] + +compile_svelte( + name = "svelte", + srcs = svelte_files, +) + +ts_library( + name = "bootstrap", + srcs = ["bootstrap.ts"], + deps = [ + "GraphsPage", + "lib", + "//ts/lib", + "@npm//svelte2tsx", + ], +) + +ts_library( + name = "types", + srcs = ["d3_missing.d.ts"], +) + +ts_library( + name = "lib", + srcs = glob( + ["*.ts"], + exclude = ["bootstrap.ts"], + ), + deps = [ + "types", + "//ts/lib", + "//ts/lib:backend_proto", + "@npm//@types/d3-array", + "@npm//@types/d3-axis", + "@npm//@types/d3-interpolate", + "@npm//@types/d3-scale", + "@npm//@types/d3-scale-chromatic", + "@npm//@types/d3-selection", + "@npm//@types/d3-shape", + "@npm//@types/d3-time", + "@npm//@types/d3-transition", + "@npm//@types/lodash", + "@npm//d3-array", + "@npm//d3-axis", + "@npm//d3-interpolate", + "@npm//d3-scale", + "@npm//d3-scale-chromatic", + "@npm//d3-selection", + "@npm//d3-shape", + "@npm//d3-time", + "@npm//d3-transition", + "@npm//lodash.debounce", + "@npm//lodash.throttle", + ], +) + +rollup_bundle( + name = "graphs", + srcs = [ + "//ts/lib:es6", + ], + config_file = "//ts:rollup.config.js", + entry_point = "bootstrap.ts", + format = "iife", + link_workspace_root = True, + silent = True, + sourcemap = "false", + visibility = ["//visibility:public"], + deps = [ + "bootstrap", + "@npm//@rollup/plugin-commonjs", + "@npm//@rollup/plugin-node-resolve", + "@npm//rollup-plugin-terser", + ] + svelte_names, +) + +exports_files(["graphs.html"]) + +# Tests +################ + +prettier_test( + name = "format", + srcs = glob([ + "*.ts", + "*.svelte", + ]), +) + +eslint_test( + name = "eslint", + srcs = glob( + [ + "*.ts", + ], + exclude = ["d3_missing.d.ts"], + ), +) + +svelte_check( + name = "svelte-check", + srcs = glob([ + "*.ts", + "*.svelte", + ]), +) diff --git a/ts/src/stats/ButtonsGraph.svelte b/ts/graphs/ButtonsGraph.svelte similarity index 91% rename from ts/src/stats/ButtonsGraph.svelte rename to ts/graphs/ButtonsGraph.svelte index cf022d846..7e78a6c46 100644 --- a/ts/src/stats/ButtonsGraph.svelte +++ b/ts/graphs/ButtonsGraph.svelte @@ -1,9 +1,9 @@ + diff --git a/ts/src/stats/graphs.scss b/ts/graphs/graphs.scss similarity index 99% rename from ts/src/stats/graphs.scss rename to ts/graphs/graphs.scss index 85ea83f26..a1d8f9dc6 100644 --- a/ts/src/stats/graphs.scss +++ b/ts/graphs/graphs.scss @@ -1,7 +1,7 @@ /* Copyright: Ankitects Pty Ltd and contributors * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ -@use '../scss/core'; +@use '../sass/core'; :root { --area-fill: #000000; diff --git a/ts/src/stats/histogram-graph.ts b/ts/graphs/histogram-graph.ts similarity index 98% rename from ts/src/stats/histogram-graph.ts rename to ts/graphs/histogram-graph.ts index 8f01d5fa5..aa067c66a 100644 --- a/ts/src/stats/histogram-graph.ts +++ b/ts/graphs/histogram-graph.ts @@ -13,7 +13,7 @@ import { scaleLinear, ScaleLinear, ScaleSequential } from "d3-scale"; import { axisBottom, axisLeft, axisRight } from "d3-axis"; import { area, curveBasis } from "d3-shape"; import { showTooltip, hideTooltip } from "./tooltip"; -import { GraphBounds, setDataAvailable } from "./graphs"; +import { GraphBounds, setDataAvailable } from "./graph-helpers"; export interface HistogramData { scale: ScaleLinear; diff --git a/ts/src/stats/hours.ts b/ts/graphs/hours.ts similarity index 98% rename from ts/src/stats/hours.ts rename to ts/graphs/hours.ts index cb592d8fd..735365b20 100644 --- a/ts/src/stats/hours.ts +++ b/ts/graphs/hours.ts @@ -6,7 +6,7 @@ @typescript-eslint/no-explicit-any: "off", */ -import pb from "../backend/proto"; +import pb from "anki/ts/lib/backend_proto"; import { interpolateBlues } from "d3-scale-chromatic"; import "d3-transition"; import { select, mouse } from "d3-selection"; @@ -18,9 +18,9 @@ import { setDataAvailable, GraphRange, millisecondCutoffForRange, -} from "./graphs"; +} from "./graph-helpers"; import { area, curveBasis } from "d3-shape"; -import { I18n } from "../i18n"; +import type { I18n } from "anki/ts/lib/i18n"; type ButtonCounts = [number, number, number, number]; diff --git a/ts/src/stats/intervals.ts b/ts/graphs/intervals.ts similarity index 92% rename from ts/src/stats/intervals.ts rename to ts/graphs/intervals.ts index da6e7f11c..170908239 100644 --- a/ts/src/stats/intervals.ts +++ b/ts/graphs/intervals.ts @@ -6,15 +6,15 @@ @typescript-eslint/no-explicit-any: "off", */ -import pb from "../backend/proto"; +import type pb from "anki/ts/lib/backend_proto"; import { extent, histogram, quantile, sum, mean } from "d3-array"; import { scaleLinear, scaleSequential } from "d3-scale"; -import { CardQueue } from "../cards"; -import { HistogramData } from "./histogram-graph"; +import { CardQueue } from "anki/ts/lib/cards"; +import type { HistogramData } from "./histogram-graph"; import { interpolateBlues } from "d3-scale-chromatic"; -import { I18n } from "../i18n"; -import { TableDatum } from "./graphs"; -import { timeSpan } from "../time"; +import type { I18n } from "anki/ts/lib/i18n"; +import type { TableDatum } from "./graph-helpers"; +import { timeSpan } from "anki/ts/lib/time"; export interface IntervalGraphData { intervals: number[]; diff --git a/ts/src/stats/reviews.ts b/ts/graphs/reviews.ts similarity index 98% rename from ts/src/stats/reviews.ts rename to ts/graphs/reviews.ts index cb77c535e..4a328c7d2 100644 --- a/ts/src/stats/reviews.ts +++ b/ts/graphs/reviews.ts @@ -6,7 +6,7 @@ @typescript-eslint/no-explicit-any: "off", */ -import pb from "../backend/proto"; +import pb from "anki/ts/lib/backend_proto"; import { interpolateBlues, interpolateGreens, @@ -18,11 +18,12 @@ import { select, mouse } from "d3-selection"; import { scaleLinear, scaleSequential } from "d3-scale"; import { axisBottom, axisLeft, axisRight } from "d3-axis"; import { showTooltip, hideTooltip } from "./tooltip"; -import { GraphBounds, setDataAvailable, GraphRange, TableDatum } from "./graphs"; +import { GraphBounds, setDataAvailable, GraphRange } from "./graph-helpers"; +import type { TableDatum } from "./graph-helpers"; import { area, curveBasis } from "d3-shape"; import { min, histogram, sum, max, Bin, cumsum } from "d3-array"; -import { timeSpan, dayLabel } from "../time"; -import { I18n } from "../i18n"; +import { timeSpan, dayLabel } from "anki/ts/lib/time"; +import type { I18n } from "anki/ts/lib/i18n"; interface Reviews { mature: number; diff --git a/ts/src/stats/today.ts b/ts/graphs/today.ts similarity index 95% rename from ts/src/stats/today.ts rename to ts/graphs/today.ts index db77073bc..5c2f71916 100644 --- a/ts/src/stats/today.ts +++ b/ts/graphs/today.ts @@ -1,9 +1,9 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -import pb, { BackendProto } from "../backend/proto"; -import { studiedToday } from "../time"; -import { I18n } from "../i18n"; +import pb from "anki/ts/lib/backend_proto"; +import { studiedToday } from "anki/ts/lib/time"; +import type { I18n } from "anki/ts/lib/i18n"; export interface TodayData { title: string; diff --git a/ts/src/stats/tooltip.ts b/ts/graphs/tooltip.ts similarity index 100% rename from ts/src/stats/tooltip.ts rename to ts/graphs/tooltip.ts diff --git a/ts/lib/BUILD.bazel b/ts/lib/BUILD.bazel new file mode 100644 index 000000000..5b659287d --- /dev/null +++ b/ts/lib/BUILD.bazel @@ -0,0 +1,60 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_library") +load("//ts:prettier.bzl", "prettier_test") +load("//ts:eslint.bzl", "eslint_test") + +# Protobuf +############# + +load("@npm//@bazel/labs:index.bzl", "protobufjs_ts_library") + +protobufjs_ts_library( + name = "fluent_proto", + visibility = ["//visibility:public"], + deps = ["//rslib:fluent_proto_lib"], +) + +protobufjs_ts_library( + name = "backend_proto", + visibility = ["//visibility:public"], + deps = ["//proto:backend_proto_lib"], +) + +# Anki Library +################ + +ts_library( + name = "lib", + srcs = glob(["**/*.ts"]), + data = [ + "backend_proto", + ], + tsconfig = "//:tsconfig.json", + visibility = ["//visibility:public"], + deps = [ + "backend_proto", + "fluent_proto", + "@npm//@fluent/bundle", + "@npm//@types/long", + "@npm//intl-pluralrules", + "@npm//tslib", + ], +) + +filegroup( + name = "es6", + output_group = "es6_sources", + visibility = ["//visibility:public"], +) + +# Tests +################ + +prettier_test( + name = "format", + srcs = glob(["*.ts"]), +) + +eslint_test( + name = "eslint", + srcs = glob(["*.ts"]), +) diff --git a/ts/src/bridgecommand.ts b/ts/lib/bridgecommand.ts similarity index 100% rename from ts/src/bridgecommand.ts rename to ts/lib/bridgecommand.ts diff --git a/ts/src/cards.ts b/ts/lib/cards.ts similarity index 100% rename from ts/src/cards.ts rename to ts/lib/cards.ts diff --git a/ts/src/i18n.ts b/ts/lib/i18n.ts similarity index 90% rename from ts/src/i18n.ts rename to ts/lib/i18n.ts index c7266570a..d6ed9a46d 100644 --- a/ts/src/i18n.ts +++ b/ts/lib/i18n.ts @@ -1,7 +1,7 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -import pb from "./backend/proto"; +import pb from "./fluent_proto"; import "intl-pluralrules"; import { FluentBundle, FluentResource, FluentNumber } from "@fluent/bundle/compat"; @@ -23,9 +23,9 @@ function formatNumbers(args?: Record): void { export class I18n { bundles: FluentBundle[] = []; langs: string[] = []; - TR = pb.BackendProto.FluentString; + TR = pb.FluentProto.FluentString; - tr(id: pb.BackendProto.FluentString, args?: Record): string { + tr(id: pb.FluentProto.FluentString, args?: Record): string { formatNumbers(args); const key = this.keyName(id); for (const bundle of this.bundles) { @@ -59,7 +59,7 @@ export class I18n { } } - private keyName(msg: pb.BackendProto.FluentString): string { + private keyName(msg: pb.FluentProto.FluentString): string { return this.TR[msg].toLowerCase().replace(/_/g, "-"); } } diff --git a/ts/src/nightmode.ts b/ts/lib/nightmode.ts similarity index 100% rename from ts/src/nightmode.ts rename to ts/lib/nightmode.ts diff --git a/ts/src/postrequest.ts b/ts/lib/postrequest.ts similarity index 100% rename from ts/src/postrequest.ts rename to ts/lib/postrequest.ts diff --git a/ts/lib/proto.bzl b/ts/lib/proto.bzl new file mode 100644 index 000000000..10b784550 --- /dev/null +++ b/ts/lib/proto.bzl @@ -0,0 +1,59 @@ +load("@npm//protobufjs-cli-taylorm:index.bzl", "pbjs", "pbts") + +def protobuf_ts(name, src): + pbjs( + name = "%s_js" % name, + outs = ["%s.mjs" % name], + args = [ + "-t", + "json-module", + "-w", + "es6", + "$(execpath %s)" % src, + "-o", + "$(execpath %s.mjs)" % name, + ], + data = [ + src, + "@npm//protobufjs-taylorm", + ], + ) + + pbjs( + name = "%s_js_static" % name, + outs = ["%s.static.js" % name], + args = [ + "-t", + "static-module", + "$(execpath %s)" % src, + "-o", + "$(execpath %s.static.js)" % name, + ], + data = [ + src, + "@npm//protobufjs-taylorm", + ], + ) + + pbts( + name = "%s_ts" % name, + outs = ["%s.d.ts" % name], + args = [ + "-w", + "es6", + "$(execpath :%s.static.js)" % name, + "-o", + "$(execpath %s.d.ts)" % name, + ], + data = [ + ":%s.static.js" % name, + ], + ) + + # native.filegroup( + # name = name, + # srcs = [ + # "%s.js" % name, + # "%s.d.ts" % name, + # ], + # ) diff --git a/ts/src/time.ts b/ts/lib/time.ts similarity index 99% rename from ts/src/time.ts rename to ts/lib/time.ts index 3635398a6..7ad6c61d7 100644 --- a/ts/src/time.ts +++ b/ts/lib/time.ts @@ -1,7 +1,7 @@ // Copyright: Ankitects Pty Ltd and contributors // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -import { I18n } from "./i18n"; +import type { I18n } from "./i18n"; export const SECOND = 1.0; export const MINUTE = 60.0 * SECOND; diff --git a/ts/src/typing.ts b/ts/lib/typing.ts similarity index 100% rename from ts/src/typing.ts rename to ts/lib/typing.ts diff --git a/ts/package.json b/ts/package.json index b7189e015..f326b095d 100644 --- a/ts/package.json +++ b/ts/package.json @@ -6,48 +6,49 @@ "license": "AGPL-3.0-or-later", "description": "Anki JS support files", "devDependencies": { + "@bazel/labs": "^2.2.2", + "@bazel/rollup": "^2.2.2", + "@bazel/typescript": "^2.2.2", "@pyoner/svelte-types": "^3.4.4-2", + "@rollup/plugin-commonjs": "^15.1.0", + "@rollup/plugin-node-resolve": "^9.0.0", + "@tsconfig/svelte": "^1.0.10", "@types/d3-array": "^2.0.0", "@types/d3-axis": "^1.0.12", + "@types/d3-interpolate": "^2.0.0", "@types/d3-scale": "^2.2.1", "@types/d3-scale-chromatic": "^1.5.0", "@types/d3-selection": "^1.4.1", "@types/d3-shape": "^1.3.2", + "@types/d3-time": "^2.0.0", "@types/d3-transition": "^1.1.6", "@types/jquery": "^3.5.0", "@types/jqueryui": "^1.12.13", - "@types/lodash.debounce": "^4.0.6", - "@types/lodash.throttle": "^4.1.6", + "@types/lodash": "^4.14.162", "@types/long": "^4.0.1", "@types/mathjax": "0.0.36", + "@types/react": "^16.9.53", + "@types/react-dom": "^16.9.8", "@typescript-eslint/eslint-plugin": "^2.11.0", "@typescript-eslint/parser": "^2.11.0", "cross-env": "^7.0.2", - "css-loader": "^3.6.0", "eslint": "^6.7.2", - "eslint-loader": "^4.0.2", - "eslint-plugin-svelte3": "^2.7.3", - "html-webpack-plugin": "^4.5.0", + "patch-package": "^6.2.2", "prettier": "^2.1.2", "prettier-plugin-svelte": "^1.4.0", - "sass": "^1.26.11", - "sass-loader": "^8.0.2", - "style-loader": "^1.2.1", + "protobufjs-cli-taylorm": "^7.0.4", + "protobufjs-taylorm": "^7.0.4", + "rollup": "^2.32.1", + "rollup-plugin-terser": "^7.0.2", "svelte": "^3.28.0", - "svelte-check": "^0.1.59", - "svelte-loader": "^2.13.6", - "svelte-preprocess": "^3.9.9", - "ts-loader": "^7.0.5", - "typescript": "^3.9.7", - "webpack": "^4.44.2", - "webpack-cli": "^3.3.11", - "webpack-dev-server": "^3.11.0" + "svelte-check": "^1.0.61", + "svelte2tsx": "^0.1.133", + "tslib": "^2.0.3", + "typescript": "^3.9.7" }, "scripts": { - "fix": "prettier --write src/*/*.ts", - "check": "svelte-check && eslint --max-warnings=0 --ext .ts src && prettier --check src/*/*.ts", - "build": "cross-env NODE_ENV=production webpack", - "dev": "webpack-dev-server" + "fix": "prettier --write */*.ts */*.svelte", + "postinstall": "patch-package" }, "dependencies": { "@fluent/bundle": "^0.15.1", diff --git a/ts/patches/@bazel+labs+2.2.2.patch b/ts/patches/@bazel+labs+2.2.2.patch new file mode 100644 index 000000000..e84b49f9f --- /dev/null +++ b/ts/patches/@bazel+labs+2.2.2.patch @@ -0,0 +1,41 @@ +diff --git a/node_modules/@bazel/labs/protobufjs/ts_proto_library.bzl b/node_modules/@bazel/labs/protobufjs/ts_proto_library.bzl +index 3de013c..2ef1c84 100755 +--- a/node_modules/@bazel/labs/protobufjs/ts_proto_library.bzl ++++ b/node_modules/@bazel/labs/protobufjs/ts_proto_library.bzl +@@ -15,7 +15,16 @@ + + load("@build_bazel_rules_nodejs//:providers.bzl", "DeclarationInfo", "JSEcmaScriptModuleInfo", "JSModuleInfo", "JSNamedModuleInfo") + +-def _run_pbjs(actions, executable, var, output_name, proto_files, suffix = ".js", wrap = "default", amd_name = ""): ++def _run_pbjs( ++ actions, ++ executable, ++ var, ++ output_name, ++ proto_files, ++ suffix = ".js", ++ wrap = "default", ++ amd_name = "", ++ target = "static-module"): + js_file = actions.declare_file(output_name + suffix) + + # Create an intermediate file so that we can do some manipulation of the +@@ -25,9 +34,8 @@ def _run_pbjs(actions, executable, var, output_name, proto_files, suffix = ".js" + # Reference of arguments: + # https://github.com/dcodeIO/ProtoBuf.js/#pbjs-for-javascript + args = actions.args() +- args.add_all(["--target", "static-module"]) ++ args.add_all(["--target", target]) + args.add_all(["--wrap", wrap]) +- args.add("--strict-long") # Force usage of Long type with int64 fields + args.add_all(["--out", js_file.path + ".tmpl"]) + args.add_all(proto_files) + +@@ -106,6 +114,7 @@ def _ts_proto_library(ctx): + sources, + suffix = ".mjs", + wrap = "es6", ++ target = "json-module", + ) + + # pbts doesn't understand '.mjs' extension so give it the es5 file diff --git a/ts/prettier.bzl b/ts/prettier.bzl new file mode 100644 index 000000000..e02678478 --- /dev/null +++ b/ts/prettier.bzl @@ -0,0 +1,19 @@ +load( + "@npm//prettier:index.bzl", + _prettier_test = "prettier_test", +) + +def prettier_test(name = "format", srcs = [], **kwargs): + _prettier_test( + name = name, + args = [ + "--config", + "$(location //ts:.prettierrc)", + "--check", + ] + [native.package_name() + "/" + f for f in srcs], + data = [ + "//ts:.prettierrc", + "@npm//prettier-plugin-svelte", + ] + srcs, + **kwargs + ) diff --git a/ts/rollup.config.js b/ts/rollup.config.js new file mode 100644 index 000000000..0a7e5a0f8 --- /dev/null +++ b/ts/rollup.config.js @@ -0,0 +1,28 @@ +import resolve from "@rollup/plugin-node-resolve"; +import commonjs from "@rollup/plugin-commonjs"; +import { terser } from "rollup-plugin-terser"; + +import process from "process"; +const production = process.env["COMPILATION_MODE"] === "opt"; + +export default { + external: ["protobufjs/light"], + output: { + globals: { + "protobufjs/light": "protobuf", + }, + name: "anki", + }, + plugins: [ + resolve({ + browser: true, + dedupe: ["svelte", "protobufjs"], + }), + commonjs(), + production && terser(), + ], + onwarn: function (warning, warn) { + if (warning.code === "CIRCULAR_DEPENDENCY") return; + throw warning; + }, +}; diff --git a/ts/sass/BUILD.bazel b/ts/sass/BUILD.bazel new file mode 100644 index 000000000..5c2484788 --- /dev/null +++ b/ts/sass/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_sass//:defs.bzl", "sass_binary", "sass_library") + +sass_binary( + name = "core_css", + src = "core.scss", + visibility = ["//visibility:public"], + deps = [ + ":core_lib", + ], +) + +sass_library( + name = "core_lib", + srcs = [ + "_vars.scss", + "core.scss", + ], + visibility = ["//visibility:public"], +) + +# qt package extracts colours from source file +exports_files( + ["_vars.scss"], + visibility = ["//qt:__subpackages__"], +) diff --git a/ts/src/scss/_vars.scss b/ts/sass/_vars.scss similarity index 100% rename from ts/src/scss/_vars.scss rename to ts/sass/_vars.scss diff --git a/ts/src/scss/core.scss b/ts/sass/core.scss similarity index 100% rename from ts/src/scss/core.scss rename to ts/sass/core.scss diff --git a/ts/src/backend/.gitignore b/ts/src/backend/.gitignore deleted file mode 100644 index 684374f9b..000000000 --- a/ts/src/backend/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -proto.js -proto.d.ts diff --git a/ts/svelte.bzl b/ts/svelte.bzl new file mode 100644 index 000000000..593b8778a --- /dev/null +++ b/ts/svelte.bzl @@ -0,0 +1,29 @@ +load("@build_bazel_rules_svelte//:defs.bzl", "svelte") +load("@npm//svelte-check:index.bzl", _svelte_check = "svelte_check_test") + +def compile_svelte(name, srcs): + for src in srcs: + svelte( + name = src.replace(".svelte", ""), + entry_point = src, + ) + + native.filegroup( + name = name, + srcs = srcs, + ) + +def svelte_check(name = "svelte_check", srcs = []): + _svelte_check( + name = name, + args = [ + "--workspace", + native.package_name(), + ], + data = [ + "//ts:tsconfig.json", + "//ts/lib", + "//ts/lib:backend_proto", + ] + srcs, + link_workspace_root = True, + ) diff --git a/ts/svelte.config.js b/ts/svelte.config.js deleted file mode 100644 index 241bbbfe7..000000000 --- a/ts/svelte.config.js +++ /dev/null @@ -1,9 +0,0 @@ -const sveltePreprocess = require("svelte-preprocess"); - -module.exports = { - preprocess: sveltePreprocess({ - typescript: { - transpileOnly: true, - }, - }), -}; diff --git a/ts/tsconfig.json b/ts/tsconfig.json index 7324559e9..0f75a7afc 100644 --- a/ts/tsconfig.json +++ b/ts/tsconfig.json @@ -1,11 +1,29 @@ { "exclude": ["node_modules", "dist"], + // "include": ["pages/congrats/*.d.ts"], "compilerOptions": { - /* Basic Options */ - "target": "es2016", + "target": "es6", "module": "es6", - "declaration": false /* Generates corresponding '.d.ts' file. */, - "rootDir": "src", + "lib": ["es2016", "dom"], + "baseUrl": ".", + "paths": { + "anki/*": ["../bazel-bin/*"] + }, + // "*": [ + // // generated anki lib + // "node_modules/*" + // ] + // }, + + "importsNotUsedAsValues": "error", + // "isolatedModules": true, + // "skipLibCheck": true, + // "forceConsistentCasingInFileNames": true, + // "noResolve": true, + + // "rootDir": ".", + // "declaration": false /* Generates corresponding '.d.ts' file. */, + // "rootDir": "src", "outDir": "dist", /* Strict Type-Checking Options */ "strict": true /* Enable all strict type-checking options. */, @@ -21,6 +39,10 @@ "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, "jsx": "react", - "types": ["svelte", "long"] + "types": ["svelte", "long"], + + "noEmitHelpers": true, + "importHelpers": true + // "jsxFactory": "svelte.JSX.createElement", } } diff --git a/ts/vendor/BUILD.bazel b/ts/vendor/BUILD.bazel new file mode 100644 index 000000000..8c73b28e6 --- /dev/null +++ b/ts/vendor/BUILD.bazel @@ -0,0 +1 @@ +exports_files(glob(["*.js"])) diff --git a/ts/vendor/protobuf.min.js b/ts/vendor/protobuf.min.js new file mode 100644 index 000000000..d68295430 --- /dev/null +++ b/ts/vendor/protobuf.min.js @@ -0,0 +1,3960 @@ +/*! + * protobuf.js v6.10.0 (c) 2016, daniel wirtz + * compiled wed, 15 jul 2020 23:34:14 utc + * licensed under the bsd-3-clause license + * see: https://github.com/dcodeio/protobuf.js for details + */ +!(function (g) { + "use strict"; + var r, e, t, i; + (r = { + 1: [ + function (t, i) { + i.exports = function (t, i) { + var n = Array(arguments.length - 1), + s = 0, + r = 2, + u = !0; + for (; r < arguments.length; ) n[s++] = arguments[r++]; + return new Promise(function (r, e) { + n[s] = function (t) { + if (u) + if (((u = !1), t)) e(t); + else { + for ( + var i = Array(arguments.length - 1), n = 0; + n < i.length; + + ) + i[n++] = arguments[n]; + r.apply(null, i); + } + }; + try { + t.apply(i || null, n); + } catch (t) { + u && ((u = !1), e(t)); + } + }); + }; + }, + {}, + ], + 2: [ + function (t, i, n) { + var r = n; + r.length = function (t) { + var i = t.length; + if (!i) return 0; + for (var n = 0; 1 < --i % 4 && "=" == t[0 | i]; ) ++n; + return Math.ceil(3 * t.length) / 4 - n; + }; + for (var h = Array(64), f = Array(123), e = 0; e < 64; ) + f[ + (h[e] = + e < 26 + ? e + 65 + : e < 52 + ? e + 71 + : e < 62 + ? e - 4 + : (e - 59) | 43) + ] = e++; + r.encode = function (t, i, n) { + for (var r, e = null, s = [], u = 0, o = 0; i < n; ) { + var f = t[i++]; + switch (o) { + case 0: + (s[u++] = h[f >> 2]), (r = (3 & f) << 4), (o = 1); + break; + case 1: + (s[u++] = h[r | (f >> 4)]), + (r = (15 & f) << 2), + (o = 2); + break; + case 2: + (s[u++] = h[r | (f >> 6)]), + (s[u++] = h[63 & f]), + (o = 0); + } + 8191 < u && + ((e = e || []).push(String.fromCharCode.apply(String, s)), + (u = 0)); + } + return ( + o && ((s[u++] = h[r]), (s[u++] = 61), 1 === o && (s[u++] = 61)), + e + ? (u && + e.push( + String.fromCharCode.apply(String, s.slice(0, u)) + ), + e.join("")) + : String.fromCharCode.apply(String, s.slice(0, u)) + ); + }; + var c = "invalid encoding"; + (r.decode = function (t, i, n) { + for (var r, e = n, s = 0, u = 0; u < t.length; ) { + var o = t.charCodeAt(u++); + if (61 === o && 1 < s) break; + if ((o = f[o]) === g) throw Error(c); + switch (s) { + case 0: + (r = o), (s = 1); + break; + case 1: + (i[n++] = (r << 2) | ((48 & o) >> 4)), (r = o), (s = 2); + break; + case 2: + (i[n++] = ((15 & r) << 4) | ((60 & o) >> 2)), + (r = o), + (s = 3); + break; + case 3: + (i[n++] = ((3 & r) << 6) | o), (s = 0); + } + } + if (1 === s) throw Error(c); + return n - e; + }), + (r.test = function (t) { + return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test( + t + ); + }); + }, + {}, + ], + 3: [ + function (t, i) { + function a(i, n) { + "string" == typeof i && ((n = i), (i = g)); + var f = []; + function h(t) { + if ("string" != typeof t) { + var i = c(); + if ( + (a.verbose && console.log("codegen: " + i), + (i = "return " + i), + t) + ) { + for ( + var n = Object.keys(t), + r = Array(n.length + 1), + e = Array(n.length), + s = 0; + s < n.length; + + ) + (r[s] = n[s]), (e[s] = t[n[s++]]); + return ( + (r[s] = i), Function.apply(null, r).apply(null, e) + ); + } + return Function(i)(); + } + for (var u = Array(arguments.length - 1), o = 0; o < u.length; ) + u[o] = arguments[++o]; + if ( + ((o = 0), + (t = t.replace(/%([%dfijs])/g, function (t, i) { + var n = u[o++]; + switch (i) { + case "d": + case "f": + return +n + ""; + case "i": + return Math.floor(n) + ""; + case "j": + return JSON.stringify(n); + case "s": + return n + ""; + } + return "%"; + })), + o !== u.length) + ) + throw Error("parameter count mismatch"); + return f.push(t), h; + } + function c(t) { + return ( + "function " + + (t || n || "") + + "(" + + ((i && i.join(",")) || "") + + "){\n " + + f.join("\n ") + + "\n}" + ); + } + return (h.toString = c), h; + } + (i.exports = a).verbose = !1; + }, + {}, + ], + 4: [ + function (t, i) { + function n() { + this.t = {}; + } + ((i.exports = n).prototype.on = function (t, i, n) { + return ( + (this.t[t] || (this.t[t] = [])).push({ fn: i, ctx: n || this }), + this + ); + }), + (n.prototype.off = function (t, i) { + if (t === g) this.t = {}; + else if (i === g) this.t[t] = []; + else + for (var n = this.t[t], r = 0; r < n.length; ) + n[r].fn === i ? n.splice(r, 1) : ++r; + return this; + }), + (n.prototype.emit = function (t) { + var i = this.t[t]; + if (i) { + for (var n = [], r = 1; r < arguments.length; ) + n.push(arguments[r++]); + for (r = 0; r < i.length; ) i[r].fn.apply(i[r++].ctx, n); + } + return this; + }); + }, + {}, + ], + 5: [ + function (t, i) { + i.exports = o; + var s = t(1), + u = t(7)("fs"); + function o(n, r, e) { + return ( + (r = "function" == typeof r ? ((e = r), {}) : r || {}), + e + ? !r.xhr && u && u.readFile + ? u.readFile(n, function (t, i) { + return t && "undefined" != typeof XMLHttpRequest + ? o.xhr(n, r, e) + : t + ? e(t) + : e(null, r.binary ? i : i.toString("utf8")); + }) + : o.xhr(n, r, e) + : s(o, this, n, r) + ); + } + o.xhr = function (t, n, r) { + var e = new XMLHttpRequest(); + (e.onreadystatechange = function () { + if (4 !== e.readyState) return g; + if (0 !== e.status && 200 !== e.status) + return r(Error("status " + e.status)); + if (n.binary) { + var t = e.response; + if (!t) { + t = []; + for (var i = 0; i < e.responseText.length; ++i) + t.push(255 & e.responseText.charCodeAt(i)); + } + return r( + null, + "undefined" != typeof Uint8Array ? new Uint8Array(t) : t + ); + } + return r(null, e.responseText); + }), + n.binary && + ("overrideMimeType" in e && + e.overrideMimeType( + "text/plain; charset=x-user-defined" + ), + (e.responseType = "arraybuffer")), + e.open("GET", t), + e.send(); + }; + }, + { 1: 1, 7: 7 }, + ], + 6: [ + function (t, i) { + function n(t) { + function i(t, i, n, r) { + var e = i < 0 ? 1 : 0; + if ((e && (i = -i), 0 === i)) + t(0 < 1 / i ? 0 : 2147483648, n, r); + else if (isNaN(i)) t(2143289344, n, r); + else if (34028234663852886e22 < i) + t(((e << 31) | 2139095040) >>> 0, n, r); + else if (i < 11754943508222875e-54) + t( + ((e << 31) | Math.round(i / 1401298464324817e-60)) >>> + 0, + n, + r + ); + else { + var s = Math.floor(Math.log(i) / Math.LN2); + t( + ((e << 31) | + ((127 + s) << 23) | + (8388607 & + Math.round(i * Math.pow(2, -s) * 8388608))) >>> + 0, + n, + r + ); + } + } + function n(t, i, n) { + var r = t(i, n), + e = 2 * (r >> 31) + 1, + s = (r >>> 23) & 255, + u = 8388607 & r; + return 255 == s + ? u + ? NaN + : (1 / 0) * e + : 0 == s + ? 1401298464324817e-60 * e * u + : e * Math.pow(2, s - 150) * (8388608 + u); + } + function r(t, i, n) { + (o[0] = t), + (i[n] = f[0]), + (i[n + 1] = f[1]), + (i[n + 2] = f[2]), + (i[n + 3] = f[3]); + } + function e(t, i, n) { + (o[0] = t), + (i[n] = f[3]), + (i[n + 1] = f[2]), + (i[n + 2] = f[1]), + (i[n + 3] = f[0]); + } + function s(t, i) { + return ( + (f[0] = t[i]), + (f[1] = t[i + 1]), + (f[2] = t[i + 2]), + (f[3] = t[i + 3]), + o[0] + ); + } + function u(t, i) { + return ( + (f[3] = t[i]), + (f[2] = t[i + 1]), + (f[1] = t[i + 2]), + (f[0] = t[i + 3]), + o[0] + ); + } + var o, f, h, c, a, l; + function v(t, i, n, r, e, s) { + var u = r < 0 ? 1 : 0; + if ((u && (r = -r), 0 === r)) + t(0, e, s + i), t(0 < 1 / r ? 0 : 2147483648, e, s + n); + else if (isNaN(r)) t(0, e, s + i), t(2146959360, e, s + n); + else if (17976931348623157e292 < r) + t(0, e, s + i), t(((u << 31) | 2146435072) >>> 0, e, s + n); + else { + var o; + if (r < 22250738585072014e-324) + t((o = r / 5e-324) >>> 0, e, s + i), + t(((u << 31) | (o / 4294967296)) >>> 0, e, s + n); + else { + var f = Math.floor(Math.log(r) / Math.LN2); + 1024 === f && (f = 1023), + t( + (4503599627370496 * + (o = r * Math.pow(2, -f))) >>> + 0, + e, + s + i + ), + t( + ((u << 31) | + ((f + 1023) << 20) | + ((1048576 * o) & 1048575)) >>> + 0, + e, + s + n + ); + } + } + } + function d(t, i, n, r, e) { + var s = t(r, e + i), + u = t(r, e + n), + o = 2 * (u >> 31) + 1, + f = (u >>> 20) & 2047, + h = 4294967296 * (1048575 & u) + s; + return 2047 == f + ? h + ? NaN + : (1 / 0) * o + : 0 == f + ? 5e-324 * o * h + : o * Math.pow(2, f - 1075) * (h + 4503599627370496); + } + function b(t, i, n) { + (c[0] = t), + (i[n] = a[0]), + (i[n + 1] = a[1]), + (i[n + 2] = a[2]), + (i[n + 3] = a[3]), + (i[n + 4] = a[4]), + (i[n + 5] = a[5]), + (i[n + 6] = a[6]), + (i[n + 7] = a[7]); + } + function y(t, i, n) { + (c[0] = t), + (i[n] = a[7]), + (i[n + 1] = a[6]), + (i[n + 2] = a[5]), + (i[n + 3] = a[4]), + (i[n + 4] = a[3]), + (i[n + 5] = a[2]), + (i[n + 6] = a[1]), + (i[n + 7] = a[0]); + } + function p(t, i) { + return ( + (a[0] = t[i]), + (a[1] = t[i + 1]), + (a[2] = t[i + 2]), + (a[3] = t[i + 3]), + (a[4] = t[i + 4]), + (a[5] = t[i + 5]), + (a[6] = t[i + 6]), + (a[7] = t[i + 7]), + c[0] + ); + } + function m(t, i) { + return ( + (a[7] = t[i]), + (a[6] = t[i + 1]), + (a[5] = t[i + 2]), + (a[4] = t[i + 3]), + (a[3] = t[i + 4]), + (a[2] = t[i + 5]), + (a[1] = t[i + 6]), + (a[0] = t[i + 7]), + c[0] + ); + } + return ( + "undefined" != typeof Float32Array + ? ((o = new Float32Array([-0])), + (f = new Uint8Array(o.buffer)), + (h = 128 === f[3]), + (t.writeFloatLE = h ? r : e), + (t.writeFloatBE = h ? e : r), + (t.readFloatLE = h ? s : u), + (t.readFloatBE = h ? u : s)) + : ((t.writeFloatLE = i.bind(null, w)), + (t.writeFloatBE = i.bind(null, g)), + (t.readFloatLE = n.bind(null, j)), + (t.readFloatBE = n.bind(null, k))), + "undefined" != typeof Float64Array + ? ((c = new Float64Array([-0])), + (a = new Uint8Array(c.buffer)), + (l = 128 === a[7]), + (t.writeDoubleLE = l ? b : y), + (t.writeDoubleBE = l ? y : b), + (t.readDoubleLE = l ? p : m), + (t.readDoubleBE = l ? m : p)) + : ((t.writeDoubleLE = v.bind(null, w, 0, 4)), + (t.writeDoubleBE = v.bind(null, g, 4, 0)), + (t.readDoubleLE = d.bind(null, j, 0, 4)), + (t.readDoubleBE = d.bind(null, k, 4, 0))), + t + ); + } + function w(t, i, n) { + (i[n] = 255 & t), + (i[n + 1] = (t >>> 8) & 255), + (i[n + 2] = (t >>> 16) & 255), + (i[n + 3] = t >>> 24); + } + function g(t, i, n) { + (i[n] = t >>> 24), + (i[n + 1] = (t >>> 16) & 255), + (i[n + 2] = (t >>> 8) & 255), + (i[n + 3] = 255 & t); + } + function j(t, i) { + return ( + (t[i] | + (t[i + 1] << 8) | + (t[i + 2] << 16) | + (t[i + 3] << 24)) >>> + 0 + ); + } + function k(t, i) { + return ( + ((t[i] << 24) | + (t[i + 1] << 16) | + (t[i + 2] << 8) | + t[i + 3]) >>> + 0 + ); + } + i.exports = n(n); + }, + {}, + ], + 7: [ + function (t, i, n) { + function r(t) { + try { + var i = eval("require")(t); + if (i && (i.length || Object.keys(i).length)) return i; + } catch (t) {} + return null; + } + i.exports = r; + }, + {}, + ], + 8: [ + function (t, i, n) { + var r = n, + s = (r.isAbsolute = function (t) { + return /^(?:\/|\w+:)/.test(t); + }), + e = (r.normalize = function (t) { + var i = (t = t + .replace(/\\/g, "/") + .replace(/\/{2,}/g, "/")).split("/"), + n = s(t), + r = ""; + n && (r = i.shift() + "/"); + for (var e = 0; e < i.length; ) + ".." === i[e] + ? 0 < e && ".." !== i[e - 1] + ? i.splice(--e, 2) + : n + ? i.splice(e, 1) + : ++e + : "." === i[e] + ? i.splice(e, 1) + : ++e; + return r + i.join("/"); + }); + r.resolve = function (t, i, n) { + return ( + n || (i = e(i)), + s(i) + ? i + : (n || (t = e(t)), + (t = t.replace(/(?:\/|^)[^/]+$/, "")).length + ? e(t + "/" + i) + : i) + ); + }; + }, + {}, + ], + 9: [ + function (t, i) { + i.exports = function (n, r, t) { + var e = t || 8192, + s = e >>> 1, + u = null, + o = e; + return function (t) { + if (t < 1 || s < t) return n(t); + e < o + t && ((u = n(e)), (o = 0)); + var i = r.call(u, o, (o += t)); + return 7 & o && (o = 1 + (7 | o)), i; + }; + }; + }, + {}, + ], + 10: [ + function (t, i, n) { + var r = n; + (r.length = function (t) { + for (var i = 0, n = 0, r = 0; r < t.length; ++r) + (n = t.charCodeAt(r)) < 128 + ? (i += 1) + : n < 2048 + ? (i += 2) + : 55296 == (64512 & n) && + 56320 == (64512 & t.charCodeAt(r + 1)) + ? (++r, (i += 4)) + : (i += 3); + return i; + }), + (r.read = function (t, i, n) { + if (n - i < 1) return ""; + for (var r, e = null, s = [], u = 0; i < n; ) + (r = t[i++]) < 128 + ? (s[u++] = r) + : 191 < r && r < 224 + ? (s[u++] = ((31 & r) << 6) | (63 & t[i++])) + : 239 < r && r < 365 + ? ((r = + (((7 & r) << 18) | + ((63 & t[i++]) << 12) | + ((63 & t[i++]) << 6) | + (63 & t[i++])) - + 65536), + (s[u++] = 55296 + (r >> 10)), + (s[u++] = 56320 + (1023 & r))) + : (s[u++] = + ((15 & r) << 12) | + ((63 & t[i++]) << 6) | + (63 & t[i++])), + 8191 < u && + ((e = e || []).push( + String.fromCharCode.apply(String, s) + ), + (u = 0)); + return e + ? (u && + e.push( + String.fromCharCode.apply(String, s.slice(0, u)) + ), + e.join("")) + : String.fromCharCode.apply(String, s.slice(0, u)); + }), + (r.write = function (t, i, n) { + for (var r, e, s = n, u = 0; u < t.length; ++u) + (r = t.charCodeAt(u)) < 128 + ? (i[n++] = r) + : (r < 2048 + ? (i[n++] = (r >> 6) | 192) + : (55296 == (64512 & r) && + 56320 == (64512 & (e = t.charCodeAt(u + 1))) + ? ((r = + 65536 + + ((1023 & r) << 10) + + (1023 & e)), + ++u, + (i[n++] = (r >> 18) | 240), + (i[n++] = ((r >> 12) & 63) | 128)) + : (i[n++] = (r >> 12) | 224), + (i[n++] = ((r >> 6) & 63) | 128)), + (i[n++] = (63 & r) | 128)); + return n - s; + }); + }, + {}, + ], + 11: [ + function (t, i, n) { + var r = n, + l = t(14), + v = t(33); + function u(t, i, n, r) { + if (i.resolvedType) + if (i.resolvedType instanceof l) { + t("switch(d%s){", r); + for ( + var e = i.resolvedType.values, + s = Object.keys(e), + u = 0; + u < s.length; + ++u + ) + i.repeated && + e[s[u]] === i.typeDefault && + t("default:"), + t("case%j:", s[u])("case %i:", e[s[u]])( + "m%s=%j", + r, + e[s[u]] + )("break"); + t("}"); + } else + t('if(typeof d%s!=="object")', r)( + "throw TypeError(%j)", + i.fullName + ": object expected" + )("m%s=types[%i].fromObject(d%s)", r, n, r); + else { + var o = !1; + switch (i.type) { + case "double": + case "float": + t("m%s=Number(d%s)", r, r); + break; + case "uint32": + case "fixed32": + t("m%s=d%s>>>0", r, r); + break; + case "int32": + case "sint32": + case "sfixed32": + t("m%s=d%s|0", r, r); + break; + case "uint64": + o = !0; + case "int64": + case "sint64": + case "fixed64": + case "sfixed64": + t("if(util.Long)")( + "(m%s=util.Long.fromValue(d%s)).unsigned=%j", + r, + r, + o + )('else if(typeof d%s==="string")', r)( + "m%s=parseInt(d%s,10)", + r, + r + )('else if(typeof d%s==="number")', r)( + "m%s=d%s", + r, + r + )('else if(typeof d%s==="object")', r)( + "m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)", + r, + r, + r, + o ? "true" : "" + ); + break; + case "bytes": + t('if(typeof d%s==="string")', r)( + "util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)", + r, + r, + r + )("else if(d%s.length)", r)("m%s=d%s", r, r); + break; + case "string": + t("m%s=String(d%s)", r, r); + break; + case "bool": + t("m%s=Boolean(d%s)", r, r); + } + } + return t; + } + function d(t, i, n, r) { + if (i.resolvedType) + i.resolvedType instanceof l + ? t( + "d%s=o.enums===String?types[%i].values[m%s]:m%s", + r, + n, + r, + r + ) + : t("d%s=types[%i].toObject(m%s,o)", r, n, r); + else { + var e = !1; + switch (i.type) { + case "double": + case "float": + t( + "d%s=o.json&&!isFinite(m%s)?String(m%s):m%s", + r, + r, + r, + r + ); + break; + case "uint64": + e = !0; + case "int64": + case "sint64": + case "fixed64": + case "sfixed64": + t('if(typeof m%s==="number")', r)( + "d%s=o.longs===String?String(m%s):m%s", + r, + r, + r + )("else")( + "d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s", + r, + r, + r, + r, + e ? "true" : "", + r + ); + break; + case "bytes": + t( + "d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s", + r, + r, + r, + r, + r + ); + break; + default: + t("d%s=m%s", r, r); + } + } + return t; + } + (r.fromObject = function (t) { + var i = t.fieldsArray, + n = v.codegen( + ["d"], + t.name + "$fromObject" + )("if(d instanceof this.ctor)")("return d"); + if (!i.length) return n("return new this.ctor"); + n("var m=new this.ctor"); + for (var r = 0; r < i.length; ++r) { + var e = i[r].resolve(), + s = v.safeProp(e.name); + e.map + ? (n("if(d%s){", s)('if(typeof d%s!=="object")', s)( + "throw TypeError(%j)", + e.fullName + ": object expected" + )("m%s={}", s)( + "for(var ks=Object.keys(d%s),i=0;i>>3){"); + for (var n = 0; n < t.fieldsArray.length; ++n) { + var r = t.i[n].resolve(), + e = r.resolvedType instanceof o ? "int32" : r.type, + s = "m" + h.safeProp(r.name); + i("case %i:", r.id), + r.map + ? (i("if(%s===util.emptyObject)", s)("%s={}", s)( + "var c2 = r.uint32()+r.pos" + ), + f.defaults[r.keyType] !== g + ? i("k=%j", f.defaults[r.keyType]) + : i("k=null"), + f.defaults[e] !== g + ? i("value=%j", f.defaults[e]) + : i("value=null"), + i("while(r.pos>>3){" + )( + "case 1: k=r.%s(); break", + r.keyType + )("case 2:"), + f.basic[e] === g + ? i("value=types[%i].decode(r,r.uint32())", n) + : i("value=r.%s()", e), + i("break")("default:")("r.skipType(tag2&7)")("break")( + "}" + )("}"), + f.long[r.keyType] !== g + ? i( + '%s[typeof k==="object"?util.longToHash(k):k]=value', + s + ) + : i("%s[k]=value", s)) + : r.repeated + ? (i("if(!(%s&&%s.length))", s, s)("%s=[]", s), + f.packed[e] !== g && + i("if((t&7)===2){")("var c2=r.uint32()+r.pos")( + "while(r.pos>> 0, + 8 | c.mapKey[s.keyType], + s.keyType + ), + f === g + ? n( + "types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()", + u, + i + ) + : n( + ".uint32(%i).%s(%s[ks[i]]).ldelim()", + 16 | f, + o, + i + ), + n("}")("}")) + : s.repeated + ? (n("if(%s!=null&&%s.length){", i, i), + s.packed && c.packed[o] !== g + ? n( + "w.uint32(%i).fork()", + ((s.id << 3) | 2) >>> 0 + )("for(var i=0;i<%s.length;++i)", i)( + "w.%s(%s[i])", + o, + i + )("w.ldelim()") + : (n("for(var i=0;i<%s.length;++i)", i), + f === g + ? l(n, s, u, i + "[i]") + : n( + "w.uint32(%i).%s(%s[i])", + ((s.id << 3) | f) >>> 0, + o, + i + )), + n("}")) + : (s.optional && + n( + "if(%s!=null&&Object.hasOwnProperty.call(m,%j))", + i, + s.name + ), + f === g + ? l(n, s, u, i) + : n( + "w.uint32(%i).%s(%s)", + ((s.id << 3) | f) >>> 0, + o, + i + )); + } + return n("return w"); + }; + var h = t(14), + c = t(32), + a = t(33); + function l(t, i, n, r) { + return i.resolvedType.group + ? t( + "types[%i].encode(%s,w.uint32(%i)).uint32(%i)", + n, + r, + ((i.id << 3) | 3) >>> 0, + ((i.id << 3) | 4) >>> 0 + ) + : t( + "types[%i].encode(%s,w.uint32(%i).fork()).ldelim()", + n, + r, + ((i.id << 3) | 2) >>> 0 + ); + } + }, + { 14: 14, 32: 32, 33: 33 }, + ], + 14: [ + function (t, i) { + i.exports = e; + var o = t(22); + ((e.prototype = Object.create(o.prototype)).constructor = e).className = + "Enum"; + var n = t(21), + r = t(33); + function e(t, i, n, r, e) { + if ((o.call(this, t, n), i && "object" != typeof i)) + throw TypeError("values must be an object"); + if ( + ((this.valuesById = {}), + (this.values = Object.create(this.valuesById)), + (this.comment = r), + (this.comments = e || {}), + (this.reserved = g), + i) + ) + for (var s = Object.keys(i), u = 0; u < s.length; ++u) + "number" == typeof i[s[u]] && + (this.valuesById[(this.values[s[u]] = i[s[u]])] = s[u]); + } + (e.fromJSON = function (t, i) { + var n = new e(t, i.values, i.options, i.comment, i.comments); + return (n.reserved = i.reserved), n; + }), + (e.prototype.toJSON = function (t) { + var i = !!t && !!t.keepComments; + return r.toObject([ + "options", + this.options, + "values", + this.values, + "reserved", + this.reserved && this.reserved.length ? this.reserved : g, + "comment", + i ? this.comment : g, + "comments", + i ? this.comments : g, + ]); + }), + (e.prototype.add = function (t, i, n) { + if (!r.isString(t)) throw TypeError("name must be a string"); + if (!r.isInteger(i)) throw TypeError("id must be an integer"); + if (this.values[t] !== g) + throw Error("duplicate name '" + t + "' in " + this); + if (this.isReservedId(i)) + throw Error("id " + i + " is reserved in " + this); + if (this.isReservedName(t)) + throw Error("name '" + t + "' is reserved in " + this); + if (this.valuesById[i] !== g) { + if (!this.options || !this.options.allow_alias) + throw Error("duplicate id " + i + " in " + this); + this.values[t] = i; + } else this.valuesById[(this.values[t] = i)] = t; + return (this.comments[t] = n || null), this; + }), + (e.prototype.remove = function (t) { + if (!r.isString(t)) throw TypeError("name must be a string"); + var i = this.values[t]; + if (null == i) + throw Error("name '" + t + "' does not exist in " + this); + return ( + delete this.valuesById[i], + delete this.values[t], + delete this.comments[t], + this + ); + }), + (e.prototype.isReservedId = function (t) { + return n.isReservedId(this.reserved, t); + }), + (e.prototype.isReservedName = function (t) { + return n.isReservedName(this.reserved, t); + }); + }, + { 21: 21, 22: 22, 33: 33 }, + ], + 15: [ + function (t, i) { + i.exports = u; + var o = t(22); + ((u.prototype = Object.create(o.prototype)).constructor = u).className = + "Field"; + var n, + r = t(14), + f = t(32), + h = t(33), + c = /^required|optional|repeated$/; + function u(t, i, n, r, e, s, u) { + if ( + (h.isObject(r) + ? ((u = e), (s = r), (r = e = g)) + : h.isObject(e) && ((u = s), (s = e), (e = g)), + o.call(this, t, s), + !h.isInteger(i) || i < 0) + ) + throw TypeError("id must be a non-negative integer"); + if (!h.isString(n)) throw TypeError("type must be a string"); + if (r !== g && !c.test((r = r.toString().toLowerCase()))) + throw TypeError("rule must be a string rule"); + if (e !== g && !h.isString(e)) + throw TypeError("extend must be a string"); + (this.rule = r && "optional" !== r ? r : g), + (this.type = n), + (this.id = i), + (this.extend = e || g), + (this.required = "required" === r), + (this.optional = !this.required), + (this.repeated = "repeated" === r), + (this.map = !1), + (this.message = null), + (this.partOf = null), + (this.typeDefault = null), + (this.defaultValue = null), + (this.long = !!h.Long && f.long[n] !== g), + (this.bytes = "bytes" === n), + (this.resolvedType = null), + (this.extensionField = null), + (this.declaringField = null), + (this.n = null), + (this.comment = u); + } + (u.fromJSON = function (t, i) { + return new u( + t, + i.id, + i.type, + i.rule, + i.extend, + i.options, + i.comment + ); + }), + Object.defineProperty(u.prototype, "packed", { + get: function () { + return ( + null === this.n && + (this.n = !1 !== this.getOption("packed")), + this.n + ); + }, + }), + (u.prototype.setOption = function (t, i, n) { + return ( + "packed" === t && (this.n = null), + o.prototype.setOption.call(this, t, i, n) + ); + }), + (u.prototype.toJSON = function (t) { + var i = !!t && !!t.keepComments; + return h.toObject([ + "rule", + ("optional" !== this.rule && this.rule) || g, + "type", + this.type, + "id", + this.id, + "extend", + this.extend, + "options", + this.options, + "comment", + i ? this.comment : g, + ]); + }), + (u.prototype.resolve = function () { + if (this.resolved) return this; + if ( + ((this.typeDefault = f.defaults[this.type]) === g && + ((this.resolvedType = (this.declaringField + ? this.declaringField.parent + : this.parent + ).lookupTypeOrEnum(this.type)), + this.resolvedType instanceof n + ? (this.typeDefault = null) + : (this.typeDefault = this.resolvedType.values[ + Object.keys(this.resolvedType.values)[0] + ])), + this.options && + null != this.options.default && + ((this.typeDefault = this.options.default), + this.resolvedType instanceof r && + "string" == typeof this.typeDefault && + (this.typeDefault = this.resolvedType.values[ + this.typeDefault + ])), + this.options && + ((!0 !== this.options.packed && + (this.options.packed === g || + !this.resolvedType || + this.resolvedType instanceof r)) || + delete this.options.packed, + Object.keys(this.options).length || (this.options = g)), + this.long) + ) + (this.typeDefault = h.Long.fromNumber( + this.typeDefault, + "u" == this.type[0] + )), + Object.freeze && Object.freeze(this.typeDefault); + else if (this.bytes && "string" == typeof this.typeDefault) { + var t; + h.base64.test(this.typeDefault) + ? h.base64.decode( + this.typeDefault, + (t = h.newBuffer( + h.base64.length(this.typeDefault) + )), + 0 + ) + : h.utf8.write( + this.typeDefault, + (t = h.newBuffer( + h.utf8.length(this.typeDefault) + )), + 0 + ), + (this.typeDefault = t); + } + return ( + this.map + ? (this.defaultValue = h.emptyObject) + : this.repeated + ? (this.defaultValue = h.emptyArray) + : (this.defaultValue = this.typeDefault), + this.parent instanceof n && + (this.parent.ctor.prototype[ + this.name + ] = this.defaultValue), + o.prototype.resolve.call(this) + ); + }), + (u.d = function (n, r, e, s) { + return ( + "function" == typeof r + ? (r = h.decorateType(r).name) + : r && + "object" == typeof r && + (r = h.decorateEnum(r).name), + function (t, i) { + h.decorateType(t.constructor).add( + new u(i, n, r, e, { default: s }) + ); + } + ); + }), + (u.r = function (t) { + n = t; + }); + }, + { 14: 14, 22: 22, 32: 32, 33: 33 }, + ], + 16: [ + function (t, i) { + var r = (i.exports = t(17)); + (r.build = "light"), + (r.load = function (t, i, n) { + return (i = + "function" == typeof i + ? ((n = i), new r.Root()) + : i || new r.Root()).load(t, n); + }), + (r.loadSync = function (t, i) { + return (i = i || new r.Root()).loadSync(t); + }), + (r.encoder = t(13)), + (r.decoder = t(12)), + (r.verifier = t(36)), + (r.converter = t(11)), + (r.ReflectionObject = t(22)), + (r.Namespace = t(21)), + (r.Root = t(26)), + (r.Enum = t(14)), + (r.Type = t(31)), + (r.Field = t(15)), + (r.OneOf = t(23)), + (r.MapField = t(18)), + (r.Service = t(30)), + (r.Method = t(20)), + (r.Message = t(19)), + (r.wrappers = t(37)), + (r.types = t(32)), + (r.util = t(33)), + r.ReflectionObject.r(r.Root), + r.Namespace.r(r.Type, r.Service, r.Enum), + r.Root.r(r.Type), + r.Field.r(r.Type); + }, + { + 11: 11, + 12: 12, + 13: 13, + 14: 14, + 15: 15, + 17: 17, + 18: 18, + 19: 19, + 20: 20, + 21: 21, + 22: 22, + 23: 23, + 26: 26, + 30: 30, + 31: 31, + 32: 32, + 33: 33, + 36: 36, + 37: 37, + }, + ], + 17: [ + function (t, i, n) { + var r = n; + function e() { + r.util.r(), r.Writer.r(r.BufferWriter), r.Reader.r(r.BufferReader); + } + (r.build = "minimal"), + (r.Writer = t(38)), + (r.BufferWriter = t(39)), + (r.Reader = t(24)), + (r.BufferReader = t(25)), + (r.util = t(35)), + (r.rpc = t(28)), + (r.roots = t(27)), + (r.configure = e)(); + }, + { 24: 24, 25: 25, 27: 27, 28: 28, 35: 35, 38: 38, 39: 39 }, + ], + 18: [ + function (t, i) { + i.exports = s; + var u = t(15); + ((s.prototype = Object.create(u.prototype)).constructor = s).className = + "MapField"; + var n = t(32), + o = t(33); + function s(t, i, n, r, e, s) { + if ((u.call(this, t, i, r, g, g, e, s), !o.isString(n))) + throw TypeError("keyType must be a string"); + (this.keyType = n), (this.resolvedKeyType = null), (this.map = !0); + } + (s.fromJSON = function (t, i) { + return new s(t, i.id, i.keyType, i.type, i.options, i.comment); + }), + (s.prototype.toJSON = function (t) { + var i = !!t && !!t.keepComments; + return o.toObject([ + "keyType", + this.keyType, + "type", + this.type, + "id", + this.id, + "extend", + this.extend, + "options", + this.options, + "comment", + i ? this.comment : g, + ]); + }), + (s.prototype.resolve = function () { + if (this.resolved) return this; + if (n.mapKey[this.keyType] === g) + throw Error("invalid key type: " + this.keyType); + return u.prototype.resolve.call(this); + }), + (s.d = function (n, r, e) { + return ( + "function" == typeof e + ? (e = o.decorateType(e).name) + : e && + "object" == typeof e && + (e = o.decorateEnum(e).name), + function (t, i) { + o.decorateType(t.constructor).add(new s(i, n, r, e)); + } + ); + }); + }, + { 15: 15, 32: 32, 33: 33 }, + ], + 19: [ + function (t, i) { + i.exports = r; + var n = t(35); + function r(t) { + if (t) + for (var i = Object.keys(t), n = 0; n < i.length; ++n) + this[i[n]] = t[i[n]]; + } + (r.create = function (t) { + return this.$type.create(t); + }), + (r.encode = function (t, i) { + return this.$type.encode(t, i); + }), + (r.encodeDelimited = function (t, i) { + return this.$type.encodeDelimited(t, i); + }), + (r.decode = function (t) { + return this.$type.decode(t); + }), + (r.decodeDelimited = function (t) { + return this.$type.decodeDelimited(t); + }), + (r.verify = function (t) { + return this.$type.verify(t); + }), + (r.fromObject = function (t) { + return this.$type.fromObject(t); + }), + (r.toObject = function (t, i) { + return this.$type.toObject(t, i); + }), + (r.prototype.toJSON = function () { + return this.$type.toObject(this, n.toJSONOptions); + }); + }, + { 35: 35 }, + ], + 20: [ + function (t, i) { + i.exports = n; + var f = t(22); + ((n.prototype = Object.create(f.prototype)).constructor = n).className = + "Method"; + var h = t(33); + function n(t, i, n, r, e, s, u, o) { + if ( + (h.isObject(e) + ? ((u = e), (e = s = g)) + : h.isObject(s) && ((u = s), (s = g)), + i !== g && !h.isString(i)) + ) + throw TypeError("type must be a string"); + if (!h.isString(n)) throw TypeError("requestType must be a string"); + if (!h.isString(r)) + throw TypeError("responseType must be a string"); + f.call(this, t, u), + (this.type = i || "rpc"), + (this.requestType = n), + (this.requestStream = !!e || g), + (this.responseType = r), + (this.responseStream = !!s || g), + (this.resolvedRequestType = null), + (this.resolvedResponseType = null), + (this.comment = o); + } + (n.fromJSON = function (t, i) { + return new n( + t, + i.type, + i.requestType, + i.responseType, + i.requestStream, + i.responseStream, + i.options, + i.comment + ); + }), + (n.prototype.toJSON = function (t) { + var i = !!t && !!t.keepComments; + return h.toObject([ + "type", + ("rpc" !== this.type && this.type) || g, + "requestType", + this.requestType, + "requestStream", + this.requestStream, + "responseType", + this.responseType, + "responseStream", + this.responseStream, + "options", + this.options, + "comment", + i ? this.comment : g, + ]); + }), + (n.prototype.resolve = function () { + return this.resolved + ? this + : ((this.resolvedRequestType = this.parent.lookupType( + this.requestType + )), + (this.resolvedResponseType = this.parent.lookupType( + this.responseType + )), + f.prototype.resolve.call(this)); + }); + }, + { 22: 22, 33: 33 }, + ], + 21: [ + function (t, i) { + i.exports = h; + var n = t(22); + ((h.prototype = Object.create(n.prototype)).constructor = h).className = + "Namespace"; + var e, + s, + u, + o = t(15), + f = t(33); + function r(t, i) { + if (!t || !t.length) return g; + for (var n = {}, r = 0; r < t.length; ++r) + n[t[r].name] = t[r].toJSON(i); + return n; + } + function h(t, i) { + n.call(this, t, i), (this.nested = g), (this.e = null); + } + function c(t) { + return (t.e = null), t; + } + (h.fromJSON = function (t, i) { + return new h(t, i.options).addJSON(i.nested); + }), + (h.arrayToJSON = r), + (h.isReservedId = function (t, i) { + if (t) + for (var n = 0; n < t.length; ++n) + if ( + "string" != typeof t[n] && + t[n][0] <= i && + t[n][1] > i + ) + return !0; + return !1; + }), + (h.isReservedName = function (t, i) { + if (t) + for (var n = 0; n < t.length; ++n) + if (t[n] === i) return !0; + return !1; + }), + Object.defineProperty(h.prototype, "nestedArray", { + get: function () { + return this.e || (this.e = f.toArray(this.nested)); + }, + }), + (h.prototype.toJSON = function (t) { + return f.toObject([ + "options", + this.options, + "nested", + r(this.nestedArray, t), + ]); + }), + (h.prototype.addJSON = function (t) { + if (t) + for (var i, n = Object.keys(t), r = 0; r < n.length; ++r) + (i = t[n[r]]), + this.add( + (i.fields !== g + ? e.fromJSON + : i.values !== g + ? u.fromJSON + : i.methods !== g + ? s.fromJSON + : i.id !== g + ? o.fromJSON + : h.fromJSON)(n[r], i) + ); + return this; + }), + (h.prototype.get = function (t) { + return (this.nested && this.nested[t]) || null; + }), + (h.prototype.getEnum = function (t) { + if (this.nested && this.nested[t] instanceof u) + return this.nested[t].values; + throw Error("no such enum: " + t); + }), + (h.prototype.add = function (t) { + if ( + !( + (t instanceof o && t.extend !== g) || + t instanceof e || + t instanceof u || + t instanceof s || + t instanceof h + ) + ) + throw TypeError("object must be a valid nested object"); + if (this.nested) { + var i = this.get(t.name); + if (i) { + if ( + !(i instanceof h && t instanceof h) || + i instanceof e || + i instanceof s + ) + throw Error( + "duplicate name '" + t.name + "' in " + this + ); + for (var n = i.nestedArray, r = 0; r < n.length; ++r) + t.add(n[r]); + this.remove(i), + this.nested || (this.nested = {}), + t.setOptions(i.options, !0); + } + } else this.nested = {}; + return (this.nested[t.name] = t).onAdd(this), c(this); + }), + (h.prototype.remove = function (t) { + if (!(t instanceof n)) + throw TypeError("object must be a ReflectionObject"); + if (t.parent !== this) + throw Error(t + " is not a member of " + this); + return ( + delete this.nested[t.name], + Object.keys(this.nested).length || (this.nested = g), + t.onRemove(this), + c(this) + ); + }), + (h.prototype.define = function (t, i) { + if (f.isString(t)) t = t.split("."); + else if (!Array.isArray(t)) throw TypeError("illegal path"); + if (t && t.length && "" === t[0]) + throw Error("path must be relative"); + for (var n = this; 0 < t.length; ) { + var r = t.shift(); + if (n.nested && n.nested[r]) { + if (!((n = n.nested[r]) instanceof h)) + throw Error( + "path conflicts with non-namespace objects" + ); + } else n.add((n = new h(r))); + } + return i && n.addJSON(i), n; + }), + (h.prototype.resolveAll = function () { + for (var t = this.nestedArray, i = 0; i < t.length; ) + t[i] instanceof h ? t[i++].resolveAll() : t[i++].resolve(); + return this.resolve(); + }), + (h.prototype.lookup = function (t, i, n) { + if ( + ("boolean" == typeof i + ? ((n = i), (i = g)) + : i && !Array.isArray(i) && (i = [i]), + f.isString(t) && t.length) + ) { + if ("." === t) return this.root; + t = t.split("."); + } else if (!t.length) return this; + if ("" === t[0]) return this.root.lookup(t.slice(1), i); + var r = this.get(t[0]); + if (r) { + if (1 === t.length) { + if (!i || ~i.indexOf(r.constructor)) return r; + } else if ( + r instanceof h && + (r = r.lookup(t.slice(1), i, !0)) + ) + return r; + } else + for (var e = 0; e < this.nestedArray.length; ++e) + if ( + this.e[e] instanceof h && + (r = this.e[e].lookup(t, i, !0)) + ) + return r; + return null === this.parent || n + ? null + : this.parent.lookup(t, i); + }), + (h.prototype.lookupType = function (t) { + var i = this.lookup(t, [e]); + if (!i) throw Error("no such type: " + t); + return i; + }), + (h.prototype.lookupEnum = function (t) { + var i = this.lookup(t, [u]); + if (!i) throw Error("no such Enum '" + t + "' in " + this); + return i; + }), + (h.prototype.lookupTypeOrEnum = function (t) { + var i = this.lookup(t, [e, u]); + if (!i) + throw Error("no such Type or Enum '" + t + "' in " + this); + return i; + }), + (h.prototype.lookupService = function (t) { + var i = this.lookup(t, [s]); + if (!i) throw Error("no such Service '" + t + "' in " + this); + return i; + }), + (h.r = function (t, i, n) { + (e = t), (s = i), (u = n); + }); + }, + { 15: 15, 22: 22, 33: 33 }, + ], + 22: [ + function (t, i) { + (i.exports = r).className = "ReflectionObject"; + var n, + o = t(33); + function r(t, i) { + if (!o.isString(t)) throw TypeError("name must be a string"); + if (i && !o.isObject(i)) + throw TypeError("options must be an object"); + (this.options = i), + (this.parsedOptions = null), + (this.name = t), + (this.parent = null), + (this.resolved = !1), + (this.comment = null), + (this.filename = null); + } + Object.defineProperties(r.prototype, { + root: { + get: function () { + for (var t = this; null !== t.parent; ) t = t.parent; + return t; + }, + }, + fullName: { + get: function () { + for (var t = [this.name], i = this.parent; i; ) + t.unshift(i.name), (i = i.parent); + return t.join("."); + }, + }, + }), + (r.prototype.toJSON = function () { + throw Error(); + }), + (r.prototype.onAdd = function (t) { + this.parent && this.parent !== t && this.parent.remove(this), + (this.parent = t), + (this.resolved = !1); + var i = t.root; + i instanceof n && i.u(this); + }), + (r.prototype.onRemove = function (t) { + var i = t.root; + i instanceof n && i.o(this), + (this.parent = null), + (this.resolved = !1); + }), + (r.prototype.resolve = function () { + return ( + this.resolved || + (this.root instanceof n && (this.resolved = !0)), + this + ); + }), + (r.prototype.getOption = function (t) { + return this.options ? this.options[t] : g; + }), + (r.prototype.setOption = function (t, i, n) { + return ( + (n && this.options && this.options[t] !== g) || + ((this.options || (this.options = {}))[t] = i), + this + ); + }), + (r.prototype.setParsedOption = function (i, t, n) { + this.parsedOptions || (this.parsedOptions = []); + var r = this.parsedOptions; + if (n) { + var e = r.find(function (t) { + return Object.prototype.hasOwnProperty.call(t, i); + }); + if (e) { + var s = e[i]; + o.setProperty(s, n, t); + } else ((e = {})[i] = o.setProperty({}, n, t)), r.push(e); + } else { + var u = {}; + (u[i] = t), r.push(u); + } + return this; + }), + (r.prototype.setOptions = function (t, i) { + if (t) + for (var n = Object.keys(t), r = 0; r < n.length; ++r) + this.setOption(n[r], t[n[r]], i); + return this; + }), + (r.prototype.toString = function () { + var t = this.constructor.className, + i = this.fullName; + return i.length ? t + " " + i : t; + }), + (r.r = function (t) { + n = t; + }); + }, + { 33: 33 }, + ], + 23: [ + function (t, i) { + i.exports = s; + var e = t(22); + ((s.prototype = Object.create(e.prototype)).constructor = s).className = + "OneOf"; + var n = t(15), + r = t(33); + function s(t, i, n, r) { + if ( + (Array.isArray(i) || ((n = i), (i = g)), + e.call(this, t, n), + i !== g && !Array.isArray(i)) + ) + throw TypeError("fieldNames must be an Array"); + (this.oneof = i || []), (this.fieldsArray = []), (this.comment = r); + } + function u(t) { + if (t.parent) + for (var i = 0; i < t.fieldsArray.length; ++i) + t.fieldsArray[i].parent || t.parent.add(t.fieldsArray[i]); + } + (s.fromJSON = function (t, i) { + return new s(t, i.oneof, i.options, i.comment); + }), + (s.prototype.toJSON = function (t) { + var i = !!t && !!t.keepComments; + return r.toObject([ + "options", + this.options, + "oneof", + this.oneof, + "comment", + i ? this.comment : g, + ]); + }), + (s.prototype.add = function (t) { + if (!(t instanceof n)) throw TypeError("field must be a Field"); + return ( + t.parent && t.parent !== this.parent && t.parent.remove(t), + this.oneof.push(t.name), + this.fieldsArray.push(t), + u((t.partOf = this)), + this + ); + }), + (s.prototype.remove = function (t) { + if (!(t instanceof n)) throw TypeError("field must be a Field"); + var i = this.fieldsArray.indexOf(t); + if (i < 0) throw Error(t + " is not a member of " + this); + return ( + this.fieldsArray.splice(i, 1), + -1 < (i = this.oneof.indexOf(t.name)) && + this.oneof.splice(i, 1), + (t.partOf = null), + this + ); + }), + (s.prototype.onAdd = function (t) { + e.prototype.onAdd.call(this, t); + for (var i = 0; i < this.oneof.length; ++i) { + var n = t.get(this.oneof[i]); + n && !n.partOf && (n.partOf = this).fieldsArray.push(n); + } + u(this); + }), + (s.prototype.onRemove = function (t) { + for (var i, n = 0; n < this.fieldsArray.length; ++n) + (i = this.fieldsArray[n]).parent && i.parent.remove(i); + e.prototype.onRemove.call(this, t); + }), + (s.d = function () { + for ( + var n = Array(arguments.length), t = 0; + t < arguments.length; + + ) + n[t] = arguments[t++]; + return function (t, i) { + r.decorateType(t.constructor).add(new s(i, n)), + Object.defineProperty(t, i, { + get: r.oneOfGetter(n), + set: r.oneOfSetter(n), + }); + }; + }); + }, + { 15: 15, 22: 22, 33: 33 }, + ], + 24: [ + function (t, i) { + i.exports = o; + var n, + r = t(35), + e = r.LongBits, + s = r.utf8; + function u(t, i) { + return RangeError( + "index out of range: " + + t.pos + + " + " + + (i || 1) + + " > " + + t.len + ); + } + function o(t) { + (this.buf = t), (this.pos = 0), (this.len = t.length); + } + function f() { + return r.Buffer + ? function (t) { + return (o.create = function (t) { + return r.Buffer.isBuffer(t) ? new n(t) : c(t); + })(t); + } + : c; + } + var h, + c = + "undefined" != typeof Uint8Array + ? function (t) { + if (t instanceof Uint8Array || Array.isArray(t)) + return new o(t); + throw Error("illegal buffer"); + } + : function (t) { + if (Array.isArray(t)) return new o(t); + throw Error("illegal buffer"); + }; + function a() { + var t = new e(0, 0), + i = 0; + if (!(4 < this.len - this.pos)) { + for (; i < 3; ++i) { + if (this.pos >= this.len) throw u(this); + if ( + ((t.lo = + (t.lo | ((127 & this.buf[this.pos]) << (7 * i))) >>> + 0), + this.buf[this.pos++] < 128) + ) + return t; + } + return ( + (t.lo = + (t.lo | ((127 & this.buf[this.pos++]) << (7 * i))) >>> + 0), + t + ); + } + for (; i < 4; ++i) + if ( + ((t.lo = + (t.lo | ((127 & this.buf[this.pos]) << (7 * i))) >>> 0), + this.buf[this.pos++] < 128) + ) + return t; + if ( + ((t.lo = (t.lo | ((127 & this.buf[this.pos]) << 28)) >>> 0), + (t.hi = (t.hi | ((127 & this.buf[this.pos]) >> 4)) >>> 0), + this.buf[this.pos++] < 128) + ) + return t; + if (((i = 0), 4 < this.len - this.pos)) { + for (; i < 5; ++i) + if ( + ((t.hi = + (t.hi | + ((127 & this.buf[this.pos]) << (7 * i + 3))) >>> + 0), + this.buf[this.pos++] < 128) + ) + return t; + } else + for (; i < 5; ++i) { + if (this.pos >= this.len) throw u(this); + if ( + ((t.hi = + (t.hi | + ((127 & this.buf[this.pos]) << (7 * i + 3))) >>> + 0), + this.buf[this.pos++] < 128) + ) + return t; + } + throw Error("invalid varint encoding"); + } + function l(t, i) { + return ( + (t[i - 4] | + (t[i - 3] << 8) | + (t[i - 2] << 16) | + (t[i - 1] << 24)) >>> + 0 + ); + } + function v() { + if (this.pos + 8 > this.len) throw u(this, 8); + return new e( + l(this.buf, (this.pos += 4)), + l(this.buf, (this.pos += 4)) + ); + } + (o.create = f()), + (o.prototype.f = + r.Array.prototype.subarray || r.Array.prototype.slice), + (o.prototype.uint32 = + ((h = 4294967295), + function () { + if ( + ((h = (127 & this.buf[this.pos]) >>> 0), + this.buf[this.pos++] < 128) + ) + return h; + if ( + ((h = (h | ((127 & this.buf[this.pos]) << 7)) >>> 0), + this.buf[this.pos++] < 128) + ) + return h; + if ( + ((h = (h | ((127 & this.buf[this.pos]) << 14)) >>> 0), + this.buf[this.pos++] < 128) + ) + return h; + if ( + ((h = (h | ((127 & this.buf[this.pos]) << 21)) >>> 0), + this.buf[this.pos++] < 128) + ) + return h; + if ( + ((h = (h | ((15 & this.buf[this.pos]) << 28)) >>> 0), + this.buf[this.pos++] < 128) + ) + return h; + if ((this.pos += 5) > this.len) + throw ((this.pos = this.len), u(this, 10)); + return h; + })), + (o.prototype.int32 = function () { + return 0 | this.uint32(); + }), + (o.prototype.sint32 = function () { + var t = this.uint32(); + return ((t >>> 1) ^ -(1 & t)) | 0; + }), + (o.prototype.bool = function () { + return 0 !== this.uint32(); + }), + (o.prototype.fixed32 = function () { + if (this.pos + 4 > this.len) throw u(this, 4); + return l(this.buf, (this.pos += 4)); + }), + (o.prototype.sfixed32 = function () { + if (this.pos + 4 > this.len) throw u(this, 4); + return 0 | l(this.buf, (this.pos += 4)); + }), + (o.prototype.float = function () { + if (this.pos + 4 > this.len) throw u(this, 4); + var t = r.float.readFloatLE(this.buf, this.pos); + return (this.pos += 4), t; + }), + (o.prototype.double = function () { + if (this.pos + 8 > this.len) throw u(this, 4); + var t = r.float.readDoubleLE(this.buf, this.pos); + return (this.pos += 8), t; + }), + (o.prototype.bytes = function () { + var t = this.uint32(), + i = this.pos, + n = this.pos + t; + if (n > this.len) throw u(this, t); + return ( + (this.pos += t), + Array.isArray(this.buf) + ? this.buf.slice(i, n) + : i === n + ? new this.buf.constructor(0) + : this.f.call(this.buf, i, n) + ); + }), + (o.prototype.string = function () { + var t = this.bytes(); + return s.read(t, 0, t.length); + }), + (o.prototype.skip = function (t) { + if ("number" == typeof t) { + if (this.pos + t > this.len) throw u(this, t); + this.pos += t; + } else + do { + if (this.pos >= this.len) throw u(this); + } while (128 & this.buf[this.pos++]); + return this; + }), + (o.prototype.skipType = function (t) { + switch (t) { + case 0: + this.skip(); + break; + case 1: + this.skip(8); + break; + case 2: + this.skip(this.uint32()); + break; + case 3: + for (; 4 != (t = 7 & this.uint32()); ) this.skipType(t); + break; + case 5: + this.skip(4); + break; + default: + throw Error( + "invalid wire type " + t + " at offset " + this.pos + ); + } + return this; + }), + (o.r = function (t) { + (n = t), (o.create = f()), n.r(); + var i = r.Long ? "toLong" : "toNumber"; + r.merge(o.prototype, { + int64: function () { + return a.call(this)[i](!1); + }, + uint64: function () { + return a.call(this)[i](!0); + }, + sint64: function () { + return a.call(this).zzDecode()[i](!1); + }, + fixed64: function () { + return v.call(this)[i](!0); + }, + sfixed64: function () { + return v.call(this)[i](!1); + }, + }); + }); + }, + { 35: 35 }, + ], + 25: [ + function (t, i) { + i.exports = e; + var n = t(24); + (e.prototype = Object.create(n.prototype)).constructor = e; + var r = t(35); + function e(t) { + n.call(this, t); + } + (e.r = function () { + r.Buffer && (e.prototype.f = r.Buffer.prototype.slice); + }), + (e.prototype.string = function () { + var t = this.uint32(); + return this.buf.utf8Slice + ? this.buf.utf8Slice( + this.pos, + (this.pos = Math.min(this.pos + t, this.len)) + ) + : this.buf.toString( + "utf-8", + this.pos, + (this.pos = Math.min(this.pos + t, this.len)) + ); + }), + e.r(); + }, + { 24: 24, 35: 35 }, + ], + 26: [ + function (t, i) { + i.exports = n; + var r = t(21); + ((n.prototype = Object.create(r.prototype)).constructor = n).className = + "Root"; + var e, + v, + d, + s = t(15), + u = t(14), + o = t(23), + b = t(33); + function n(t) { + r.call(this, "", t), (this.deferred = []), (this.files = []); + } + function y() {} + (n.fromJSON = function (t, i) { + return ( + (i = i || new n()), + t.options && i.setOptions(t.options), + i.addJSON(t.nested) + ); + }), + (n.prototype.resolvePath = b.path.resolve), + (n.prototype.fetch = b.fetch), + (n.prototype.load = function t(i, s, e) { + "function" == typeof s && ((e = s), (s = g)); + var u = this; + if (!e) return b.asPromise(t, u, i, s); + var o = e === y; + function f(t, i) { + if (e) { + var n = e; + if (((e = null), o)) throw t; + n(t, i); + } + } + function h(t) { + var i = t.lastIndexOf("google/protobuf/"); + if (-1 < i) { + var n = t.substring(i); + if (n in d) return n; + } + return null; + } + function c(t, i) { + try { + if ( + (b.isString(i) && + "{" == i[0] && + (i = JSON.parse(i)), + b.isString(i)) + ) { + v.filename = t; + var n, + r = v(i, u, s), + e = 0; + if (r.imports) + for (; e < r.imports.length; ++e) + (n = + h(r.imports[e]) || + u.resolvePath(t, r.imports[e])) && a(n); + if (r.weakImports) + for (e = 0; e < r.weakImports.length; ++e) + (n = + h(r.weakImports[e]) || + u.resolvePath(t, r.weakImports[e])) && + a(n, !0); + } else u.setOptions(i.options).addJSON(i.nested); + } catch (t) { + f(t); + } + o || l || f(null, u); + } + function a(n, r) { + if (!~u.files.indexOf(n)) + if ((u.files.push(n), n in d)) + o + ? c(n, d[n]) + : (++l, + setTimeout(function () { + --l, c(n, d[n]); + })); + else if (o) { + var t; + try { + t = b.fs.readFileSync(n).toString("utf8"); + } catch (t) { + return void (r || f(t)); + } + c(n, t); + } else + ++l, + u.fetch(n, function (t, i) { + --l, + e && + (t + ? r + ? l || f(null, u) + : f(t) + : c(n, i)); + }); + } + var l = 0; + b.isString(i) && (i = [i]); + for (var n, r = 0; r < i.length; ++r) + (n = u.resolvePath("", i[r])) && a(n); + return o ? u : (l || f(null, u), g); + }), + (n.prototype.loadSync = function (t, i) { + if (!b.isNode) throw Error("not supported"); + return this.load(t, i, y); + }), + (n.prototype.resolveAll = function () { + if (this.deferred.length) + throw Error( + "unresolvable extensions: " + + this.deferred + .map(function (t) { + return ( + "'extend " + + t.extend + + "' in " + + t.parent.fullName + ); + }) + .join(", ") + ); + return r.prototype.resolveAll.call(this); + }); + var f = /^[A-Z]/; + function h(t, i) { + var n = i.parent.lookup(i.extend); + if (n) { + var r = new s(i.fullName, i.id, i.type, i.rule, g, i.options); + return ((r.declaringField = i).extensionField = r), n.add(r), 1; + } + } + (n.prototype.u = function (t) { + if (t instanceof s) + t.extend === g || + t.extensionField || + h(0, t) || + this.deferred.push(t); + else if (t instanceof u) + f.test(t.name) && (t.parent[t.name] = t.values); + else if (!(t instanceof o)) { + if (t instanceof e) + for (var i = 0; i < this.deferred.length; ) + h(0, this.deferred[i]) + ? this.deferred.splice(i, 1) + : ++i; + for (var n = 0; n < t.nestedArray.length; ++n) this.u(t.e[n]); + f.test(t.name) && (t.parent[t.name] = t); + } + }), + (n.prototype.o = function (t) { + if (t instanceof s) { + if (t.extend !== g) + if (t.extensionField) + t.extensionField.parent.remove(t.extensionField), + (t.extensionField = null); + else { + var i = this.deferred.indexOf(t); + -1 < i && this.deferred.splice(i, 1); + } + } else if (t instanceof u) + f.test(t.name) && delete t.parent[t.name]; + else if (t instanceof r) { + for (var n = 0; n < t.nestedArray.length; ++n) + this.o(t.e[n]); + f.test(t.name) && delete t.parent[t.name]; + } + }), + (n.r = function (t, i, n) { + (e = t), (v = i), (d = n); + }); + }, + { 14: 14, 15: 15, 21: 21, 23: 23, 33: 33 }, + ], + 27: [ + function (t, i) { + i.exports = {}; + }, + {}, + ], + 28: [ + function (t, i, n) { + n.Service = t(29); + }, + { 29: 29 }, + ], + 29: [ + function (t, i) { + i.exports = n; + var o = t(35); + function n(t, i, n) { + if ("function" != typeof t) + throw TypeError("rpcImpl must be a function"); + o.EventEmitter.call(this), + (this.rpcImpl = t), + (this.requestDelimited = !!i), + (this.responseDelimited = !!n); + } + (((n.prototype = Object.create( + o.EventEmitter.prototype + )).constructor = n).prototype.rpcCall = function t(n, i, r, e, s) { + if (!e) throw TypeError("request must be specified"); + var u = this; + if (!s) return o.asPromise(t, u, n, i, r, e); + if (!u.rpcImpl) + return ( + setTimeout(function () { + s(Error("already ended")); + }, 0), + g + ); + try { + return u.rpcImpl( + n, + i[u.requestDelimited ? "encodeDelimited" : "encode"]( + e + ).finish(), + function (t, i) { + if (t) return u.emit("error", t, n), s(t); + if (null === i) return u.end(!0), g; + if (!(i instanceof r)) + try { + i = r[ + u.responseDelimited + ? "decodeDelimited" + : "decode" + ](i); + } catch (t) { + return u.emit("error", t, n), s(t); + } + return u.emit("data", i, n), s(null, i); + } + ); + } catch (t) { + return ( + u.emit("error", t, n), + setTimeout(function () { + s(t); + }, 0), + g + ); + } + }), + (n.prototype.end = function (t) { + return ( + this.rpcImpl && + (t || this.rpcImpl(null, null, null), + (this.rpcImpl = null), + this.emit("end").off()), + this + ); + }); + }, + { 35: 35 }, + ], + 30: [ + function (t, i) { + i.exports = u; + var r = t(21); + ((u.prototype = Object.create(r.prototype)).constructor = u).className = + "Service"; + var s = t(20), + o = t(33), + f = t(28); + function u(t, i) { + r.call(this, t, i), (this.methods = {}), (this.h = null); + } + function n(t) { + return (t.h = null), t; + } + (u.fromJSON = function (t, i) { + var n = new u(t, i.options); + if (i.methods) + for (var r = Object.keys(i.methods), e = 0; e < r.length; ++e) + n.add(s.fromJSON(r[e], i.methods[r[e]])); + return i.nested && n.addJSON(i.nested), (n.comment = i.comment), n; + }), + (u.prototype.toJSON = function (t) { + var i = r.prototype.toJSON.call(this, t), + n = !!t && !!t.keepComments; + return o.toObject([ + "options", + (i && i.options) || g, + "methods", + r.arrayToJSON(this.methodsArray, t) || {}, + "nested", + (i && i.nested) || g, + "comment", + n ? this.comment : g, + ]); + }), + Object.defineProperty(u.prototype, "methodsArray", { + get: function () { + return this.h || (this.h = o.toArray(this.methods)); + }, + }), + (u.prototype.get = function (t) { + return this.methods[t] || r.prototype.get.call(this, t); + }), + (u.prototype.resolveAll = function () { + for (var t = this.methodsArray, i = 0; i < t.length; ++i) + t[i].resolve(); + return r.prototype.resolve.call(this); + }), + (u.prototype.add = function (t) { + if (this.get(t.name)) + throw Error("duplicate name '" + t.name + "' in " + this); + return t instanceof s + ? n(((this.methods[t.name] = t).parent = this)) + : r.prototype.add.call(this, t); + }), + (u.prototype.remove = function (t) { + if (t instanceof s) { + if (this.methods[t.name] !== t) + throw Error(t + " is not a member of " + this); + return ( + delete this.methods[t.name], (t.parent = null), n(this) + ); + } + return r.prototype.remove.call(this, t); + }), + (u.prototype.create = function (t, i, n) { + for ( + var r, e = new f.Service(t, i, n), s = 0; + s < this.methodsArray.length; + ++s + ) { + var u = o + .lcFirst((r = this.h[s]).resolve().name) + .replace(/[^$\w_]/g, ""); + e[u] = o.codegen( + ["r", "c"], + o.isReserved(u) ? u + "_" : u + )("return this.rpcCall(m,q,s,r,c)")({ + m: r, + q: r.resolvedRequestType.ctor, + s: r.resolvedResponseType.ctor, + }); + } + return e; + }); + }, + { 20: 20, 21: 21, 28: 28, 33: 33 }, + ], + 31: [ + function (t, i) { + i.exports = w; + var u = t(21); + ((w.prototype = Object.create(u.prototype)).constructor = w).className = + "Type"; + var o = t(14), + f = t(23), + h = t(15), + c = t(18), + a = t(30), + e = t(19), + s = t(24), + l = t(38), + v = t(33), + d = t(13), + b = t(12), + y = t(36), + p = t(11), + m = t(37); + function w(t, i) { + u.call(this, t, i), + (this.fields = {}), + (this.oneofs = g), + (this.extensions = g), + (this.reserved = g), + (this.group = g), + (this.c = null), + (this.i = null), + (this.a = null), + (this.l = null); + } + function n(t) { + return ( + (t.c = t.i = t.a = null), + delete t.encode, + delete t.decode, + delete t.verify, + t + ); + } + Object.defineProperties(w.prototype, { + fieldsById: { + get: function () { + if (this.c) return this.c; + this.c = {}; + for ( + var t = Object.keys(this.fields), i = 0; + i < t.length; + ++i + ) { + var n = this.fields[t[i]], + r = n.id; + if (this.c[r]) + throw Error("duplicate id " + r + " in " + this); + this.c[r] = n; + } + return this.c; + }, + }, + fieldsArray: { + get: function () { + return this.i || (this.i = v.toArray(this.fields)); + }, + }, + oneofsArray: { + get: function () { + return this.a || (this.a = v.toArray(this.oneofs)); + }, + }, + ctor: { + get: function () { + return ( + this.l || (this.ctor = w.generateConstructor(this)()) + ); + }, + set: function (t) { + var i = t.prototype; + i instanceof e || + (((t.prototype = new e()).constructor = t), + v.merge(t.prototype, i)), + (t.$type = t.prototype.$type = this), + v.merge(t, e, !0), + (this.l = t); + for (var n = 0; n < this.fieldsArray.length; ++n) + this.i[n].resolve(); + var r = {}; + for (n = 0; n < this.oneofsArray.length; ++n) + r[this.a[n].resolve().name] = { + get: v.oneOfGetter(this.a[n].oneof), + set: v.oneOfSetter(this.a[n].oneof), + }; + n && Object.defineProperties(t.prototype, r); + }, + }, + }), + (w.generateConstructor = function (t) { + for ( + var i, n = v.codegen(["p"], t.name), r = 0; + r < t.fieldsArray.length; + ++r + ) + (i = t.i[r]).map + ? n("this%s={}", v.safeProp(i.name)) + : i.repeated && n("this%s=[]", v.safeProp(i.name)); + return n( + "if(p)for(var ks=Object.keys(p),i=0;i>> 0), (this.hi = i >>> 0); + } + var s = (e.zero = new e(0, 0)); + (s.toNumber = function () { + return 0; + }), + (s.zzEncode = s.zzDecode = function () { + return this; + }), + (s.length = function () { + return 1; + }); + var r = (e.zeroHash = "\0\0\0\0\0\0\0\0"); + (e.fromNumber = function (t) { + if (0 === t) return s; + var i = t < 0; + i && (t = -t); + var n = t >>> 0, + r = ((t - n) / 4294967296) >>> 0; + return ( + i && + ((r = ~r >>> 0), + (n = ~n >>> 0), + 4294967295 < ++n && ((n = 0), 4294967295 < ++r && (r = 0))), + new e(n, r) + ); + }), + (e.from = function (t) { + if ("number" == typeof t) return e.fromNumber(t); + if (n.isString(t)) { + if (!n.Long) return e.fromNumber(parseInt(t, 10)); + t = n.Long.fromString(t); + } + return t.low || t.high ? new e(t.low >>> 0, t.high >>> 0) : s; + }), + (e.prototype.toNumber = function (t) { + if (!t && this.hi >>> 31) { + var i = (1 + ~this.lo) >>> 0, + n = ~this.hi >>> 0; + return i || (n = (n + 1) >>> 0), -(i + 4294967296 * n); + } + return this.lo + 4294967296 * this.hi; + }), + (e.prototype.toLong = function (t) { + return n.Long + ? new n.Long(0 | this.lo, 0 | this.hi, !!t) + : { low: 0 | this.lo, high: 0 | this.hi, unsigned: !!t }; + }); + var u = String.prototype.charCodeAt; + (e.fromHash = function (t) { + return t === r + ? s + : new e( + (u.call(t, 0) | + (u.call(t, 1) << 8) | + (u.call(t, 2) << 16) | + (u.call(t, 3) << 24)) >>> + 0, + (u.call(t, 4) | + (u.call(t, 5) << 8) | + (u.call(t, 6) << 16) | + (u.call(t, 7) << 24)) >>> + 0 + ); + }), + (e.prototype.toHash = function () { + return String.fromCharCode( + 255 & this.lo, + (this.lo >>> 8) & 255, + (this.lo >>> 16) & 255, + this.lo >>> 24, + 255 & this.hi, + (this.hi >>> 8) & 255, + (this.hi >>> 16) & 255, + this.hi >>> 24 + ); + }), + (e.prototype.zzEncode = function () { + var t = this.hi >> 31; + return ( + (this.hi = (((this.hi << 1) | (this.lo >>> 31)) ^ t) >>> 0), + (this.lo = ((this.lo << 1) ^ t) >>> 0), + this + ); + }), + (e.prototype.zzDecode = function () { + var t = -(1 & this.lo); + return ( + (this.lo = (((this.lo >>> 1) | (this.hi << 31)) ^ t) >>> 0), + (this.hi = ((this.hi >>> 1) ^ t) >>> 0), + this + ); + }), + (e.prototype.length = function () { + var t = this.lo, + i = ((this.lo >>> 28) | (this.hi << 4)) >>> 0, + n = this.hi >>> 24; + return 0 == n + ? 0 == i + ? t < 16384 + ? t < 128 + ? 1 + : 2 + : t < 2097152 + ? 3 + : 4 + : i < 16384 + ? i < 128 + ? 5 + : 6 + : i < 2097152 + ? 7 + : 8 + : n < 128 + ? 9 + : 10; + }); + }, + { 35: 35 }, + ], + 35: [ + function (t, i, n) { + var r = n; + function e(t, i, n) { + for (var r = Object.keys(i), e = 0; e < r.length; ++e) + (t[r[e]] !== g && n) || (t[r[e]] = i[r[e]]); + return t; + } + function s(t) { + function n(t, i) { + if (!(this instanceof n)) return new n(t, i); + Object.defineProperty(this, "message", { + get: function () { + return t; + }, + }), + Error.captureStackTrace + ? Error.captureStackTrace(this, n) + : Object.defineProperty(this, "stack", { + value: Error().stack || "", + }), + i && e(this, i); + } + return ( + ((n.prototype = Object.create( + Error.prototype + )).constructor = n), + Object.defineProperty(n.prototype, "name", { + get: function () { + return t; + }, + }), + (n.prototype.toString = function () { + return this.name + ": " + this.message; + }), + n + ); + } + (r.asPromise = t(1)), + (r.base64 = t(2)), + (r.EventEmitter = t(4)), + (r.float = t(6)), + (r.inquire = t(7)), + (r.utf8 = t(10)), + (r.pool = t(9)), + (r.LongBits = t(34)), + (r.isNode = !!( + "undefined" != typeof global && + global && + global.process && + global.process.versions && + global.process.versions.node + )), + (r.global = + (r.isNode && global) || + ("undefined" != typeof window && window) || + ("undefined" != typeof self && self) || + this), + (r.emptyArray = Object.freeze ? Object.freeze([]) : []), + (r.emptyObject = Object.freeze ? Object.freeze({}) : {}), + (r.isInteger = + Number.isInteger || + function (t) { + return ( + "number" == typeof t && + isFinite(t) && + Math.floor(t) === t + ); + }), + (r.isString = function (t) { + return "string" == typeof t || t instanceof String; + }), + (r.isObject = function (t) { + return t && "object" == typeof t; + }), + (r.isset = r.isSet = function (t, i) { + var n = t[i]; + return ( + null != n && + t.hasOwnProperty(i) && + ("object" != typeof n || + 0 < + (Array.isArray(n) + ? n.length + : Object.keys(n).length)) + ); + }), + (r.Buffer = (function () { + try { + var t = r.inquire("buffer").Buffer; + return t.prototype.utf8Write ? t : null; + } catch (t) { + return null; + } + })()), + (r.v = null), + (r.b = null), + (r.newBuffer = function (t) { + return "number" == typeof t + ? r.Buffer + ? r.b(t) + : new r.Array(t) + : r.Buffer + ? r.v(t) + : "undefined" == typeof Uint8Array + ? t + : new Uint8Array(t); + }), + (r.Array = "undefined" != typeof Uint8Array ? Uint8Array : Array), + (r.Long = + (r.global.dcodeIO && r.global.dcodeIO.Long) || + r.global.Long || + r.inquire("long")), + (r.key2Re = /^true|false|0|1$/), + (r.key32Re = /^-?(?:0|[1-9][0-9]*)$/), + (r.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/), + (r.longToHash = function (t) { + return t ? r.LongBits.from(t).toHash() : r.LongBits.zeroHash; + }), + (r.longFromHash = function (t, i) { + var n = r.LongBits.fromHash(t); + return r.Long + ? r.Long.fromBits(n.lo, n.hi, i) + : n.toNumber(!!i); + }), + (r.merge = e), + (r.lcFirst = function (t) { + return t[0].toLowerCase() + t.substring(1); + }), + (r.newError = s), + (r.ProtocolError = s("ProtocolError")), + (r.oneOfGetter = function (t) { + for (var n = {}, i = 0; i < t.length; ++i) n[t[i]] = 1; + return function () { + for ( + var t = Object.keys(this), i = t.length - 1; + -1 < i; + --i + ) + if ( + 1 === n[t[i]] && + this[t[i]] !== g && + null !== this[t[i]] + ) + return t[i]; + }; + }), + (r.oneOfSetter = function (n) { + return function (t) { + for (var i = 0; i < n.length; ++i) + n[i] !== t && delete this[n[i]]; + }; + }), + (r.toJSONOptions = { + longs: String, + enums: String, + bytes: String, + json: !0, + }), + (r.r = function () { + var n = r.Buffer; + n + ? ((r.v = + (n.from !== Uint8Array.from && n.from) || + function (t, i) { + return new n(t, i); + }), + (r.b = + n.allocUnsafe || + function (t) { + return new n(t); + })) + : (r.v = r.b = null); + }); + }, + { 1: 1, 10: 10, 2: 2, 34: 34, 4: 4, 6: 6, 7: 7, 9: 9 }, + ], + 36: [ + function (t, i) { + i.exports = function (t) { + var i = f.codegen( + ["m"], + t.name + "$verify" + )('if(typeof m!=="object"||m===null)')( + "return%j", + "object expected" + ), + n = t.oneofsArray, + r = {}; + n.length && i("var p={}"); + for (var e = 0; e < t.fieldsArray.length; ++e) { + var s = t.i[e].resolve(), + u = "m" + f.safeProp(s.name); + if ( + (s.optional && + i("if(%s!=null&&m.hasOwnProperty(%j)){", u, s.name), + s.map) + ) + i("if(!util.isObject(%s))", u)("return%j", h(s, "object"))( + "var k=Object.keys(%s)", + u + )("for(var i=0;i>> 7) | (t.hi << 25)) >>> 0), + (t.hi >>>= 7); + for (; 127 < t.lo; ) + (i[n++] = (127 & t.lo) | 128), (t.lo = t.lo >>> 7); + i[n++] = t.lo; + } + function b(t, i, n) { + (i[n] = 255 & t), + (i[n + 1] = (t >>> 8) & 255), + (i[n + 2] = (t >>> 16) & 255), + (i[n + 3] = t >>> 24); + } + (c.create = a()), + (c.alloc = function (t) { + return new r.Array(t); + }), + r.Array !== Array && + (c.alloc = r.pool(c.alloc, r.Array.prototype.subarray)), + (c.prototype.y = function (t, i, n) { + return ( + (this.tail = this.tail.next = new o(t, i, n)), + (this.len += i), + this + ); + }), + ((v.prototype = Object.create(o.prototype)).fn = function ( + t, + i, + n + ) { + for (; 127 < t; ) (i[n++] = (127 & t) | 128), (t >>>= 7); + i[n] = t; + }), + (c.prototype.uint32 = function (t) { + return ( + (this.len += (this.tail = this.tail.next = new v( + (t >>>= 0) < 128 + ? 1 + : t < 16384 + ? 2 + : t < 2097152 + ? 3 + : t < 268435456 + ? 4 + : 5, + t + )).len), + this + ); + }), + (c.prototype.int32 = function (t) { + return t < 0 ? this.y(d, 10, e.fromNumber(t)) : this.uint32(t); + }), + (c.prototype.sint32 = function (t) { + return this.uint32(((t << 1) ^ (t >> 31)) >>> 0); + }), + (c.prototype.int64 = c.prototype.uint64 = function (t) { + var i = e.from(t); + return this.y(d, i.length(), i); + }), + (c.prototype.sint64 = function (t) { + var i = e.from(t).zzEncode(); + return this.y(d, i.length(), i); + }), + (c.prototype.bool = function (t) { + return this.y(l, 1, t ? 1 : 0); + }), + (c.prototype.sfixed32 = c.prototype.fixed32 = function (t) { + return this.y(b, 4, t >>> 0); + }), + (c.prototype.sfixed64 = c.prototype.fixed64 = function (t) { + var i = e.from(t); + return this.y(b, 4, i.lo).y(b, 4, i.hi); + }), + (c.prototype.float = function (t) { + return this.y(r.float.writeFloatLE, 4, t); + }), + (c.prototype.double = function (t) { + return this.y(r.float.writeDoubleLE, 8, t); + }); + var y = r.Array.prototype.set + ? function (t, i, n) { + i.set(t, n); + } + : function (t, i, n) { + for (var r = 0; r < t.length; ++r) i[n + r] = t[r]; + }; + (c.prototype.bytes = function (t) { + var i = t.length >>> 0; + if (!i) return this.y(l, 1, 0); + if (r.isString(t)) { + var n = c.alloc((i = s.length(t))); + s.decode(t, n, 0), (t = n); + } + return this.uint32(i).y(y, i, t); + }), + (c.prototype.string = function (t) { + var i = u.length(t); + return i ? this.uint32(i).y(u.write, i, t) : this.y(l, 1, 0); + }), + (c.prototype.fork = function () { + return ( + (this.states = new h(this)), + (this.head = this.tail = new o(f, 0, 0)), + (this.len = 0), + this + ); + }), + (c.prototype.reset = function () { + return ( + this.states + ? ((this.head = this.states.head), + (this.tail = this.states.tail), + (this.len = this.states.len), + (this.states = this.states.next)) + : ((this.head = this.tail = new o(f, 0, 0)), + (this.len = 0)), + this + ); + }), + (c.prototype.ldelim = function () { + var t = this.head, + i = this.tail, + n = this.len; + return ( + this.reset().uint32(n), + n && + ((this.tail.next = t.next), + (this.tail = i), + (this.len += n)), + this + ); + }), + (c.prototype.finish = function () { + for ( + var t = this.head.next, + i = this.constructor.alloc(this.len), + n = 0; + t; + + ) + t.fn(t.val, i, n), (n += t.len), (t = t.next); + return i; + }), + (c.r = function (t) { + (n = t), (c.create = a()), n.r(); + }); + }, + { 35: 35 }, + ], + 39: [ + function (t, i) { + i.exports = e; + var n = t(38); + (e.prototype = Object.create(n.prototype)).constructor = e; + var r = t(35); + function e() { + n.call(this); + } + function s(t, i, n) { + t.length < 40 + ? r.utf8.write(t, i, n) + : i.utf8Write + ? i.utf8Write(t, n) + : i.write(t, n); + } + (e.r = function () { + (e.alloc = r.b), + (e.writeBytesBuffer = + r.Buffer && + r.Buffer.prototype instanceof Uint8Array && + "set" === r.Buffer.prototype.set.name + ? function (t, i, n) { + i.set(t, n); + } + : function (t, i, n) { + if (t.copy) t.copy(i, n, 0, t.length); + else + for (var r = 0; r < t.length; ) + i[n++] = t[r++]; + }); + }), + (e.prototype.bytes = function (t) { + r.isString(t) && (t = r.v(t, "base64")); + var i = t.length >>> 0; + return ( + this.uint32(i), i && this.y(e.writeBytesBuffer, i, t), this + ); + }), + (e.prototype.string = function (t) { + var i = r.Buffer.byteLength(t); + return this.uint32(i), i && this.y(s, i, t), this; + }), + e.r(); + }, + { 35: 35, 38: 38 }, + ], + }), + (e = {}), + (t = [16]), + (i = (function t(i) { + var n = e[i]; + return ( + n || r[i][0].call((n = e[i] = { exports: {} }), t, n, n.exports), + n.exports + ); + })(t[0])), + (i.util.global.protobuf = i), + "function" == typeof define && + define.amd && + define(["long"], function (t) { + return t && t.isLong && ((i.util.Long = t), i.configure()), i; + }), + "object" == typeof module && module && module.exports && (module.exports = i); +})(); +//# sourceMappingURL=protobuf.min.js.map diff --git a/ts/webpack.config.js b/ts/webpack.config.js deleted file mode 100644 index da3333590..000000000 --- a/ts/webpack.config.js +++ /dev/null @@ -1,100 +0,0 @@ -const HtmlWebpackPlugin = require("html-webpack-plugin"); -const mode = process.env.NODE_ENV || "development"; -const prod = mode === "production"; -var path = require("path"); - -module.exports = { - entry: { - graphs: ["./src/stats/graphs-bootstrap.ts"], - congrats: ["./src/sched/congrats-bootstrap.ts"], - }, - output: { - library: "anki", - }, - plugins: [ - new HtmlWebpackPlugin({ - filename: "graphs.html", - chunks: ["graphs"], - template: "src/html/graphs.html", - }), - new HtmlWebpackPlugin({ - filename: "congrats.html", - chunks: ["congrats"], - template: "src/html/congrats.html", - }), - ], - externals: { - moment: "moment", - }, - devServer: { - contentBase: "./dist", - port: 9000, - // host: "0.0.0.0", - // disableHostCheck: true, - proxy: { - "/_anki": { - target: "http://localhost:9001", - }, - }, - }, - resolve: { - alias: { - svelte: path.resolve("node_modules", "svelte"), - }, - extensions: [".mjs", ".js", ".svelte", ".ts", ".tsx"], - mainFields: ["svelte", "browser", "module", "main"], - }, - module: { - rules: [ - { - test: /\.s?css$/i, - use: ["style-loader", "css-loader", "sass-loader"], - }, - { - test: /\.(svelte)$/, - exclude: /node_modules/, - use: [ - { - loader: "svelte-loader", - options: { - emitCss: true, - preprocess: require("svelte-preprocess")({ - typescript: { - transpileOnly: true, - compilerOptions: { - declaration: false, - }, - }, - }), - }, - }, - ], - }, - { - test: /\.tsx?$/, - use: ["ts-loader"], - exclude: /node_modules/, - }, - { - test: /\.(tsx?|js)$/, - loader: "eslint-loader", - exclude: /node_modules/, - options: { - fix: true, - }, - }, - ], - }, - mode, - devtool: prod ? false : "source-map", - optimization: { - splitChunks: { - // chunks: "all", - }, - }, - performance: { - hints: false, - maxEntrypointSize: 512000, - maxAssetSize: 512000, - }, -}; diff --git a/ts/yarn.lock b/ts/yarn.lock new file mode 100644 index 000000000..ff9ebb25a --- /dev/null +++ b/ts/yarn.lock @@ -0,0 +1,2928 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" + integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== + dependencies: + "@babel/highlight" "^7.10.4" + +"@babel/helper-validator-identifier@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" + integrity sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== + +"@babel/highlight@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143" + integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.4" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.9.4": + version "7.12.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.3.tgz#a305415ebe7a6c7023b40b5122a0662d928334cd" + integrity sha512-kFsOS0IbsuhO5ojF8Hc8z/8vEIOkylVBrjiZUbLTE3XFe0Qi+uu6HjzQixkFaqr0ZPAMZcBVxEwmsnsLPZ2Xsw== + +"@bazel/labs@^2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@bazel/labs/-/labs-2.2.2.tgz#0f57547d845bf3539c629b912ce74fc1391a7e20" + integrity sha512-epthtuksxNc1Rr5vHQQmUYnLCmhu3tt8NadFf1G7Bvu3yi+BkfdxUSo7NXt+2YN7KqZlqx901YGKLy0z0jxjmw== + +"@bazel/rollup@^2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-2.2.2.tgz#1abfc5cbf5eb65db2aa145e584d225684d961055" + integrity sha512-z3sK0dt7pftjxlLuo66e3PMMGyjq6vD/8B+OEFN3LD3GjE34e8X0/KeRX5lXWs1ecVlrnTroiBxLCJSHwqBrEA== + +"@bazel/typescript@^2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-2.2.2.tgz#c7cd49cb630ca3720c04c94046ba8ca4c0d5b0aa" + integrity sha512-hkx/7L3s8q5gIgaSFmkUZWPqdKmdJmQ04GaLnsI/YEp9EhPObqATSKnOHeDdT7bzqLO7giDAwAiXhEmsO1Smcw== + dependencies: + protobufjs "6.8.8" + semver "5.6.0" + source-map-support "0.5.9" + tsutils "2.27.2" + +"@emmetio/extract-abbreviation@0.1.6": + version "0.1.6" + resolved "https://registry.yarnpkg.com/@emmetio/extract-abbreviation/-/extract-abbreviation-0.1.6.tgz#e4a9856c1057f0aff7d443b8536477c243abe28c" + integrity sha512-Ce3xE2JvTSEbASFbRbA1gAIcMcZWdS2yUYRaQbeM0nbOzaZrUYfa3ePtcriYRZOZmr+CkKA+zbjhvTpIOAYVcw== + +"@fluent/bundle@^0.15.1": + version "0.15.1" + resolved "https://registry.yarnpkg.com/@fluent/bundle/-/bundle-0.15.1.tgz#95d3b9f836ac138b6ee8480ef8d0547dd59195b1" + integrity sha512-uhDGjpEwTMBNxYMSXyjXFBG5LY7dqoNatle6mnghu5lFOrf0JyblY/Y0al2GzDKFuYbtOSbJvUkxzjtYX3odkw== + +"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + integrity sha1-m4sMxmPWaafY9vXQiToU00jzD78= + +"@protobufjs/base64@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + +"@protobufjs/codegen@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + +"@protobufjs/eventemitter@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + integrity sha1-NVy8mLr61ZePntCV85diHx0Ga3A= + +"@protobufjs/fetch@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + integrity sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU= + dependencies: + "@protobufjs/aspromise" "^1.1.1" + "@protobufjs/inquire" "^1.1.0" + +"@protobufjs/float@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + integrity sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E= + +"@protobufjs/inquire@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + integrity sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik= + +"@protobufjs/path@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + integrity sha1-bMKyDFya1q0NzP0hynZz2Nf79o0= + +"@protobufjs/pool@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + integrity sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q= + +"@protobufjs/utf8@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= + +"@pyoner/svelte-types@^3.4.4-2": + version "3.4.4-2" + resolved "https://registry.yarnpkg.com/@pyoner/svelte-types/-/svelte-types-3.4.4-2.tgz#0bc64255d56e82a5e7f3d0b31b324551a77da6b0" + integrity sha512-5oQsFCU9pxu1mdA72e2XOqVmheSQfpaQnsmvO4FTEd6D3k3Wx3Nr4s2m0gfqjGLHoGGEo9FOK4xQXXX7D5Uz6A== + +"@rollup/plugin-commonjs@^15.1.0": + version "15.1.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-15.1.0.tgz#1e7d076c4f1b2abf7e65248570e555defc37c238" + integrity sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ== + dependencies: + "@rollup/pluginutils" "^3.1.0" + commondir "^1.0.1" + estree-walker "^2.0.1" + glob "^7.1.6" + is-reference "^1.2.1" + magic-string "^0.25.7" + resolve "^1.17.0" + +"@rollup/plugin-node-resolve@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz#39bd0034ce9126b39c1699695f440b4b7d2b62e6" + integrity sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg== + dependencies: + "@rollup/pluginutils" "^3.1.0" + "@types/resolve" "1.17.1" + builtin-modules "^3.1.0" + deepmerge "^4.2.2" + is-module "^1.0.0" + resolve "^1.17.0" + +"@rollup/pluginutils@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" + integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== + dependencies: + "@types/estree" "0.0.39" + estree-walker "^1.0.1" + picomatch "^2.2.2" + +"@tsconfig/svelte@^1.0.10": + version "1.0.10" + resolved "https://registry.yarnpkg.com/@tsconfig/svelte/-/svelte-1.0.10.tgz#30ec7feeee0bdf38b12a50f0686f8a2e7b6b9dc0" + integrity sha512-EBrpH2iXXfaf/9z81koiDYkp2mlwW2XzFcAqn6qh7VKyP8zBvHHAQzNhY+W9vH5arAjmGAm5g8ElWq6YmXm3ig== + +"@types/d3-array@^2.0.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@types/d3-array/-/d3-array-2.3.0.tgz#50e7d7d84aa1f8d7645a4397b7d3a287194f5a38" + integrity sha512-eBQLBDq0bcXW9K14ktZDL/oeTzhS7BIoyEb0ZQb7gq4kTI/nZD+OISrpmxFll9LIXp7gOmYk+yPPoxt3GeXtQg== + +"@types/d3-axis@^1.0.12": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@types/d3-axis/-/d3-axis-1.0.14.tgz#4ff27eb94fab10efbda6c972e1fbb26ea696655b" + integrity sha512-wZAKX/dtFT5t5iuCaiU0QL0BWB19TE6h7C7kgfBVyoka7zidQWvf8E9zQTJ5bNPBQxd0+JmplNqwy1M8O8FOjA== + dependencies: + "@types/d3-selection" "^1" + +"@types/d3-color@*": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/d3-color/-/d3-color-2.0.0.tgz#febdfadade56e215a4c3f612fe3000d92999f5d5" + integrity sha512-Bs0maTeU47rdZT+n42iQ0C4gnbnJlIDJkqHFtIsDx2tPPITDeoSdIrm+00UYXzegzArYC2GsG80eHNMwz08IAw== + +"@types/d3-interpolate@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/d3-interpolate/-/d3-interpolate-2.0.0.tgz#325029216dc722c1c68c33ccda759f1209d35823" + integrity sha512-Wt1v2zTlEN8dSx8hhx6MoOhWQgTkz0Ukj7owAEIOF2QtI0e219paFX9rf/SLOr/UExWb1TcUzatU8zWwFby6gg== + dependencies: + "@types/d3-color" "*" + +"@types/d3-path@^1": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@types/d3-path/-/d3-path-1.0.9.tgz#73526b150d14cd96e701597cbf346cfd1fd4a58c" + integrity sha512-NaIeSIBiFgSC6IGUBjZWcscUJEq7vpVu7KthHN8eieTV9d9MqkSOZLH4chq1PmcKy06PNe3axLeKmRIyxJ+PZQ== + +"@types/d3-scale-chromatic@^1.5.0": + version "1.5.1" + resolved "https://registry.yarnpkg.com/@types/d3-scale-chromatic/-/d3-scale-chromatic-1.5.1.tgz#e2b7c3401e5c13809f831911eb820e444f4fc67a" + integrity sha512-7FtJYrmXTEWLykShjYhoGuDNR/Bda0+tstZMkFj4RRxUEryv16AGh3be21tqg84B6KfEwiZyEpBcTyPyU+GWjg== + +"@types/d3-scale@^2.2.1": + version "2.2.4" + resolved "https://registry.yarnpkg.com/@types/d3-scale/-/d3-scale-2.2.4.tgz#ca0d4b84d2f88fe058480f81354d14041a667b96" + integrity sha512-wkQXT+IfgfAnKB5rtS1qMJg3FS32r1rVFHvqtiqk8pX8o5aQR3VwX1P7ErHjzNIicTlkWsaMiUTrYB+E75HFeA== + dependencies: + "@types/d3-time" "^1" + +"@types/d3-selection@^1", "@types/d3-selection@^1.4.1": + version "1.4.3" + resolved "https://registry.yarnpkg.com/@types/d3-selection/-/d3-selection-1.4.3.tgz#36928bbe64eb8e0bbcbaa01fb05c21ff6c71fa93" + integrity sha512-GjKQWVZO6Sa96HiKO6R93VBE8DUW+DDkFpIMf9vpY5S78qZTlRRSNUsHr/afDpF7TvLDV7VxrUFOWW7vdIlYkA== + +"@types/d3-shape@^1.3.2": + version "1.3.4" + resolved "https://registry.yarnpkg.com/@types/d3-shape/-/d3-shape-1.3.4.tgz#5a6d8c3026ba8e8a1a985bda8da40acfc9b7b079" + integrity sha512-fxmOjs+UqNQGpztD5BOo+KriE0jLFrBP4Ct++0QExv/xfDOT1cpcMxgsZ+5qPmnR0t+GjbwAe1Um1PHpv3G4oA== + dependencies: + "@types/d3-path" "^1" + +"@types/d3-time@^1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@types/d3-time/-/d3-time-1.1.1.tgz#6cf3a4242c3bbac00440dfb8ba7884f16bedfcbf" + integrity sha512-ULX7LoqXTCYtM+tLYOaeAJK7IwCT+4Gxlm2MaH0ErKLi07R5lh8NHCAyWcDkCCmx1AfRcBEV6H9QE9R25uP7jw== + +"@types/d3-time@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/d3-time/-/d3-time-2.0.0.tgz#831dd093db91f16b83ba980e194bb8e4bcef44d6" + integrity sha512-Abz8bTzy8UWDeYs9pCa3D37i29EWDjNTjemdk0ei1ApYVNqulYlGUKip/jLOpogkPSsPz/GvZCYiC7MFlEk0iQ== + +"@types/d3-transition@^1.1.6": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@types/d3-transition/-/d3-transition-1.3.1.tgz#5d658eea2db17684daa04eda81d7db9824d3463f" + integrity sha512-U9CpMlTL/NlqdGXBlHYxTZwbmy/vN1cFv8TuAIFPX+xOW/1iChbeJBY2xmINhDQfkGJbgkH4IovafCwI1ZDrgg== + dependencies: + "@types/d3-selection" "^1" + +"@types/eslint-visitor-keys@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" + integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== + +"@types/estree@*": + version "0.0.45" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884" + integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g== + +"@types/estree@0.0.39": + version "0.0.39" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" + integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== + +"@types/jquery@*", "@types/jquery@^3.5.0": + version "3.5.3" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.5.3.tgz#adcc647e4c675bd9ebae7fb980e9ca75d58ee8c7" + integrity sha512-IENpHTjGksr2wQS6ZO8eMIE0tIB22Ywg+n3/yAWCa56VSZ26phcwAbFdh9+VNUWk7e83qB27QLax3Rf4G92Y9A== + dependencies: + "@types/sizzle" "*" + +"@types/jqueryui@^1.12.13": + version "1.12.13" + resolved "https://registry.yarnpkg.com/@types/jqueryui/-/jqueryui-1.12.13.tgz#1aa0507b4d1a75b03592d2126fbd6d2ea8e8c284" + integrity sha512-IIOytTkwN6mBcJqi5SP8T8zqDGKy9hIpifQ0aGj1/ZjqshOoMo0yZdLp2uLIg7mQDJOwMCSC3EY1QZC/qZzvLQ== + dependencies: + "@types/jquery" "*" + +"@types/json-schema@^7.0.3": + version "7.0.6" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.6.tgz#f4c7ec43e81b319a9815115031709f26987891f0" + integrity sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw== + +"@types/lodash@^4.14.162": + version "4.14.162" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.162.tgz#65d78c397e0d883f44afbf1f7ba9867022411470" + integrity sha512-alvcho1kRUnnD1Gcl4J+hK0eencvzq9rmzvFPRmP5rPHx9VVsJj6bKLTATPVf9ktgv4ujzh7T+XWKp+jhuODig== + +"@types/long@^4.0.0", "@types/long@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.1.tgz#459c65fa1867dafe6a8f322c4c51695663cc55e9" + integrity sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w== + +"@types/mathjax@0.0.36": + version "0.0.36" + resolved "https://registry.yarnpkg.com/@types/mathjax/-/mathjax-0.0.36.tgz#18cf766f88ac0cd4e7ee8282b1286049bb6aa682" + integrity sha512-TqDJc2GWuTqd/m+G/FbNkN+/TF2OCCHvcawmhIrUaZkdVquMdNZmNiNUkupNg9qctorXXkVLVSogZv1DhmgLmg== + +"@types/node@*": + version "14.14.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.2.tgz#d25295f9e4ca5989a2c610754dc02a9721235eeb" + integrity sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg== + +"@types/node@^10.1.0": + version "10.17.42" + resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.42.tgz#90dd71b26fe4f4e2929df6b07e72ef2e9648a173" + integrity sha512-HElxYF7C/MSkuvlaHB2c+82zhXiuO49Cq056Dol8AQuTph7oJtduo2n6J8rFa+YhJyNgQ/Lm20ZaxqD0vxU0+Q== + +"@types/node@^13.7.0": + version "13.13.28" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.28.tgz#b6d0628b0371d6c629d729c98322de314b640219" + integrity sha512-EM/qFeRH8ZCD+TlsaIPULyyFm9vOhFIvgskY2JmHbEsWsOPgN+rtjSXrcHGgJpob4Nu17VfO95FKewr0XY7iOQ== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@types/prop-types@*": + version "15.7.3" + resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" + integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== + +"@types/pug@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@types/pug/-/pug-2.0.4.tgz#8772fcd0418e3cd2cc171555d73007415051f4b2" + integrity sha1-h3L80EGOPNLMFxVV1zAHQVBR9LI= + +"@types/react-dom@^16.9.8": + version "16.9.8" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.8.tgz#fe4c1e11dfc67155733dfa6aa65108b4971cb423" + integrity sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA== + dependencies: + "@types/react" "*" + +"@types/react@*", "@types/react@^16.9.53": + version "16.9.53" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.53.tgz#40cd4f8b8d6b9528aedd1fff8fcffe7a112a3d23" + integrity sha512-4nW60Sd4L7+WMXH1D6jCdVftuW7j4Za6zdp6tJ33Rqv0nk1ZAmQKML9ZLD4H0dehA3FZxXR/GM8gXplf82oNGw== + dependencies: + "@types/prop-types" "*" + csstype "^3.0.2" + +"@types/resolve@1.17.1": + version "1.17.1" + resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" + integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== + dependencies: + "@types/node" "*" + +"@types/sass@^1.16.0": + version "1.16.0" + resolved "https://registry.yarnpkg.com/@types/sass/-/sass-1.16.0.tgz#b41ac1c17fa68ffb57d43e2360486ef526b3d57d" + integrity sha512-2XZovu4NwcqmtZtsBR5XYLw18T8cBCnU2USFHTnYLLHz9fkhnoEMoDsqShJIOFsFhn5aJHjweiUUdTrDGujegA== + dependencies: + "@types/node" "*" + +"@types/sizzle@*": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47" + integrity sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg== + +"@typescript-eslint/eslint-plugin@^2.11.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz#6f8ce8a46c7dea4a6f1d171d2bb8fbae6dac2be9" + integrity sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ== + dependencies: + "@typescript-eslint/experimental-utils" "2.34.0" + functional-red-black-tree "^1.0.1" + regexpp "^3.0.0" + tsutils "^3.17.1" + +"@typescript-eslint/experimental-utils@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f" + integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "2.34.0" + eslint-scope "^5.0.0" + eslint-utils "^2.0.0" + +"@typescript-eslint/parser@^2.11.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.34.0.tgz#50252630ca319685420e9a39ca05fe185a256bc8" + integrity sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA== + dependencies: + "@types/eslint-visitor-keys" "^1.0.0" + "@typescript-eslint/experimental-utils" "2.34.0" + "@typescript-eslint/typescript-estree" "2.34.0" + eslint-visitor-keys "^1.1.0" + +"@typescript-eslint/typescript-estree@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5" + integrity sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg== + dependencies: + debug "^4.1.1" + eslint-visitor-keys "^1.1.0" + glob "^7.1.6" + is-glob "^4.0.1" + lodash "^4.17.15" + semver "^7.3.2" + tsutils "^3.17.1" + +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + +acorn-jsx@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" + integrity sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s= + dependencies: + acorn "^3.0.4" + +acorn-jsx@^5.2.0: + version "5.3.1" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" + integrity sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== + +acorn@^3.0.4: + version "3.3.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" + integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= + +acorn@^5.5.0: + version "5.7.4" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.4.tgz#3e8d8a9947d0599a1796d10225d7432f4a4acf5e" + integrity sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg== + +acorn@^7.1.1: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + +ajv@^6.10.0, ajv@^6.10.2: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-escapes@^4.2.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61" + integrity sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA== + dependencies: + type-fest "^0.11.0" + +ansi-regex@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" + integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== + +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== + +ansi-styles@^3.2.0, ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +anymatch@~3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" + integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +arr-diff@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" + integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= + +arr-flatten@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" + integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== + +arr-union@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" + integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= + +array-unique@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" + integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= + +assign-symbols@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" + integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= + +astral-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" + integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== + +atob@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" + integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== + +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= + +base@^0.11.1: + version "0.11.2" + resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" + integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== + dependencies: + cache-base "^1.0.1" + class-utils "^0.3.5" + component-emitter "^1.2.1" + define-property "^1.0.0" + isobject "^3.0.1" + mixin-deep "^1.2.0" + pascalcase "^0.1.1" + +binary-extensions@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9" + integrity sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ== + +bluebird@^3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^2.3.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" + integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== + dependencies: + arr-flatten "^1.1.0" + array-unique "^0.3.2" + extend-shallow "^2.0.1" + fill-range "^4.0.0" + isobject "^3.0.1" + repeat-element "^1.1.2" + snapdragon "^0.8.1" + snapdragon-node "^2.0.1" + split-string "^3.0.2" + to-regex "^3.0.1" + +braces@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +buffer-from@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" + integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== + +builtin-modules@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484" + integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw== + +cache-base@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" + integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== + dependencies: + collection-visit "^1.0.0" + component-emitter "^1.2.1" + get-value "^2.0.6" + has-value "^1.0.0" + isobject "^3.0.1" + set-value "^2.0.0" + to-object-path "^0.3.0" + union-value "^1.0.0" + unset-value "^1.0.0" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +catharsis@^0.8.11: + version "0.8.11" + resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.8.11.tgz#d0eb3d2b82b7da7a3ce2efb1a7b00becc6643468" + integrity sha512-a+xUyMV7hD1BrDQA/3iPV7oc+6W26BgVJO05PGEoatMyIuPScQKsde6i3YorWX1qs+AZjnJ18NqdKoCtKiNh1g== + dependencies: + lodash "^4.17.14" + +chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0, chalk@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + +chokidar@^3.4.1: + version "3.4.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.3.tgz#c1df38231448e45ca4ac588e6c79573ba6a57d5b" + integrity sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ== + dependencies: + anymatch "~3.1.1" + braces "~3.0.2" + glob-parent "~5.1.0" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.5.0" + optionalDependencies: + fsevents "~2.1.2" + +ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + +class-utils@^0.3.5: + version "0.3.6" + resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" + integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== + dependencies: + arr-union "^3.1.0" + define-property "^0.2.5" + isobject "^3.0.0" + static-extend "^0.1.1" + +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + +cli-width@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" + integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== + +collection-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" + integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA= + dependencies: + map-visit "^1.0.0" + object-visit "^1.0.0" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" + integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= + +component-emitter@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" + integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + +copy-descriptor@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" + integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= + +cosmiconfig@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" + integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + +cross-env@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9" + integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw== + dependencies: + cross-spawn "^7.0.1" + +cross-spawn@^6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + +cross-spawn@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +csstype@^3.0.2: + version "3.0.4" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.4.tgz#b156d7be03b84ff425c9a0a4b1e5f4da9c5ca888" + integrity sha512-xc8DUsCLmjvCfoD7LTGE0ou2MIWLx0K9RCZwSHMOdynqRsP4MtUcLeqh1HcQ2dInwDTqn+3CE0/FZh1et+p4jA== + +d3-array@^2.3.0, d3-array@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-2.8.0.tgz#f76e10ad47f1f4f75f33db5fc322eb9ffde5ef23" + integrity sha512-6V272gsOeg7+9pTW1jSYOR1QE37g95I3my1hBmY+vOUNHRrk9yt4OTz/gK7PMkVAVDrYYq4mq3grTiZ8iJdNIw== + +d3-axis@^1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/d3-axis/-/d3-axis-1.0.12.tgz#cdf20ba210cfbb43795af33756886fb3638daac9" + integrity sha512-ejINPfPSNdGFKEOAtnBtdkpr24c4d4jsei6Lg98mxf424ivoDP2956/5HDpIAtmHo85lqT4pruy+zEgvRUBqaQ== + +d3-color@1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a" + integrity sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q== + +"d3-color@1 - 2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-2.0.0.tgz#8d625cab42ed9b8f601a1760a389f7ea9189d62e" + integrity sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ== + +d3-dispatch@1: + version "1.0.6" + resolved "https://registry.yarnpkg.com/d3-dispatch/-/d3-dispatch-1.0.6.tgz#00d37bcee4dd8cd97729dd893a0ac29caaba5d58" + integrity sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA== + +d3-ease@1: + version "1.0.7" + resolved "https://registry.yarnpkg.com/d3-ease/-/d3-ease-1.0.7.tgz#9a834890ef8b8ae8c558b2fe55bd57f5993b85e2" + integrity sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ== + +"d3-format@1 - 2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-2.0.0.tgz#a10bcc0f986c372b729ba447382413aabf5b0767" + integrity sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA== + +d3-interpolate@1, d3-interpolate@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-1.4.0.tgz#526e79e2d80daa383f9e0c1c1c7dcc0f0583e987" + integrity sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA== + dependencies: + d3-color "1" + +"d3-interpolate@1.2.0 - 2": + version "2.0.1" + resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-2.0.1.tgz#98be499cfb8a3b94d4ff616900501a64abc91163" + integrity sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ== + dependencies: + d3-color "1 - 2" + +d3-path@1: + version "1.0.9" + resolved "https://registry.yarnpkg.com/d3-path/-/d3-path-1.0.9.tgz#48c050bb1fe8c262493a8caf5524e3e9591701cf" + integrity sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg== + +d3-scale-chromatic@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/d3-scale-chromatic/-/d3-scale-chromatic-1.5.0.tgz#54e333fc78212f439b14641fb55801dd81135a98" + integrity sha512-ACcL46DYImpRFMBcpk9HhtIyC7bTBR4fNOPxwVSl0LfulDAwyiHyPOTqcDG1+t5d4P9W7t/2NAuWu59aKko/cg== + dependencies: + d3-color "1" + d3-interpolate "1" + +d3-scale@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-3.2.3.tgz#be380f57f1f61d4ff2e6cbb65a40593a51649cfd" + integrity sha512-8E37oWEmEzj57bHcnjPVOBS3n4jqakOeuv1EDdQSiSrYnMCBdMd3nc4HtKk7uia8DUHcY/CGuJ42xxgtEYrX0g== + dependencies: + d3-array "^2.3.0" + d3-format "1 - 2" + d3-interpolate "1.2.0 - 2" + d3-time "1 - 2" + d3-time-format "2 - 3" + +d3-selection@^1.1.0, d3-selection@^1.4.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.4.2.tgz#dcaa49522c0dbf32d6c1858afc26b6094555bc5c" + integrity sha512-SJ0BqYihzOjDnnlfyeHT0e30k0K1+5sR3d5fNueCNeuhZTnGw4M4o8mqJchSwgKMXCNFo+e2VTChiSJ0vYtXkg== + +d3-shape@^1.3.7: + version "1.3.7" + resolved "https://registry.yarnpkg.com/d3-shape/-/d3-shape-1.3.7.tgz#df63801be07bc986bc54f63789b4fe502992b5d7" + integrity sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw== + dependencies: + d3-path "1" + +"d3-time-format@2 - 3": + version "3.0.0" + resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-3.0.0.tgz#df8056c83659e01f20ac5da5fdeae7c08d5f1bb6" + integrity sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag== + dependencies: + d3-time "1 - 2" + +"d3-time@1 - 2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-2.0.0.tgz#ad7c127d17c67bd57a4c61f3eaecb81108b1e0ab" + integrity sha512-2mvhstTFcMvwStWd9Tj3e6CEqtOivtD8AUiHT8ido/xmzrI9ijrUUihZ6nHuf/vsScRBonagOdj0Vv+SEL5G3Q== + +d3-time@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-1.1.0.tgz#b1e19d307dae9c900b7e5b25ffc5dcc249a8a0f1" + integrity sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA== + +d3-timer@1: + version "1.0.10" + resolved "https://registry.yarnpkg.com/d3-timer/-/d3-timer-1.0.10.tgz#dfe76b8a91748831b13b6d9c793ffbd508dd9de5" + integrity sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw== + +d3-transition@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/d3-transition/-/d3-transition-1.3.2.tgz#a98ef2151be8d8600543434c1ca80140ae23b398" + integrity sha512-sc0gRU4PFqZ47lPVHloMn9tlPcv8jxgOQg+0zjhfZXMQuvppjG6YuwdMBE0TuqCZjeJkLecku/l9R0JPcRhaDA== + dependencies: + d3-color "1" + d3-dispatch "1" + d3-ease "1" + d3-interpolate "1" + d3-selection "^1.1.0" + d3-timer "1" + +debug@^2.2.0, debug@^2.3.3: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@^4.0.1, debug@^4.1.1: + version "4.2.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.2.0.tgz#7f150f93920e94c58f5574c2fd01a3110effe7f1" + integrity sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg== + dependencies: + ms "2.1.2" + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= + +dedent-js@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/dedent-js/-/dedent-js-1.0.1.tgz#bee5fb7c9e727d85dffa24590d10ec1ab1255305" + integrity sha1-vuX7fJ5yfYXf+iRZDRDsGrElUwU= + +deep-is@~0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" + integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +define-property@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" + integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY= + dependencies: + is-descriptor "^0.1.0" + +define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" + integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY= + dependencies: + is-descriptor "^1.0.0" + +define-property@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" + integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== + dependencies: + is-descriptor "^1.0.2" + isobject "^3.0.1" + +detect-indent@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd" + integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA== + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +entities@~2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.3.tgz#5c487e5742ab93c15abb5da22759b8590ec03b7f" + integrity sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +escodegen@^1.9.1: + version "1.14.3" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" + integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== + dependencies: + esprima "^4.0.1" + estraverse "^4.2.0" + esutils "^2.0.2" + optionator "^0.8.1" + optionalDependencies: + source-map "~0.6.1" + +eslint-scope@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +eslint-utils@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" + integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-utils@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-visitor-keys@^1.1.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + +eslint@^6.7.2: + version "6.8.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" + integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== + dependencies: + "@babel/code-frame" "^7.0.0" + ajv "^6.10.0" + chalk "^2.1.0" + cross-spawn "^6.0.5" + debug "^4.0.1" + doctrine "^3.0.0" + eslint-scope "^5.0.0" + eslint-utils "^1.4.3" + eslint-visitor-keys "^1.1.0" + espree "^6.1.2" + esquery "^1.0.1" + esutils "^2.0.2" + file-entry-cache "^5.0.1" + functional-red-black-tree "^1.0.1" + glob-parent "^5.0.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + inquirer "^7.0.0" + is-glob "^4.0.0" + js-yaml "^3.13.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.3.0" + lodash "^4.17.14" + minimatch "^3.0.4" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + optionator "^0.8.3" + progress "^2.0.0" + regexpp "^2.0.1" + semver "^6.1.2" + strip-ansi "^5.2.0" + strip-json-comments "^3.0.1" + table "^5.2.3" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^3.5.4: + version "3.5.4" + resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" + integrity sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A== + dependencies: + acorn "^5.5.0" + acorn-jsx "^3.0.0" + +espree@^6.1.2: + version "6.2.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" + integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== + dependencies: + acorn "^7.1.1" + acorn-jsx "^5.2.0" + eslint-visitor-keys "^1.1.0" + +esprima@^4.0.0, esprima@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esquery@^1.0.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" + integrity sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1, estraverse@^4.2.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" + integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== + +estree-walker@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" + integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== + +estree-walker@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.1.tgz#f8e030fb21cefa183b44b7ad516b747434e7a3e0" + integrity sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +expand-brackets@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" + integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI= + dependencies: + debug "^2.3.3" + define-property "^0.2.5" + extend-shallow "^2.0.1" + posix-character-classes "^0.1.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= + dependencies: + is-extendable "^0.1.0" + +extend-shallow@^3.0.0, extend-shallow@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" + integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg= + dependencies: + assign-symbols "^1.0.0" + is-extendable "^1.0.1" + +external-editor@^3.0.3: + version "3.1.0" + resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + +extglob@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" + integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== + dependencies: + array-unique "^0.3.2" + define-property "^1.0.0" + expand-brackets "^2.1.4" + extend-shallow "^2.0.1" + fragment-cache "^0.2.1" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@~2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= + +figures@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" + +file-entry-cache@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" + integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== + dependencies: + flat-cache "^2.0.1" + +fill-range@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" + integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= + dependencies: + extend-shallow "^2.0.1" + is-number "^3.0.0" + repeat-string "^1.6.1" + to-regex-range "^2.1.0" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-yarn-workspace-root@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-1.2.1.tgz#40eb8e6e7c2502ddfaa2577c176f221422f860db" + integrity sha512-dVtfb0WuQG+8Ag2uWkbG79hOUzEsRrhBzgfn86g2sJPkzmcpGdghbNTfUKGTxymFrY/tLIodDzLoW9nOJ4FY8Q== + dependencies: + fs-extra "^4.0.3" + micromatch "^3.1.4" + +flat-cache@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" + integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== + dependencies: + flatted "^2.0.0" + rimraf "2.6.3" + write "1.0.3" + +flatted@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" + integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== + +for-in@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" + integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= + +fragment-cache@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" + integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk= + dependencies: + map-cache "^0.2.2" + +fs-extra@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" + integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== + dependencies: + graceful-fs "^4.1.2" + jsonfile "^4.0.0" + universalify "^0.1.0" + +fs-extra@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" + integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== + dependencies: + graceful-fs "^4.1.2" + jsonfile "^4.0.0" + universalify "^0.1.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + +fsevents@~2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" + integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +functional-red-black-tree@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= + +get-value@^2.0.3, get-value@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" + integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= + +glob-parent@^5.0.0, glob-parent@~5.1.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" + integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== + dependencies: + is-glob "^4.0.1" + +glob@^7.1.2, glob@^7.1.3, glob@^7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^12.1.0: + version "12.4.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8" + integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg== + dependencies: + type-fest "^0.8.1" + +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: + version "4.2.4" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" + integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-value@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" + integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8= + dependencies: + get-value "^2.0.3" + has-values "^0.1.4" + isobject "^2.0.0" + +has-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" + integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc= + dependencies: + get-value "^2.0.6" + has-values "^1.0.0" + isobject "^3.0.0" + +has-values@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" + integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E= + +has-values@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" + integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8= + dependencies: + is-number "^3.0.0" + kind-of "^4.0.0" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +iconv-lite@^0.4.24: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ignore@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" + integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== + +import-fresh@^3.0.0, import-fresh@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inquirer@^7.0.0: + version "7.3.3" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" + integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.19" + mute-stream "0.0.8" + run-async "^2.4.0" + rxjs "^6.6.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + +intl-pluralrules@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/intl-pluralrules/-/intl-pluralrules-1.2.2.tgz#2b73542a9502a8a3a742cdd917f3d969fb5482fe" + integrity sha512-SBdlNCJAhTA0I0uHg2dn7I+c6BCvSVk6zJ/01ozjwJK7BvKms9RH3w3Sd/Ag24KffZ/Yx6KJRCKAc7eE8TZLNg== + +is-accessor-descriptor@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" + integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY= + dependencies: + kind-of "^3.0.2" + +is-accessor-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" + integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== + dependencies: + kind-of "^6.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-buffer@^1.1.5: + version "1.1.6" + resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" + +is-core-module@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.0.0.tgz#58531b70aed1db7c0e8d4eb1a0a2d1ddd64bd12d" + integrity sha512-jq1AH6C8MuteOoBPwkxHafmByhL9j5q4OaPGdbuD+ZtQJVzH+i6E3BJDQcBA09k57i2Hh2yQbEG8yObZ0jdlWw== + dependencies: + has "^1.0.3" + +is-data-descriptor@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" + integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y= + dependencies: + kind-of "^3.0.2" + +is-data-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" + integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== + dependencies: + kind-of "^6.0.0" + +is-descriptor@^0.1.0: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" + integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== + dependencies: + is-accessor-descriptor "^0.1.6" + is-data-descriptor "^0.1.4" + kind-of "^5.0.0" + +is-descriptor@^1.0.0, is-descriptor@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" + integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== + dependencies: + is-accessor-descriptor "^1.0.0" + is-data-descriptor "^1.0.0" + kind-of "^6.0.2" + +is-extendable@^0.1.0, is-extendable@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= + +is-extendable@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" + integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== + dependencies: + is-plain-object "^2.0.4" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" + integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== + dependencies: + is-extglob "^2.1.1" + +is-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" + integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= + +is-number@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" + integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU= + dependencies: + kind-of "^3.0.2" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-plain-object@^2.0.3, is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== + dependencies: + isobject "^3.0.1" + +is-reference@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" + integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== + dependencies: + "@types/estree" "*" + +is-windows@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" + integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== + +isarray@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + +isobject@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" + integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk= + dependencies: + isarray "1.0.0" + +isobject@^3.0.0, isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= + +jest-worker@^26.2.1: + version "26.6.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.1.tgz#c2ae8cde6802cc14056043f997469ec170d9c32a" + integrity sha512-R5IE3qSGz+QynJx8y+ICEkdI2OJ3RJjRQVEyCcFAd3yVhQSEtquziPO29Mlzgn07LOVE8u8jhJ1FqcwegiXWOw== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^7.0.0" + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482" + integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +js2xmlparser@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-4.0.1.tgz#670ef71bc5661f089cc90481b99a05a1227ae3bd" + integrity sha512-KrPTolcw6RocpYjdC7pL7v62e55q7qOMHvLX1UCLc5AAS8qeJ6nukarEJAF2KL2PZxlbGueEbINqZR2bDe/gUw== + dependencies: + xmlcreate "^2.0.3" + +jsdoc@^3.5.5: + version "3.6.6" + resolved "https://registry.yarnpkg.com/jsdoc/-/jsdoc-3.6.6.tgz#9fe162bbdb13ee7988bf74352b5147565bcfd8e1" + integrity sha512-znR99e1BHeyEkSvgDDpX0sTiTu+8aQyDl9DawrkOGZTTW8hv0deIFXx87114zJ7gRaDZKVQD/4tr1ifmJp9xhQ== + dependencies: + "@babel/parser" "^7.9.4" + bluebird "^3.7.2" + catharsis "^0.8.11" + escape-string-regexp "^2.0.0" + js2xmlparser "^4.0.1" + klaw "^3.0.0" + markdown-it "^10.0.0" + markdown-it-anchor "^5.2.7" + marked "^0.8.2" + mkdirp "^1.0.4" + requizzle "^0.2.3" + strip-json-comments "^3.1.0" + taffydb "2.6.2" + underscore "~1.10.2" + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= + +jsonc-parser@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-1.0.3.tgz#1d53d7160e401a783dbceabaad82473f80e6ad7e" + integrity sha512-hk/69oAeaIzchq/v3lS50PXuzn5O2ynldopMC+SWBql7J2WtdptfB9dy8Y7+Og5rPkTCpn83zTiO8FMcqlXJ/g== + +jsonfile@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" + integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= + optionalDependencies: + graceful-fs "^4.1.6" + +kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" + integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ= + dependencies: + is-buffer "^1.1.5" + +kind-of@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" + integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc= + dependencies: + is-buffer "^1.1.5" + +kind-of@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" + integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== + +kind-of@^6.0.0, kind-of@^6.0.2: + version "6.0.3" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +klaw-sync@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== + dependencies: + graceful-fs "^4.1.11" + +klaw@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/klaw/-/klaw-3.0.0.tgz#b11bec9cf2492f06756d6e809ab73a2910259146" + integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g== + dependencies: + graceful-fs "^4.1.9" + +levn@^0.3.0, levn@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" + integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= + dependencies: + prelude-ls "~1.1.2" + type-check "~0.3.2" + +lines-and-columns@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" + integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= + +linkify-it@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-2.2.0.tgz#e3b54697e78bf915c70a38acd78fd09e0058b1cf" + integrity sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw== + dependencies: + uc.micro "^1.0.1" + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= + +lodash.throttle@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" + integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ= + +lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19: + version "4.17.20" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" + integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== + +long@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + +lower-case@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.1.tgz#39eeb36e396115cc05e29422eaea9e692c9408c7" + integrity sha512-LiWgfDLLb1dwbFQZsSglpRj+1ctGnayXz3Uv0/WO8n558JycT5fg6zkNcnW0G68Nn0aEldTFeEfmjCfmqry/rQ== + dependencies: + tslib "^1.10.0" + +magic-string@^0.25.7: + version "0.25.7" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" + integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== + dependencies: + sourcemap-codec "^1.4.4" + +map-cache@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" + integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= + +map-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" + integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48= + dependencies: + object-visit "^1.0.0" + +markdown-it-anchor@^5.2.7: + version "5.3.0" + resolved "https://registry.yarnpkg.com/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz#d549acd64856a8ecd1bea58365ef385effbac744" + integrity sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA== + +markdown-it@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-10.0.0.tgz#abfc64f141b1722d663402044e43927f1f50a8dc" + integrity sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg== + dependencies: + argparse "^1.0.7" + entities "~2.0.0" + linkify-it "^2.0.0" + mdurl "^1.0.1" + uc.micro "^1.0.5" + +marked@^0.8.2: + version "0.8.2" + resolved "https://registry.yarnpkg.com/marked/-/marked-0.8.2.tgz#4faad28d26ede351a7a1aaa5fec67915c869e355" + integrity sha512-EGwzEeCcLniFX51DhTpmTom+dSA/MG/OBUDjnWtHbEnjAH180VzUeAw+oE4+Zv+CoYBWyRlYOTR0N8SO9R1PVw== + +mdurl@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" + integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4= + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +micromatch@^3.1.4: + version "3.1.10" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" + integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + braces "^2.3.1" + define-property "^2.0.2" + extend-shallow "^3.0.2" + extglob "^2.0.4" + fragment-cache "^0.2.1" + kind-of "^6.0.2" + nanomatch "^1.2.9" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.2" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + +minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.0, minimist@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + +mixin-deep@^1.2.0: + version "1.3.2" + resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" + integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== + dependencies: + for-in "^1.0.2" + is-extendable "^1.0.1" + +mkdirp@^0.5.1: + version "0.5.5" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" + integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== + dependencies: + minimist "^1.2.5" + +mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +mute-stream@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + +nanomatch@^1.2.9: + version "1.2.13" + resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" + integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + define-property "^2.0.2" + extend-shallow "^3.0.2" + fragment-cache "^0.2.1" + is-windows "^1.0.2" + kind-of "^6.0.2" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + +no-case@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.3.tgz#c21b434c1ffe48b39087e86cfb4d2582e9df18f8" + integrity sha512-ehY/mVQCf9BL0gKfsJBvFJen+1V//U+0HQMPrWct40ixE4jnv0bfvxDbWtAHL9EcaPEOJHVVYKoQn1TlZUB8Tw== + dependencies: + lower-case "^2.0.1" + tslib "^1.10.0" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +object-copy@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" + integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw= + dependencies: + copy-descriptor "^0.1.0" + define-property "^0.2.5" + kind-of "^3.0.3" + +object-visit@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" + integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs= + dependencies: + isobject "^3.0.0" + +object.pick@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" + integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= + dependencies: + isobject "^3.0.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + dependencies: + wrappy "1" + +onetime@^5.1.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +optionator@^0.8.1, optionator@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" + integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== + dependencies: + deep-is "~0.1.3" + fast-levenshtein "~2.0.6" + levn "~0.3.0" + prelude-ls "~1.1.2" + type-check "~0.3.2" + word-wrap "~1.2.3" + +os-tmpdir@~1.0.1, os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.1.0.tgz#f96088cdf24a8faa9aea9a009f2d9d942c999646" + integrity sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +pascal-case@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.1.tgz#5ac1975133ed619281e88920973d2cd1f279de5f" + integrity sha512-XIeHKqIrsquVTQL2crjq3NfJUxmdLasn3TYOU0VBM+UX2a6ztAWBlJQBePLGY7VHW8+2dRadeIPK5+KImwTxQA== + dependencies: + no-case "^3.0.3" + tslib "^1.10.0" + +pascalcase@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" + integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= + +patch-package@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.2.2.tgz#71d170d650c65c26556f0d0fbbb48d92b6cc5f39" + integrity sha512-YqScVYkVcClUY0v8fF0kWOjDYopzIM8e3bj/RU1DPeEF14+dCGm6UeOYm4jvCyxqIEQ5/eJzmbWfDWnUleFNMg== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^2.4.2" + cross-spawn "^6.0.5" + find-yarn-workspace-root "^1.2.1" + fs-extra "^7.0.1" + is-ci "^2.0.0" + klaw-sync "^6.0.0" + minimist "^1.2.0" + rimraf "^2.6.3" + semver "^5.6.0" + slash "^2.0.0" + tmp "^0.0.33" + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + +path-key@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= + +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" + integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" + integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== + +posix-character-classes@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" + integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= + +prelude-ls@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" + integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= + +prettier-plugin-svelte@^1.4.0, prettier-plugin-svelte@~1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/prettier-plugin-svelte/-/prettier-plugin-svelte-1.4.1.tgz#2f0f7a149190f476dc9b4ba9da8d482bd196f1e2" + integrity sha512-6y0m37Xw01GRf/WIHau+Kp3uXj2JB1agtEmNVKb9opMy34A6OMOYhfneVpNIlrghQSw/jIV+t3e5Ngt4up2CMA== + +prettier@2.1.2, prettier@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5" + integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg== + +progress@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + +protobufjs-cli-taylorm@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/protobufjs-cli-taylorm/-/protobufjs-cli-taylorm-7.0.4.tgz#061618280ae421be4740177ec179ca9b4bbaf896" + integrity sha512-emYfqdlKDPA97yO1r3u7L20RyeaEXLD8rt3hP2bnagGZqKqaOGCsEKM82+D0U+iZ0nNmUbrBg+KJFTeLJdQF1Q== + dependencies: + chalk "^2.4.1" + escodegen "^1.9.1" + espree "^3.5.4" + estraverse "^4.2.0" + glob "^7.1.2" + jsdoc "^3.5.5" + minimist "^1.2.0" + semver "^5.5.0" + tmp "0.0.31" + uglify-js "^3.3.25" + +protobufjs-taylorm@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/protobufjs-taylorm/-/protobufjs-taylorm-7.0.4.tgz#4a2cb300421764b55ed21ef940cefd2f6180db4c" + integrity sha512-z93H/0boCPA1faUm+DYxV9FfD51vHV+oivPiNAjpMulGaTrcg4Jm1krwZ1NM+qgBUFK8AyGibOxMyz+32Lgs1w== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.0" + "@types/node" "^10.1.0" + long "^4.0.0" + +protobufjs@6.8.8: + version "6.8.8" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.8.8.tgz#c8b4f1282fd7a90e6f5b109ed11c84af82908e7c" + integrity sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.0" + "@types/node" "^10.1.0" + long "^4.0.0" + +protobufjs@^6.10.1: + version "6.10.1" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.10.1.tgz#e6a484dd8f04b29629e9053344e3970cccf13cd2" + integrity sha512-pb8kTchL+1Ceg4lFd5XUpK8PdWacbvV5SK2ULH2ebrYtl4GjJmS24m6CKME67jzV53tbJxHlnNOSqQHbTsR9JQ== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" "^13.7.0" + long "^4.0.0" + +punycode@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +readdirp@~3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" + integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== + dependencies: + picomatch "^2.2.1" + +regex-not@^1.0.0, regex-not@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" + integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== + dependencies: + extend-shallow "^3.0.2" + safe-regex "^1.1.0" + +regexpp@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" + integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== + +regexpp@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" + integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== + +repeat-element@^1.1.2: + version "1.1.3" + resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" + integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== + +repeat-string@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" + integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= + +requizzle@^0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/requizzle/-/requizzle-0.2.3.tgz#4675c90aacafb2c036bd39ba2daa4a1cb777fded" + integrity sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ== + dependencies: + lodash "^4.17.14" + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-url@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" + integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= + +resolve@^1.17.0: + version "1.18.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.18.1.tgz#018fcb2c5b207d2a6424aee361c5a266da8f4130" + integrity sha512-lDfCPaMKfOJXjy0dPayzPdF1phampNWr3qFCjAu+rw/qbQmr5jWH5xN2hwh9QKfw9E5v4hwV7A+jrCmL8yjjqA== + dependencies: + is-core-module "^2.0.0" + path-parse "^1.0.6" + +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + +ret@~0.1.10: + version "0.1.15" + resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" + integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== + +rimraf@2.6.3: + version "2.6.3" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" + integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== + dependencies: + glob "^7.1.3" + +rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" + +rollup-plugin-terser@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d" + integrity sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ== + dependencies: + "@babel/code-frame" "^7.10.4" + jest-worker "^26.2.1" + serialize-javascript "^4.0.0" + terser "^5.0.0" + +rollup@^2.32.1: + version "2.32.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.32.1.tgz#625a92c54f5b4d28ada12d618641491d4dbb548c" + integrity sha512-Op2vWTpvK7t6/Qnm1TTh7VjEZZkN8RWgf0DHbkKzQBwNf748YhXbozHVefqpPp/Fuyk/PQPAnYsBxAEtlMvpUw== + optionalDependencies: + fsevents "~2.1.2" + +run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + +rxjs@^6.6.0: + version "6.6.3" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552" + integrity sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ== + dependencies: + tslib "^1.9.0" + +safe-buffer@^5.1.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-regex@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" + integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4= + dependencies: + ret "~0.1.10" + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +semver@5.6.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" + integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== + +semver@^5.5.0, semver@^5.6.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@^6.1.2: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.2: + version "7.3.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" + integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== + +serialize-javascript@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" + integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw== + dependencies: + randombytes "^2.1.0" + +set-value@^2.0.0, set-value@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" + integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.3" + split-string "^3.0.1" + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= + dependencies: + shebang-regex "^1.0.0" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +signal-exit@^3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" + integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== + +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + +slice-ansi@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" + integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== + dependencies: + ansi-styles "^3.2.0" + astral-regex "^1.0.0" + is-fullwidth-code-point "^2.0.0" + +snapdragon-node@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" + integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== + dependencies: + define-property "^1.0.0" + isobject "^3.0.0" + snapdragon-util "^3.0.1" + +snapdragon-util@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" + integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== + dependencies: + kind-of "^3.2.0" + +snapdragon@^0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" + integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== + dependencies: + base "^0.11.1" + debug "^2.2.0" + define-property "^0.2.5" + extend-shallow "^2.0.1" + map-cache "^0.2.2" + source-map "^0.5.6" + source-map-resolve "^0.5.0" + use "^3.1.0" + +source-map-resolve@^0.5.0: + version "0.5.3" + resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" + integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== + dependencies: + atob "^2.1.2" + decode-uri-component "^0.2.0" + resolve-url "^0.2.1" + source-map-url "^0.4.0" + urix "^0.1.0" + +source-map-support@0.5.9: + version "0.5.9" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.9.tgz#41bc953b2534267ea2d605bccfa7bfa3111ced5f" + integrity sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map-support@~0.5.19: + version "0.5.19" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" + integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map-url@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" + integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= + +source-map@^0.5.6: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= + +source-map@^0.6.0, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +source-map@^0.7.3, source-map@~0.7.2: + version "0.7.3" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" + integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== + +sourcemap-codec@^1.4.4: + version "1.4.8" + resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" + integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== + +split-string@^3.0.1, split-string@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" + integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== + dependencies: + extend-shallow "^3.0.0" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + +static-extend@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" + integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY= + dependencies: + define-property "^0.2.5" + object-copy "^0.1.0" + +string-width@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + +string-width@^4.1.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" + integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" + +strip-ansi@^5.1.0, strip-ansi@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== + dependencies: + ansi-regex "^5.0.0" + +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + +strip-json-comments@^3.0.1, strip-json-comments@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.0.0, supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +svelte-check@^1.0.61: + version "1.0.61" + resolved "https://registry.yarnpkg.com/svelte-check/-/svelte-check-1.0.61.tgz#9723747d5f2e86b7241be93ae32c194f2f4476f0" + integrity sha512-hngvMp2Y9ZsJC7c4Gf29Ec2fm5/F8RX0GIVEkzVnrr8TFRMzkP4sVmMj2R/u02c0NY0MBhgZ974pMuHu74pyPA== + dependencies: + chalk "^4.0.0" + chokidar "^3.4.1" + glob "^7.1.6" + minimist "^1.2.5" + svelte-language-server "*" + vscode-languageserver "6.1.1" + vscode-languageserver-protocol "3.15.3" + vscode-languageserver-types "3.15.1" + vscode-uri "2.1.2" + +svelte-language-server@*: + version "0.10.140" + resolved "https://registry.yarnpkg.com/svelte-language-server/-/svelte-language-server-0.10.140.tgz#a74d2f16ba0254818570f02f89317b84ff09f406" + integrity sha512-WSi06jPShGYUJ5SP7XdSPV0nqxjsT3Oy8g1JZW7IRTamORWPx9LWBKllDCuLtB4l4iWlpNlMSqj0+siLz7fDAQ== + dependencies: + chokidar "^3.4.1" + cosmiconfig "^7.0.0" + estree-walker "^2.0.1" + lodash "^4.17.19" + prettier "2.1.2" + prettier-plugin-svelte "~1.4.1" + source-map "^0.7.3" + svelte "3.28.0" + svelte-preprocess "~4.3.0" + svelte2tsx "*" + typescript "*" + vscode-css-languageservice "4.2.0" + vscode-emmet-helper "1.2.17" + vscode-html-languageservice "3.0.4-next.15" + vscode-languageserver "6.1.1" + vscode-languageserver-types "3.15.1" + vscode-uri "2.1.2" + +svelte-preprocess@~4.3.0: + version "4.3.2" + resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.3.2.tgz#a05a98e59c64044e835b1401346be41665f19971" + integrity sha512-CmIsCr62y34qGS10/SC1l1VkmX0kZR6wncbGgRJ1qJftLDMEaazC3bWqoqAlrqyQFvpO0+xb44GQm4RKi/9sLQ== + dependencies: + "@types/pug" "^2.0.4" + "@types/sass" "^1.16.0" + detect-indent "^6.0.0" + strip-indent "^3.0.0" + +svelte2tsx@*: + version "0.1.131" + resolved "https://registry.yarnpkg.com/svelte2tsx/-/svelte2tsx-0.1.131.tgz#609857b5312f9dfc39472952a7cb4973cd2b731d" + integrity sha512-9o1Ld756S6v3hj0wVTs4qU2WkZR5M6sGpUway7K/PCY0ehlGWshId3vtcwY1VhGfHBhKQssetZs5/s3srwa2cw== + dependencies: + dedent-js "^1.0.1" + pascal-case "^3.1.1" + +svelte2tsx@^0.1.133: + version "0.1.133" + resolved "https://registry.yarnpkg.com/svelte2tsx/-/svelte2tsx-0.1.133.tgz#daf2beca6ca8db2805887048d7ad139a596c5944" + integrity sha512-pPO/ADVNvvmSociSOe4P1xJmF0RvT8eFWFFzM1W2Gp9gmpluMxqEiNdRgAVf+VnL9iv2rTg+3cblnvLwcPRH/Q== + dependencies: + dedent-js "^1.0.1" + pascal-case "^3.1.1" + +svelte@3.28.0: + version "3.28.0" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.28.0.tgz#e257fab5666701cf230bea583ceb470bdda1344c" + integrity sha512-WJW8wD+aTmU5GUnTUjdhVF35mve2MjylubLgB6fGWoXHpYENdwcwWsWvjMQLayzMynqNH733h1Ck8wJzNR7gdQ== + +svelte@^3.28.0: + version "3.29.4" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.29.4.tgz#d0f80cb58109ef52963855c23496f7153bb2eb7e" + integrity sha512-oW0fGHlyFFMvzRtIvOs84b0fOc0gmZNQcL5Is3hxuTpvaYX3pfd8oHy4KnOvbq4Ca6SG6AHdRMk7OhApTo0NqA== + +table@^5.2.3: + version "5.4.6" + resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" + integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== + dependencies: + ajv "^6.10.2" + lodash "^4.17.14" + slice-ansi "^2.1.0" + string-width "^3.0.0" + +taffydb@2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/taffydb/-/taffydb-2.6.2.tgz#7cbcb64b5a141b6a2efc2c5d2c67b4e150b2a268" + integrity sha1-fLy2S1oUG2ou/CxdLGe04VCyomg= + +terser@^5.0.0: + version "5.3.8" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.3.8.tgz#991ae8ba21a3d990579b54aa9af11586197a75dd" + integrity sha512-zVotuHoIfnYjtlurOouTazciEfL7V38QMAOhGqpXDEg6yT13cF4+fEP9b0rrCEQTn+tT46uxgFsTZzhygk+CzQ== + dependencies: + commander "^2.20.0" + source-map "~0.7.2" + source-map-support "~0.5.19" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= + +through@^2.3.6: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + +tmp@0.0.31: + version "0.0.31" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.31.tgz#8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7" + integrity sha1-jzirlDjhcxXl29izZX6L+yd65Kc= + dependencies: + os-tmpdir "~1.0.1" + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +to-object-path@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" + integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68= + dependencies: + kind-of "^3.0.2" + +to-regex-range@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" + integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= + dependencies: + is-number "^3.0.0" + repeat-string "^1.6.1" + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +to-regex@^3.0.1, to-regex@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" + integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== + dependencies: + define-property "^2.0.2" + extend-shallow "^3.0.2" + regex-not "^1.0.2" + safe-regex "^1.1.0" + +tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c" + integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ== + +tsutils@2.27.2: + version "2.27.2" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.27.2.tgz#60ba88a23d6f785ec4b89c6e8179cac9b431f1c7" + integrity sha512-qf6rmT84TFMuxAKez2pIfR8UCai49iQsfB7YWVjV1bKpy/d0PWT5rEOSM6La9PiHZ0k1RRZQiwVdVJfQ3BPHgg== + dependencies: + tslib "^1.8.1" + +tsutils@^3.17.1: + version "3.17.1" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" + integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== + dependencies: + tslib "^1.8.1" + +type-check@~0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" + integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= + dependencies: + prelude-ls "~1.1.2" + +type-fest@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" + integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== + +type-fest@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== + +typescript@*: + version "4.0.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.3.tgz#153bbd468ef07725c1df9c77e8b453f8d36abba5" + integrity sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg== + +typescript@^3.9.7: + version "3.9.7" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" + integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw== + +uc.micro@^1.0.1, uc.micro@^1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" + integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== + +uglify-js@^3.3.25: + version "3.11.3" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.3.tgz#b2f8c87826344f091ba48c417c499d6cba5d5786" + integrity sha512-wDRziHG94mNj2n3R864CvYw/+pc9y/RNImiTyrrf8BzgWn75JgFSwYvXrtZQMnMnOp/4UTrf3iCSQxSStPiByA== + +underscore@~1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.10.2.tgz#73d6aa3668f3188e4adb0f1943bd12cfd7efaaaf" + integrity sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg== + +union-value@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" + integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== + dependencies: + arr-union "^3.1.0" + get-value "^2.0.6" + is-extendable "^0.1.1" + set-value "^2.0.1" + +universalify@^0.1.0: + version "0.1.2" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" + integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== + +unset-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" + integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk= + dependencies: + has-value "^0.3.1" + isobject "^3.0.0" + +uri-js@^4.2.2: + version "4.4.0" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.0.tgz#aa714261de793e8a82347a7bcc9ce74e86f28602" + integrity sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g== + dependencies: + punycode "^2.1.0" + +urix@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" + integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= + +use@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" + integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== + +v8-compile-cache@^2.0.3: + version "2.1.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745" + integrity sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ== + +vscode-css-languageservice@4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-4.2.0.tgz#56081374857ce8aa4dd4c98f97e4e10a30b7242f" + integrity sha512-HIjl5bofrrxMMF05K/nq83270EdvteuAIio44FWd6tDdfhgg4vbofiAuXRSpXFi335f5+ekKdrzvPZm9ahqzsg== + dependencies: + vscode-languageserver-textdocument "^1.0.1" + vscode-languageserver-types "^3.15.1" + vscode-nls "^4.1.2" + vscode-uri "^2.1.1" + +vscode-emmet-helper@1.2.17: + version "1.2.17" + resolved "https://registry.yarnpkg.com/vscode-emmet-helper/-/vscode-emmet-helper-1.2.17.tgz#f0c6bfcebc4285d081fb2618e6e5b9a08c567afa" + integrity sha512-X4pzcrJ8dE7M3ArFuySF5fgipKDd/EauXkiJwtjBIVRWpVNq0tF9+lNCyuC7iDUwP3Oq7ow/TGssD3GdG96Jow== + dependencies: + "@emmetio/extract-abbreviation" "0.1.6" + jsonc-parser "^1.0.0" + vscode-languageserver-types "^3.6.0-next.1" + +vscode-html-languageservice@3.0.4-next.15: + version "3.0.4-next.15" + resolved "https://registry.yarnpkg.com/vscode-html-languageservice/-/vscode-html-languageservice-3.0.4-next.15.tgz#7214ccd9b4a06cf138b5945d9fd88285a0add490" + integrity sha512-UmUm3A1ZTj+BloVIyel+5pK/nfsqRfPLXzl8BA9O7v5Cj64vivddABvNf/rW1US8fzdikFNZNloC/4ooqxB2kw== + dependencies: + vscode-languageserver-textdocument "^1.0.1-next.1" + vscode-languageserver-types "^3.15.1" + vscode-nls "^4.1.1" + vscode-uri "^2.1.1" + +vscode-jsonrpc@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-5.0.1.tgz#9bab9c330d89f43fc8c1e8702b5c36e058a01794" + integrity sha512-JvONPptw3GAQGXlVV2utDcHx0BiY34FupW/kI6mZ5x06ER5DdPG/tXWMVHjTNULF5uKPOUUD0SaXg5QaubJL0A== + +vscode-languageserver-protocol@3.15.3, vscode-languageserver-protocol@^3.15.3: + version "3.15.3" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.15.3.tgz#3fa9a0702d742cf7883cb6182a6212fcd0a1d8bb" + integrity sha512-zrMuwHOAQRhjDSnflWdJG+O2ztMWss8GqUUB8dXLR/FPenwkiBNkMIJJYfSN6sgskvsF0rHAoBowNQfbyZnnvw== + dependencies: + vscode-jsonrpc "^5.0.1" + vscode-languageserver-types "3.15.1" + +vscode-languageserver-textdocument@^1.0.1, vscode-languageserver-textdocument@^1.0.1-next.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.1.tgz#178168e87efad6171b372add1dea34f53e5d330f" + integrity sha512-UIcJDjX7IFkck7cSkNNyzIz5FyvpQfY7sdzVy+wkKN/BLaD4DQ0ppXQrKePomCxTS7RrolK1I0pey0bG9eh8dA== + +vscode-languageserver-types@3.15.1, vscode-languageserver-types@^3.15.1, vscode-languageserver-types@^3.6.0-next.1: + version "3.15.1" + resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.15.1.tgz#17be71d78d2f6236d414f0001ce1ef4d23e6b6de" + integrity sha512-+a9MPUQrNGRrGU630OGbYVQ+11iOIovjCkqxajPa9w57Sd5ruK8WQNsslzpa0x/QJqC8kRc2DUxWjIFwoNm4ZQ== + +vscode-languageserver@6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-6.1.1.tgz#d76afc68172c27d4327ee74332b468fbc740d762" + integrity sha512-DueEpkUAkD5XTR4MLYNr6bQIp/UFR0/IPApgXU3YfCBCB08u2sm9hRCs6DxYZELkk++STPjpcjksR2H8qI3cDQ== + dependencies: + vscode-languageserver-protocol "^3.15.3" + +vscode-nls@^4.1.1, vscode-nls@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/vscode-nls/-/vscode-nls-4.1.2.tgz#ca8bf8bb82a0987b32801f9fddfdd2fb9fd3c167" + integrity sha512-7bOHxPsfyuCqmP+hZXscLhiHwe7CSuFE4hyhbs22xPIhQ4jv99FcR4eBzfYYVLP356HNFpdvz63FFb/xw6T4Iw== + +vscode-uri@2.1.2, vscode-uri@^2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-2.1.2.tgz#c8d40de93eb57af31f3c715dd650e2ca2c096f1c" + integrity sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A== + +which@^1.2.9: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +word-wrap@~1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + +write@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== + dependencies: + mkdirp "^0.5.1" + +xmlcreate@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.3.tgz#df9ecd518fd3890ab3548e1b811d040614993497" + integrity sha512-HgS+X6zAztGa9zIK3Y3LXuJes33Lz9x+YyTxgrkIdabu2vqcGOWwdfCpf1hWLRrd553wd4QCDf6BBO6FfdsRiQ== + +yaml@^1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" + integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==