diff --git a/.gitattributes b/.gitattributes index daf31544607..e31c46deb2f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,6 @@ # JS and TS files must always use LF for tools to work *.js eol=lf *.ts eol=lf + +# Preserve verbatim line endings for NGP golden test fixtures +packages/compiler-cli/preprocessor/test/golden/** -text diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72476840235..0fce1bbed34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,8 @@ jobs: run: pnpm install --frozen-lockfile - name: Run CI tests for framework run: pnpm test:ci + # TODO(atscott): Enable preprocessor language service tests (pnpm test:ngp:language-service). + # TODO(atscott): Enable preprocessor VS Code extension tests (pnpm test:ngp:vscode). integration-tests: runs-on: ubuntu-latest diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a1ba9591140..60dd0b22ac3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -86,6 +86,8 @@ jobs: # Ensures Aspect lock files are up-to-date. # TODO(devversion): Remove when removing pnpm. ASPECT_RULES_JS_FROZEN_PNPM_LOCK: '1' + # TODO(atscott): Enable preprocessor language service tests (pnpm test:ngp:language-service). + # TODO(atscott): Enable preprocessor VS Code extension tests (pnpm test:ngp:vscode). - name: Upload GRPC logs (for debugging of RBE issues) if: always() uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 diff --git a/.gitignore b/.gitignore index a7b08fdcd43..a27d20d36cc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,10 @@ *.log node_modules/ modules/ssr-benchmarks/node_modules/ +/ngp-vscode-ng-language-service/dist/ +/.vscode-test/ +/.vscode-test-user-data/ +.jasmine_build/ # Include when developing application packages. pubspec.lock @@ -57,3 +61,6 @@ baseline.json # pnpm store .pnpm-store + +# Cargo target directory +target/ diff --git a/.prettierignore b/.prettierignore index a3406c27066..d5a36e66621 100644 --- a/.prettierignore +++ b/.prettierignore @@ -47,3 +47,11 @@ adev/src/content/examples/schematics-for-libraries/projects/my-lib/package.json CHANGELOG.md CHANGELOG_ARCHIVE.md + +# Ignore NGP test fixture markdown files +packages/compiler-cli/preprocessor/test/golden/** + +# Ignore NGP language service test workspaces +packages/compiler-cli/preprocessor/language-service/tests/test-workspace/** +ngp-vscode-ng-language-service/tests/test-workspace/** +ngp-vscode-ng-language-service/e2e/test-workspace/** diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 00000000000..1fc3e742365 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,1678 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" +dependencies = [ + "serde_core", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytecount" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e" + +[[package]] +name = "castaway" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a" +dependencies = [ + "rustversion", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "compact_str" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79fcda08c33bb58b97008b2cdada6622500e949e060f5913361763121abd2416" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "serde", + "static_assertions", + "zmij", +] + +[[package]] +name = "convert_case" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1af709f1f33454bf52eadfc8c78b3b9ef9cb26fb54d16dc9cd9a7299f899fd1b" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cow-utils" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79" + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "ctor" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d" + +[[package]] +name = "dashmap" +version = "6.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "dragonbox_ecma" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf" + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "fast-glob" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a044ed96eb57253e806d08b74260638af189687e583f04947a5e11e75e0b0d1" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "float-cmp" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8" +dependencies = [ + "num-traits", +] + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "halfbrown" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7ed2f2edad8a14c8186b847909a41fbb9c3eafa44f88bd891114ed5019da09" +dependencies = [ + "hashbrown 0.16.1", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "allocator-api2", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "serde", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_locale_fallback" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "251af8e57c9400e3eb58242fe5b8b1152b2a64fdf4cf632f923c38ccee6f2fa9" +dependencies = [ + "icu_locale_core", + "icu_locale_fallback_data", + "icu_provider", + "potential_utf", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_locale_fallback_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "decf2a22ec8fa68f1a0c1129a3f8583f8f8bc24e8b9ccbe98ead99f62a4dc3a8" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "serde", + "stable_deref_trait", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_segmenter" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d07aafccd67af15d02512a6adf5896fbc5ed00f2e99b471d2efa14016db3db" +dependencies = [ + "icu_collections", + "icu_locale_fallback", + "icu_provider", + "icu_segmenter_data", + "potential_utf", + "smallvec", + "utf8_iter", + "zerovec", +] + +[[package]] +name = "icu_segmenter_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae293c039020f9ec10710af98d29ce6aa2051486638b49c9a6409f3b4a9e98ad" + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", + "serde", + "serde_core", +] + +[[package]] +name = "itertools" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "js-sys" +version = "0.3.98" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08" +dependencies = [ + "cfg-if", + "futures-util", + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "json-strip-comments" +version = "3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01ed659c5f428031b9c1fb7de6729af2eb491654d4bcd416a5b5b704986b9658" +dependencies = [ + "memchr", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libloading" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "napi" +version = "3.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e2cf85c02d9b057898c485b824c3c416b65193689e2b7f517efc94b86ed24c" +dependencies = [ + "bitflags", + "ctor", + "futures", + "libc", + "napi-build", + "napi-sys", + "nohash-hasher", + "rustc-hash", + "tokio", +] + +[[package]] +name = "napi-build" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d" + +[[package]] +name = "napi-derive" +version = "3.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92cec6048ac04041ac8055bdce1ec4f353416cd443ba9222bf73af790c3d4495" +dependencies = [ + "convert_case", + "ctor", + "napi-derive-backend", + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "napi-derive-backend" +version = "6.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fae2444f4ba7333754bb73414ff8059dec2cb23b83a95bd1a0bf08169eed1be0" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "semver", + "syn 3.0.6", +] + +[[package]] +name = "napi-sys" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e22a4f25c16a5c5411d987cd6fbd48313522ae1789ade2d6dd3efdc6d40a0fc8" +dependencies = [ + "libloading", +] + +[[package]] +name = "ng-analyze" +version = "0.1.0" +dependencies = [ + "futures", + "glob", + "js-sys", + "json-strip-comments", + "napi", + "napi-build", + "napi-derive", + "oxc-miette-derive", + "oxc_allocator", + "oxc_ast", + "oxc_ast_visit", + "oxc_diagnostics", + "oxc_parser", + "oxc_resolver", + "oxc_semantic", + "oxc_span", + "oxc_syntax", + "pathdiff", + "regex", + "self_cell", + "serde", + "serde_json", + "tempfile", + "wasm-bindgen", +] + +[[package]] +name = "nodejs-built-in-modules" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5eb86a92577833b75522336f210c49d9ebd7dd55a44d80a92e68c668a75f27c" + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "nonmax" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51" + +[[package]] +name = "num-bigint" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "owo-colors" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8" + +[[package]] +name = "oxc-miette" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330e07b3807046e0afa8fcc94f1fe976e93831b370d148bfe1168cb53da1b913" +dependencies = [ + "bytecount", + "memchr", + "owo-colors", + "textwrap", + "unicode-segmentation", + "unicode-width", +] + +[[package]] +name = "oxc-miette-derive" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acc072d11d45ebe7801459b4e829184ba0934d68027fdc51d327335b53a95a49" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "oxc_allocator" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9262c7bbd58c8c32c2c60d1a7b6c274cd2aeaff1b726a2fb86081b75084698cb" +dependencies = [ + "allocator-api2", + "hashbrown 0.17.1", + "oxc_data_structures", + "oxc_estree", + "rustc-hash", + "serde", +] + +[[package]] +name = "oxc_ast" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8134809b665d524d9a0ddeee87a5d3602776aa2410a10a0439fd25eeb594a5d" +dependencies = [ + "bitflags", + "oxc_allocator", + "oxc_ast_macros", + "oxc_data_structures", + "oxc_diagnostics", + "oxc_estree", + "oxc_regular_expression", + "oxc_span", + "oxc_str", + "oxc_syntax", +] + +[[package]] +name = "oxc_ast_macros" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac120c6863a9d036c78a42a5e4d2f58bb27c5df795d61d904f6e19e48c681a37" +dependencies = [ + "phf", + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "oxc_ast_visit" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a57626cd6ef87f5173110a301868e3c438fd8e0576f489d9a61540ef133f686" +dependencies = [ + "oxc_allocator", + "oxc_ast", + "oxc_span", + "oxc_syntax", +] + +[[package]] +name = "oxc_data_structures" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a71efea56db93d3ce9e88e1d9f74f6d50fc2b06092444cdd08579f5827fd8db" + +[[package]] +name = "oxc_diagnostics" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5ff8638533094ecdcd38a63930c003c261d81650e4531c3bc805c797aec2a52" +dependencies = [ + "cow-utils", + "memchr", + "oxc-miette", + "percent-encoding", + "smallvec", +] + +[[package]] +name = "oxc_ecmascript" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77c7a326f49f06da37affdcad2fb3ebab46ac4ada8953a428f7cbd04e5cc9e6e" +dependencies = [ + "dragonbox_ecma", + "itoa", + "num-bigint", + "num-traits", + "oxc_ast", + "oxc_data_structures", + "oxc_span", + "oxc_syntax", +] + +[[package]] +name = "oxc_estree" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8275fcb9674a1c320f0bdbc2f534ba9bb09fcb8b1c9fe306c9595d262a06bfcb" +dependencies = [ + "dragonbox_ecma", + "itoa", + "oxc_data_structures", +] + +[[package]] +name = "oxc_index" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "191884bee6c3744909a51acc7d78d4ae370d817b25875b10642f632327b6296e" +dependencies = [ + "nonmax", + "serde", +] + +[[package]] +name = "oxc_parser" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d13016de81370106ea4065cfabe4a278dc09e82523cfe22bb6a8ab8e993b4c3a" +dependencies = [ + "bitflags", + "cow-utils", + "memchr", + "num-bigint", + "num-traits", + "oxc_allocator", + "oxc_ast", + "oxc_data_structures", + "oxc_diagnostics", + "oxc_ecmascript", + "oxc_regular_expression", + "oxc_span", + "oxc_str", + "oxc_syntax", + "rustc-hash", + "seq-macro", +] + +[[package]] +name = "oxc_regular_expression" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c375b89d88ec03301b0e62528715699551871861197aa39148e95a1422e1ae9b" +dependencies = [ + "bitflags", + "oxc_allocator", + "oxc_ast_macros", + "oxc_diagnostics", + "oxc_span", + "oxc_str", + "phf", + "rustc-hash", + "unicode-id-start", +] + +[[package]] +name = "oxc_resolver" +version = "11.24.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c7fd0839a5ecee17c0d2c88c8006e8ab4dff25d4a79e3a0bf7a9f0cce17f4e3" +dependencies = [ + "compact_str", + "dashmap", + "fast-glob", + "indexmap", + "json-strip-comments", + "memchr", + "nodejs-built-in-modules", + "once_cell", + "percent-encoding", + "rustc-hash", + "rustix", + "self_cell", + "serde", + "serde_json", + "simd-json", + "simdutf8", + "thiserror", + "tracing", + "windows", +] + +[[package]] +name = "oxc_semantic" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8d80604c4220c8f5b1c19682216921397fb45a616db47d3a044474662f0c2e" +dependencies = [ + "itertools", + "memchr", + "oxc_allocator", + "oxc_ast", + "oxc_ast_visit", + "oxc_data_structures", + "oxc_diagnostics", + "oxc_ecmascript", + "oxc_index", + "oxc_span", + "oxc_str", + "oxc_syntax", + "rustc-hash", + "self_cell", + "smallvec", +] + +[[package]] +name = "oxc_span" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abd732008dbfb09984106925f7ff7268687c8020b89bd7ee0f0b695c5bb07950" +dependencies = [ + "compact_str", + "oxc-miette", + "oxc_allocator", + "oxc_ast_macros", + "oxc_estree", + "oxc_str", + "serde", +] + +[[package]] +name = "oxc_str" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d2ccb0f5aa4da9fc98ef70f59553c2779e28e064a8b271fcb1e88c11a63607" +dependencies = [ + "compact_str", + "hashbrown 0.17.1", + "oxc_allocator", + "oxc_estree", + "serde", +] + +[[package]] +name = "oxc_syntax" +version = "0.144.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15ff0e987ab15a71dae36fd544b9859513e76639e2cc6c5e25895081162755b1" +dependencies = [ + "bitflags", + "cow-utils", + "dragonbox_ecma", + "nonmax", + "oxc_allocator", + "oxc_ast_macros", + "oxc_estree", + "oxc_index", + "oxc_span", + "oxc_str", + "phf", + "serde", + "unicode-id-start", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "pathdiff" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "phf" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" +dependencies = [ + "phf_macros", + "phf_shared", + "serde", +] + +[[package]] +name = "phf_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" +dependencies = [ + "fastrand", + "phf_shared", +] + +[[package]] +name = "phf_macros" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "phf_shared" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "serde_core", + "writeable", + "zerovec", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "ref-cast" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustix" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "self_cell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "seq-macro" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "serde_json" +version = "1.0.151" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +dependencies = [ + "indexmap", + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "simd-json" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebe141eb4a23ecc4d5de93fa5b139ac65dc07c38037a2fe9a8fb7c9d36bd832" +dependencies = [ + "halfbrown", + "ref-cast", + "simdutf8", + "value-trait", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "siphasher" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e" +dependencies = [ + "serde", +] + +[[package]] +name = "smawk" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8e2fb0f499abb4d162f2bedad68f5ef91a1682b5a03596ddb67efd37768d100" + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom", + "once_cell", + "rustix", + "windows-sys", +] + +[[package]] +name = "textwrap" +version = "0.16.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ecfad6c3abc80a577f2b91c1e412ee57e7a060d430b553c1b0c940974ebcd49" +dependencies = [ + "icu_segmenter", + "smawk", + "unicode-width", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "serde_core", + "zerovec", +] + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "pin-project-lite", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "unicode-id-start" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0825d2e09dcae814a4273c1e1435979d414ede25b2ee235b1545da6682483765" + +[[package]] +name = "unicode-ident" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab72a15cf68d77cb0987d3684aa8a45c5ef827e8cb49ee2f30bfd7ba2feb519f" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "value-trait" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3f4b4a98dfe54bc9ed3641af7ffcb837240269627dbd5cb047d13daa39736cc" +dependencies = [ + "float-cmp", + "halfbrown", + "itoa", + "ryu", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.119", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.121" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", + "synstructure", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "serde", + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.6", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000000..e6ca63fd5c5 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,5 @@ +[workspace] +members = [ + "packages/compiler-cli/preprocessor/ng-analyze", +] +resolver = "3" diff --git a/MODULE.bazel b/MODULE.bazel index e62f9a5ffe8..221000e567a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -13,6 +13,7 @@ bazel_dep(name = "aspect_rules_jasmine", version = "2.0.4") bazel_dep(name = "aspect_rules_rollup", version = "2.0.1") bazel_dep(name = "bazel_skylib", version = "1.9.2") bazel_dep(name = "bazel_lib", version = "3.7.2") +bazel_dep(name = "platforms", version = "1.1.0") bazel_dep(name = "tar.bzl", version = "0.10.9") bazel_dep(name = "yq.bzl", version = "0.4.0") bazel_dep(name = "rules_angular") @@ -163,3 +164,25 @@ cldr_xml_data( "https://github.com/unicode-org/cldr/releases/download/release-%s/core.zip" % CLDR_VERSION: "d5ee2abac64158c04884a722f8ef4830ea22b6c74aac20185be2838db8eda788", }, ) + +bazel_dep(name = "rules_rust", version = "0.74.0") +bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.74.0") + +rust = use_extension("@rules_rust//rust:extensions.bzl", "rust") +rust.toolchain( + edition = "2024", + extra_target_triples = ["wasm32-unknown-unknown"], +) +use_repo(rust, "rust_toolchains") + +register_toolchains("@rust_toolchains//:all") + +register_toolchains("@rules_rust_wasm_bindgen//:default_wasm_bindgen_toolchain") + +crate = use_extension("@rules_rust//crate_universe:extensions.bzl", "crate") +crate.from_cargo( + name = "crates", + cargo_lockfile = "//:Cargo.lock", + manifests = ["//:Cargo.toml"], +) +use_repo(crate, "crates") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 04653d8bb9c..a909bfe7d25 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -10,6 +10,9 @@ "https://bcr.bazel.build/modules/abseil-cpp/20230802.1/MODULE.bazel": "fa92e2eb41a04df73cdabeec37107316f7e5272650f81d6cc096418fe647b915", "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/source.json": "9be551b8d4e3ef76875c0d744b5d6a504a27e3ae67bc6b28f46415fd2d2957da", + "https://bcr.bazel.build/modules/apple_support/1.23.1/MODULE.bazel": "53763fed456a968cf919b3240427cf3a9d5481ec5466abc9d5dc51bc70087442", + "https://bcr.bazel.build/modules/apple_support/1.24.1/MODULE.bazel": "f46e8ddad60aef170ee92b2f3d00ef66c147ceafea68b6877cb45bd91737f5f8", + "https://bcr.bazel.build/modules/apple_support/1.24.1/source.json": "cf725267cbacc5f028ef13bb77e7f2c2e0066923a4dab1025e4a0511b1ed258a", "https://bcr.bazel.build/modules/aspect_bazel_lib/2.0.0/MODULE.bazel": "e118477db5c49419a88d78ebc7a2c2cea9d49600fe0f490c1903324a2c16ecd9", "https://bcr.bazel.build/modules/aspect_bazel_lib/2.11.0/MODULE.bazel": "cb1ba9f9999ed0bc08600c221f532c1ddd8d217686b32ba7d45b0713b5131452", "https://bcr.bazel.build/modules/aspect_bazel_lib/2.14.0/MODULE.bazel": "2b31ffcc9bdc8295b2167e07a757dbbc9ac8906e7028e5170a3708cecaac119f", @@ -44,13 +47,16 @@ "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", + "https://bcr.bazel.build/modules/bazel_features/1.27.0/MODULE.bazel": "621eeee06c4458a9121d1f104efb80f39d34deff4984e778359c60eaf1a8cb65", "https://bcr.bazel.build/modules/bazel_features/1.28.0/MODULE.bazel": "4b4200e6cbf8fa335b2c3f43e1d6ef3e240319c33d43d60cc0fbd4b87ece299d", "https://bcr.bazel.build/modules/bazel_features/1.30.0/MODULE.bazel": "a14b62d05969a293b80257e72e597c2da7f717e1e69fa8b339703ed6731bec87", + "https://bcr.bazel.build/modules/bazel_features/1.32.0/MODULE.bazel": "095d67022a58cb20f7e20e1aefecfa65257a222c18a938e2914fd257b5f1ccdc", "https://bcr.bazel.build/modules/bazel_features/1.34.0/MODULE.bazel": "e8475ad7c8965542e0c7aac8af68eb48c4af904be3d614b6aa6274c092c2ea1e", "https://bcr.bazel.build/modules/bazel_features/1.39.0/MODULE.bazel": "28739425c1fc283c91931619749c832b555e60bcd1010b40d8441ce0a5cf726d", "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", "https://bcr.bazel.build/modules/bazel_features/1.41.0/MODULE.bazel": "6e0f87fafed801273c371d41e22a15a6f8abf83fdd7f87d5e44ad317b94433d0", - "https://bcr.bazel.build/modules/bazel_features/1.41.0/source.json": "8fd525b31b0883c47e0593443cdd10219b94a7556b3195fc02d75c86c66cfe30", + "https://bcr.bazel.build/modules/bazel_features/1.50.0/MODULE.bazel": "2083ef9c7a469f520890483ccf8e0189d6e71e2117e7752e15e6554433d5ae3e", + "https://bcr.bazel.build/modules/bazel_features/1.50.0/source.json": "e0ee3debde2789ff56e4452e612d126925ba9ab64d4bde79c67f099d2902df9b", "https://bcr.bazel.build/modules/bazel_features/1.9.0/MODULE.bazel": "885151d58d90d8d9c811eb75e3288c11f850e1d6b481a8c9f766adee4712358b", "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", "https://bcr.bazel.build/modules/bazel_lib/3.0.0-rc.0/MODULE.bazel": "d6e00979a98ac14ada5e31c8794708b41434d461e7e7ca39b59b765e6d233b18", @@ -104,6 +110,7 @@ "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", + "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", "https://bcr.bazel.build/modules/platforms/1.0.0/MODULE.bazel": "f05feb42b48f1b3c225e4ccf351f367be0371411a803198ec34a389fb22aa580", "https://bcr.bazel.build/modules/platforms/1.1.0/MODULE.bazel": "1c0c09f5bdcf4b3f924720d2478a3711cb39f4977019ca5988685e5b7e18b3d2", "https://bcr.bazel.build/modules/platforms/1.1.0/source.json": "fcf351c47596c939140ab0d333dfdd08ed1ea6ce33c2fe70c12493a301cf1344", @@ -137,6 +144,7 @@ "https://bcr.bazel.build/modules/rules_cc/0.2.16/MODULE.bazel": "9242fa89f950c6ef7702801ab53922e99c69b02310c39fb6e62b2bd30df2a1d4", "https://bcr.bazel.build/modules/rules_cc/0.2.16/source.json": "d03d5cde49376d87e14ec14b666c56075e5e3926930327fd5d0484a1ff2ac1cc", "https://bcr.bazel.build/modules/rules_cc/0.2.4/MODULE.bazel": "1ff1223dfd24f3ecf8f028446d4a27608aa43c3f41e346d22838a4223980b8cc", + "https://bcr.bazel.build/modules/rules_cc/0.2.8/MODULE.bazel": "f1df20f0bf22c28192a794f29b501ee2018fa37a3862a1a2132ae2940a23a642", "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/source.json": "c8b1e2c717646f1702290959a3302a178fb639d987ab61d548105019f11e527e", @@ -193,9 +201,14 @@ "https://bcr.bazel.build/modules/rules_python/0.40.0/MODULE.bazel": "9d1a3cd88ed7d8e39583d9ffe56ae8a244f67783ae89b60caafc9f5cf318ada7", "https://bcr.bazel.build/modules/rules_python/1.7.0/MODULE.bazel": "d01f995ecd137abf30238ad9ce97f8fc3ac57289c8b24bd0bf53324d937a14f8", "https://bcr.bazel.build/modules/rules_python/1.7.0/source.json": "028a084b65dcf8f4dc4f82f8778dbe65df133f234b316828a82e060d81bdce32", + "https://bcr.bazel.build/modules/rules_rust/0.74.0/MODULE.bazel": "6e6fa04d7c8202f9cd63205ec9f96da39382a4ac971ee1d7a900fe8e1f68be17", + "https://bcr.bazel.build/modules/rules_rust/0.74.0/source.json": "04eac31b4536eb23dd8e8e8ca7e079d3c1c4ac99934d38aa54bbae36917c7507", + "https://bcr.bazel.build/modules/rules_rust_wasm_bindgen/0.74.0/MODULE.bazel": "7ae872ee570d2d004f8d1e0b5734008c901dd517f22ab0de5820a2a534c16b6a", + "https://bcr.bazel.build/modules/rules_rust_wasm_bindgen/0.74.0/source.json": "19876c5d1613e2a0077b8bab9272024bcb316b93af5c83274d0bf3e9adbb3850", "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", "https://bcr.bazel.build/modules/rules_shell/0.4.1/MODULE.bazel": "00e501db01bbf4e3e1dd1595959092c2fadf2087b2852d3f553b5370f5633592", - "https://bcr.bazel.build/modules/rules_shell/0.4.1/source.json": "4757bd277fe1567763991c4425b483477bb82e35e777a56fd846eb5cceda324a", + "https://bcr.bazel.build/modules/rules_shell/0.6.1/MODULE.bazel": "72e76b0eea4e81611ef5452aa82b3da34caca0c8b7b5c0c9584338aa93bae26b", + "https://bcr.bazel.build/modules/rules_shell/0.6.1/source.json": "20ec05cd5e592055e214b2da8ccb283c7f2a421ea0dc2acbf1aa792e11c03d0c", "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", "https://bcr.bazel.build/modules/stardoc/0.5.4/MODULE.bazel": "6569966df04610b8520957cb8e97cf2e9faac2c0309657c537ab51c16c18a2a4", @@ -225,7 +238,7 @@ "moduleExtensions": { "@@aspect_rules_esbuild+//esbuild:extensions.bzl%esbuild": { "general": { - "bzlTransitiveDigest": "N9rwaKcWUptoR/v83r3vjK8on8knX6GOQeDTiappoiU=", + "bzlTransitiveDigest": "yeNSdpxc5XKWBHRq76rukBGByFGTgIdCJWEvvv8wDkE=", "usagesDigest": "ZqBbSnzAi8ZyBL3PXnAGtDMIdC2pcuieJWMY3/94lvA=", "recordedInputs": [ "REPO_MAPPING:aspect_rules_esbuild+,aspect_rules_js aspect_rules_js+", @@ -376,7 +389,7 @@ "aspect_rules_jasmine": "2.0.4", "aspect_tools_telemetry": "0.5.2" }, - "last_notice": 3 + "last_notice": 2 } } }, @@ -975,6 +988,2718 @@ } } }, + "@@rules_rust+//crate_universe:extensions.bzl%crate": { + "general": { + "bzlTransitiveDigest": "q6iR1ihLNd3XTh12tJY41ts3tJZSNinnW5T0PISKmrc=", + "usagesDigest": "G954QC8Fxv48WdaVXl/ke0bYklIphptHjOEmweSInNI=", + "recordedInputs": [ + "ENV:CARGO_BAZEL_DEBUG \\0", + "ENV:CARGO_BAZEL_GENERATOR_SHA256 \\0", + "ENV:CARGO_BAZEL_GENERATOR_URL \\0", + "ENV:CARGO_BAZEL_ISOLATED \\0", + "ENV:CARGO_BAZEL_REPIN \\0", + "ENV:CARGO_BAZEL_REPIN_ONLY \\0", + "ENV:CARGO_BAZEL_TIMEOUT \\0", + "ENV:REPIN \\0", + "REPO_MAPPING:bazel_features+,bazel_features_globals bazel_features++version_extension+bazel_features_globals", + "REPO_MAPPING:bazel_features+,bazel_features_version bazel_features++version_extension+bazel_features_version", + "REPO_MAPPING:rules_cc+,bazel_tools bazel_tools", + "REPO_MAPPING:rules_cc+,cc_compatibility_proxy rules_cc++compatibility_proxy+cc_compatibility_proxy", + "REPO_MAPPING:rules_cc+,rules_cc rules_cc+", + "REPO_MAPPING:rules_cc++compatibility_proxy+cc_compatibility_proxy,rules_cc rules_cc+", + "REPO_MAPPING:rules_rust+,bazel_features bazel_features+", + "REPO_MAPPING:rules_rust+,bazel_skylib bazel_skylib+", + "REPO_MAPPING:rules_rust+,bazel_tools bazel_tools", + "REPO_MAPPING:rules_rust+,rules_cc rules_cc+", + "FILE:@@//Cargo.lock fc56a6cec0a4bd1c558fdf5177e6cda31b9025e099cc154be8fac316077f5bcc", + "FILE:@@//Cargo.toml fc01cb4d18d554ba93e0da9e9d2b6bca0467927c00677984a69a08e29ebd7b16", + "FILE:@@//packages/compiler-cli/preprocessor/ng-analyze/Cargo.toml e6a080a0ba2fe25ac8c9ec52bd09b1c411680fac38fe99ee8d7db4ff1f1f3d62" + ], + "generatedRepoSpecs": { + "crates": { + "repoRuleId": "@@rules_rust+//crate_universe/private:crates_vendor.bzl%crates_vendor_remote_repository", + "attributes": { + "contents": { + "BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files(\n [\n \"cargo-bazel.json\",\n \"crates.bzl\",\n \"defs.bzl\",\n ] + glob(\n allow_empty = True,\n include = [\"*.bazel\"],\n ),\n)\n\nfilegroup(\n name = \"srcs\",\n srcs = glob(\n allow_empty = True,\n include = [\n \"*.bazel\",\n \"*.bzl\",\n ],\n ),\n)\n\n# Workspace Member Dependencies\nalias(\n name = \"futures-0.3.34\",\n actual = \"@crates__futures-0.3.34//:futures\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"futures\",\n actual = \"@crates__futures-0.3.34//:futures\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"glob-0.3.4\",\n actual = \"@crates__glob-0.3.4//:glob\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"glob\",\n actual = \"@crates__glob-0.3.4//:glob\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"js-sys-0.3.98\",\n actual = \"@crates__js-sys-0.3.98//:js_sys\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"js-sys\",\n actual = \"@crates__js-sys-0.3.98//:js_sys\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"json-strip-comments-3.1.2\",\n actual = \"@crates__json-strip-comments-3.1.2//:json_strip_comments\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"json-strip-comments\",\n actual = \"@crates__json-strip-comments-3.1.2//:json_strip_comments\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc-miette-derive-3.0.1\",\n actual = \"@crates__oxc-miette-derive-3.0.1//:oxc_miette_derive\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc-miette-derive\",\n actual = \"@crates__oxc-miette-derive-3.0.1//:oxc_miette_derive\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_allocator-0.144.0\",\n actual = \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_allocator\",\n actual = \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_ast-0.144.0\",\n actual = \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_ast\",\n actual = \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_ast_visit-0.144.0\",\n actual = \"@crates__oxc_ast_visit-0.144.0//:oxc_ast_visit\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_ast_visit\",\n actual = \"@crates__oxc_ast_visit-0.144.0//:oxc_ast_visit\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_diagnostics-0.144.0\",\n actual = \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_diagnostics\",\n actual = \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_parser-0.144.0\",\n actual = \"@crates__oxc_parser-0.144.0//:oxc_parser\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_parser\",\n actual = \"@crates__oxc_parser-0.144.0//:oxc_parser\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_resolver-11.24.3\",\n actual = \"@crates__oxc_resolver-11.24.3//:oxc_resolver\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_resolver\",\n actual = \"@crates__oxc_resolver-11.24.3//:oxc_resolver\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_semantic-0.144.0\",\n actual = \"@crates__oxc_semantic-0.144.0//:oxc_semantic\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_semantic\",\n actual = \"@crates__oxc_semantic-0.144.0//:oxc_semantic\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_span-0.144.0\",\n actual = \"@crates__oxc_span-0.144.0//:oxc_span\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_span\",\n actual = \"@crates__oxc_span-0.144.0//:oxc_span\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_syntax-0.144.0\",\n actual = \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"oxc_syntax\",\n actual = \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"pathdiff-0.2.3\",\n actual = \"@crates__pathdiff-0.2.3//:pathdiff\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"pathdiff\",\n actual = \"@crates__pathdiff-0.2.3//:pathdiff\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"regex-1.13.1\",\n actual = \"@crates__regex-1.13.1//:regex\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"regex\",\n actual = \"@crates__regex-1.13.1//:regex\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"self_cell-1.3.0\",\n actual = \"@crates__self_cell-1.3.0//:self_cell\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"self_cell\",\n actual = \"@crates__self_cell-1.3.0//:self_cell\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"serde-1.0.229\",\n actual = \"@crates__serde-1.0.229//:serde\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"serde\",\n actual = \"@crates__serde-1.0.229//:serde\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"serde_json-1.0.151\",\n actual = \"@crates__serde_json-1.0.151//:serde_json\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"serde_json\",\n actual = \"@crates__serde_json-1.0.151//:serde_json\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"tempfile-3.27.0\",\n actual = \"@crates__tempfile-3.27.0//:tempfile\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"tempfile\",\n actual = \"@crates__tempfile-3.27.0//:tempfile\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"wasm-bindgen-0.2.121\",\n actual = \"@crates__wasm-bindgen-0.2.121//:wasm_bindgen\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"wasm-bindgen\",\n actual = \"@crates__wasm-bindgen-0.2.121//:wasm_bindgen\",\n tags = [\"manual\"],\n)\n", + "alias_rules.bzl": "\"\"\"Alias that transitions its target to `compilation_mode=opt`. Use `transition_alias=\"opt\"` to enable.\"\"\"\n\nload(\"@rules_cc//cc:defs.bzl\", \"CcInfo\")\nload(\"@rules_rust//rust:rust_common.bzl\", \"COMMON_PROVIDERS\")\n\ndef _transition_alias_impl(ctx):\n # `ctx.attr.actual` is a list of 1 item due to the transition\n providers = [ctx.attr.actual[0][provider] for provider in COMMON_PROVIDERS]\n if CcInfo in ctx.attr.actual[0]:\n providers.append(ctx.attr.actual[0][CcInfo])\n return providers\n\ndef _change_compilation_mode(compilation_mode):\n def _change_compilation_mode_impl(_settings, _attr):\n return {\n \"//command_line_option:compilation_mode\": compilation_mode,\n }\n\n return transition(\n implementation = _change_compilation_mode_impl,\n inputs = [],\n outputs = [\n \"//command_line_option:compilation_mode\",\n ],\n )\n\ndef _transition_alias_rule(compilation_mode):\n return rule(\n implementation = _transition_alias_impl,\n provides = COMMON_PROVIDERS,\n attrs = {\n \"actual\": attr.label(\n mandatory = True,\n doc = \"`rust_library()` target to transition to `compilation_mode=opt`.\",\n providers = COMMON_PROVIDERS,\n cfg = _change_compilation_mode(compilation_mode),\n ),\n \"_allowlist_function_transition\": attr.label(\n default = \"@bazel_tools//tools/allowlists/function_transition_allowlist\",\n ),\n },\n doc = \"Transitions a Rust library crate to the `compilation_mode=opt`.\",\n )\n\ntransition_alias_dbg = _transition_alias_rule(\"dbg\")\ntransition_alias_fastbuild = _transition_alias_rule(\"fastbuild\")\ntransition_alias_opt = _transition_alias_rule(\"opt\")\n", + "crates.bzl": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\"\"\"\n# `crates_repository` API\n\n- [aliases](#aliases)\n- [crate_edition](#crate_edition)\n- [crate_deps](#crate_deps)\n- [all_crate_deps](#all_crate_deps)\n- [crate_repositories](#crate_repositories)\n\n\"\"\"\n\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"git_repository\")\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nload(\"@bazel_tools//tools/build_defs/repo:utils.bzl\", \"maybe\")\nload(\"@bazel_skylib//lib:selects.bzl\", \"selects\")\nload(\"@rules_rust//crate_universe:defs.bzl\", \"crates_vendor_remote_repository\", \"local_crate_mirror\")\n\n###############################################################################\n# MACROS API\n###############################################################################\n\n# An identifier that represent common dependencies (unconditional).\n_COMMON_CONDITION = \"\"\n\ndef _flatten_dependency_maps(all_dependency_maps):\n \"\"\"Flatten a list of dependency maps into one dictionary.\n\n Dependency maps have the following structure:\n\n ```python\n DEPENDENCIES_MAP = {\n # The first key in the map is a Bazel package\n # name of the workspace this file is defined in.\n \"workspace_member_package\": {\n\n # Not all dependencies are supported for all platforms.\n # the condition key is the condition required to be true\n # on the host platform.\n \"condition\": {\n\n # An alias to a crate target. # The label of the crate target the\n # Aliases are only crate names. # package name refers to.\n \"package_name\": \"@full//:label\",\n }\n }\n }\n ```\n\n Args:\n all_dependency_maps (list): A list of dicts as described above\n\n Returns:\n dict: A dictionary as described above\n \"\"\"\n dependencies = {}\n\n for workspace_deps_map in all_dependency_maps:\n for pkg_name, conditional_deps_map in workspace_deps_map.items():\n if pkg_name not in dependencies:\n non_frozen_map = dict()\n for key, values in conditional_deps_map.items():\n non_frozen_map.update({key: dict(values.items())})\n dependencies.setdefault(pkg_name, non_frozen_map)\n continue\n\n for condition, deps_map in conditional_deps_map.items():\n # If the condition has not been recorded, do so and continue\n if condition not in dependencies[pkg_name]:\n dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))\n continue\n\n # Alert on any miss-matched dependencies\n inconsistent_entries = []\n for crate_name, crate_label in deps_map.items():\n existing = dependencies[pkg_name][condition].get(crate_name)\n if existing and existing != crate_label:\n inconsistent_entries.append((crate_name, existing, crate_label))\n dependencies[pkg_name][condition].update({crate_name: crate_label})\n\n return dependencies\n\ndef crate_deps(deps, package_name = None):\n \"\"\"Finds the fully qualified label of the requested crates for the package where this macro is called.\n\n Args:\n deps (list): The desired list of crate targets.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()`.\n\n Returns:\n list: A list of labels to generated rust targets (str)\n \"\"\"\n\n if not deps:\n return []\n\n if package_name == None:\n package_name = native.package_name()\n\n # Join both sets of dependencies\n dependencies = _flatten_dependency_maps([\n _NORMAL_DEPENDENCIES,\n _NORMAL_DEV_DEPENDENCIES,\n _PROC_MACRO_DEPENDENCIES,\n _PROC_MACRO_DEV_DEPENDENCIES,\n _BUILD_DEPENDENCIES,\n _BUILD_PROC_MACRO_DEPENDENCIES,\n ]).pop(package_name, {})\n\n # Combine all conditional packages so we can easily index over a flat list\n # TODO: Perhaps this should actually return select statements and maintain\n # the conditionals of the dependencies\n flat_deps = {}\n for deps_set in dependencies.values():\n for crate_name, crate_label in deps_set.items():\n flat_deps.update({crate_name: crate_label})\n\n missing_crates = []\n crate_targets = []\n for crate_target in deps:\n if crate_target not in flat_deps:\n missing_crates.append(crate_target)\n else:\n crate_targets.append(flat_deps[crate_target])\n\n if missing_crates:\n fail(\"Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`\".format(\n missing_crates,\n package_name,\n dependencies,\n ))\n\n return crate_targets\n\ndef crate_edition(package_name = None):\n \"\"\"Finds the Rust edition for the package where this macro is called.\n\n Args:\n package_name (str, optional): The package name whose edition should be\n looked up. Defaults to `native.package_name()` when unset.\n\n Returns:\n str: The Rust edition declared by the package's Cargo.toml file.\n \"\"\"\n if package_name == None:\n package_name = native.package_name()\n\n if package_name not in _CRATE_EDITIONS:\n fail(\"Tried to get crate_edition for package \" + package_name + \" but that package had no Cargo.toml file\")\n\n return _CRATE_EDITIONS[package_name]\n\ndef all_crate_deps(\n normal = False, \n normal_dev = False, \n proc_macro = False, \n proc_macro_dev = False,\n build = False,\n build_proc_macro = False,\n package_name = None):\n \"\"\"Finds the fully qualified label of all requested direct crate dependencies \\\n for the package where this macro is called.\n\n If no parameters are set, all normal dependencies are returned. Setting any one flag will\n otherwise impact the contents of the returned list.\n\n Args:\n normal (bool, optional): If True, normal dependencies are included in the\n output list.\n normal_dev (bool, optional): If True, normal dev dependencies will be\n included in the output list.\n proc_macro (bool, optional): If True, proc_macro dependencies are included\n in the output list.\n proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are\n included in the output list.\n build (bool, optional): If True, build dependencies are included\n in the output list.\n build_proc_macro (bool, optional): If True, build proc_macro dependencies are\n included in the output list.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()` when unset.\n\n Returns:\n list: A list of labels to generated rust targets (str)\n \"\"\"\n\n if package_name == None:\n package_name = native.package_name()\n\n # Determine the relevant maps to use\n all_dependency_maps = []\n if normal:\n all_dependency_maps.append(_NORMAL_DEPENDENCIES)\n if normal_dev:\n all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)\n if proc_macro:\n all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)\n if proc_macro_dev:\n all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)\n if build:\n all_dependency_maps.append(_BUILD_DEPENDENCIES)\n if build_proc_macro:\n all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)\n\n # Default to always using normal dependencies\n if not all_dependency_maps:\n all_dependency_maps.append(_NORMAL_DEPENDENCIES)\n\n dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)\n\n if not dependencies:\n if dependencies == None:\n fail(\"Tried to get all_crate_deps for package \" + package_name + \" but that package had no Cargo.toml file\")\n else:\n return []\n\n crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())\n for condition, deps in dependencies.items():\n crate_deps += selects.with_or({\n tuple(_CONDITIONS[condition]): deps.values(),\n \"//conditions:default\": [],\n })\n\n return crate_deps\n\ndef aliases(\n normal = False,\n normal_dev = False,\n proc_macro = False,\n proc_macro_dev = False,\n build = False,\n build_proc_macro = False,\n package_name = None):\n \"\"\"Produces a map of Crate alias names to their original label\n\n If no dependency kinds are specified, `normal` and `proc_macro` are used by default.\n Setting any one flag will otherwise determine the contents of the returned dict.\n\n Args:\n normal (bool, optional): If True, normal dependencies are included in the\n output list.\n normal_dev (bool, optional): If True, normal dev dependencies will be\n included in the output list..\n proc_macro (bool, optional): If True, proc_macro dependencies are included\n in the output list.\n proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are\n included in the output list.\n build (bool, optional): If True, build dependencies are included\n in the output list.\n build_proc_macro (bool, optional): If True, build proc_macro dependencies are\n included in the output list.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()` when unset.\n\n Returns:\n dict: The aliases of all associated packages\n \"\"\"\n if package_name == None:\n package_name = native.package_name()\n\n # Determine the relevant maps to use\n all_aliases_maps = []\n if normal:\n all_aliases_maps.append(_NORMAL_ALIASES)\n if normal_dev:\n all_aliases_maps.append(_NORMAL_DEV_ALIASES)\n if proc_macro:\n all_aliases_maps.append(_PROC_MACRO_ALIASES)\n if proc_macro_dev:\n all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)\n if build:\n all_aliases_maps.append(_BUILD_ALIASES)\n if build_proc_macro:\n all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)\n\n # Default to always using normal aliases\n if not all_aliases_maps:\n all_aliases_maps.append(_NORMAL_ALIASES)\n all_aliases_maps.append(_PROC_MACRO_ALIASES)\n\n aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)\n\n if not aliases:\n return dict()\n\n common_items = aliases.pop(_COMMON_CONDITION, {}).items()\n\n # If there are only common items in the dictionary, immediately return them\n if not len(aliases.keys()) == 1:\n return dict(common_items)\n\n # Build a single select statement where each conditional has accounted for the\n # common set of aliases.\n crate_aliases = {\"//conditions:default\": dict(common_items)}\n for condition, deps in aliases.items():\n condition_triples = _CONDITIONS[condition]\n for triple in condition_triples:\n if triple in crate_aliases:\n crate_aliases[triple].update(deps)\n else:\n crate_aliases.update({triple: dict(deps.items() + common_items)})\n\n return select(crate_aliases)\n\n###############################################################################\n# WORKSPACE MEMBER DEPS, ALIASES, AND EDITIONS\n###############################################################################\n\n_CRATE_EDITIONS = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": \"2021\",\n}\n\n_NORMAL_DEPENDENCIES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n _COMMON_CONDITION: {\n \"futures\": Label(\"@crates//futures-0.3.34\"),\n \"glob\": Label(\"@crates//glob-0.3.4\"),\n \"json-strip-comments\": Label(\"@crates//json-strip-comments-3.1.2\"),\n \"oxc_allocator\": Label(\"@crates//oxc_allocator-0.144.0\"),\n \"oxc_ast\": Label(\"@crates//oxc_ast-0.144.0\"),\n \"oxc_ast_visit\": Label(\"@crates//oxc_ast_visit-0.144.0\"),\n \"oxc_diagnostics\": Label(\"@crates//oxc_diagnostics-0.144.0\"),\n \"oxc_parser\": Label(\"@crates//oxc_parser-0.144.0\"),\n \"oxc_resolver\": Label(\"@crates//oxc_resolver-11.24.3\"),\n \"oxc_semantic\": Label(\"@crates//oxc_semantic-0.144.0\"),\n \"oxc_span\": Label(\"@crates//oxc_span-0.144.0\"),\n \"oxc_syntax\": Label(\"@crates//oxc_syntax-0.144.0\"),\n \"pathdiff\": Label(\"@crates//pathdiff-0.2.3\"),\n \"regex\": Label(\"@crates//regex-1.13.1\"),\n \"self_cell\": Label(\"@crates//self_cell-1.3.0\"),\n \"serde\": Label(\"@crates//serde-1.0.229\"),\n \"serde_json\": Label(\"@crates//serde_json-1.0.151\"),\n },\n \"cfg(target_arch = \\\"wasm32\\\")\": {\n \"js-sys\": Label(\"@crates//js-sys-0.3.98\"),\n \"wasm-bindgen\": Label(\"@crates//wasm-bindgen-0.2.121\"),\n },\n },\n}\n\n\n_NORMAL_ALIASES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n _COMMON_CONDITION: {\n },\n \"cfg(target_arch = \\\"wasm32\\\")\": {\n },\n },\n}\n\n\n_NORMAL_DEV_DEPENDENCIES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n _COMMON_CONDITION: {\n \"tempfile\": Label(\"@crates//tempfile-3.27.0\"),\n },\n },\n}\n\n\n_NORMAL_DEV_ALIASES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n _COMMON_CONDITION: {\n },\n },\n}\n\n\n_PROC_MACRO_DEPENDENCIES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n _COMMON_CONDITION: {\n \"oxc-miette-derive\": Label(\"@crates//oxc-miette-derive-3.0.1\"),\n },\n },\n}\n\n\n_PROC_MACRO_ALIASES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n },\n}\n\n\n_PROC_MACRO_DEV_DEPENDENCIES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n },\n}\n\n\n_PROC_MACRO_DEV_ALIASES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n _COMMON_CONDITION: {\n },\n },\n}\n\n\n_BUILD_DEPENDENCIES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n },\n}\n\n\n_BUILD_ALIASES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n },\n}\n\n\n_BUILD_PROC_MACRO_DEPENDENCIES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n },\n}\n\n\n_BUILD_PROC_MACRO_ALIASES = {\n \"packages/compiler-cli/preprocessor/ng-analyze\": {\n },\n}\n\n\n_CONDITIONS = {\n \"aarch64-apple-darwin\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\"],\n \"aarch64-unknown-linux-gnu\": [\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\"],\n \"cfg(all(any(target_os = \\\"linux\\\", target_os = \\\"android\\\"), any(rustix_use_libc, miri, not(all(target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\")))))))\": [],\n \"cfg(all(any(target_os = \\\"linux\\\", target_os = \\\"android\\\"), not(any(all(target_os = \\\"linux\\\", target_env = \\\"\\\"), getrandom_backend = \\\"custom\\\", getrandom_backend = \\\"linux_raw\\\", getrandom_backend = \\\"rdrand\\\", getrandom_backend = \\\"rndr\\\"))))\": [\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(all(not(rustix_use_libc), not(miri), target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\"))))\": [\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \\\"linux\\\", any(target_endian = \\\"little\\\", any(target_arch = \\\"s390x\\\", target_arch = \\\"powerpc\\\")), any(target_arch = \\\"arm\\\", all(target_arch = \\\"aarch64\\\", target_pointer_width = \\\"64\\\"), target_arch = \\\"riscv64\\\", all(rustix_use_experimental_asm, target_arch = \\\"powerpc\\\"), all(rustix_use_experimental_asm, target_arch = \\\"powerpc64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"s390x\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips32r6\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64\\\"), all(rustix_use_experimental_asm, target_arch = \\\"mips64r6\\\"), target_arch = \\\"x86\\\", all(target_arch = \\\"x86_64\\\", target_pointer_width = \\\"64\\\")))))))\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\",\"@rules_rust//rust/platform:wasm32-unknown-unknown\",\"@rules_rust//rust/platform:wasm32-wasip1\"],\n \"cfg(all(target_os = \\\"uefi\\\", getrandom_backend = \\\"efi_rng\\\"))\": [],\n \"cfg(any())\": [],\n \"cfg(any(target_os = \\\"dragonfly\\\", target_os = \\\"freebsd\\\", target_os = \\\"hurd\\\", target_os = \\\"illumos\\\", target_os = \\\"cygwin\\\", all(target_os = \\\"horizon\\\", target_arch = \\\"arm\\\")))\": [],\n \"cfg(any(target_os = \\\"haiku\\\", target_os = \\\"redox\\\", target_os = \\\"nto\\\", target_os = \\\"aix\\\"))\": [],\n \"cfg(any(target_os = \\\"ios\\\", target_os = \\\"visionos\\\", target_os = \\\"watchos\\\", target_os = \\\"tvos\\\"))\": [],\n \"cfg(any(target_os = \\\"macos\\\", target_os = \\\"linux\\\"))\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\",\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(any(target_os = \\\"macos\\\", target_os = \\\"openbsd\\\", target_os = \\\"vita\\\", target_os = \\\"emscripten\\\"))\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\"],\n \"cfg(any(unix, target_os = \\\"wasi\\\"))\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\",\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\",\"@rules_rust//rust/platform:wasm32-wasip1\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(target_arch = \\\"wasm32\\\")\": [\"@rules_rust//rust/platform:wasm32-unknown-unknown\",\"@rules_rust//rust/platform:wasm32-wasip1\"],\n \"cfg(target_arch = \\\"x86_64\\\")\": [\"@rules_rust//rust/platform:x86_64-pc-windows-msvc\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(target_endian = \\\"little\\\")\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\",\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\",\"@rules_rust//rust/platform:wasm32-unknown-unknown\",\"@rules_rust//rust/platform:wasm32-wasip1\",\"@rules_rust//rust/platform:x86_64-pc-windows-msvc\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(target_os = \\\"hermit\\\")\": [],\n \"cfg(target_os = \\\"netbsd\\\")\": [],\n \"cfg(target_os = \\\"redox\\\")\": [],\n \"cfg(target_os = \\\"solaris\\\")\": [],\n \"cfg(target_os = \\\"vxworks\\\")\": [],\n \"cfg(target_os = \\\"wasi\\\")\": [\"@rules_rust//rust/platform:wasm32-wasip1\"],\n \"cfg(target_os = \\\"windows\\\")\": [\"@rules_rust//rust/platform:x86_64-pc-windows-msvc\"],\n \"cfg(unix)\": [\"@rules_rust//rust/platform:aarch64-apple-darwin\",\"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"cfg(windows)\": [\"@rules_rust//rust/platform:x86_64-pc-windows-msvc\"],\n \"wasm32-unknown-unknown\": [\"@rules_rust//rust/platform:wasm32-unknown-unknown\"],\n \"wasm32-wasip1\": [\"@rules_rust//rust/platform:wasm32-wasip1\"],\n \"x86_64-pc-windows-msvc\": [\"@rules_rust//rust/platform:x86_64-pc-windows-msvc\"],\n \"x86_64-unknown-linux-gnu\": [\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\",\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n \"x86_64-unknown-nixos-gnu\": [\"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\"],\n}\n\n###############################################################################\n\ndef crate_repositories():\n \"\"\"A macro for defining repositories for all generated crates.\n\n Returns:\n A list of repos visible to the module through the module extension.\n \"\"\"\n maybe(\n crates_vendor_remote_repository,\n name = \"crates\",\n # Lean interface: just point at `crates.bzl`; the repo rule\n # derives the sibling `BUILD.bazel` and `defs.bzl`.\n crates_module = Label(\"@crates//crates:crates.bzl\"),\n )\n maybe(\n http_archive,\n name = \"crates__aho-corasick-1.1.5\",\n sha256 = \"c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/aho-corasick/1.1.5/download\"],\n strip_prefix = \"aho-corasick-1.1.5\",\n build_file = Label(\"@crates//crates:BUILD.aho-corasick-1.1.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__allocator-api2-0.2.21\",\n sha256 = \"683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/allocator-api2/0.2.21/download\"],\n strip_prefix = \"allocator-api2-0.2.21\",\n build_file = Label(\"@crates//crates:BUILD.allocator-api2-0.2.21.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__arrayvec-0.7.8\",\n sha256 = \"d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/arrayvec/0.7.8/download\"],\n strip_prefix = \"arrayvec-0.7.8\",\n build_file = Label(\"@crates//crates:BUILD.arrayvec-0.7.8.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__autocfg-1.5.1\",\n sha256 = \"f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/autocfg/1.5.1/download\"],\n strip_prefix = \"autocfg-1.5.1\",\n build_file = Label(\"@crates//crates:BUILD.autocfg-1.5.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__bitflags-2.13.2\",\n sha256 = \"3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bitflags/2.13.2/download\"],\n strip_prefix = \"bitflags-2.13.2\",\n build_file = Label(\"@crates//crates:BUILD.bitflags-2.13.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__bumpalo-3.20.3\",\n sha256 = \"72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bumpalo/3.20.3/download\"],\n strip_prefix = \"bumpalo-3.20.3\",\n build_file = Label(\"@crates//crates:BUILD.bumpalo-3.20.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__bytecount-0.6.9\",\n sha256 = \"175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bytecount/0.6.9/download\"],\n strip_prefix = \"bytecount-0.6.9\",\n build_file = Label(\"@crates//crates:BUILD.bytecount-0.6.9.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__castaway-0.2.4\",\n sha256 = \"dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/castaway/0.2.4/download\"],\n strip_prefix = \"castaway-0.2.4\",\n build_file = Label(\"@crates//crates:BUILD.castaway-0.2.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__cfg-if-1.0.5\",\n sha256 = \"4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/cfg-if/1.0.5/download\"],\n strip_prefix = \"cfg-if-1.0.5\",\n build_file = Label(\"@crates//crates:BUILD.cfg-if-1.0.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__compact_str-0.10.0\",\n sha256 = \"79fcda08c33bb58b97008b2cdada6622500e949e060f5913361763121abd2416\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/compact_str/0.10.0/download\"],\n strip_prefix = \"compact_str-0.10.0\",\n build_file = Label(\"@crates//crates:BUILD.compact_str-0.10.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__cow-utils-0.1.3\",\n sha256 = \"417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/cow-utils/0.1.3/download\"],\n strip_prefix = \"cow-utils-0.1.3\",\n build_file = Label(\"@crates//crates:BUILD.cow-utils-0.1.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__crossbeam-utils-0.8.23\",\n sha256 = \"a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/crossbeam-utils/0.8.23/download\"],\n strip_prefix = \"crossbeam-utils-0.8.23\",\n build_file = Label(\"@crates//crates:BUILD.crossbeam-utils-0.8.23.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__dashmap-6.2.1\",\n sha256 = \"e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/dashmap/6.2.1/download\"],\n strip_prefix = \"dashmap-6.2.1\",\n build_file = Label(\"@crates//crates:BUILD.dashmap-6.2.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__displaydoc-0.2.7\",\n sha256 = \"c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/displaydoc/0.2.7/download\"],\n strip_prefix = \"displaydoc-0.2.7\",\n build_file = Label(\"@crates//crates:BUILD.displaydoc-0.2.7.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__dragonbox_ecma-0.1.12\",\n sha256 = \"fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/dragonbox_ecma/0.1.12/download\"],\n strip_prefix = \"dragonbox_ecma-0.1.12\",\n build_file = Label(\"@crates//crates:BUILD.dragonbox_ecma-0.1.12.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__either-1.19.0\",\n sha256 = \"0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/either/1.19.0/download\"],\n strip_prefix = \"either-1.19.0\",\n build_file = Label(\"@crates//crates:BUILD.either-1.19.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__equivalent-1.0.2\",\n sha256 = \"877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/equivalent/1.0.2/download\"],\n strip_prefix = \"equivalent-1.0.2\",\n build_file = Label(\"@crates//crates:BUILD.equivalent-1.0.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__errno-0.3.14\",\n sha256 = \"39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/errno/0.3.14/download\"],\n strip_prefix = \"errno-0.3.14\",\n build_file = Label(\"@crates//crates:BUILD.errno-0.3.14.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__fast-glob-1.1.2\",\n sha256 = \"2a044ed96eb57253e806d08b74260638af189687e583f04947a5e11e75e0b0d1\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/fast-glob/1.1.2/download\"],\n strip_prefix = \"fast-glob-1.1.2\",\n build_file = Label(\"@crates//crates:BUILD.fast-glob-1.1.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__fastrand-2.5.0\",\n sha256 = \"da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/fastrand/2.5.0/download\"],\n strip_prefix = \"fastrand-2.5.0\",\n build_file = Label(\"@crates//crates:BUILD.fastrand-2.5.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__float-cmp-0.10.0\",\n sha256 = \"b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/float-cmp/0.10.0/download\"],\n strip_prefix = \"float-cmp-0.10.0\",\n build_file = Label(\"@crates//crates:BUILD.float-cmp-0.10.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__foldhash-0.2.0\",\n sha256 = \"77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/foldhash/0.2.0/download\"],\n strip_prefix = \"foldhash-0.2.0\",\n build_file = Label(\"@crates//crates:BUILD.foldhash-0.2.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-0.3.34\",\n sha256 = \"9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures/0.3.34/download\"],\n strip_prefix = \"futures-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-channel-0.3.34\",\n sha256 = \"b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-channel/0.3.34/download\"],\n strip_prefix = \"futures-channel-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-channel-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-core-0.3.34\",\n sha256 = \"92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-core/0.3.34/download\"],\n strip_prefix = \"futures-core-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-core-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-executor-0.3.34\",\n sha256 = \"031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-executor/0.3.34/download\"],\n strip_prefix = \"futures-executor-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-executor-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-io-0.3.34\",\n sha256 = \"53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-io/0.3.34/download\"],\n strip_prefix = \"futures-io-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-io-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-macro-0.3.34\",\n sha256 = \"9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-macro/0.3.34/download\"],\n strip_prefix = \"futures-macro-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-macro-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-sink-0.3.34\",\n sha256 = \"1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-sink/0.3.34/download\"],\n strip_prefix = \"futures-sink-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-sink-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-task-0.3.34\",\n sha256 = \"cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-task/0.3.34/download\"],\n strip_prefix = \"futures-task-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-task-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__futures-util-0.3.34\",\n sha256 = \"0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/futures-util/0.3.34/download\"],\n strip_prefix = \"futures-util-0.3.34\",\n build_file = Label(\"@crates//crates:BUILD.futures-util-0.3.34.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__getrandom-0.4.3\",\n sha256 = \"300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/getrandom/0.4.3/download\"],\n strip_prefix = \"getrandom-0.4.3\",\n build_file = Label(\"@crates//crates:BUILD.getrandom-0.4.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__glob-0.3.4\",\n sha256 = \"e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/glob/0.3.4/download\"],\n strip_prefix = \"glob-0.3.4\",\n build_file = Label(\"@crates//crates:BUILD.glob-0.3.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__halfbrown-0.4.0\",\n sha256 = \"0c7ed2f2edad8a14c8186b847909a41fbb9c3eafa44f88bd891114ed5019da09\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/halfbrown/0.4.0/download\"],\n strip_prefix = \"halfbrown-0.4.0\",\n build_file = Label(\"@crates//crates:BUILD.halfbrown-0.4.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__hashbrown-0.14.5\",\n sha256 = \"e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/hashbrown/0.14.5/download\"],\n strip_prefix = \"hashbrown-0.14.5\",\n build_file = Label(\"@crates//crates:BUILD.hashbrown-0.14.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__hashbrown-0.16.1\",\n sha256 = \"841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/hashbrown/0.16.1/download\"],\n strip_prefix = \"hashbrown-0.16.1\",\n build_file = Label(\"@crates//crates:BUILD.hashbrown-0.16.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__hashbrown-0.17.1\",\n sha256 = \"ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/hashbrown/0.17.1/download\"],\n strip_prefix = \"hashbrown-0.17.1\",\n build_file = Label(\"@crates//crates:BUILD.hashbrown-0.17.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_collections-2.3.0\",\n sha256 = \"fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_collections/2.3.0/download\"],\n strip_prefix = \"icu_collections-2.3.0\",\n build_file = Label(\"@crates//crates:BUILD.icu_collections-2.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_locale_core-2.3.0\",\n sha256 = \"d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_locale_core/2.3.0/download\"],\n strip_prefix = \"icu_locale_core-2.3.0\",\n build_file = Label(\"@crates//crates:BUILD.icu_locale_core-2.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_locale_fallback-2.3.0\",\n sha256 = \"251af8e57c9400e3eb58242fe5b8b1152b2a64fdf4cf632f923c38ccee6f2fa9\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_locale_fallback/2.3.0/download\"],\n strip_prefix = \"icu_locale_fallback-2.3.0\",\n build_file = Label(\"@crates//crates:BUILD.icu_locale_fallback-2.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_locale_fallback_data-2.3.0\",\n sha256 = \"decf2a22ec8fa68f1a0c1129a3f8583f8f8bc24e8b9ccbe98ead99f62a4dc3a8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_locale_fallback_data/2.3.0/download\"],\n strip_prefix = \"icu_locale_fallback_data-2.3.0\",\n build_file = Label(\"@crates//crates:BUILD.icu_locale_fallback_data-2.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_provider-2.3.1\",\n sha256 = \"d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_provider/2.3.1/download\"],\n strip_prefix = \"icu_provider-2.3.1\",\n build_file = Label(\"@crates//crates:BUILD.icu_provider-2.3.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_segmenter-2.3.0\",\n sha256 = \"82d07aafccd67af15d02512a6adf5896fbc5ed00f2e99b471d2efa14016db3db\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_segmenter/2.3.0/download\"],\n strip_prefix = \"icu_segmenter-2.3.0\",\n build_file = Label(\"@crates//crates:BUILD.icu_segmenter-2.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__icu_segmenter_data-2.3.0\",\n sha256 = \"ae293c039020f9ec10710af98d29ce6aa2051486638b49c9a6409f3b4a9e98ad\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/icu_segmenter_data/2.3.0/download\"],\n strip_prefix = \"icu_segmenter_data-2.3.0\",\n build_file = Label(\"@crates//crates:BUILD.icu_segmenter_data-2.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__indexmap-2.14.2\",\n sha256 = \"cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/indexmap/2.14.2/download\"],\n strip_prefix = \"indexmap-2.14.2\",\n build_file = Label(\"@crates//crates:BUILD.indexmap-2.14.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__itertools-0.15.0\",\n sha256 = \"8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/itertools/0.15.0/download\"],\n strip_prefix = \"itertools-0.15.0\",\n build_file = Label(\"@crates//crates:BUILD.itertools-0.15.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__itoa-1.0.18\",\n sha256 = \"8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/itoa/1.0.18/download\"],\n strip_prefix = \"itoa-1.0.18\",\n build_file = Label(\"@crates//crates:BUILD.itoa-1.0.18.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__js-sys-0.3.98\",\n sha256 = \"67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/js-sys/0.3.98/download\"],\n strip_prefix = \"js-sys-0.3.98\",\n build_file = Label(\"@crates//crates:BUILD.js-sys-0.3.98.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__json-strip-comments-3.1.2\",\n sha256 = \"01ed659c5f428031b9c1fb7de6729af2eb491654d4bcd416a5b5b704986b9658\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/json-strip-comments/3.1.2/download\"],\n strip_prefix = \"json-strip-comments-3.1.2\",\n build_file = Label(\"@crates//crates:BUILD.json-strip-comments-3.1.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__libc-0.2.190\",\n sha256 = \"ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/libc/0.2.190/download\"],\n strip_prefix = \"libc-0.2.190\",\n build_file = Label(\"@crates//crates:BUILD.libc-0.2.190.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__linux-raw-sys-0.12.1\",\n sha256 = \"32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/linux-raw-sys/0.12.1/download\"],\n strip_prefix = \"linux-raw-sys-0.12.1\",\n build_file = Label(\"@crates//crates:BUILD.linux-raw-sys-0.12.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__litemap-0.8.3\",\n sha256 = \"47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/litemap/0.8.3/download\"],\n strip_prefix = \"litemap-0.8.3\",\n build_file = Label(\"@crates//crates:BUILD.litemap-0.8.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__lock_api-0.4.14\",\n sha256 = \"224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/lock_api/0.4.14/download\"],\n strip_prefix = \"lock_api-0.4.14\",\n build_file = Label(\"@crates//crates:BUILD.lock_api-0.4.14.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__memchr-2.8.3\",\n sha256 = \"cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/memchr/2.8.3/download\"],\n strip_prefix = \"memchr-2.8.3\",\n build_file = Label(\"@crates//crates:BUILD.memchr-2.8.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__nodejs-built-in-modules-1.0.0\",\n sha256 = \"a5eb86a92577833b75522336f210c49d9ebd7dd55a44d80a92e68c668a75f27c\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/nodejs-built-in-modules/1.0.0/download\"],\n strip_prefix = \"nodejs-built-in-modules-1.0.0\",\n build_file = Label(\"@crates//crates:BUILD.nodejs-built-in-modules-1.0.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__nonmax-0.5.5\",\n sha256 = \"610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/nonmax/0.5.5/download\"],\n strip_prefix = \"nonmax-0.5.5\",\n build_file = Label(\"@crates//crates:BUILD.nonmax-0.5.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__num-bigint-0.5.1\",\n sha256 = \"93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/num-bigint/0.5.1/download\"],\n strip_prefix = \"num-bigint-0.5.1\",\n build_file = Label(\"@crates//crates:BUILD.num-bigint-0.5.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__num-integer-0.1.47\",\n sha256 = \"7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/num-integer/0.1.47/download\"],\n strip_prefix = \"num-integer-0.1.47\",\n build_file = Label(\"@crates//crates:BUILD.num-integer-0.1.47.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__num-traits-0.2.19\",\n sha256 = \"071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/num-traits/0.2.19/download\"],\n strip_prefix = \"num-traits-0.2.19\",\n build_file = Label(\"@crates//crates:BUILD.num-traits-0.2.19.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__once_cell-1.21.4\",\n sha256 = \"9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/once_cell/1.21.4/download\"],\n strip_prefix = \"once_cell-1.21.4\",\n build_file = Label(\"@crates//crates:BUILD.once_cell-1.21.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__owo-colors-4.4.0\",\n sha256 = \"13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/owo-colors/4.4.0/download\"],\n strip_prefix = \"owo-colors-4.4.0\",\n build_file = Label(\"@crates//crates:BUILD.owo-colors-4.4.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc-miette-4.0.0\",\n sha256 = \"330e07b3807046e0afa8fcc94f1fe976e93831b370d148bfe1168cb53da1b913\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc-miette/4.0.0/download\"],\n strip_prefix = \"oxc-miette-4.0.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc-miette-4.0.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc-miette-derive-3.0.1\",\n sha256 = \"acc072d11d45ebe7801459b4e829184ba0934d68027fdc51d327335b53a95a49\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc-miette-derive/3.0.1/download\"],\n strip_prefix = \"oxc-miette-derive-3.0.1\",\n build_file = Label(\"@crates//crates:BUILD.oxc-miette-derive-3.0.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_allocator-0.144.0\",\n sha256 = \"9262c7bbd58c8c32c2c60d1a7b6c274cd2aeaff1b726a2fb86081b75084698cb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_allocator/0.144.0/download\"],\n strip_prefix = \"oxc_allocator-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_allocator-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_ast-0.144.0\",\n sha256 = \"e8134809b665d524d9a0ddeee87a5d3602776aa2410a10a0439fd25eeb594a5d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_ast/0.144.0/download\"],\n strip_prefix = \"oxc_ast-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_ast-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_ast_macros-0.144.0\",\n sha256 = \"ac120c6863a9d036c78a42a5e4d2f58bb27c5df795d61d904f6e19e48c681a37\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_ast_macros/0.144.0/download\"],\n strip_prefix = \"oxc_ast_macros-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_ast_macros-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_ast_visit-0.144.0\",\n sha256 = \"4a57626cd6ef87f5173110a301868e3c438fd8e0576f489d9a61540ef133f686\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_ast_visit/0.144.0/download\"],\n strip_prefix = \"oxc_ast_visit-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_ast_visit-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_data_structures-0.144.0\",\n sha256 = \"2a71efea56db93d3ce9e88e1d9f74f6d50fc2b06092444cdd08579f5827fd8db\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_data_structures/0.144.0/download\"],\n strip_prefix = \"oxc_data_structures-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_data_structures-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_diagnostics-0.144.0\",\n sha256 = \"e5ff8638533094ecdcd38a63930c003c261d81650e4531c3bc805c797aec2a52\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_diagnostics/0.144.0/download\"],\n strip_prefix = \"oxc_diagnostics-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_diagnostics-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_ecmascript-0.144.0\",\n sha256 = \"77c7a326f49f06da37affdcad2fb3ebab46ac4ada8953a428f7cbd04e5cc9e6e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_ecmascript/0.144.0/download\"],\n strip_prefix = \"oxc_ecmascript-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_ecmascript-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_estree-0.144.0\",\n sha256 = \"8275fcb9674a1c320f0bdbc2f534ba9bb09fcb8b1c9fe306c9595d262a06bfcb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_estree/0.144.0/download\"],\n strip_prefix = \"oxc_estree-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_estree-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_index-5.0.0\",\n sha256 = \"191884bee6c3744909a51acc7d78d4ae370d817b25875b10642f632327b6296e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_index/5.0.0/download\"],\n strip_prefix = \"oxc_index-5.0.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_index-5.0.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_parser-0.144.0\",\n sha256 = \"d13016de81370106ea4065cfabe4a278dc09e82523cfe22bb6a8ab8e993b4c3a\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_parser/0.144.0/download\"],\n strip_prefix = \"oxc_parser-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_parser-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_regular_expression-0.144.0\",\n sha256 = \"c375b89d88ec03301b0e62528715699551871861197aa39148e95a1422e1ae9b\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_regular_expression/0.144.0/download\"],\n strip_prefix = \"oxc_regular_expression-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_regular_expression-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_resolver-11.24.3\",\n sha256 = \"2c7fd0839a5ecee17c0d2c88c8006e8ab4dff25d4a79e3a0bf7a9f0cce17f4e3\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_resolver/11.24.3/download\"],\n strip_prefix = \"oxc_resolver-11.24.3\",\n build_file = Label(\"@crates//crates:BUILD.oxc_resolver-11.24.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_semantic-0.144.0\",\n sha256 = \"0d8d80604c4220c8f5b1c19682216921397fb45a616db47d3a044474662f0c2e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_semantic/0.144.0/download\"],\n strip_prefix = \"oxc_semantic-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_semantic-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_span-0.144.0\",\n sha256 = \"abd732008dbfb09984106925f7ff7268687c8020b89bd7ee0f0b695c5bb07950\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_span/0.144.0/download\"],\n strip_prefix = \"oxc_span-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_span-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_str-0.144.0\",\n sha256 = \"e1d2ccb0f5aa4da9fc98ef70f59553c2779e28e064a8b271fcb1e88c11a63607\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_str/0.144.0/download\"],\n strip_prefix = \"oxc_str-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_str-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__oxc_syntax-0.144.0\",\n sha256 = \"15ff0e987ab15a71dae36fd544b9859513e76639e2cc6c5e25895081162755b1\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/oxc_syntax/0.144.0/download\"],\n strip_prefix = \"oxc_syntax-0.144.0\",\n build_file = Label(\"@crates//crates:BUILD.oxc_syntax-0.144.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__parking_lot_core-0.9.12\",\n sha256 = \"2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/parking_lot_core/0.9.12/download\"],\n strip_prefix = \"parking_lot_core-0.9.12\",\n build_file = Label(\"@crates//crates:BUILD.parking_lot_core-0.9.12.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__pathdiff-0.2.3\",\n sha256 = \"df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/pathdiff/0.2.3/download\"],\n strip_prefix = \"pathdiff-0.2.3\",\n build_file = Label(\"@crates//crates:BUILD.pathdiff-0.2.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__percent-encoding-2.3.2\",\n sha256 = \"9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/percent-encoding/2.3.2/download\"],\n strip_prefix = \"percent-encoding-2.3.2\",\n build_file = Label(\"@crates//crates:BUILD.percent-encoding-2.3.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__phf-0.14.0\",\n sha256 = \"010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/phf/0.14.0/download\"],\n strip_prefix = \"phf-0.14.0\",\n build_file = Label(\"@crates//crates:BUILD.phf-0.14.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__phf_generator-0.14.0\",\n sha256 = \"aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/phf_generator/0.14.0/download\"],\n strip_prefix = \"phf_generator-0.14.0\",\n build_file = Label(\"@crates//crates:BUILD.phf_generator-0.14.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__phf_macros-0.14.0\",\n sha256 = \"5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/phf_macros/0.14.0/download\"],\n strip_prefix = \"phf_macros-0.14.0\",\n build_file = Label(\"@crates//crates:BUILD.phf_macros-0.14.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__phf_shared-0.14.0\",\n sha256 = \"c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/phf_shared/0.14.0/download\"],\n strip_prefix = \"phf_shared-0.14.0\",\n build_file = Label(\"@crates//crates:BUILD.phf_shared-0.14.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__pin-project-lite-0.2.17\",\n sha256 = \"a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/pin-project-lite/0.2.17/download\"],\n strip_prefix = \"pin-project-lite-0.2.17\",\n build_file = Label(\"@crates//crates:BUILD.pin-project-lite-0.2.17.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__potential_utf-0.1.6\",\n sha256 = \"d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/potential_utf/0.1.6/download\"],\n strip_prefix = \"potential_utf-0.1.6\",\n build_file = Label(\"@crates//crates:BUILD.potential_utf-0.1.6.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__proc-macro2-1.0.107\",\n sha256 = \"985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/proc-macro2/1.0.107/download\"],\n strip_prefix = \"proc-macro2-1.0.107\",\n build_file = Label(\"@crates//crates:BUILD.proc-macro2-1.0.107.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__quote-1.0.47\",\n sha256 = \"1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/quote/1.0.47/download\"],\n strip_prefix = \"quote-1.0.47\",\n build_file = Label(\"@crates//crates:BUILD.quote-1.0.47.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__r-efi-6.0.0\",\n sha256 = \"f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/r-efi/6.0.0/download\"],\n strip_prefix = \"r-efi-6.0.0\",\n build_file = Label(\"@crates//crates:BUILD.r-efi-6.0.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__redox_syscall-0.5.18\",\n sha256 = \"ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/redox_syscall/0.5.18/download\"],\n strip_prefix = \"redox_syscall-0.5.18\",\n build_file = Label(\"@crates//crates:BUILD.redox_syscall-0.5.18.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__ref-cast-1.0.27\",\n sha256 = \"7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ref-cast/1.0.27/download\"],\n strip_prefix = \"ref-cast-1.0.27\",\n build_file = Label(\"@crates//crates:BUILD.ref-cast-1.0.27.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__ref-cast-impl-1.0.27\",\n sha256 = \"92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ref-cast-impl/1.0.27/download\"],\n strip_prefix = \"ref-cast-impl-1.0.27\",\n build_file = Label(\"@crates//crates:BUILD.ref-cast-impl-1.0.27.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__regex-1.13.1\",\n sha256 = \"f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/regex/1.13.1/download\"],\n strip_prefix = \"regex-1.13.1\",\n build_file = Label(\"@crates//crates:BUILD.regex-1.13.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__regex-automata-0.4.18\",\n sha256 = \"ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/regex-automata/0.4.18/download\"],\n strip_prefix = \"regex-automata-0.4.18\",\n build_file = Label(\"@crates//crates:BUILD.regex-automata-0.4.18.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__regex-syntax-0.8.11\",\n sha256 = \"d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/regex-syntax/0.8.11/download\"],\n strip_prefix = \"regex-syntax-0.8.11\",\n build_file = Label(\"@crates//crates:BUILD.regex-syntax-0.8.11.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__rustc-hash-2.1.3\",\n sha256 = \"6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/rustc-hash/2.1.3/download\"],\n strip_prefix = \"rustc-hash-2.1.3\",\n build_file = Label(\"@crates//crates:BUILD.rustc-hash-2.1.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__rustix-1.1.5\",\n sha256 = \"891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/rustix/1.1.5/download\"],\n strip_prefix = \"rustix-1.1.5\",\n build_file = Label(\"@crates//crates:BUILD.rustix-1.1.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__rustversion-1.0.23\",\n sha256 = \"cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/rustversion/1.0.23/download\"],\n strip_prefix = \"rustversion-1.0.23\",\n build_file = Label(\"@crates//crates:BUILD.rustversion-1.0.23.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__ryu-1.0.23\",\n sha256 = \"9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ryu/1.0.23/download\"],\n strip_prefix = \"ryu-1.0.23\",\n build_file = Label(\"@crates//crates:BUILD.ryu-1.0.23.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__scopeguard-1.2.0\",\n sha256 = \"94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/scopeguard/1.2.0/download\"],\n strip_prefix = \"scopeguard-1.2.0\",\n build_file = Label(\"@crates//crates:BUILD.scopeguard-1.2.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__self_cell-1.3.0\",\n sha256 = \"2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/self_cell/1.3.0/download\"],\n strip_prefix = \"self_cell-1.3.0\",\n build_file = Label(\"@crates//crates:BUILD.self_cell-1.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__seq-macro-0.3.6\",\n sha256 = \"1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/seq-macro/0.3.6/download\"],\n strip_prefix = \"seq-macro-0.3.6\",\n build_file = Label(\"@crates//crates:BUILD.seq-macro-0.3.6.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__serde-1.0.229\",\n sha256 = \"4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/serde/1.0.229/download\"],\n strip_prefix = \"serde-1.0.229\",\n build_file = Label(\"@crates//crates:BUILD.serde-1.0.229.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__serde_core-1.0.229\",\n sha256 = \"67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/serde_core/1.0.229/download\"],\n strip_prefix = \"serde_core-1.0.229\",\n build_file = Label(\"@crates//crates:BUILD.serde_core-1.0.229.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__serde_derive-1.0.229\",\n sha256 = \"e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/serde_derive/1.0.229/download\"],\n strip_prefix = \"serde_derive-1.0.229\",\n build_file = Label(\"@crates//crates:BUILD.serde_derive-1.0.229.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__serde_json-1.0.151\",\n sha256 = \"c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/serde_json/1.0.151/download\"],\n strip_prefix = \"serde_json-1.0.151\",\n build_file = Label(\"@crates//crates:BUILD.serde_json-1.0.151.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__simd-json-0.18.1\",\n sha256 = \"6ebe141eb4a23ecc4d5de93fa5b139ac65dc07c38037a2fe9a8fb7c9d36bd832\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/simd-json/0.18.1/download\"],\n strip_prefix = \"simd-json-0.18.1\",\n build_file = Label(\"@crates//crates:BUILD.simd-json-0.18.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__simdutf8-0.1.5\",\n sha256 = \"e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/simdutf8/0.1.5/download\"],\n strip_prefix = \"simdutf8-0.1.5\",\n build_file = Label(\"@crates//crates:BUILD.simdutf8-0.1.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__siphasher-1.0.4\",\n sha256 = \"33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/siphasher/1.0.4/download\"],\n strip_prefix = \"siphasher-1.0.4\",\n build_file = Label(\"@crates//crates:BUILD.siphasher-1.0.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__slab-0.4.12\",\n sha256 = \"0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/slab/0.4.12/download\"],\n strip_prefix = \"slab-0.4.12\",\n build_file = Label(\"@crates//crates:BUILD.slab-0.4.12.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__smallvec-1.16.2\",\n sha256 = \"f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/smallvec/1.16.2/download\"],\n strip_prefix = \"smallvec-1.16.2\",\n build_file = Label(\"@crates//crates:BUILD.smallvec-1.16.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__smawk-0.3.3\",\n sha256 = \"e8e2fb0f499abb4d162f2bedad68f5ef91a1682b5a03596ddb67efd37768d100\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/smawk/0.3.3/download\"],\n strip_prefix = \"smawk-0.3.3\",\n build_file = Label(\"@crates//crates:BUILD.smawk-0.3.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__stable_deref_trait-1.2.1\",\n sha256 = \"6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/stable_deref_trait/1.2.1/download\"],\n strip_prefix = \"stable_deref_trait-1.2.1\",\n build_file = Label(\"@crates//crates:BUILD.stable_deref_trait-1.2.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__static_assertions-1.1.0\",\n sha256 = \"a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/static_assertions/1.1.0/download\"],\n strip_prefix = \"static_assertions-1.1.0\",\n build_file = Label(\"@crates//crates:BUILD.static_assertions-1.1.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__syn-2.0.119\",\n sha256 = \"872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/syn/2.0.119/download\"],\n strip_prefix = \"syn-2.0.119\",\n build_file = Label(\"@crates//crates:BUILD.syn-2.0.119.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__syn-3.0.6\",\n sha256 = \"8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/syn/3.0.6/download\"],\n strip_prefix = \"syn-3.0.6\",\n build_file = Label(\"@crates//crates:BUILD.syn-3.0.6.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__synstructure-0.14.0\",\n sha256 = \"901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/synstructure/0.14.0/download\"],\n strip_prefix = \"synstructure-0.14.0\",\n build_file = Label(\"@crates//crates:BUILD.synstructure-0.14.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__tempfile-3.27.0\",\n sha256 = \"32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/tempfile/3.27.0/download\"],\n strip_prefix = \"tempfile-3.27.0\",\n build_file = Label(\"@crates//crates:BUILD.tempfile-3.27.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__textwrap-0.16.4\",\n sha256 = \"6ecfad6c3abc80a577f2b91c1e412ee57e7a060d430b553c1b0c940974ebcd49\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/textwrap/0.16.4/download\"],\n strip_prefix = \"textwrap-0.16.4\",\n build_file = Label(\"@crates//crates:BUILD.textwrap-0.16.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__thiserror-2.0.21\",\n sha256 = \"09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/thiserror/2.0.21/download\"],\n strip_prefix = \"thiserror-2.0.21\",\n build_file = Label(\"@crates//crates:BUILD.thiserror-2.0.21.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__thiserror-impl-2.0.21\",\n sha256 = \"fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/thiserror-impl/2.0.21/download\"],\n strip_prefix = \"thiserror-impl-2.0.21\",\n build_file = Label(\"@crates//crates:BUILD.thiserror-impl-2.0.21.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__tinystr-0.8.4\",\n sha256 = \"b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/tinystr/0.8.4/download\"],\n strip_prefix = \"tinystr-0.8.4\",\n build_file = Label(\"@crates//crates:BUILD.tinystr-0.8.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__tracing-0.1.44\",\n sha256 = \"63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/tracing/0.1.44/download\"],\n strip_prefix = \"tracing-0.1.44\",\n build_file = Label(\"@crates//crates:BUILD.tracing-0.1.44.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__tracing-attributes-0.1.31\",\n sha256 = \"7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/tracing-attributes/0.1.31/download\"],\n strip_prefix = \"tracing-attributes-0.1.31\",\n build_file = Label(\"@crates//crates:BUILD.tracing-attributes-0.1.31.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__tracing-core-0.1.36\",\n sha256 = \"db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/tracing-core/0.1.36/download\"],\n strip_prefix = \"tracing-core-0.1.36\",\n build_file = Label(\"@crates//crates:BUILD.tracing-core-0.1.36.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__unicode-id-start-1.5.0\",\n sha256 = \"0825d2e09dcae814a4273c1e1435979d414ede25b2ee235b1545da6682483765\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/unicode-id-start/1.5.0/download\"],\n strip_prefix = \"unicode-id-start-1.5.0\",\n build_file = Label(\"@crates//crates:BUILD.unicode-id-start-1.5.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__unicode-ident-1.0.25\",\n sha256 = \"ab72a15cf68d77cb0987d3684aa8a45c5ef827e8cb49ee2f30bfd7ba2feb519f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/unicode-ident/1.0.25/download\"],\n strip_prefix = \"unicode-ident-1.0.25\",\n build_file = Label(\"@crates//crates:BUILD.unicode-ident-1.0.25.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__unicode-segmentation-1.13.3\",\n sha256 = \"c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/unicode-segmentation/1.13.3/download\"],\n strip_prefix = \"unicode-segmentation-1.13.3\",\n build_file = Label(\"@crates//crates:BUILD.unicode-segmentation-1.13.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__unicode-width-0.2.2\",\n sha256 = \"b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/unicode-width/0.2.2/download\"],\n strip_prefix = \"unicode-width-0.2.2\",\n build_file = Label(\"@crates//crates:BUILD.unicode-width-0.2.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__utf8_iter-1.0.4\",\n sha256 = \"b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/utf8_iter/1.0.4/download\"],\n strip_prefix = \"utf8_iter-1.0.4\",\n build_file = Label(\"@crates//crates:BUILD.utf8_iter-1.0.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__value-trait-0.12.2\",\n sha256 = \"f3f4b4a98dfe54bc9ed3641af7ffcb837240269627dbd5cb047d13daa39736cc\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/value-trait/0.12.2/download\"],\n strip_prefix = \"value-trait-0.12.2\",\n build_file = Label(\"@crates//crates:BUILD.value-trait-0.12.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__wasm-bindgen-0.2.121\",\n sha256 = \"49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/wasm-bindgen/0.2.121/download\"],\n strip_prefix = \"wasm-bindgen-0.2.121\",\n build_file = Label(\"@crates//crates:BUILD.wasm-bindgen-0.2.121.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__wasm-bindgen-macro-0.2.121\",\n sha256 = \"8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/wasm-bindgen-macro/0.2.121/download\"],\n strip_prefix = \"wasm-bindgen-macro-0.2.121\",\n build_file = Label(\"@crates//crates:BUILD.wasm-bindgen-macro-0.2.121.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__wasm-bindgen-macro-support-0.2.121\",\n sha256 = \"d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/wasm-bindgen-macro-support/0.2.121/download\"],\n strip_prefix = \"wasm-bindgen-macro-support-0.2.121\",\n build_file = Label(\"@crates//crates:BUILD.wasm-bindgen-macro-support-0.2.121.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__wasm-bindgen-shared-0.2.121\",\n sha256 = \"c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/wasm-bindgen-shared/0.2.121/download\"],\n strip_prefix = \"wasm-bindgen-shared-0.2.121\",\n build_file = Label(\"@crates//crates:BUILD.wasm-bindgen-shared-0.2.121.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-0.62.2\",\n sha256 = \"527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows/0.62.2/download\"],\n strip_prefix = \"windows-0.62.2\",\n build_file = Label(\"@crates//crates:BUILD.windows-0.62.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-collections-0.3.2\",\n sha256 = \"23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-collections/0.3.2/download\"],\n strip_prefix = \"windows-collections-0.3.2\",\n build_file = Label(\"@crates//crates:BUILD.windows-collections-0.3.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-core-0.62.2\",\n sha256 = \"b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-core/0.62.2/download\"],\n strip_prefix = \"windows-core-0.62.2\",\n build_file = Label(\"@crates//crates:BUILD.windows-core-0.62.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-future-0.3.2\",\n sha256 = \"e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-future/0.3.2/download\"],\n strip_prefix = \"windows-future-0.3.2\",\n build_file = Label(\"@crates//crates:BUILD.windows-future-0.3.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-implement-0.60.2\",\n sha256 = \"053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-implement/0.60.2/download\"],\n strip_prefix = \"windows-implement-0.60.2\",\n build_file = Label(\"@crates//crates:BUILD.windows-implement-0.60.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-interface-0.59.3\",\n sha256 = \"3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-interface/0.59.3/download\"],\n strip_prefix = \"windows-interface-0.59.3\",\n build_file = Label(\"@crates//crates:BUILD.windows-interface-0.59.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-link-0.2.1\",\n sha256 = \"f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-link/0.2.1/download\"],\n strip_prefix = \"windows-link-0.2.1\",\n build_file = Label(\"@crates//crates:BUILD.windows-link-0.2.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-numerics-0.3.1\",\n sha256 = \"6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-numerics/0.3.1/download\"],\n strip_prefix = \"windows-numerics-0.3.1\",\n build_file = Label(\"@crates//crates:BUILD.windows-numerics-0.3.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-result-0.4.1\",\n sha256 = \"7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-result/0.4.1/download\"],\n strip_prefix = \"windows-result-0.4.1\",\n build_file = Label(\"@crates//crates:BUILD.windows-result-0.4.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-strings-0.5.1\",\n sha256 = \"7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-strings/0.5.1/download\"],\n strip_prefix = \"windows-strings-0.5.1\",\n build_file = Label(\"@crates//crates:BUILD.windows-strings-0.5.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-sys-0.61.2\",\n sha256 = \"ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-sys/0.61.2/download\"],\n strip_prefix = \"windows-sys-0.61.2\",\n build_file = Label(\"@crates//crates:BUILD.windows-sys-0.61.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__windows-threading-0.2.1\",\n sha256 = \"3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/windows-threading/0.2.1/download\"],\n strip_prefix = \"windows-threading-0.2.1\",\n build_file = Label(\"@crates//crates:BUILD.windows-threading-0.2.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__writeable-0.6.4\",\n sha256 = \"3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/writeable/0.6.4/download\"],\n strip_prefix = \"writeable-0.6.4\",\n build_file = Label(\"@crates//crates:BUILD.writeable-0.6.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__yoke-0.8.3\",\n sha256 = \"709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/yoke/0.8.3/download\"],\n strip_prefix = \"yoke-0.8.3\",\n build_file = Label(\"@crates//crates:BUILD.yoke-0.8.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__yoke-derive-0.8.4\",\n sha256 = \"ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/yoke-derive/0.8.4/download\"],\n strip_prefix = \"yoke-derive-0.8.4\",\n build_file = Label(\"@crates//crates:BUILD.yoke-derive-0.8.4.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__zerofrom-0.1.8\",\n sha256 = \"0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/zerofrom/0.1.8/download\"],\n strip_prefix = \"zerofrom-0.1.8\",\n build_file = Label(\"@crates//crates:BUILD.zerofrom-0.1.8.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__zerofrom-derive-0.1.8\",\n sha256 = \"f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/zerofrom-derive/0.1.8/download\"],\n strip_prefix = \"zerofrom-derive-0.1.8\",\n build_file = Label(\"@crates//crates:BUILD.zerofrom-derive-0.1.8.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__zerotrie-0.2.5\",\n sha256 = \"4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/zerotrie/0.2.5/download\"],\n strip_prefix = \"zerotrie-0.2.5\",\n build_file = Label(\"@crates//crates:BUILD.zerotrie-0.2.5.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__zerovec-0.11.8\",\n sha256 = \"bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/zerovec/0.11.8/download\"],\n strip_prefix = \"zerovec-0.11.8\",\n build_file = Label(\"@crates//crates:BUILD.zerovec-0.11.8.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__zerovec-derive-0.11.6\",\n sha256 = \"34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/zerovec-derive/0.11.6/download\"],\n strip_prefix = \"zerovec-derive-0.11.6\",\n build_file = Label(\"@crates//crates:BUILD.zerovec-derive-0.11.6.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crates__zmij-1.0.23\",\n sha256 = \"29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/zmij/1.0.23/download\"],\n strip_prefix = \"zmij-1.0.23\",\n build_file = Label(\"@crates//crates:BUILD.zmij-1.0.23.bazel\"),\n )\n\n return [\n struct(repo = \"crates\", is_dev_dep = False),\n struct(repo=\"crates__futures-0.3.34\", is_dev_dep = False),\n struct(repo=\"crates__glob-0.3.4\", is_dev_dep = False),\n struct(repo=\"crates__js-sys-0.3.98\", is_dev_dep = False),\n struct(repo=\"crates__json-strip-comments-3.1.2\", is_dev_dep = False),\n struct(repo=\"crates__oxc-miette-derive-3.0.1\", is_dev_dep = False),\n struct(repo=\"crates__oxc_allocator-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_ast-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_ast_visit-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_diagnostics-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_parser-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_resolver-11.24.3\", is_dev_dep = False),\n struct(repo=\"crates__oxc_semantic-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_span-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__oxc_syntax-0.144.0\", is_dev_dep = False),\n struct(repo=\"crates__pathdiff-0.2.3\", is_dev_dep = False),\n struct(repo=\"crates__regex-1.13.1\", is_dev_dep = False),\n struct(repo=\"crates__self_cell-1.3.0\", is_dev_dep = False),\n struct(repo=\"crates__serde-1.0.229\", is_dev_dep = False),\n struct(repo=\"crates__serde_json-1.0.151\", is_dev_dep = False),\n struct(repo=\"crates__wasm-bindgen-0.2.121\", is_dev_dep = False),\n struct(repo = \"crates__tempfile-3.27.0\", is_dev_dep = True),\n ]\n", + "defs.bzl": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\"\"\"Deprecated: re-exports the crate_universe macros from `:crates.bzl`.\"\"\"\n\nload(\n \":crates.bzl\",\n _aliases = \"aliases\",\n _all_crate_deps = \"all_crate_deps\",\n _crate_deps = \"crate_deps\",\n _crate_edition = \"crate_edition\",\n _crate_repositories = \"crate_repositories\",\n)\n\naliases = _aliases\nall_crate_deps = _all_crate_deps\ncrate_deps = _crate_deps\ncrate_edition = _crate_edition\ncrate_repositories = _crate_repositories\n", + "futures-0.3.34/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"futures-0.3.34\",\n actual = \"@crates__futures-0.3.34//:futures\",\n tags = [\"manual\"],\n)\n", + "futures/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"futures\",\n actual = \"@crates__futures-0.3.34//:futures\",\n tags = [\"manual\"],\n)\n", + "glob-0.3.4/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"glob-0.3.4\",\n actual = \"@crates__glob-0.3.4//:glob\",\n tags = [\"manual\"],\n)\n", + "glob/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"glob\",\n actual = \"@crates__glob-0.3.4//:glob\",\n tags = [\"manual\"],\n)\n", + "js-sys-0.3.98/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"js-sys-0.3.98\",\n actual = \"@crates__js-sys-0.3.98//:js_sys\",\n tags = [\"manual\"],\n)\n", + "js-sys/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"js-sys\",\n actual = \"@crates__js-sys-0.3.98//:js_sys\",\n tags = [\"manual\"],\n)\n", + "json-strip-comments-3.1.2/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"json-strip-comments-3.1.2\",\n actual = \"@crates__json-strip-comments-3.1.2//:json_strip_comments\",\n tags = [\"manual\"],\n)\n", + "json-strip-comments/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"json-strip-comments\",\n actual = \"@crates__json-strip-comments-3.1.2//:json_strip_comments\",\n tags = [\"manual\"],\n)\n", + "oxc-miette-derive-3.0.1/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc-miette-derive-3.0.1\",\n actual = \"@crates__oxc-miette-derive-3.0.1//:oxc_miette_derive\",\n tags = [\"manual\"],\n)\n", + "oxc-miette-derive/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc-miette-derive\",\n actual = \"@crates__oxc-miette-derive-3.0.1//:oxc_miette_derive\",\n tags = [\"manual\"],\n)\n", + "oxc_allocator-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_allocator-0.144.0\",\n actual = \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n tags = [\"manual\"],\n)\n", + "oxc_allocator/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_allocator\",\n actual = \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n tags = [\"manual\"],\n)\n", + "oxc_ast-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_ast-0.144.0\",\n actual = \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n tags = [\"manual\"],\n)\n", + "oxc_ast/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_ast\",\n actual = \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n tags = [\"manual\"],\n)\n", + "oxc_ast_visit-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_ast_visit-0.144.0\",\n actual = \"@crates__oxc_ast_visit-0.144.0//:oxc_ast_visit\",\n tags = [\"manual\"],\n)\n", + "oxc_ast_visit/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_ast_visit\",\n actual = \"@crates__oxc_ast_visit-0.144.0//:oxc_ast_visit\",\n tags = [\"manual\"],\n)\n", + "oxc_diagnostics-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_diagnostics-0.144.0\",\n actual = \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n tags = [\"manual\"],\n)\n", + "oxc_diagnostics/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_diagnostics\",\n actual = \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n tags = [\"manual\"],\n)\n", + "oxc_parser-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_parser-0.144.0\",\n actual = \"@crates__oxc_parser-0.144.0//:oxc_parser\",\n tags = [\"manual\"],\n)\n", + "oxc_parser/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_parser\",\n actual = \"@crates__oxc_parser-0.144.0//:oxc_parser\",\n tags = [\"manual\"],\n)\n", + "oxc_resolver-11.24.3/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_resolver-11.24.3\",\n actual = \"@crates__oxc_resolver-11.24.3//:oxc_resolver\",\n tags = [\"manual\"],\n)\n", + "oxc_resolver/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_resolver\",\n actual = \"@crates__oxc_resolver-11.24.3//:oxc_resolver\",\n tags = [\"manual\"],\n)\n", + "oxc_semantic-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_semantic-0.144.0\",\n actual = \"@crates__oxc_semantic-0.144.0//:oxc_semantic\",\n tags = [\"manual\"],\n)\n", + "oxc_semantic/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_semantic\",\n actual = \"@crates__oxc_semantic-0.144.0//:oxc_semantic\",\n tags = [\"manual\"],\n)\n", + "oxc_span-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_span-0.144.0\",\n actual = \"@crates__oxc_span-0.144.0//:oxc_span\",\n tags = [\"manual\"],\n)\n", + "oxc_span/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_span\",\n actual = \"@crates__oxc_span-0.144.0//:oxc_span\",\n tags = [\"manual\"],\n)\n", + "oxc_syntax-0.144.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_syntax-0.144.0\",\n actual = \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n tags = [\"manual\"],\n)\n", + "oxc_syntax/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"oxc_syntax\",\n actual = \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n tags = [\"manual\"],\n)\n", + "pathdiff-0.2.3/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"pathdiff-0.2.3\",\n actual = \"@crates__pathdiff-0.2.3//:pathdiff\",\n tags = [\"manual\"],\n)\n", + "pathdiff/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"pathdiff\",\n actual = \"@crates__pathdiff-0.2.3//:pathdiff\",\n tags = [\"manual\"],\n)\n", + "regex-1.13.1/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"regex-1.13.1\",\n actual = \"@crates__regex-1.13.1//:regex\",\n tags = [\"manual\"],\n)\n", + "regex/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"regex\",\n actual = \"@crates__regex-1.13.1//:regex\",\n tags = [\"manual\"],\n)\n", + "self_cell-1.3.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"self_cell-1.3.0\",\n actual = \"@crates__self_cell-1.3.0//:self_cell\",\n tags = [\"manual\"],\n)\n", + "self_cell/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"self_cell\",\n actual = \"@crates__self_cell-1.3.0//:self_cell\",\n tags = [\"manual\"],\n)\n", + "serde-1.0.229/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"serde-1.0.229\",\n actual = \"@crates__serde-1.0.229//:serde\",\n tags = [\"manual\"],\n)\n", + "serde/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"serde\",\n actual = \"@crates__serde-1.0.229//:serde\",\n tags = [\"manual\"],\n)\n", + "serde_json-1.0.151/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"serde_json-1.0.151\",\n actual = \"@crates__serde_json-1.0.151//:serde_json\",\n tags = [\"manual\"],\n)\n", + "serde_json/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"serde_json\",\n actual = \"@crates__serde_json-1.0.151//:serde_json\",\n tags = [\"manual\"],\n)\n", + "tempfile-3.27.0/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"tempfile-3.27.0\",\n actual = \"@crates__tempfile-3.27.0//:tempfile\",\n tags = [\"manual\"],\n)\n", + "tempfile/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"tempfile\",\n actual = \"@crates__tempfile-3.27.0//:tempfile\",\n tags = [\"manual\"],\n)\n", + "wasm-bindgen-0.2.121/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"wasm-bindgen-0.2.121\",\n actual = \"@crates__wasm-bindgen-0.2.121//:wasm_bindgen\",\n tags = [\"manual\"],\n)\n", + "wasm-bindgen/BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nalias(\n name = \"wasm-bindgen\",\n actual = \"@crates__wasm-bindgen-0.2.121//:wasm_bindgen\",\n tags = [\"manual\"],\n)\n" + } + } + }, + "crates__aho-corasick-1.1.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/aho-corasick/1.1.5/download" + ], + "strip_prefix": "aho-corasick-1.1.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"aho_corasick\",\n deps = [\n \"@crates__memchr-2.8.3//:memchr\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"perf-literal\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=aho-corasick\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.1.5\",\n)\n" + } + }, + "crates__allocator-api2-0.2.21": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/allocator-api2/0.2.21/download" + ], + "strip_prefix": "allocator-api2-0.2.21", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"allocator_api2\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=allocator-api2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.21\",\n)\n" + } + }, + "crates__arrayvec-0.7.8": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/arrayvec/0.7.8/download" + ], + "strip_prefix": "arrayvec-0.7.8", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"arrayvec\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=arrayvec\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.7.8\",\n)\n" + } + }, + "crates__autocfg-1.5.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/autocfg/1.5.1/download" + ], + "strip_prefix": "autocfg-1.5.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"autocfg\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2015\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=autocfg\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.5.1\",\n)\n" + } + }, + "crates__bitflags-2.13.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/bitflags/2.13.2/download" + ], + "strip_prefix": "bitflags-2.13.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"bitflags\",\n deps = [\n \"@crates__serde_core-1.0.229//:serde_core\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"serde\",\n \"serde_core\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"std\", # aarch64-apple-darwin\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"std\", # aarch64-unknown-linux-gnu\n ],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [\n \"std\", # wasm32-wasip1\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"std\", # x86_64-unknown-linux-gnu\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"std\", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu\n ],\n \"//conditions:default\": [],\n }),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=bitflags\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.13.2\",\n)\n" + } + }, + "crates__bumpalo-3.20.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/bumpalo/3.20.3/download" + ], + "strip_prefix": "bumpalo-3.20.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"bumpalo\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=bumpalo\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"3.20.3\",\n)\n" + } + }, + "crates__bytecount-0.6.9": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/bytecount/0.6.9/download" + ], + "strip_prefix": "bytecount-0.6.9", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"bytecount\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=bytecount\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.6.9\",\n)\n" + } + }, + "crates__castaway-0.2.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/castaway/0.2.4/download" + ], + "strip_prefix": "castaway-0.2.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"castaway\",\n proc_macro_deps = [\n \"@crates__rustversion-1.0.23//:rustversion\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=castaway\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.4\",\n)\n" + } + }, + "crates__cfg-if-1.0.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/cfg-if/1.0.5/download" + ], + "strip_prefix": "cfg-if-1.0.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"cfg_if\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=cfg-if\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.5\",\n)\n" + } + }, + "crates__compact_str-0.10.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "79fcda08c33bb58b97008b2cdada6622500e949e060f5913361763121abd2416", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/compact_str/0.10.0/download" + ], + "strip_prefix": "compact_str-0.10.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"compact_str\",\n deps = [\n \"@crates__castaway-0.2.4//:castaway\",\n \"@crates__cfg-if-1.0.5//:cfg_if\",\n \"@crates__itoa-1.0.18//:itoa\",\n \"@crates__serde-1.0.229//:serde\",\n \"@crates__static_assertions-1.1.0//:static_assertions\",\n \"@crates__zmij-1.0.23//:zmij\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serde\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=compact_str\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.10.0\",\n)\n" + } + }, + "crates__cow-utils-0.1.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/cow-utils/0.1.3/download" + ], + "strip_prefix": "cow-utils-0.1.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"cow_utils\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=cow-utils\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.3\",\n)\n" + } + }, + "crates__crossbeam-utils-0.8.23": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/crossbeam-utils/0.8.23/download" + ], + "strip_prefix": "crossbeam-utils-0.8.23", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"crossbeam_utils\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=crossbeam-utils\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.8.23\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"crossbeam-utils\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=crossbeam-utils\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.8.23\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__dashmap-6.2.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/dashmap/6.2.1/download" + ], + "strip_prefix": "dashmap-6.2.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"dashmap\",\n deps = [\n \"@crates__cfg-if-1.0.5//:cfg_if\",\n \"@crates__crossbeam-utils-0.8.23//:crossbeam_utils\",\n \"@crates__hashbrown-0.14.5//:hashbrown\",\n \"@crates__lock_api-0.4.14//:lock_api\",\n \"@crates__once_cell-1.21.4//:once_cell\",\n \"@crates__parking_lot_core-0.9.12//:parking_lot_core\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"raw-api\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=dashmap\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"6.2.1\",\n)\n" + } + }, + "crates__displaydoc-0.2.7": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/displaydoc/0.2.7/download" + ], + "strip_prefix": "displaydoc-0.2.7", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"displaydoc\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=displaydoc\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.7\",\n)\n" + } + }, + "crates__dragonbox_ecma-0.1.12": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/dragonbox_ecma/0.1.12/download" + ], + "strip_prefix": "dragonbox_ecma-0.1.12", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"dragonbox_ecma\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"ecma\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=dragonbox_ecma\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.12\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"ecma\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"dragonbox_ecma\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=dragonbox_ecma\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.1.12\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__either-1.19.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/either/1.19.0/download" + ], + "strip_prefix": "either-1.19.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"either\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n \"use_std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=either\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.19.0\",\n)\n" + } + }, + "crates__equivalent-1.0.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/equivalent/1.0.2/download" + ], + "strip_prefix": "equivalent-1.0.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"equivalent\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2015\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=equivalent\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.2\",\n)\n" + } + }, + "crates__errno-0.3.14": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/errno/0.3.14/download" + ], + "strip_prefix": "errno-0.3.14", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"errno\",\n deps = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(target_os = \"wasi\")\n ],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [\n \"@crates__windows-sys-0.61.2//:windows_sys\", # cfg(windows)\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"//conditions:default\": [],\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=errno\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.14\",\n)\n" + } + }, + "crates__fast-glob-1.1.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "2a044ed96eb57253e806d08b74260638af189687e583f04947a5e11e75e0b0d1", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/fast-glob/1.1.2/download" + ], + "strip_prefix": "fast-glob-1.1.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"fast_glob\",\n deps = [\n \"@crates__arrayvec-0.7.8//:arrayvec\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=fast-glob\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.1.2\",\n)\n" + } + }, + "crates__fastrand-2.5.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/fastrand/2.5.0/download" + ], + "strip_prefix": "fastrand-2.5.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"fastrand\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=fastrand\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.5.0\",\n)\n" + } + }, + "crates__float-cmp-0.10.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/float-cmp/0.10.0/download" + ], + "strip_prefix": "float-cmp-0.10.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"float_cmp\",\n deps = [\n \"@crates__num-traits-0.2.19//:num_traits\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"num-traits\",\n \"ratio\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=float-cmp\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.10.0\",\n)\n" + } + }, + "crates__foldhash-0.2.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/foldhash/0.2.0/download" + ], + "strip_prefix": "foldhash-0.2.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"foldhash\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=foldhash\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.0\",\n)\n" + } + }, + "crates__futures-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures/0.3.34/download" + ], + "strip_prefix": "futures-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures\",\n deps = [\n \"@crates__futures-channel-0.3.34//:futures_channel\",\n \"@crates__futures-core-0.3.34//:futures_core\",\n \"@crates__futures-executor-0.3.34//:futures_executor\",\n \"@crates__futures-io-0.3.34//:futures_io\",\n \"@crates__futures-sink-0.3.34//:futures_sink\",\n \"@crates__futures-task-0.3.34//:futures_task\",\n \"@crates__futures-util-0.3.34//:futures_util\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"async-await\",\n \"default\",\n \"executor\",\n \"futures-executor\",\n \"std\",\n \"thread-pool\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-channel-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-channel/0.3.34/download" + ], + "strip_prefix": "futures-channel-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_channel\",\n deps = [\n \"@crates__futures-core-0.3.34//:futures_core\",\n \"@crates__futures-sink-0.3.34//:futures_sink\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"futures-sink\",\n \"sink\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-channel\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-core-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-core/0.3.34/download" + ], + "strip_prefix": "futures-core-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_core\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-executor-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-executor/0.3.34/download" + ], + "strip_prefix": "futures-executor-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_executor\",\n deps = [\n \"@crates__futures-core-0.3.34//:futures_core\",\n \"@crates__futures-task-0.3.34//:futures_task\",\n \"@crates__futures-util-0.3.34//:futures_util\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n \"thread-pool\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-executor\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-io-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-io/0.3.34/download" + ], + "strip_prefix": "futures-io-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_io\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-io\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-macro-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-macro/0.3.34/download" + ], + "strip_prefix": "futures-macro-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"futures_macro\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-macro\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-sink-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-sink/0.3.34/download" + ], + "strip_prefix": "futures-sink-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_sink\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-sink\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-task-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-task/0.3.34/download" + ], + "strip_prefix": "futures-task-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_task\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-task\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__futures-util-0.3.34": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/futures-util/0.3.34/download" + ], + "strip_prefix": "futures-util-0.3.34", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"futures_util\",\n deps = [\n \"@crates__futures-channel-0.3.34//:futures_channel\",\n \"@crates__futures-core-0.3.34//:futures_core\",\n \"@crates__futures-io-0.3.34//:futures_io\",\n \"@crates__futures-sink-0.3.34//:futures_sink\",\n \"@crates__futures-task-0.3.34//:futures_task\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__pin-project-lite-0.2.17//:pin_project_lite\",\n \"@crates__slab-0.4.12//:slab\",\n ],\n proc_macro_deps = [\n \"@crates__futures-macro-0.3.34//:futures_macro\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"async-await\",\n \"async-await-macro\",\n \"channel\",\n \"futures-channel\",\n \"futures-io\",\n \"futures-macro\",\n \"futures-sink\",\n \"io\",\n \"memchr\",\n \"sink\",\n \"slab\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=futures-util\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.34\",\n)\n" + } + }, + "crates__getrandom-0.4.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/getrandom/0.4.3/download" + ], + "strip_prefix": "getrandom-0.4.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"getrandom\",\n deps = [\n \":build_script_build\",\n \"@crates__cfg-if-1.0.5//:cfg_if\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(any(target_os = \"macos\", target_os = \"openbsd\", target_os = \"vita\", target_os = \"emscripten\"))\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(all(any(target_os = \"linux\", target_os = \"android\"), not(any(all(target_os = \"linux\", target_env = \"\"), getrandom_backend = \"custom\", getrandom_backend = \"linux_raw\", getrandom_backend = \"rdrand\", getrandom_backend = \"rndr\"))))\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(all(any(target_os = \"linux\", target_os = \"android\"), not(any(all(target_os = \"linux\", target_env = \"\"), getrandom_backend = \"custom\", getrandom_backend = \"linux_raw\", getrandom_backend = \"rdrand\", getrandom_backend = \"rndr\"))))\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(all(any(target_os = \"linux\", target_os = \"android\"), not(any(all(target_os = \"linux\", target_env = \"\"), getrandom_backend = \"custom\", getrandom_backend = \"linux_raw\", getrandom_backend = \"rdrand\", getrandom_backend = \"rndr\"))))\n ],\n \"//conditions:default\": [],\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=getrandom\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.4.3\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2024\",\n pkg_name = \"getrandom\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=getrandom\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.4.3\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__glob-0.3.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/glob/0.3.4/download" + ], + "strip_prefix": "glob-0.3.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"glob\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=glob\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.4\",\n)\n" + } + }, + "crates__halfbrown-0.4.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0c7ed2f2edad8a14c8186b847909a41fbb9c3eafa44f88bd891114ed5019da09", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/halfbrown/0.4.0/download" + ], + "strip_prefix": "halfbrown-0.4.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"halfbrown\",\n deps = [\n \"@crates__hashbrown-0.16.1//:hashbrown\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=halfbrown\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.4.0\",\n)\n" + } + }, + "crates__hashbrown-0.14.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/hashbrown/0.14.5/download" + ], + "strip_prefix": "hashbrown-0.14.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"hashbrown\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"raw\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=hashbrown\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.5\",\n)\n" + } + }, + "crates__hashbrown-0.16.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/hashbrown/0.16.1/download" + ], + "strip_prefix": "hashbrown-0.16.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"hashbrown\",\n deps = [\n \"@crates__allocator-api2-0.2.21//:allocator_api2\",\n \"@crates__equivalent-1.0.2//:equivalent\",\n \"@crates__foldhash-0.2.0//:foldhash\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"allocator-api2\",\n \"default\",\n \"default-hasher\",\n \"equivalent\",\n \"inline-more\",\n \"raw-entry\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=hashbrown\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.16.1\",\n)\n" + } + }, + "crates__hashbrown-0.17.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/hashbrown/0.17.1/download" + ], + "strip_prefix": "hashbrown-0.17.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"hashbrown\",\n deps = [\n \"@crates__allocator-api2-0.2.21//:allocator_api2\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"allocator-api2\",\n \"inline-more\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=hashbrown\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.17.1\",\n)\n" + } + }, + "crates__icu_collections-2.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_collections/2.3.0/download" + ], + "strip_prefix": "icu_collections-2.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_collections\",\n deps = [\n \"@crates__potential_utf-0.1.6//:potential_utf\",\n \"@crates__utf8_iter-1.0.4//:utf8_iter\",\n \"@crates__yoke-0.8.3//:yoke\",\n \"@crates__zerofrom-0.1.8//:zerofrom\",\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n proc_macro_deps = [\n \"@crates__displaydoc-0.2.7//:displaydoc\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_collections\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.0\",\n)\n" + } + }, + "crates__icu_locale_core-2.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_locale_core/2.3.0/download" + ], + "strip_prefix": "icu_locale_core-2.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_locale_core\",\n deps = [\n \"@crates__litemap-0.8.3//:litemap\",\n \"@crates__tinystr-0.8.4//:tinystr\",\n \"@crates__writeable-0.6.4//:writeable\",\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n proc_macro_deps = [\n \"@crates__displaydoc-0.2.7//:displaydoc\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"zerovec\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_locale_core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.0\",\n)\n" + } + }, + "crates__icu_locale_fallback-2.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "251af8e57c9400e3eb58242fe5b8b1152b2a64fdf4cf632f923c38ccee6f2fa9", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_locale_fallback/2.3.0/download" + ], + "strip_prefix": "icu_locale_fallback-2.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_locale_fallback\",\n deps = [\n \"@crates__icu_locale_core-2.3.0//:icu_locale_core\",\n \"@crates__icu_locale_fallback_data-2.3.0//:icu_locale_fallback_data\",\n \"@crates__icu_provider-2.3.1//:icu_provider\",\n \"@crates__potential_utf-0.1.6//:potential_utf\",\n \"@crates__tinystr-0.8.4//:tinystr\",\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"compiled_data\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_locale_fallback\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.0\",\n)\n" + } + }, + "crates__icu_locale_fallback_data-2.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "decf2a22ec8fa68f1a0c1129a3f8583f8f8bc24e8b9ccbe98ead99f62a4dc3a8", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_locale_fallback_data/2.3.0/download" + ], + "strip_prefix": "icu_locale_fallback_data-2.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_locale_fallback_data\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_locale_fallback_data\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.0\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2024\",\n pkg_name = \"icu_locale_fallback_data\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_locale_fallback_data\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"2.3.0\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__icu_provider-2.3.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_provider/2.3.1/download" + ], + "strip_prefix": "icu_provider-2.3.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_provider\",\n deps = [\n \"@crates__icu_locale_core-2.3.0//:icu_locale_core\",\n \"@crates__stable_deref_trait-1.2.1//:stable_deref_trait\",\n \"@crates__writeable-0.6.4//:writeable\",\n \"@crates__yoke-0.8.3//:yoke\",\n \"@crates__zerofrom-0.1.8//:zerofrom\",\n \"@crates__zerotrie-0.2.5//:zerotrie\",\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n proc_macro_deps = [\n \"@crates__displaydoc-0.2.7//:displaydoc\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"baked\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_provider\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.1\",\n)\n" + } + }, + "crates__icu_segmenter-2.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "82d07aafccd67af15d02512a6adf5896fbc5ed00f2e99b471d2efa14016db3db", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_segmenter/2.3.0/download" + ], + "strip_prefix": "icu_segmenter-2.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_segmenter\",\n deps = [\n \"@crates__icu_collections-2.3.0//:icu_collections\",\n \"@crates__icu_locale_fallback-2.3.0//:icu_locale_fallback\",\n \"@crates__icu_provider-2.3.1//:icu_provider\",\n \"@crates__icu_segmenter_data-2.3.0//:icu_segmenter_data\",\n \"@crates__potential_utf-0.1.6//:potential_utf\",\n \"@crates__smallvec-1.16.2//:smallvec\",\n \"@crates__utf8_iter-1.0.4//:utf8_iter\",\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"compiled_data\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_segmenter\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.0\",\n)\n" + } + }, + "crates__icu_segmenter_data-2.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ae293c039020f9ec10710af98d29ce6aa2051486638b49c9a6409f3b4a9e98ad", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/icu_segmenter_data/2.3.0/download" + ], + "strip_prefix": "icu_segmenter_data-2.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"icu_segmenter_data\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_segmenter_data\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.0\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2024\",\n pkg_name = \"icu_segmenter_data\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=icu_segmenter_data\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"2.3.0\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__indexmap-2.14.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/indexmap/2.14.2/download" + ], + "strip_prefix": "indexmap-2.14.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"indexmap\",\n deps = [\n \"@crates__equivalent-1.0.2//:equivalent\",\n \"@crates__hashbrown-0.17.1//:hashbrown\",\n \"@crates__serde_core-1.0.229//:serde_core\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serde\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=indexmap\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.14.2\",\n)\n" + } + }, + "crates__itertools-0.15.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/itertools/0.15.0/download" + ], + "strip_prefix": "itertools-0.15.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"itertools\",\n deps = [\n \"@crates__either-1.19.0//:either\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"use_alloc\",\n \"use_std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=itertools\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.15.0\",\n)\n" + } + }, + "crates__itoa-1.0.18": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/itoa/1.0.18/download" + ], + "strip_prefix": "itoa-1.0.18", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"itoa\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=itoa\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.18\",\n)\n" + } + }, + "crates__js-sys-0.3.98": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/js-sys/0.3.98/download" + ], + "strip_prefix": "js-sys-0.3.98", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"js_sys\",\n deps = [\n \"@crates__cfg-if-1.0.5//:cfg_if\",\n \"@crates__futures-util-0.3.34//:futures_util\",\n \"@crates__once_cell-1.21.4//:once_cell\",\n \"@crates__wasm-bindgen-0.2.121//:wasm_bindgen\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n \"unsafe-eval\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=js-sys\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.98\",\n)\n" + } + }, + "crates__json-strip-comments-3.1.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "01ed659c5f428031b9c1fb7de6729af2eb491654d4bcd416a5b5b704986b9658", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/json-strip-comments/3.1.2/download" + ], + "strip_prefix": "json-strip-comments-3.1.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"json_strip_comments\",\n deps = [\n \"@crates__memchr-2.8.3//:memchr\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=json-strip-comments\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"3.1.2\",\n)\n" + } + }, + "crates__libc-0.2.190": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/libc/0.2.190/download" + ], + "strip_prefix": "libc-0.2.190", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"libc\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"default\", # aarch64-apple-darwin\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"default\", # aarch64-unknown-linux-gnu\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"default\", # x86_64-unknown-linux-gnu\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"default\", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu\n ],\n \"//conditions:default\": [],\n }),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=libc\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.190\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"default\", # aarch64-apple-darwin\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"default\", # aarch64-unknown-linux-gnu\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"default\", # x86_64-unknown-linux-gnu\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"default\", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu\n ],\n \"//conditions:default\": [],\n }),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"libc\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=libc\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.2.190\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__linux-raw-sys-0.12.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/linux-raw-sys/0.12.1/download" + ], + "strip_prefix": "linux-raw-sys-0.12.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"linux_raw_sys\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"auxvec\",\n \"elf\",\n \"errno\",\n \"general\",\n \"ioctl\",\n \"no_std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=linux-raw-sys\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.12.1\",\n)\n" + } + }, + "crates__litemap-0.8.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/litemap/0.8.3/download" + ], + "strip_prefix": "litemap-0.8.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"litemap\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=litemap\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.8.3\",\n)\n" + } + }, + "crates__lock_api-0.4.14": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/lock_api/0.4.14/download" + ], + "strip_prefix": "lock_api-0.4.14", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"lock_api\",\n deps = [\n \"@crates__scopeguard-1.2.0//:scopeguard\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"atomic_usize\",\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=lock_api\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.4.14\",\n)\n" + } + }, + "crates__memchr-2.8.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/memchr/2.8.3/download" + ], + "strip_prefix": "memchr-2.8.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"memchr\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=memchr\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.8.3\",\n)\n" + } + }, + "crates__nodejs-built-in-modules-1.0.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "a5eb86a92577833b75522336f210c49d9ebd7dd55a44d80a92e68c668a75f27c", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/nodejs-built-in-modules/1.0.0/download" + ], + "strip_prefix": "nodejs-built-in-modules-1.0.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"nodejs_built_in_modules\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=nodejs-built-in-modules\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.0\",\n)\n" + } + }, + "crates__nonmax-0.5.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/nonmax/0.5.5/download" + ], + "strip_prefix": "nonmax-0.5.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"nonmax\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=nonmax\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.5.5\",\n)\n" + } + }, + "crates__num-bigint-0.5.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/num-bigint/0.5.1/download" + ], + "strip_prefix": "num-bigint-0.5.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"num_bigint\",\n deps = [\n \"@crates__num-integer-0.1.47//:num_integer\",\n \"@crates__num-traits-0.2.19//:num_traits\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=num-bigint\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.5.1\",\n)\n" + } + }, + "crates__num-integer-0.1.47": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/num-integer/0.1.47/download" + ], + "strip_prefix": "num-integer-0.1.47", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"num_integer\",\n deps = [\n \"@crates__num-traits-0.2.19//:num_traits\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"i128\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=num-integer\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.47\",\n)\n" + } + }, + "crates__num-traits-0.2.19": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/num-traits/0.2.19/download" + ], + "strip_prefix": "num-traits-0.2.19", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"num_traits\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"i128\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=num-traits\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.19\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"i128\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n deps = [\n \"@crates__autocfg-1.5.1//:autocfg\",\n ],\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"num-traits\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=num-traits\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.2.19\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__once_cell-1.21.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/once_cell/1.21.4/download" + ], + "strip_prefix": "once_cell-1.21.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"once_cell\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"race\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=once_cell\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.21.4\",\n)\n" + } + }, + "crates__owo-colors-4.4.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/owo-colors/4.4.0/download" + ], + "strip_prefix": "owo-colors-4.4.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"owo_colors\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=owo-colors\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"4.4.0\",\n)\n" + } + }, + "crates__oxc-miette-4.0.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "330e07b3807046e0afa8fcc94f1fe976e93831b370d148bfe1168cb53da1b913", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc-miette/4.0.0/download" + ], + "strip_prefix": "oxc-miette-4.0.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"miette\",\n deps = [\n \"@crates__bytecount-0.6.9//:bytecount\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__owo-colors-4.4.0//:owo_colors\",\n \"@crates__textwrap-0.16.4//:textwrap\",\n \"@crates__unicode-segmentation-1.13.3//:unicode_segmentation\",\n \"@crates__unicode-width-0.2.2//:unicode_width\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc-miette\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"4.0.0\",\n)\n" + } + }, + "crates__oxc-miette-derive-3.0.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "acc072d11d45ebe7801459b4e829184ba0934d68027fdc51d327335b53a95a49", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc-miette-derive/3.0.1/download" + ], + "strip_prefix": "oxc-miette-derive-3.0.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"oxc_miette_derive\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-2.0.119//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc-miette-derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"3.0.1\",\n)\n" + } + }, + "crates__oxc_allocator-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "9262c7bbd58c8c32c2c60d1a7b6c274cd2aeaff1b726a2fb86081b75084698cb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_allocator/0.144.0/download" + ], + "strip_prefix": "oxc_allocator-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_allocator\",\n deps = [\n \"@crates__allocator-api2-0.2.21//:allocator_api2\",\n \"@crates__hashbrown-0.17.1//:hashbrown\",\n \"@crates__oxc_data_structures-0.144.0//:oxc_data_structures\",\n \"@crates__oxc_estree-0.144.0//:oxc_estree\",\n \"@crates__rustc-hash-2.1.3//:rustc_hash\",\n \"@crates__serde-1.0.229//:serde\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"bitset\",\n \"oxc_estree\",\n \"serialize\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_allocator\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_ast-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e8134809b665d524d9a0ddeee87a5d3602776aa2410a10a0439fd25eeb594a5d", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_ast/0.144.0/download" + ], + "strip_prefix": "oxc_ast-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_ast\",\n deps = [\n \"@crates__bitflags-2.13.2//:bitflags\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_data_structures-0.144.0//:oxc_data_structures\",\n \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n \"@crates__oxc_estree-0.144.0//:oxc_estree\",\n \"@crates__oxc_regular_expression-0.144.0//:oxc_regular_expression\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_str-0.144.0//:oxc_str\",\n \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n ],\n proc_macro_deps = [\n \"@crates__oxc_ast_macros-0.144.0//:oxc_ast_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serialize\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_ast\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_ast_macros-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ac120c6863a9d036c78a42a5e4d2f58bb27c5df795d61d904f6e19e48c681a37", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_ast_macros/0.144.0/download" + ], + "strip_prefix": "oxc_ast_macros-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"oxc_ast_macros\",\n deps = [\n \"@crates__phf-0.14.0//:phf\",\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_ast_macros\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_ast_visit-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "4a57626cd6ef87f5173110a301868e3c438fd8e0576f489d9a61540ef133f686", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_ast_visit/0.144.0/download" + ], + "strip_prefix": "oxc_ast_visit-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_ast_visit\",\n deps = [\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serialize\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_ast_visit\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_data_structures-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "2a71efea56db93d3ce9e88e1d9f74f6d50fc2b06092444cdd08579f5827fd8db", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_data_structures/0.144.0/download" + ], + "strip_prefix": "oxc_data_structures-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_data_structures\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"assert_unchecked\",\n \"branch_hints\",\n \"code_buffer\",\n \"default\",\n \"fieldless_enum\",\n \"inline_string\",\n \"slice_iter\",\n \"stack\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_data_structures\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_diagnostics-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e5ff8638533094ecdcd38a63930c003c261d81650e4531c3bc805c797aec2a52", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_diagnostics/0.144.0/download" + ], + "strip_prefix": "oxc_diagnostics-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_diagnostics\",\n deps = [\n \"@crates__cow-utils-0.1.3//:cow_utils\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__oxc-miette-4.0.0//:miette\",\n \"@crates__percent-encoding-2.3.2//:percent_encoding\",\n \"@crates__smallvec-1.16.2//:smallvec\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_diagnostics\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_ecmascript-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "77c7a326f49f06da37affdcad2fb3ebab46ac4ada8953a428f7cbd04e5cc9e6e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_ecmascript/0.144.0/download" + ], + "strip_prefix": "oxc_ecmascript-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_ecmascript\",\n deps = [\n \"@crates__dragonbox_ecma-0.1.12//:dragonbox_ecma\",\n \"@crates__itoa-1.0.18//:itoa\",\n \"@crates__num-bigint-0.5.1//:num_bigint\",\n \"@crates__num-traits-0.2.19//:num_traits\",\n \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n \"@crates__oxc_data_structures-0.144.0//:oxc_data_structures\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_ecmascript\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_estree-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "8275fcb9674a1c320f0bdbc2f534ba9bb09fcb8b1c9fe306c9595d262a06bfcb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_estree/0.144.0/download" + ], + "strip_prefix": "oxc_estree-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_estree\",\n deps = [\n \"@crates__dragonbox_ecma-0.1.12//:dragonbox_ecma\",\n \"@crates__itoa-1.0.18//:itoa\",\n \"@crates__oxc_data_structures-0.144.0//:oxc_data_structures\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serialize\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_estree\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_index-5.0.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "191884bee6c3744909a51acc7d78d4ae370d817b25875b10642f632327b6296e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_index/5.0.0/download" + ], + "strip_prefix": "oxc_index-5.0.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_index\",\n deps = [\n \"@crates__nonmax-0.5.5//:nonmax\",\n \"@crates__serde-1.0.229//:serde\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"nonmax\",\n \"serde\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_index\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"5.0.0\",\n)\n" + } + }, + "crates__oxc_parser-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d13016de81370106ea4065cfabe4a278dc09e82523cfe22bb6a8ab8e993b4c3a", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_parser/0.144.0/download" + ], + "strip_prefix": "oxc_parser-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_parser\",\n deps = [\n \"@crates__bitflags-2.13.2//:bitflags\",\n \"@crates__cow-utils-0.1.3//:cow_utils\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__num-bigint-0.5.1//:num_bigint\",\n \"@crates__num-traits-0.2.19//:num_traits\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n \"@crates__oxc_data_structures-0.144.0//:oxc_data_structures\",\n \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n \"@crates__oxc_ecmascript-0.144.0//:oxc_ecmascript\",\n \"@crates__oxc_regular_expression-0.144.0//:oxc_regular_expression\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_str-0.144.0//:oxc_str\",\n \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n \"@crates__rustc-hash-2.1.3//:rustc_hash\",\n ],\n proc_macro_deps = [\n \"@crates__seq-macro-0.3.6//:seq_macro\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"regular_expression\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_parser\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_regular_expression-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c375b89d88ec03301b0e62528715699551871861197aa39148e95a1422e1ae9b", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_regular_expression/0.144.0/download" + ], + "strip_prefix": "oxc_regular_expression-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_regular_expression\",\n deps = [\n \"@crates__bitflags-2.13.2//:bitflags\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_str-0.144.0//:oxc_str\",\n \"@crates__phf-0.14.0//:phf\",\n \"@crates__rustc-hash-2.1.3//:rustc_hash\",\n \"@crates__unicode-id-start-1.5.0//:unicode_id_start\",\n ],\n proc_macro_deps = [\n \"@crates__oxc_ast_macros-0.144.0//:oxc_ast_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_regular_expression\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_resolver-11.24.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "2c7fd0839a5ecee17c0d2c88c8006e8ab4dff25d4a79e3a0bf7a9f0cce17f4e3", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_resolver/11.24.3/download" + ], + "strip_prefix": "oxc_resolver-11.24.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_resolver\",\n deps = [\n \"@crates__compact_str-0.10.0//:compact_str\",\n \"@crates__dashmap-6.2.1//:dashmap\",\n \"@crates__fast-glob-1.1.2//:fast_glob\",\n \"@crates__indexmap-2.14.2//:indexmap\",\n \"@crates__json-strip-comments-3.1.2//:json_strip_comments\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__nodejs-built-in-modules-1.0.0//:nodejs_built_in_modules\",\n \"@crates__once_cell-1.21.4//:once_cell\",\n \"@crates__percent-encoding-2.3.2//:percent_encoding\",\n \"@crates__rustc-hash-2.1.3//:rustc_hash\",\n \"@crates__serde-1.0.229//:serde\",\n \"@crates__serde_json-1.0.151//:serde_json\",\n \"@crates__simdutf8-0.1.5//:simdutf8\",\n \"@crates__thiserror-2.0.21//:thiserror\",\n \"@crates__tracing-0.1.44//:tracing\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(target_os = \"macos\", target_os = \"linux\"))\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(target_os = \"macos\", target_os = \"linux\"))\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n ],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n ],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n ],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n \"@crates__windows-0.62.2//:windows\", # cfg(target_os = \"windows\")\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(target_os = \"macos\", target_os = \"linux\"))\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(target_os = \"macos\", target_os = \"linux\"))\n \"@crates__self_cell-1.3.0//:self_cell\", # cfg(target_endian = \"little\")\n \"@crates__simd-json-0.18.1//:simd_json\", # cfg(target_endian = \"little\")\n ],\n \"//conditions:default\": [],\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_resolver\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"11.24.3\",\n)\n" + } + }, + "crates__oxc_semantic-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0d8d80604c4220c8f5b1c19682216921397fb45a616db47d3a044474662f0c2e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_semantic/0.144.0/download" + ], + "strip_prefix": "oxc_semantic-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_semantic\",\n deps = [\n \"@crates__itertools-0.15.0//:itertools\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_ast-0.144.0//:oxc_ast\",\n \"@crates__oxc_ast_visit-0.144.0//:oxc_ast_visit\",\n \"@crates__oxc_data_structures-0.144.0//:oxc_data_structures\",\n \"@crates__oxc_diagnostics-0.144.0//:oxc_diagnostics\",\n \"@crates__oxc_ecmascript-0.144.0//:oxc_ecmascript\",\n \"@crates__oxc_index-5.0.0//:oxc_index\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_str-0.144.0//:oxc_str\",\n \"@crates__oxc_syntax-0.144.0//:oxc_syntax\",\n \"@crates__rustc-hash-2.1.3//:rustc_hash\",\n \"@crates__self_cell-1.3.0//:self_cell\",\n \"@crates__smallvec-1.16.2//:smallvec\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_semantic\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_span-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "abd732008dbfb09984106925f7ff7268687c8020b89bd7ee0f0b695c5bb07950", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_span/0.144.0/download" + ], + "strip_prefix": "oxc_span-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_span\",\n deps = [\n \"@crates__compact_str-0.10.0//:compact_str\",\n \"@crates__oxc-miette-4.0.0//:miette\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_estree-0.144.0//:oxc_estree\",\n \"@crates__oxc_str-0.144.0//:oxc_str\",\n \"@crates__serde-1.0.229//:serde\",\n ],\n proc_macro_deps = [\n \"@crates__oxc_ast_macros-0.144.0//:oxc_ast_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serialize\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_span\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_str-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e1d2ccb0f5aa4da9fc98ef70f59553c2779e28e064a8b271fcb1e88c11a63607", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_str/0.144.0/download" + ], + "strip_prefix": "oxc_str-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_str\",\n deps = [\n \"@crates__compact_str-0.10.0//:compact_str\",\n \"@crates__hashbrown-0.17.1//:hashbrown\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_estree-0.144.0//:oxc_estree\",\n \"@crates__serde-1.0.229//:serde\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serialize\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_str\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__oxc_syntax-0.144.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "15ff0e987ab15a71dae36fd544b9859513e76639e2cc6c5e25895081162755b1", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/oxc_syntax/0.144.0/download" + ], + "strip_prefix": "oxc_syntax-0.144.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"oxc_syntax\",\n deps = [\n \"@crates__bitflags-2.13.2//:bitflags\",\n \"@crates__cow-utils-0.1.3//:cow_utils\",\n \"@crates__dragonbox_ecma-0.1.12//:dragonbox_ecma\",\n \"@crates__nonmax-0.5.5//:nonmax\",\n \"@crates__oxc_allocator-0.144.0//:oxc_allocator\",\n \"@crates__oxc_estree-0.144.0//:oxc_estree\",\n \"@crates__oxc_index-5.0.0//:oxc_index\",\n \"@crates__oxc_span-0.144.0//:oxc_span\",\n \"@crates__oxc_str-0.144.0//:oxc_str\",\n \"@crates__phf-0.14.0//:phf\",\n \"@crates__serde-1.0.229//:serde\",\n \"@crates__unicode-id-start-1.5.0//:unicode_id_start\",\n ],\n proc_macro_deps = [\n \"@crates__oxc_ast_macros-0.144.0//:oxc_ast_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"serialize\",\n \"to_js_string\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=oxc_syntax\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.144.0\",\n)\n" + } + }, + "crates__parking_lot_core-0.9.12": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/parking_lot_core/0.9.12/download" + ], + "strip_prefix": "parking_lot_core-0.9.12", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"parking_lot_core\",\n deps = [\n \":build_script_build\",\n \"@crates__cfg-if-1.0.5//:cfg_if\",\n \"@crates__smallvec-1.16.2//:smallvec\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [\n \"@crates__windows-link-0.2.1//:windows_link\", # cfg(windows)\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__libc-0.2.190//:libc\", # cfg(unix)\n ],\n \"//conditions:default\": [],\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=parking_lot_core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.9.12\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"parking_lot_core\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=parking_lot_core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.9.12\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__pathdiff-0.2.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/pathdiff/0.2.3/download" + ], + "strip_prefix": "pathdiff-0.2.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"pathdiff\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=pathdiff\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.3\",\n)\n" + } + }, + "crates__percent-encoding-2.3.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/percent-encoding/2.3.2/download" + ], + "strip_prefix": "percent-encoding-2.3.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"percent_encoding\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=percent-encoding\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.3.2\",\n)\n" + } + }, + "crates__phf-0.14.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/phf/0.14.0/download" + ], + "strip_prefix": "phf-0.14.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"phf\",\n deps = [\n \"@crates__phf_shared-0.14.0//:phf_shared\",\n ],\n proc_macro_deps = [\n \"@crates__phf_macros-0.14.0//:phf_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"macros\",\n \"phf_macros\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=phf\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.0\",\n)\n" + } + }, + "crates__phf_generator-0.14.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/phf_generator/0.14.0/download" + ], + "strip_prefix": "phf_generator-0.14.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"phf_generator\",\n deps = [\n \"@crates__fastrand-2.5.0//:fastrand\",\n \"@crates__phf_shared-0.14.0//:phf_shared\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=phf_generator\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.0\",\n)\n" + } + }, + "crates__phf_macros-0.14.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/phf_macros/0.14.0/download" + ], + "strip_prefix": "phf_macros-0.14.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"phf_macros\",\n deps = [\n \"@crates__phf_generator-0.14.0//:phf_generator\",\n \"@crates__phf_shared-0.14.0//:phf_shared\",\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-2.0.119//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=phf_macros\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.0\",\n)\n" + } + }, + "crates__phf_shared-0.14.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/phf_shared/0.14.0/download" + ], + "strip_prefix": "phf_shared-0.14.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"phf_shared\",\n deps = [\n \"@crates__siphasher-1.0.4//:siphasher\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=phf_shared\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.0\",\n)\n" + } + }, + "crates__pin-project-lite-0.2.17": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/pin-project-lite/0.2.17/download" + ], + "strip_prefix": "pin-project-lite-0.2.17", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"pin_project_lite\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=pin-project-lite\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.17\",\n)\n" + } + }, + "crates__potential_utf-0.1.6": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/potential_utf/0.1.6/download" + ], + "strip_prefix": "potential_utf-0.1.6", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"potential_utf\",\n deps = [\n \"@crates__writeable-0.6.4//:writeable\",\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"writeable\",\n \"zerovec\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=potential_utf\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.6\",\n)\n" + } + }, + "crates__proc-macro2-1.0.107": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/proc-macro2/1.0.107/download" + ], + "strip_prefix": "proc-macro2-1.0.107", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"proc_macro2\",\n deps = [\n \":build_script_build\",\n \"@crates__unicode-ident-1.0.25//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=proc-macro2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.107\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"proc-macro2\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=proc-macro2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.107\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__quote-1.0.47": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/quote/1.0.47/download" + ], + "strip_prefix": "quote-1.0.47", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"quote\",\n deps = [\n \":build_script_build\",\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=quote\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.47\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"quote\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=quote\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.47\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__r-efi-6.0.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/r-efi/6.0.0/download" + ], + "strip_prefix": "r-efi-6.0.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"r_efi\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=r-efi\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"6.0.0\",\n)\n" + } + }, + "crates__redox_syscall-0.5.18": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/redox_syscall/0.5.18/download" + ], + "strip_prefix": "redox_syscall-0.5.18", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"syscall\",\n deps = [\n \"@crates__bitflags-2.13.2//:bitflags\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=redox_syscall\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.5.18\",\n)\n" + } + }, + "crates__ref-cast-1.0.27": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/ref-cast/1.0.27/download" + ], + "strip_prefix": "ref-cast-1.0.27", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"ref_cast\",\n deps = [\n \":build_script_build\",\n ],\n proc_macro_deps = [\n \"@crates__ref-cast-impl-1.0.27//:ref_cast_impl\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ref-cast\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.27\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"ref-cast\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ref-cast\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.27\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__ref-cast-impl-1.0.27": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/ref-cast-impl/1.0.27/download" + ], + "strip_prefix": "ref-cast-impl-1.0.27", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"ref_cast_impl\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ref-cast-impl\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.27\",\n)\n" + } + }, + "crates__regex-1.13.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/regex/1.13.1/download" + ], + "strip_prefix": "regex-1.13.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"regex\",\n deps = [\n \"@crates__aho-corasick-1.1.5//:aho_corasick\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__regex-automata-0.4.18//:regex_automata\",\n \"@crates__regex-syntax-0.8.11//:regex_syntax\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"perf\",\n \"perf-backtrack\",\n \"perf-cache\",\n \"perf-dfa\",\n \"perf-inline\",\n \"perf-literal\",\n \"perf-onepass\",\n \"std\",\n \"unicode\",\n \"unicode-age\",\n \"unicode-bool\",\n \"unicode-case\",\n \"unicode-gencat\",\n \"unicode-perl\",\n \"unicode-script\",\n \"unicode-segment\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=regex\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.13.1\",\n)\n" + } + }, + "crates__regex-automata-0.4.18": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/regex-automata/0.4.18/download" + ], + "strip_prefix": "regex-automata-0.4.18", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"regex_automata\",\n deps = [\n \"@crates__aho-corasick-1.1.5//:aho_corasick\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__regex-syntax-0.8.11//:regex_syntax\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"dfa-onepass\",\n \"hybrid\",\n \"meta\",\n \"nfa-backtrack\",\n \"nfa-pikevm\",\n \"nfa-thompson\",\n \"perf-inline\",\n \"perf-literal\",\n \"perf-literal-multisubstring\",\n \"perf-literal-substring\",\n \"std\",\n \"syntax\",\n \"unicode\",\n \"unicode-age\",\n \"unicode-bool\",\n \"unicode-case\",\n \"unicode-gencat\",\n \"unicode-perl\",\n \"unicode-script\",\n \"unicode-segment\",\n \"unicode-word-boundary\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=regex-automata\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.4.18\",\n)\n" + } + }, + "crates__regex-syntax-0.8.11": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/regex-syntax/0.8.11/download" + ], + "strip_prefix": "regex-syntax-0.8.11", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"regex_syntax\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n \"unicode\",\n \"unicode-age\",\n \"unicode-bool\",\n \"unicode-case\",\n \"unicode-gencat\",\n \"unicode-perl\",\n \"unicode-script\",\n \"unicode-segment\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=regex-syntax\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.8.11\",\n)\n" + } + }, + "crates__rustc-hash-2.1.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/rustc-hash/2.1.3/download" + ], + "strip_prefix": "rustc-hash-2.1.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"rustc_hash\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=rustc-hash\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.1.3\",\n)\n" + } + }, + "crates__rustix-1.1.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/rustix/1.1.5/download" + ], + "strip_prefix": "rustix-1.1.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"rustix\",\n deps = [\n \":build_script_build\",\n \"@crates__bitflags-2.13.2//:bitflags\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"@crates__errno-0.3.14//:errno\", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))\n \"@crates__libc-0.2.190//:libc\", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"@crates__linux-raw-sys-0.12.1//:linux_raw_sys\", # cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))\n ],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [\n \"@crates__errno-0.3.14//:errno\", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))\n \"@crates__libc-0.2.190//:libc\", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))\n ],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [\n \"@crates__errno-0.3.14//:errno\", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))))), wasm32-wasip1\n \"@crates__libc-0.2.190//:libc\", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))))), wasm32-wasip1\n ],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [\n \"@crates__errno-0.3.14//:errno\", # cfg(windows)\n \"@crates__windows-sys-0.61.2//:windows_sys\", # cfg(windows)\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__linux-raw-sys-0.12.1//:linux_raw_sys\", # cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__linux-raw-sys-0.12.1//:linux_raw_sys\", # cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))\n ],\n \"//conditions:default\": [],\n }),\n aliases = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": {\n \"@crates__errno-0.3.14//:errno\": \"libc_errno\", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))\n },\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": {\n \"@crates__errno-0.3.14//:errno\": \"libc_errno\", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\")))))))\n },\n \"@rules_rust//rust/platform:wasm32-wasip1\": {\n \"@crates__errno-0.3.14//:errno\": \"libc_errno\", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_endian = \"little\", any(target_arch = \"s390x\", target_arch = \"powerpc\")), any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc\"), all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), all(rustix_use_experimental_asm, target_arch = \"s390x\"), all(rustix_use_experimental_asm, target_arch = \"mips\"), all(rustix_use_experimental_asm, target_arch = \"mips32r6\"), all(rustix_use_experimental_asm, target_arch = \"mips64\"), all(rustix_use_experimental_asm, target_arch = \"mips64r6\"), target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"))))))), wasm32-wasip1\n },\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": {\n \"@crates__errno-0.3.14//:errno\": \"libc_errno\", # cfg(windows)\n },\n \"//conditions:default\": {},\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"fs\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=rustix\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.1.5\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"fs\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"rustix\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=rustix\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.1.5\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__rustversion-1.0.23": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/rustversion/1.0.23/download" + ], + "strip_prefix": "rustversion-1.0.23", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"rustversion\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=rustversion\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.23\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build/build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2018\",\n pkg_name = \"rustversion\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=rustversion\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.23\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__ryu-1.0.23": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/ryu/1.0.23/download" + ], + "strip_prefix": "ryu-1.0.23", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"ryu\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ryu\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.23\",\n)\n" + } + }, + "crates__scopeguard-1.2.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/scopeguard/1.2.0/download" + ], + "strip_prefix": "scopeguard-1.2.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"scopeguard\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2015\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=scopeguard\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.2.0\",\n)\n" + } + }, + "crates__self_cell-1.3.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/self_cell/1.3.0/download" + ], + "strip_prefix": "self_cell-1.3.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"self_cell\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=self_cell\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.3.0\",\n)\n" + } + }, + "crates__seq-macro-0.3.6": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/seq-macro/0.3.6/download" + ], + "strip_prefix": "seq-macro-0.3.6", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"seq_macro\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=seq-macro\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.6\",\n)\n" + } + }, + "crates__serde-1.0.229": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/serde/1.0.229/download" + ], + "strip_prefix": "serde-1.0.229", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"serde\",\n deps = [\n \":build_script_build\",\n \"@crates__serde_core-1.0.229//:serde_core\",\n ],\n proc_macro_deps = [\n \"@crates__serde_derive-1.0.229//:serde_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"derive\",\n \"serde_derive\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.229\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"derive\",\n \"serde_derive\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"serde\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.229\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__serde_core-1.0.229": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/serde_core/1.0.229/download" + ], + "strip_prefix": "serde_core-1.0.229", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"serde_core\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"result\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde_core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.229\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"result\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"serde_core\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde_core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.229\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__serde_derive-1.0.229": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/serde_derive/1.0.229/download" + ], + "strip_prefix": "serde_derive-1.0.229", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"serde_derive\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde_derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.229\",\n)\n" + } + }, + "crates__serde_json-1.0.151": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/serde_json/1.0.151/download" + ], + "strip_prefix": "serde_json-1.0.151", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"serde_json\",\n deps = [\n \":build_script_build\",\n \"@crates__indexmap-2.14.2//:indexmap\",\n \"@crates__itoa-1.0.18//:itoa\",\n \"@crates__memchr-2.8.3//:memchr\",\n \"@crates__serde_core-1.0.229//:serde_core\",\n \"@crates__zmij-1.0.23//:zmij\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"indexmap\",\n \"preserve_order\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde_json\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.151\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"indexmap\",\n \"preserve_order\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"serde_json\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=serde_json\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.151\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__simd-json-0.18.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "6ebe141eb4a23ecc4d5de93fa5b139ac65dc07c38037a2fe9a8fb7c9d36bd832", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/simd-json/0.18.1/download" + ], + "strip_prefix": "simd-json-0.18.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"simd_json\",\n deps = [\n \"@crates__halfbrown-0.4.0//:halfbrown\",\n \"@crates__simdutf8-0.1.5//:simdutf8\",\n \"@crates__value-trait-0.12.2//:value_trait\",\n ] + select({\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [\n \"@crates__ref-cast-1.0.27//:ref_cast\", # cfg(target_arch = \"x86_64\")\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__ref-cast-1.0.27//:ref_cast\", # cfg(target_arch = \"x86_64\")\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__ref-cast-1.0.27//:ref_cast\", # cfg(target_arch = \"x86_64\")\n ],\n \"//conditions:default\": [],\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"runtime-detection\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=simd-json\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.18.1\",\n)\n" + } + }, + "crates__simdutf8-0.1.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/simdutf8/0.1.5/download" + ], + "strip_prefix": "simdutf8-0.1.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"simdutf8\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"aarch64_neon\",\n \"default\",\n \"public_imp\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=simdutf8\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.5\",\n)\n" + } + }, + "crates__siphasher-1.0.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/siphasher/1.0.4/download" + ], + "strip_prefix": "siphasher-1.0.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"siphasher\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=siphasher\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.4\",\n)\n" + } + }, + "crates__slab-0.4.12": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/slab/0.4.12/download" + ], + "strip_prefix": "slab-0.4.12", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"slab\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=slab\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.4.12\",\n)\n" + } + }, + "crates__smallvec-1.16.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/smallvec/1.16.2/download" + ], + "strip_prefix": "smallvec-1.16.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"smallvec\",\n deps = [\n \"@crates__serde-1.0.229//:serde\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"serde\",\n \"union\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=smallvec\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.16.2\",\n)\n" + } + }, + "crates__smawk-0.3.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e8e2fb0f499abb4d162f2bedad68f5ef91a1682b5a03596ddb67efd37768d100", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/smawk/0.3.3/download" + ], + "strip_prefix": "smawk-0.3.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"smawk\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=smawk\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.3\",\n)\n" + } + }, + "crates__stable_deref_trait-1.2.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/stable_deref_trait/1.2.1/download" + ], + "strip_prefix": "stable_deref_trait-1.2.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"stable_deref_trait\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2015\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=stable_deref_trait\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.2.1\",\n)\n" + } + }, + "crates__static_assertions-1.1.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/static_assertions/1.1.0/download" + ], + "strip_prefix": "static_assertions-1.1.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"static_assertions\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2015\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=static_assertions\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.1.0\",\n)\n" + } + }, + "crates__syn-2.0.119": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/syn/2.0.119/download" + ], + "strip_prefix": "syn-2.0.119", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"syn\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__unicode-ident-1.0.25//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"clone-impls\",\n \"default\",\n \"derive\",\n \"extra-traits\",\n \"full\",\n \"parsing\",\n \"printing\",\n \"proc-macro\",\n \"visit\",\n \"visit-mut\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=syn\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.0.119\",\n)\n" + } + }, + "crates__syn-3.0.6": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/syn/3.0.6/download" + ], + "strip_prefix": "syn-3.0.6", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"syn\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__unicode-ident-1.0.25//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"clone-impls\",\n \"default\",\n \"derive\",\n \"extra-traits\",\n \"fold\",\n \"full\",\n \"parsing\",\n \"printing\",\n \"proc-macro\",\n \"visit\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=syn\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"3.0.6\",\n)\n" + } + }, + "crates__synstructure-0.14.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/synstructure/0.14.0/download" + ], + "strip_prefix": "synstructure-0.14.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"synstructure\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=synstructure\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.0\",\n)\n" + } + }, + "crates__tempfile-3.27.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/tempfile/3.27.0/download" + ], + "strip_prefix": "tempfile-3.27.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"tempfile\",\n deps = [\n \"@crates__fastrand-2.5.0//:fastrand\",\n \"@crates__once_cell-1.21.4//:once_cell\",\n ] + select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [\n \"@crates__getrandom-0.4.3//:getrandom\", # aarch64-apple-darwin\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(unix, target_os = \"wasi\"))\n ],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [\n \"@crates__getrandom-0.4.3//:getrandom\", # aarch64-unknown-linux-gnu\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(unix, target_os = \"wasi\"))\n ],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [\n \"@crates__getrandom-0.4.3//:getrandom\", # wasm32-wasip1\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(unix, target_os = \"wasi\"))\n ],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [\n \"@crates__getrandom-0.4.3//:getrandom\", # x86_64-pc-windows-msvc\n \"@crates__windows-sys-0.61.2//:windows_sys\", # cfg(windows)\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [\n \"@crates__getrandom-0.4.3//:getrandom\", # x86_64-unknown-linux-gnu\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(unix, target_os = \"wasi\"))\n ],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [\n \"@crates__getrandom-0.4.3//:getrandom\", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu\n \"@crates__rustix-1.1.5//:rustix\", # cfg(any(unix, target_os = \"wasi\"))\n ],\n \"//conditions:default\": [],\n }),\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"getrandom\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=tempfile\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"3.27.0\",\n)\n" + } + }, + "crates__textwrap-0.16.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "6ecfad6c3abc80a577f2b91c1e412ee57e7a060d430b553c1b0c940974ebcd49", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/textwrap/0.16.4/download" + ], + "strip_prefix": "textwrap-0.16.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"textwrap\",\n deps = [\n \"@crates__icu_segmenter-2.3.0//:icu_segmenter\",\n \"@crates__smawk-0.3.3//:smawk\",\n \"@crates__unicode-width-0.2.2//:unicode_width\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"icu_segmenter\",\n \"smawk\",\n \"std\",\n \"unicode-linebreak\",\n \"unicode-width\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=textwrap\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.16.4\",\n)\n" + } + }, + "crates__thiserror-2.0.21": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/thiserror/2.0.21/download" + ], + "strip_prefix": "thiserror-2.0.21", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"thiserror\",\n deps = [\n \":build_script_build\",\n ],\n proc_macro_deps = [\n \"@crates__thiserror-impl-2.0.21//:thiserror_impl\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=thiserror\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.0.21\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"thiserror\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=thiserror\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"2.0.21\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__thiserror-impl-2.0.21": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/thiserror-impl/2.0.21/download" + ], + "strip_prefix": "thiserror-impl-2.0.21", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"thiserror_impl\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=thiserror-impl\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.0.21\",\n)\n" + } + }, + "crates__tinystr-0.8.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/tinystr/0.8.4/download" + ], + "strip_prefix": "tinystr-0.8.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"tinystr\",\n deps = [\n \"@crates__zerovec-0.11.8//:zerovec\",\n ],\n proc_macro_deps = [\n \"@crates__displaydoc-0.2.7//:displaydoc\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"zerovec\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=tinystr\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.8.4\",\n)\n" + } + }, + "crates__tracing-0.1.44": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/tracing/0.1.44/download" + ], + "strip_prefix": "tracing-0.1.44", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"tracing\",\n deps = [\n \"@crates__pin-project-lite-0.2.17//:pin_project_lite\",\n \"@crates__tracing-core-0.1.36//:tracing_core\",\n ],\n proc_macro_deps = [\n \"@crates__tracing-attributes-0.1.31//:tracing_attributes\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"attributes\",\n \"default\",\n \"std\",\n \"tracing-attributes\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=tracing\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.44\",\n)\n" + } + }, + "crates__tracing-attributes-0.1.31": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/tracing-attributes/0.1.31/download" + ], + "strip_prefix": "tracing-attributes-0.1.31", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"tracing_attributes\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-2.0.119//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=tracing-attributes\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.31\",\n)\n" + } + }, + "crates__tracing-core-0.1.36": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/tracing-core/0.1.36/download" + ], + "strip_prefix": "tracing-core-0.1.36", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"tracing_core\",\n deps = [\n \"@crates__once_cell-1.21.4//:once_cell\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"once_cell\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=tracing-core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.36\",\n)\n" + } + }, + "crates__unicode-id-start-1.5.0": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0825d2e09dcae814a4273c1e1435979d414ede25b2ee235b1545da6682483765", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/unicode-id-start/1.5.0/download" + ], + "strip_prefix": "unicode-id-start-1.5.0", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"unicode_id_start\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=unicode-id-start\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.5.0\",\n)\n" + } + }, + "crates__unicode-ident-1.0.25": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ab72a15cf68d77cb0987d3684aa8a45c5ef827e8cb49ee2f30bfd7ba2feb519f", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/unicode-ident/1.0.25/download" + ], + "strip_prefix": "unicode-ident-1.0.25", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"unicode_ident\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=unicode-ident\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.25\",\n)\n" + } + }, + "crates__unicode-segmentation-1.13.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/unicode-segmentation/1.13.3/download" + ], + "strip_prefix": "unicode-segmentation-1.13.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"unicode_segmentation\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=unicode-segmentation\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.13.3\",\n)\n" + } + }, + "crates__unicode-width-0.2.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/unicode-width/0.2.2/download" + ], + "strip_prefix": "unicode-width-0.2.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"unicode_width\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"cjk\",\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=unicode-width\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.2\",\n)\n" + } + }, + "crates__utf8_iter-1.0.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/utf8_iter/1.0.4/download" + ], + "strip_prefix": "utf8_iter-1.0.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"utf8_iter\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=utf8_iter\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.4\",\n)\n" + } + }, + "crates__value-trait-0.12.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f3f4b4a98dfe54bc9ed3641af7ffcb837240269627dbd5cb047d13daa39736cc", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/value-trait/0.12.2/download" + ], + "strip_prefix": "value-trait-0.12.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"value_trait\",\n deps = [\n \"@crates__float-cmp-0.10.0//:float_cmp\",\n \"@crates__halfbrown-0.4.0//:halfbrown\",\n \"@crates__itoa-1.0.18//:itoa\",\n \"@crates__ryu-1.0.23//:ryu\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"custom-types\",\n \"default\",\n \"halfbrown\",\n \"runtime-detection\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2024\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=value-trait\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.12.2\",\n)\n" + } + }, + "crates__wasm-bindgen-0.2.121": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/wasm-bindgen/0.2.121/download" + ], + "strip_prefix": "wasm-bindgen-0.2.121", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"wasm_bindgen\",\n deps = [\n \":build_script_build\",\n \"@crates__cfg-if-1.0.5//:cfg_if\",\n \"@crates__once_cell-1.21.4//:once_cell\",\n \"@crates__wasm-bindgen-shared-0.2.121//:wasm_bindgen_shared\",\n ],\n proc_macro_deps = [\n \"@crates__wasm-bindgen-macro-0.2.121//:wasm_bindgen_macro\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=wasm-bindgen\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.121\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n aliases = {\n \"@crates__rustversion-1.0.23//:rustversion\": \"rustversion_compat\",\n },\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"std\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n link_deps = [\n \"@crates__wasm-bindgen-shared-0.2.121//:wasm_bindgen_shared\",\n ],\n edition = \"2021\",\n pkg_name = \"wasm-bindgen\",\n proc_macro_deps = [\n \"@crates__rustversion-1.0.23//:rustversion\",\n ],\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=wasm-bindgen\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.2.121\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__wasm-bindgen-macro-0.2.121": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/wasm-bindgen-macro/0.2.121/download" + ], + "strip_prefix": "wasm-bindgen-macro-0.2.121", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"wasm_bindgen_macro\",\n deps = [\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__wasm-bindgen-macro-support-0.2.121//:wasm_bindgen_macro_support\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=wasm-bindgen-macro\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.121\",\n)\n" + } + }, + "crates__wasm-bindgen-macro-support-0.2.121": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/wasm-bindgen-macro-support/0.2.121/download" + ], + "strip_prefix": "wasm-bindgen-macro-support-0.2.121", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"wasm_bindgen_macro_support\",\n deps = [\n \"@crates__bumpalo-3.20.3//:bumpalo\",\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-2.0.119//:syn\",\n \"@crates__wasm-bindgen-shared-0.2.121//:wasm_bindgen_shared\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=wasm-bindgen-macro-support\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.121\",\n)\n" + } + }, + "crates__wasm-bindgen-shared-0.2.121": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/wasm-bindgen-shared/0.2.121/download" + ], + "strip_prefix": "wasm-bindgen-shared-0.2.121", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"wasm_bindgen_shared\",\n deps = [\n \":build_script_build\",\n \"@crates__unicode-ident-1.0.25//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=wasm-bindgen-shared\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.121\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n links = \"wasm_bindgen\",\n pkg_name = \"wasm-bindgen-shared\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=wasm-bindgen-shared\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"0.2.121\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + }, + "crates__windows-0.62.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows/0.62.2/download" + ], + "strip_prefix": "windows-0.62.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows\",\n deps = [\n \"@crates__windows-collections-0.3.2//:windows_collections\",\n \"@crates__windows-core-0.62.2//:windows_core\",\n \"@crates__windows-future-0.3.2//:windows_future\",\n \"@crates__windows-numerics-0.3.1//:windows_numerics\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"Win32\",\n \"Win32_Foundation\",\n \"Win32_Storage\",\n \"Win32_Storage_FileSystem\",\n \"default\",\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.62.2\",\n)\n" + } + }, + "crates__windows-collections-0.3.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-collections/0.3.2/download" + ], + "strip_prefix": "windows-collections-0.3.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_collections\",\n deps = [\n \"@crates__windows-core-0.62.2//:windows_core\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-collections\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.2\",\n)\n" + } + }, + "crates__windows-core-0.62.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-core/0.62.2/download" + ], + "strip_prefix": "windows-core-0.62.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_core\",\n deps = [\n \"@crates__windows-link-0.2.1//:windows_link\",\n \"@crates__windows-result-0.4.1//:windows_result\",\n \"@crates__windows-strings-0.5.1//:windows_strings\",\n ],\n proc_macro_deps = [\n \"@crates__windows-implement-0.60.2//:windows_implement\",\n \"@crates__windows-interface-0.59.3//:windows_interface\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-core\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.62.2\",\n)\n" + } + }, + "crates__windows-future-0.3.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-future/0.3.2/download" + ], + "strip_prefix": "windows-future-0.3.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_future\",\n deps = [\n \"@crates__windows-core-0.62.2//:windows_core\",\n \"@crates__windows-link-0.2.1//:windows_link\",\n \"@crates__windows-threading-0.2.1//:windows_threading\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-future\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.2\",\n)\n" + } + }, + "crates__windows-implement-0.60.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-implement/0.60.2/download" + ], + "strip_prefix": "windows-implement-0.60.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"windows_implement\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-2.0.119//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-implement\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.60.2\",\n)\n" + } + }, + "crates__windows-interface-0.59.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-interface/0.59.3/download" + ], + "strip_prefix": "windows-interface-0.59.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"windows_interface\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-2.0.119//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-interface\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.59.3\",\n)\n" + } + }, + "crates__windows-link-0.2.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-link/0.2.1/download" + ], + "strip_prefix": "windows-link-0.2.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_link\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-link\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.1\",\n)\n" + } + }, + "crates__windows-numerics-0.3.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-numerics/0.3.1/download" + ], + "strip_prefix": "windows-numerics-0.3.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_numerics\",\n deps = [\n \"@crates__windows-core-0.62.2//:windows_core\",\n \"@crates__windows-link-0.2.1//:windows_link\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-numerics\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.1\",\n)\n" + } + }, + "crates__windows-result-0.4.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-result/0.4.1/download" + ], + "strip_prefix": "windows-result-0.4.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_result\",\n deps = [\n \"@crates__windows-link-0.2.1//:windows_link\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-result\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.4.1\",\n)\n" + } + }, + "crates__windows-strings-0.5.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-strings/0.5.1/download" + ], + "strip_prefix": "windows-strings-0.5.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_strings\",\n deps = [\n \"@crates__windows-link-0.2.1//:windows_link\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-strings\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.5.1\",\n)\n" + } + }, + "crates__windows-sys-0.61.2": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-sys/0.61.2/download" + ], + "strip_prefix": "windows-sys-0.61.2", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_sys\",\n deps = [\n \"@crates__windows-link-0.2.1//:windows_link\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"Win32\",\n \"Win32_Foundation\",\n \"Win32_Storage\",\n \"Win32_Storage_FileSystem\",\n \"default\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-sys\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.61.2\",\n)\n" + } + }, + "crates__windows-threading-0.2.1": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/windows-threading/0.2.1/download" + ], + "strip_prefix": "windows-threading-0.2.1", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"windows_threading\",\n deps = [\n \"@crates__windows-link-0.2.1//:windows_link\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=windows-threading\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.1\",\n)\n" + } + }, + "crates__writeable-0.6.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/writeable/0.6.4/download" + ], + "strip_prefix": "writeable-0.6.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"writeable\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=writeable\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.6.4\",\n)\n" + } + }, + "crates__yoke-0.8.3": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/yoke/0.8.3/download" + ], + "strip_prefix": "yoke-0.8.3", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"yoke\",\n deps = [\n \"@crates__stable_deref_trait-1.2.1//:stable_deref_trait\",\n \"@crates__zerofrom-0.1.8//:zerofrom\",\n ],\n proc_macro_deps = [\n \"@crates__yoke-derive-0.8.4//:yoke_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"derive\",\n \"zerofrom\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=yoke\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.8.3\",\n)\n" + } + }, + "crates__yoke-derive-0.8.4": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/yoke-derive/0.8.4/download" + ], + "strip_prefix": "yoke-derive-0.8.4", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"yoke_derive\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n \"@crates__synstructure-0.14.0//:synstructure\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=yoke-derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.8.4\",\n)\n" + } + }, + "crates__zerofrom-0.1.8": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/zerofrom/0.1.8/download" + ], + "strip_prefix": "zerofrom-0.1.8", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"zerofrom\",\n proc_macro_deps = [\n \"@crates__zerofrom-derive-0.1.8//:zerofrom_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"derive\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zerofrom\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.8\",\n)\n" + } + }, + "crates__zerofrom-derive-0.1.8": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/zerofrom-derive/0.1.8/download" + ], + "strip_prefix": "zerofrom-derive-0.1.8", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"zerofrom_derive\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n \"@crates__synstructure-0.14.0//:synstructure\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zerofrom-derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.1.8\",\n)\n" + } + }, + "crates__zerotrie-0.2.5": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/zerotrie/0.2.5/download" + ], + "strip_prefix": "zerotrie-0.2.5", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"zerotrie\",\n proc_macro_deps = [\n \"@crates__displaydoc-0.2.7//:displaydoc\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zerotrie\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.5\",\n)\n" + } + }, + "crates__zerovec-0.11.8": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/zerovec/0.11.8/download" + ], + "strip_prefix": "zerovec-0.11.8", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"zerovec\",\n deps = [\n \"@crates__yoke-0.8.3//:yoke\",\n \"@crates__zerofrom-0.1.8//:zerofrom\",\n ],\n proc_macro_deps = [\n \"@crates__zerovec-derive-0.11.6//:zerovec_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"derive\",\n \"yoke\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zerovec\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.11.8\",\n)\n" + } + }, + "crates__zerovec-derive-0.11.6": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/zerovec-derive/0.11.6/download" + ], + "strip_prefix": "zerovec-derive-0.11.6", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"zerovec_derive\",\n deps = [\n \"@crates__proc-macro2-1.0.107//:proc_macro2\",\n \"@crates__quote-1.0.47//:quote\",\n \"@crates__syn-3.0.6//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zerovec-derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.11.6\",\n)\n" + } + }, + "crates__zmij-1.0.23": { + "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", + "attributes": { + "patch_args": [], + "patch_tool": "", + "patches": [], + "remote_patch_strip": 1, + "sha256": "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b", + "type": "tar.gz", + "urls": [ + "https://static.crates.io/crates/zmij/1.0.23/download" + ], + "strip_prefix": "zmij-1.0.23", + "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo 'angular'\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"zmij\",\n deps = [\n \":build_script_build\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zmij\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-apple-darwin\": [],\n \"@rules_rust//rust/platform:aarch64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:wasm32-unknown-unknown\": [],\n \"@rules_rust//rust/platform:wasm32-wasip1\": [],\n \"@rules_rust//rust/platform:x86_64-pc-windows-msvc\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.23\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n build_script_env_files = [\n \":cargo_toml_env_vars\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n emit_warnings = False,\n edition = \"2021\",\n pkg_name = \"zmij\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=zmij\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.23\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n" + } + } + } + } + }, + "@@rules_rust+//crate_universe/private:internal_extensions.bzl%cu_nr": { + "general": { + "bzlTransitiveDigest": "XHG7B56UmP1p80V3JuVaU+llNYgJzKzIE2XzGM+VOdY=", + "usagesDigest": "McimNXAztVHDzspa1Kng94T+YeyY/44zx9FkNqIMn2s=", + "recordedInputs": [ + "REPO_MAPPING:apple_support+,bazel_skylib bazel_skylib+", + "REPO_MAPPING:bazel_features+,bazel_features_globals bazel_features++version_extension+bazel_features_globals", + "REPO_MAPPING:bazel_features+,bazel_features_version bazel_features++version_extension+bazel_features_version", + "REPO_MAPPING:rules_cc+,bazel_tools bazel_tools", + "REPO_MAPPING:rules_cc+,cc_compatibility_proxy rules_cc++compatibility_proxy+cc_compatibility_proxy", + "REPO_MAPPING:rules_cc+,rules_cc rules_cc+", + "REPO_MAPPING:rules_cc++compatibility_proxy+cc_compatibility_proxy,rules_cc rules_cc+", + "REPO_MAPPING:rules_rust+,apple_support apple_support+", + "REPO_MAPPING:rules_rust+,bazel_features bazel_features+", + "REPO_MAPPING:rules_rust+,bazel_skylib bazel_skylib+", + "REPO_MAPPING:rules_rust+,bazel_tools bazel_tools", + "REPO_MAPPING:rules_rust+,cui rules_rust++cu+cui", + "REPO_MAPPING:rules_rust+,rrc rules_rust++i2+rrc", + "REPO_MAPPING:rules_rust+,rules_cc rules_cc+", + "REPO_MAPPING:rules_rust+,rules_rust rules_rust+" + ], + "generatedRepoSpecs": { + "cargo_bazel_bootstrap": { + "repoRuleId": "@@rules_rust+//cargo/private:cargo_bootstrap.bzl%cargo_bootstrap_repository", + "attributes": { + "srcs": [ + "@@rules_rust+//crate_universe:src/api.rs", + "@@rules_rust+//crate_universe:src/api/lockfile.rs", + "@@rules_rust+//crate_universe:src/cli.rs", + "@@rules_rust+//crate_universe:src/cli/generate.rs", + "@@rules_rust+//crate_universe:src/cli/query.rs", + "@@rules_rust+//crate_universe:src/cli/render.rs", + "@@rules_rust+//crate_universe:src/cli/splice.rs", + "@@rules_rust+//crate_universe:src/cli/vendor.rs", + "@@rules_rust+//crate_universe:src/config.rs", + "@@rules_rust+//crate_universe:src/config/label_injection.rs", + "@@rules_rust+//crate_universe:src/context.rs", + "@@rules_rust+//crate_universe:src/context/crate_context.rs", + "@@rules_rust+//crate_universe:src/context/platforms.rs", + "@@rules_rust+//crate_universe:src/lib.rs", + "@@rules_rust+//crate_universe:src/lockfile.rs", + "@@rules_rust+//crate_universe:src/main.rs", + "@@rules_rust+//crate_universe:src/metadata.rs", + "@@rules_rust+//crate_universe:src/metadata/cargo_bin.rs", + "@@rules_rust+//crate_universe:src/metadata/cargo_tree_resolver.rs", + "@@rules_rust+//crate_universe:src/metadata/cargo_tree_rustc_wrapper.bat", + "@@rules_rust+//crate_universe:src/metadata/cargo_tree_rustc_wrapper.sh", + "@@rules_rust+//crate_universe:src/metadata/dependency.rs", + "@@rules_rust+//crate_universe:src/metadata/metadata_annotation.rs", + "@@rules_rust+//crate_universe:src/rendering.rs", + "@@rules_rust+//crate_universe:src/rendering/template_engine.rs", + "@@rules_rust+//crate_universe:src/rendering/templates/defs_bzl_shim.j2", + "@@rules_rust+//crate_universe:src/rendering/templates/module_bzl.j2", + "@@rules_rust+//crate_universe:src/rendering/templates/partials/header.j2", + "@@rules_rust+//crate_universe:src/rendering/templates/partials/module/aliases_map.j2", + "@@rules_rust+//crate_universe:src/rendering/templates/partials/module/deps_map.j2", + "@@rules_rust+//crate_universe:src/rendering/templates/partials/module/repo_git.j2", + "@@rules_rust+//crate_universe:src/rendering/templates/partials/module/repo_http.j2", + "@@rules_rust+//crate_universe:src/rendering/verbatim/alias_rules.bzl", + "@@rules_rust+//crate_universe:src/select.rs", + "@@rules_rust+//crate_universe:src/splicing.rs", + "@@rules_rust+//crate_universe:src/splicing/cargo_config.rs", + "@@rules_rust+//crate_universe:src/splicing/crate_index_lookup.rs", + "@@rules_rust+//crate_universe:src/splicing/splicer.rs", + "@@rules_rust+//crate_universe:src/test.rs", + "@@rules_rust+//crate_universe:src/utils.rs", + "@@rules_rust+//crate_universe:src/utils/starlark.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/glob.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/label.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/select.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/select_dict.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/select_list.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/select_scalar.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/select_set.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/serialize.rs", + "@@rules_rust+//crate_universe:src/utils/starlark/target_compatible_with.rs", + "@@rules_rust+//crate_universe:src/utils/symlink.rs", + "@@rules_rust+//crate_universe:src/utils/target_triple.rs" + ], + "binary": "cargo-bazel", + "cargo_lockfile": "@@rules_rust+//crate_universe:Cargo.lock", + "cargo_toml": "@@rules_rust+//crate_universe:Cargo.toml", + "version": "1.98.0", + "rust_toolchain_cargo_template": "@rust_host_tools//:bin/{tool}", + "rust_toolchain_rustc_template": "@rust_host_tools//:bin/{tool}", + "compressed_windows_toolchain_names": false, + "timeout": 900 + } + } + }, + "moduleExtensionMetadata": { + "explicitRootModuleDirectDeps": [ + "cargo_bazel_bootstrap" + ], + "explicitRootModuleDirectDevDeps": [], + "useAllRepos": "NO", + "reproducible": false + } + } + }, "@@rules_sass+//src/toolchain:extensions.bzl%sass": { "general": { "bzlTransitiveDigest": "mOfuR8PsNuUWEq7JZ4MpIRbwyAGAqrCvkXXGaRNnlPQ=", diff --git a/ngp-vscode-ng-language-service/build.js b/ngp-vscode-ng-language-service/build.js new file mode 100644 index 00000000000..1cc04fb6d09 --- /dev/null +++ b/ngp-vscode-ng-language-service/build.js @@ -0,0 +1,91 @@ +const esbuild = require('esbuild'); +const fs = require('fs/promises'); +const path = require('path'); + +const exactExternalPlugin = { + name: 'exact-external', + setup(build) { + const externals = new Set([ + '@angular/compiler', + '@angular/compiler-cli', + '@angular/language-service/api', + ]); + build.onResolve({filter: /^@angular\//}, (args) => { + if (externals.has(args.path)) { + return {path: args.path, external: true}; + } + }); + }, +}; + +async function build() { + // 1. Build Client + console.log('Building client...'); + await esbuild.build({ + entryPoints: [path.join(__dirname, 'client/src/extension.ts')], + bundle: true, + platform: 'node', + format: 'cjs', + outfile: path.join(__dirname, 'dist/client/extension.js'), + external: ['vscode'], + }); + + // 2. Build Server + console.log('Building server...'); + const repoRoot = path.resolve(__dirname, '..'); + await esbuild.build({ + entryPoints: [path.join(__dirname, 'server/src/server.ts')], + bundle: true, + platform: 'node', + format: 'cjs', + nodePaths: [path.join(__dirname, 'node_modules')], + outfile: path.join(__dirname, 'dist/server/server.js'), + external: [ + path.join(__dirname, '../packages/compiler-cli/preprocessor/ng-analyze/index.js'), + path.join(__dirname, '../packages/compiler-cli/preprocessor/ng-analyze-wasm/ng_analyze.js'), + 'typescript', + ], + alias: { + '@angular/compiler-cli/private/hybrid_analysis': path.join( + repoRoot, + 'packages/compiler-cli/private/hybrid_analysis.ts', + ), + '@angular/compiler-cli/private/migrations': path.join( + repoRoot, + 'packages/compiler-cli/private/migrations.ts', + ), + '@angular/compiler-cli': path.join(repoRoot, 'packages/compiler-cli/index.ts'), + '@angular/compiler': path.join(repoRoot, 'packages/compiler/index.ts'), + '@angular/language-service/private': path.join( + repoRoot, + 'packages/language-service/private.ts', + ), + '@angular/language-service/api': path.join(repoRoot, 'packages/language-service/api.ts'), + '@angular/language-service': path.join(repoRoot, 'packages/language-service/api.ts'), + '@angular/core': path.join(repoRoot, 'packages/core/index.ts'), + }, + logOverride: { + 'empty-import-meta': 'silent', + }, + }); + + // 3. Patch Server for import.meta.url compatibility in CJS + console.log('Patching server bundle...'); + const serverOutPath = path.join(__dirname, 'dist/server/server.js'); + let serverContent = await fs.readFile(serverOutPath, 'utf8'); + serverContent = serverContent.replace( + /import_meta(\d*)\.url/g, + "require('url').pathToFileURL(__filename).href", + ); + serverContent = serverContent.replace( + /var import_meta(\d*) = \{\};/g, + "var import_meta$1 = { url: require('url').pathToFileURL(__filename).href };", + ); + await fs.writeFile(serverOutPath, serverContent); + console.log('Successfully patched server bundle.'); +} + +build().catch((err) => { + console.error('Build failed:', err); + process.exit(1); +}); diff --git a/ngp-vscode-ng-language-service/client/package.json b/ngp-vscode-ng-language-service/client/package.json new file mode 100644 index 00000000000..1beee466e93 --- /dev/null +++ b/ngp-vscode-ng-language-service/client/package.json @@ -0,0 +1,17 @@ +{ + "name": "vscode-ng-language-service-client", + "version": "0.0.1", + "private": true, + "main": "out/extension.js", + "scripts": { + "compile": "tsc -p .", + "watch": "tsc -p . -w" + }, + "dependencies": { + "vscode-languageclient": "^10.1.0" + }, + "devDependencies": { + "@types/vscode": "^1.125.0", + "typescript": "5.9.3" + } +} diff --git a/ngp-vscode-ng-language-service/client/src/commands.ts b/ngp-vscode-ng-language-service/client/src/commands.ts new file mode 100644 index 00000000000..fca4ee8541e --- /dev/null +++ b/ngp-vscode-ng-language-service/client/src/commands.ts @@ -0,0 +1,79 @@ +import * as vscode from 'vscode'; +import {LanguageClient} from 'vscode-languageclient/node'; + +export function registerCommands( + context: vscode.ExtensionContext, + client: LanguageClient, + outputChannel: vscode.OutputChannel, +) { + const TCB_HIGHLIGHT_DECORATION = vscode.window.createTextEditorDecorationType({ + backgroundColor: new vscode.ThemeColor('editor.selectionHighlightBackground'), + }); + + const tcbProvider = new TcbContentProvider(); + context.subscriptions.push( + vscode.workspace.registerTextDocumentContentProvider('ng', tcbProvider), + ); + + context.subscriptions.push( + vscode.commands.registerTextEditorCommand('angular.getTemplateTcb', async (textEditor) => { + tcbProvider.clear(); + try { + outputChannel.appendLine('Requesting TCB from server...'); + const response = (await client.sendRequest('angular/getTcb', { + textDocument: client.code2ProtocolConverter.asTextDocumentIdentifier(textEditor.document), + position: client.code2ProtocolConverter.asPosition(textEditor.selection.active), + })) as {uri: string; content: string; selections: any[]} | null; + + if (!response) { + vscode.window.showInformationMessage('No TCB available for this position.'); + return; + } + + outputChannel.appendLine( + `Received TCB response. Content length: ${response.content.length}`, + ); + + const tcbUri = vscode.Uri.parse(response.uri).with({ + scheme: 'ng', + }); + tcbProvider.update(tcbUri, response.content); + const editor = await vscode.window.showTextDocument(tcbUri, { + viewColumn: vscode.ViewColumn.Beside, + preserveFocus: true, + }); + + const selections = response.selections.map((s: any) => { + return new vscode.Range( + new vscode.Position(s.start.line, s.start.character), + new vscode.Position(s.end.line, s.end.character), + ); + }); + + editor.setDecorations(TCB_HIGHLIGHT_DECORATION, selections); + } catch (err) { + vscode.window.showErrorMessage(`Failed to get TCB: ${err}`); + } + }), + ); +} + +class TcbContentProvider implements vscode.TextDocumentContentProvider { + private readonly _onDidChange = new vscode.EventEmitter(); + readonly onDidChange = this._onDidChange.event; + + private readonly uisToContents = new Map(); + + provideTextDocumentContent(uri: vscode.Uri): string | undefined { + return this.uisToContents.get(uri.toString()); + } + + update(uri: vscode.Uri, content: string) { + this.uisToContents.set(uri.toString(), content); + this._onDidChange.fire(uri); + } + + clear() { + this.uisToContents.clear(); + } +} diff --git a/ngp-vscode-ng-language-service/client/src/extension.ts b/ngp-vscode-ng-language-service/client/src/extension.ts new file mode 100644 index 00000000000..3b2ea712c9f --- /dev/null +++ b/ngp-vscode-ng-language-service/client/src/extension.ts @@ -0,0 +1,246 @@ +import * as path from 'path'; +import * as vscode from 'vscode'; +import { + LanguageClient, + LanguageClientOptions, + ServerOptions, + TransportKind, +} from 'vscode-languageclient/node'; +import {registerCommands} from './commands'; +import * as fs from 'node:fs/promises'; + +let client: LanguageClient; + +export async function activate(context: vscode.ExtensionContext) { + const outputChannel = vscode.window.createOutputChannel( + 'Angular Hybrid Language Service Prototype', + {log: true}, + ); + + let tsApiPipe: string | undefined; + try { + const commands = await vscode.commands.getCommands(); + if (commands.includes('typescript.native-preview.initializeAPIConnection')) { + tsApiPipe = await vscode.commands.executeCommand( + 'typescript.native-preview.initializeAPIConnection', + ); + if (tsApiPipe) { + outputChannel.appendLine( + `Reusing existing TypeScript API connection on pipe: ${tsApiPipe}`, + ); + } + } + } catch (err) { + outputChannel.appendLine(`Could not get existing TypeScript API connection: ${err}`); + } + + // The server is implemented in node + const serverModule = context.asAbsolutePath(path.join('dist', 'server', 'server.js')); + + // Define the server options + const serverOptions: ServerOptions = { + run: {module: serverModule, transport: TransportKind.ipc}, + debug: { + module: serverModule, + transport: TransportKind.ipc, + options: { + execArgv: ['--nolazy', '--inspect=6009'], + }, + }, + }; + + // Define client options + const clientOptions: LanguageClientOptions = { + outputChannel, + documentSelector: [ + {scheme: 'file', language: 'html'}, + {scheme: 'file', language: 'typescript'}, + ], + synchronize: { + fileEvents: vscode.workspace.createFileSystemWatcher('**/*.ts'), + }, + initializationOptions: { + tsApiPipe, + }, + }; + + client = new LanguageClient( + 'angularLanguageService', + 'Angular Hybrid Language Service Prototype', + serverOptions, + clientOptions, + ); + + registerCommands(context, client, outputChannel); + + const startAngularClientPromise = client.start().catch((err) => { + outputChannel.appendLine(`Failed to start Angular Language Service: ${err}`); + }); + + const tsGoPath = await resolveTsGoPath(); + + // If we already connected to an existing TypeScript LSP server via tsApiPipe, + // we do not need to launch a separate fallback ts7Client. + // Otherwise, if tsGoPath is available, launch our fallback ts7Client. + if (!tsApiPipe && tsGoPath) { + launchTs7Client(tsGoPath, context); + } +} + +function launchTs7Client(tsGoPath: string, context: vscode.ExtensionContext) { + const isNative = + tsGoPath.includes(`native-preview-${process.platform}-${process.arch}`) || + tsGoPath.endsWith('/tsgo.exe') || + tsGoPath.endsWith('/built/local/tsgo'); + const ts7ServerOptions: ServerOptions = isNative + ? { + command: tsGoPath, + args: ['--lsp', '--stdio'], + } + : { + command: process.execPath, + args: [tsGoPath, '--lsp', '--stdio'], + options: { + env: { + ...process.env, + ELECTRON_RUN_AS_NODE: '1', + }, + }, + }; + + const ts7OutputChannel = vscode.window.createOutputChannel('Angular TS 7 Server', {log: true}); + const ts7ClientOptions: LanguageClientOptions = { + outputChannel: ts7OutputChannel, + documentSelector: [{scheme: 'file', language: 'typescript'}], + middleware: new Proxy( + {}, + { + get(target, prop) { + if ( + typeof prop === 'string' && + (prop.startsWith('provide') || prop.startsWith('resolve')) + ) { + // Return a function that returns undefined to suppress the provider + return () => undefined; + } + // use default behavior + return undefined; + }, + }, + ), + synchronize: { + fileEvents: vscode.workspace.createFileSystemWatcher('**/*.ts'), + }, + }; + + const ts7Client = new LanguageClient( + 'ng-ts-server', + 'Angular TS 7 Server', + ts7ServerOptions, + ts7ClientOptions, + ); + + ts7Client + .start() + .then(async () => { + try { + const res = await ts7Client!.sendRequest<{sessionId: string; pipe: string}>( + 'custom/initializeAPISession', + {}, + ); + if (res?.pipe) { + client.sendNotification('angular/setTsApiPipe', {pipe: res.pipe}); + } + } catch {} + }) + .catch((err) => { + ts7OutputChannel.appendLine(`Failed to start TS 7 Server: ${err}`); + }); + context.subscriptions.push(registerTs7RelayHandlers(client, ts7Client)); +} + +export function deactivate(): Thenable | undefined { + if (!client) { + return undefined; + } + return client.stop(); +} + +function registerTs7RelayHandlers( + angularClient: LanguageClient, + ts7Client: LanguageClient, +): vscode.Disposable { + const disposables: vscode.Disposable[] = []; + + disposables.push( + angularClient.onRequest( + 'angular/sendTsServerRequest', + async (params: {method: string; params: any}) => { + return ts7Client.sendRequest(params.method, params.params); + }, + ), + ); + + disposables.push( + angularClient.onNotification( + 'angular/sendTsServerNotification', + async (params: {method: string; params: any}) => { + ts7Client.sendNotification(params.method, params.params); + }, + ), + ); + + return vscode.Disposable.from(...disposables); +} + +const pathExists = (p: string): Promise => + fs.access(p).then( + () => true, + () => false, + ); + +async function resolveTsGoPath(): Promise { + if (process.env.TSGO_BINARY_PATH) { + return process.env.TSGO_BINARY_PATH; + } + + const workspaceRoot = path.resolve(__dirname, '../../..'); + + const platformName = `@typescript/native-preview-${process.platform}-${process.arch}`; + const localCandidates = [ + path.join(workspaceRoot, 'node_modules', platformName, 'lib', 'tsgo'), + path.join(workspaceRoot, 'node_modules', '@typescript', 'native-preview', 'bin', 'tsgo'), + path.join(workspaceRoot, 'node_modules', '@typescript', 'native-preview', 'bin', 'tsgo.js'), + ]; + + const localResults = await Promise.all( + localCandidates.map(async (candidate) => ((await pathExists(candidate)) ? candidate : null)), + ); + const foundLocal = localResults.find((c): c is string => c !== null); + if (foundLocal) { + return foundLocal; + } + + const tsGoExtension = vscode.extensions.getExtension('typescriptteam.native-preview'); + if (tsGoExtension) { + const extensionPath = tsGoExtension.extensionPath; + const candidates = [ + path.join(extensionPath, 'bin', 'tsgo'), + path.join(extensionPath, 'bin', 'tsgo.exe'), + path.join(extensionPath, 'lib', 'tsgo'), + path.join(extensionPath, 'lib', 'tsgo.exe'), + path.join(extensionPath, 'tsgo'), + path.join(extensionPath, 'tsgo.exe'), + ]; + + const extResults = await Promise.all( + candidates.map(async (candidate) => ((await pathExists(candidate)) ? candidate : null)), + ); + const foundExt = extResults.find((c): c is string => c !== null); + if (foundExt) { + return foundExt; + } + } + + return null; +} diff --git a/ngp-vscode-ng-language-service/client/tsconfig.json b/ngp-vscode-ng-language-service/client/tsconfig.json new file mode 100644 index 00000000000..d1b5de05488 --- /dev/null +++ b/ngp-vscode-ng-language-service/client/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../dist/client", + "rootDir": "src" + }, + "include": ["src/**/*.ts"] +} diff --git a/ngp-vscode-ng-language-service/e2e/build-tests.js b/ngp-vscode-ng-language-service/e2e/build-tests.js new file mode 100644 index 00000000000..db515f5ac19 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/build-tests.js @@ -0,0 +1,31 @@ +const esbuild = require('esbuild'); +const path = require('path'); +const fs = require('fs/promises'); + +const outdir = path.join(__dirname, 'dist'); + +async function build() { + console.log('Building E2E tests...'); + await fs.rm(outdir, {recursive: true, force: true}); + + await esbuild.build({ + entryPoints: [ + path.join(__dirname, 'src/index.ts'), + path.join(__dirname, 'src/hover.ts'), + path.join(__dirname, 'src/getTcb.ts'), + path.join(__dirname, 'src/definition.ts'), + path.join(__dirname, 'src/diagnostics.ts'), + path.join(__dirname, 'src/diagnostics_ext.ts'), + ], + bundle: true, + platform: 'node', + format: 'cjs', + outdir: path.join(__dirname, 'dist'), + external: ['vscode'], + }); +} + +build().catch((err) => { + console.error('Build failed:', err); + process.exit(1); +}); diff --git a/ngp-vscode-ng-language-service/e2e/runTests.js b/ngp-vscode-ng-language-service/e2e/runTests.js new file mode 100644 index 00000000000..bc066cfdba3 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/runTests.js @@ -0,0 +1,24 @@ +const path = require('path'); +const {runTests} = require('@vscode/test-electron'); + +async function main() { + try { + const extensionDevelopmentPath = path.resolve(__dirname, '../'); + const extensionTestsPath = path.resolve(__dirname, './dist/index'); + + // Create workspace for testing + const workspacePath = path.resolve(__dirname, 'test-workspace'); + const userDataDir = path.resolve(__dirname, '../../.vscode-test-user-data'); + + await runTests({ + extensionDevelopmentPath, + extensionTestsPath, + launchArgs: [workspacePath, '--disable-extensions', `--user-data-dir=${userDataDir}`], + }); + } catch (err) { + console.error('Failed to run tests', err); + process.exit(1); + } +} + +main(); diff --git a/ngp-vscode-ng-language-service/e2e/src/definition.ts b/ngp-vscode-ng-language-service/e2e/src/definition.ts new file mode 100644 index 00000000000..11014a88695 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/definition.ts @@ -0,0 +1,93 @@ +import * as vscode from 'vscode'; +import * as assert from 'assert'; +import * as path from 'path'; +import {waitFor} from './utils'; + +export async function run() { + const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; + if (!workspaceRoot) { + throw new Error('No workspace root found'); + } + + const testFilePath = path.join(workspaceRoot, 'app.ts'); + const uri = vscode.Uri.file(testFilePath); + + console.log(`Open file: ${testFilePath}`); + const document = await vscode.workspace.openTextDocument(uri); + await vscode.window.showTextDocument(document); + + // Test 1: Definition of 'name' in template + // Line 34 (0-indexed 33):
Hello {{ name }}
+ // 'n' is at character 18 + const namePosition = new vscode.Position(33, 18); + console.log(`Querying definition for name at Position(33, 18)...`); + + // Wait for server to be ready + const nameDefinitions = await waitFor( + () => + vscode.commands.executeCommand( + 'vscode.executeDefinitionProvider', + uri, + namePosition, + ), + (defs) => !!defs && defs.length > 0, + ); + + assert.ok( + nameDefinitions && nameDefinitions.length > 0, + 'Should return at least one definition for name', + ); + + const nameDef = nameDefinitions[0]; + const nameUri = 'uri' in nameDef ? nameDef.uri : nameDef.targetUri; + const nameRange = 'range' in nameDef ? nameDef.range : nameDef.targetRange; + + console.log(`Definition URI for name: ${nameUri.toString()}`); + console.log(`Definition Range for name: ${nameRange.start.line}:${nameRange.start.character}`); + + assert.strictEqual(nameUri.fsPath, testFilePath, 'Definition should be in the same file'); + // name is declared on line 63 (0-indexed 62): name = 'Angular LS Test'; + assert.strictEqual(nameRange.start.line, 62, 'Definition line should be 62'); + + // Test 2: Definition of 'isSidenavOpen' in click handler + // Line 40 (0-indexed 39): (click)="isSidenavOpen.set(false)" + // 'i' is at character 17 + const sidenavPosition = new vscode.Position(39, 17); + console.log(`Querying definition for isSidenavOpen at Position(39, 17)...`); + const sidenavDefs = await vscode.commands.executeCommand< + vscode.Location[] | vscode.LocationLink[] + >('vscode.executeDefinitionProvider', uri, sidenavPosition); + + assert.ok( + sidenavDefs && sidenavDefs.length > 0, + 'Should return at least one definition for isSidenavOpen', + ); + const sidenavDef = sidenavDefs[0]; + const sidenavUri = 'uri' in sidenavDef ? sidenavDef.uri : sidenavDef.targetUri; + const sidenavRange = 'range' in sidenavDef ? sidenavDef.range : sidenavDef.targetRange; + + assert.strictEqual(sidenavUri.fsPath, testFilePath, 'Definition should be in the same file'); + // isSidenavOpen is declared on line 64 (0-indexed 63): isSidenavOpen = signal(true); + assert.strictEqual(sidenavRange.start.line, 63, 'Definition line should be 63'); + + // Test 3: Definition of 'my-dir-elem' element + // Line 49 (0-indexed 48): + // 'm' is at character 5 + const myDirElemPosition = new vscode.Position(48, 5); + console.log(`Querying definition for my-dir-elem at Position(48, 5)...`); + const myDirElemDefs = await vscode.commands.executeCommand< + vscode.Location[] | vscode.LocationLink[] + >('vscode.executeDefinitionProvider', uri, myDirElemPosition); + + assert.ok( + myDirElemDefs && myDirElemDefs.length > 0, + 'Should return at least one definition for my-dir-elem', + ); + const myDirElemDef = myDirElemDefs[0]; + const myDirElemUri = 'uri' in myDirElemDef ? myDirElemDef.uri : myDirElemDef.targetUri; + const myDirElemRange = 'range' in myDirElemDef ? myDirElemDef.range : myDirElemDef.targetRange; + + assert.strictEqual(myDirElemUri.fsPath, testFilePath, 'Definition should be in the same file'); + // MyDirElemComponent starts at class declaration on line 73 (0-indexed 72) + assert.strictEqual(myDirElemRange.start.line, 72, 'Definition line should be 72'); +} diff --git a/ngp-vscode-ng-language-service/e2e/src/diagnostics.ts b/ngp-vscode-ng-language-service/e2e/src/diagnostics.ts new file mode 100644 index 00000000000..57ed637f01a --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/diagnostics.ts @@ -0,0 +1,258 @@ +import * as vscode from 'vscode'; +import * as assert from 'assert'; +import * as path from 'path'; +import * as fs from 'fs/promises'; +import {waitFor} from './utils'; + +export async function run() { + const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; + if (!workspaceRoot) { + throw new Error('No workspace root found'); + } + + await runCleanStateTest(workspaceRoot); + await runSingleDiagnosticTest(workspaceRoot); + await runMultipleDiagnosticsTest(workspaceRoot); + await runDiagnosticsSideFileTest(workspaceRoot); +} + +async function runCleanStateTest(workspaceRoot: string) { + const testFilePath = path.join(workspaceRoot, 'diagnostics_clean_test.ts'); + const uri = vscode.Uri.file(testFilePath); + + const fileContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-diag-clean-test', + template: '
Hello World
', + standalone: true, + }) + export class AppDiagCleanTestComponent {} + `; + + console.log(`Creating clean file: ${testFilePath}`); + await fs.writeFile(testFilePath, fileContent); + + try { + console.log(`Open clean file: ${testFilePath}`); + const document = await vscode.workspace.openTextDocument(uri); + await vscode.window.showTextDocument(document); + + await new Promise((resolve) => setTimeout(resolve, 2000)); + + console.log(`Checking for no diagnostics...`); + const diagnostics = vscode.languages.getDiagnostics(uri); + const filteredDiagnostics = diagnostics.filter( + (d) => !d.message.includes('_t1') && !d.message.includes('Identifier expected'), + ); + console.log(`Found diagnostics: ${diagnostics.map((d) => d.message).join(', ')}`); + console.log(`Filtered diagnostics: ${filteredDiagnostics.map((d) => d.message).join(', ')}`); + assert.strictEqual( + filteredDiagnostics.length, + 0, + `Should return zero diagnostics for clean file after filtering noise, but found: ${filteredDiagnostics.map((d) => d.message).join(', ')}`, + ); + console.log('Clean state test passed!'); + } finally { + await vscode.commands.executeCommand('workbench.action.closeAllEditors'); + await cleanupFile(testFilePath); + } +} + +async function runSingleDiagnosticTest(workspaceRoot: string) { + const testFilePath = path.join(workspaceRoot, 'diagnostics_single_test.ts'); + const uri = vscode.Uri.file(testFilePath); + + const fileContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-diag-single-test', + template: '
{{ nonExistentProp }}
', + standalone: true, + }) + export class AppDiagSingleTestComponent {} + `; + + console.log(`Creating file with single error: ${testFilePath}`); + await fs.writeFile(testFilePath, fileContent); + + try { + console.log(`Open file: ${testFilePath}`); + const document = await vscode.workspace.openTextDocument(uri); + await vscode.window.showTextDocument(document); + + await new Promise((resolve) => setTimeout(resolve, 2000)); + + console.log('Making dummy edit...'); + await vscode.window.activeTextEditor?.edit((editBuilder) => { + editBuilder.insert(new vscode.Position(0, 0), '// Dummy comment\n'); + }); + await document.save(); + + console.log(`Waiting for diagnostics...`); + const diagnostics = await waitFor( + () => vscode.languages.getDiagnostics(uri), + (diags) => diags.length > 0, + {timeout: 10000}, + ); + + assert.ok(diagnostics.length > 0, 'Should return at least one diagnostic'); + const found = diagnostics.find((d) => d.message.includes('nonExistentProp')); + assert.ok(found, 'Should find a diagnostic mentioning nonExistentProp'); + console.log('Single diagnostic test passed!'); + } finally { + await vscode.commands.executeCommand('workbench.action.closeAllEditors'); + await cleanupFile(testFilePath); + } +} + +async function runMultipleDiagnosticsTest(workspaceRoot: string) { + const testFilePath = path.join(workspaceRoot, 'diagnostics_multi_test.ts'); + const uri = vscode.Uri.file(testFilePath); + + const fileContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-diag-multi-test', + template: '
{{ prop1 }}
{{ prop2 }}
', + standalone: true, + }) + export class AppDiagMultiTestComponent {} + `; + + console.log(`Creating file with multiple errors: ${testFilePath}`); + await fs.writeFile(testFilePath, fileContent); + + try { + console.log(`Open file: ${testFilePath}`); + const document = await vscode.workspace.openTextDocument(uri); + await vscode.window.showTextDocument(document); + + await new Promise((resolve) => setTimeout(resolve, 2000)); + + console.log('Making dummy edit...'); + await vscode.window.activeTextEditor?.edit((editBuilder) => { + editBuilder.insert(new vscode.Position(0, 0), '// Dummy comment\n'); + }); + await document.save(); + + console.log(`Waiting for diagnostics...`); + const diagnostics = await waitFor( + () => vscode.languages.getDiagnostics(uri), + (diags) => diags.length >= 2, + {timeout: 10000}, + ); + + assert.ok(diagnostics.length >= 2, 'Should return at least two diagnostics'); + const found1 = diagnostics.find((d) => d.message.includes('prop1')); + const found2 = diagnostics.find((d) => d.message.includes('prop2')); + assert.ok(found1, 'Should find a diagnostic mentioning prop1'); + assert.ok(found2, 'Should find a diagnostic mentioning prop2'); + console.log('Multiple diagnostics test passed!'); + } finally { + await vscode.commands.executeCommand('workbench.action.closeAllEditors'); + await cleanupFile(testFilePath); + } +} + +async function runDiagnosticsSideFileTest(workspaceRoot: string) { + const tsFilePath = path.join(workspaceRoot, 'app_diag_side_test.ts'); + const htmlFilePath = path.join(workspaceRoot, 'app_diag_side_test.html'); + const tsUri = vscode.Uri.file(tsFilePath); + const htmlUri = vscode.Uri.file(htmlFilePath); + + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-diag-side-test', + templateUrl: './app_diag_side_test.html', + standalone: true, + }) + export class AppDiagSideTestComponent {} + `; + const templateContent = '
{{ nonExistentProp }}
'; + + console.log(`Creating side-file test files`); + await Promise.all([ + fs.writeFile(tsFilePath, appTsContent), + fs.writeFile(htmlFilePath, templateContent), + ]); + + try { + console.log(`Open file: ${tsFilePath}`); + const document = await vscode.workspace.openTextDocument(tsUri); + await vscode.window.showTextDocument(document); + + const htmlDoc = await vscode.workspace.openTextDocument(htmlUri); + await vscode.window.showTextDocument(htmlDoc); + + await new Promise((resolve) => setTimeout(resolve, 2000)); + + console.log('Making dummy edit to trigger analysis...'); + const dummyEdit = new vscode.WorkspaceEdit(); + dummyEdit.insert(tsUri, new vscode.Position(0, 0), '// Dummy comment\n'); + await vscode.workspace.applyEdit(dummyEdit); + await document.save(); + + console.log(`Waiting for diagnostics on HTML file...`); + const htmlDiagnostics = await waitFor( + () => vscode.languages.getDiagnostics(htmlUri), + (diags) => diags.length > 0, + {timeout: 10000}, + ); + + assert.ok(htmlDiagnostics.length > 0, 'Should return at least one diagnostic for HTML file'); + assert.ok( + htmlDiagnostics.some((d) => d.message.includes('nonExistentProp')), + 'Should find a diagnostic mentioning nonExistentProp on HTML file', + ); + + // Now fix the error by changing template or adding property. + const fixedTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-diag-side-test', + templateUrl: './app_diag_side_test.html', + standalone: true, + }) + export class AppDiagSideTestComponent { + nonExistentProp = 'hello'; + } + `; + + console.log('Applying fix to TS file...'); + const fixEdit = new vscode.WorkspaceEdit(); + const fullRange = new vscode.Range( + document.positionAt(0), + document.positionAt(document.getText().length), + ); + fixEdit.replace(tsUri, fullRange, fixedTsContent); + await vscode.workspace.applyEdit(fixEdit); + await document.save(); + + // Show HTML document and trigger re-evaluation + const htmlEditor = await vscode.window.showTextDocument(htmlDoc); + await htmlEditor.edit((editBuilder) => { + editBuilder.insert(new vscode.Position(0, 0), ' '); + }); + await htmlDoc.save(); + + console.log(`Waiting for diagnostics on HTML file to clear...`); + const clearedDiagnostics = await waitFor( + () => vscode.languages.getDiagnostics(htmlUri), + (diags) => diags.length === 0, + {timeout: 10000}, + ); + + assert.strictEqual(clearedDiagnostics.length, 0, 'Should clear diagnostics for HTML file'); + console.log('Side-file diagnostic test passed!'); + } finally { + await vscode.commands.executeCommand('workbench.action.closeAllEditors'); + await Promise.all([cleanupFile(tsFilePath), cleanupFile(htmlFilePath)]); + } +} + +async function cleanupFile(filePath: string) { + console.log(`Cleaning up file: ${filePath}`); + await fs.rm(filePath, {force: true}); +} diff --git a/ngp-vscode-ng-language-service/e2e/src/diagnostics_ext.ts b/ngp-vscode-ng-language-service/e2e/src/diagnostics_ext.ts new file mode 100644 index 00000000000..c8e0dadb72c --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/diagnostics_ext.ts @@ -0,0 +1,73 @@ +import * as vscode from 'vscode'; +import * as assert from 'assert'; +import * as path from 'path'; +import * as fs from 'fs/promises'; +import {waitFor} from './utils'; + +export async function run() { + const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; + if (!workspaceRoot) { + throw new Error('No workspace root found'); + } + + const extTsFilePath = path.join(workspaceRoot, 'diagnostics_ext_test.ts'); + const extTsUri = vscode.Uri.file(extTsFilePath); + const extHtmlFilePath = path.join(workspaceRoot, 'diagnostics_ext_test.html'); + const extHtmlUri = vscode.Uri.file(extHtmlFilePath); + + const extTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-diag-ext-test', + templateUrl: './diagnostics_ext_test.html', + standalone: true, + }) + export class AppDiagExtTestComponent { + name: string = "hello"; + } + `; + + const extHtmlContent = `
{{ nonExistentProp }}
`; + + console.log(`Creating files: ${extHtmlFilePath}, ${extTsFilePath}`); + await Promise.all([ + fs.writeFile(extHtmlFilePath, extHtmlContent), + fs.writeFile(extTsFilePath, extTsContent), + ]); + + try { + console.log(`Open external test TS file: ${extTsFilePath}`); + const tsDoc = await vscode.workspace.openTextDocument(extTsUri); + await vscode.window.showTextDocument(tsDoc); + + // Wait for server to analyze TS file + await new Promise((resolve) => setTimeout(resolve, 2000)); + + console.log(`Open external test HTML file: ${extHtmlFilePath}`); + const htmlDoc = await vscode.workspace.openTextDocument(extHtmlUri); + await vscode.window.showTextDocument(htmlDoc); + + console.log(`Waiting for diagnostics on HTML file...`); + const diagnostics = await waitFor( + () => vscode.languages.getDiagnostics(extHtmlUri), + (diags) => diags.length > 0, + {timeout: 10000}, + ); + + assert.ok(diagnostics.length > 0, 'Should return at least one diagnostic'); + + const found = diagnostics.find((d) => d.message.includes('nonExistentProp')); + assert.ok( + found, + `Should find a diagnostic mentioning nonExistentProp. Available diagnostics: ${diagnostics.map((d) => d.message).join(', ')}`, + ); + + console.log(`Found expected diagnostic: ${found.message}`); + assert.strictEqual(found.range.start.line, 0, 'Diagnostic should be on line 0 (template)'); + } finally { + console.log(`Cleaning up files...`); + await vscode.commands.executeCommand('workbench.action.closeAllEditors'); + + await Promise.all([fs.rm(extTsFilePath, {force: true}), fs.rm(extHtmlFilePath, {force: true})]); + } +} diff --git a/ngp-vscode-ng-language-service/e2e/src/getTcb.ts b/ngp-vscode-ng-language-service/e2e/src/getTcb.ts new file mode 100644 index 00000000000..b167eae7995 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/getTcb.ts @@ -0,0 +1,53 @@ +import * as vscode from 'vscode'; +import * as path from 'path'; +import * as assert from 'assert'; +import {waitFor} from './utils'; + +export async function run() { + console.log('Running TCB tests...'); + + const workspaceRoot = vscode.workspace.workspaceFolders?.[0].uri.fsPath; + if (!workspaceRoot) { + throw new Error('No workspace folder found'); + } + + const appComponentUri = vscode.Uri.file(path.join(workspaceRoot, 'app.ts')); + const document = await vscode.workspace.openTextDocument(appComponentUri); + const editor = await vscode.window.showTextDocument(document); + + // Position inside the template (e.g., inside 'track $index' or 'name') + // Line 34 is @for... let's use line 33 (0-indexed) for $index + const position = new vscode.Position(33, 20); // $index + editor.selection = new vscode.Selection(position, position); + + console.log('Executing angular.getTemplateTcb command...'); + await vscode.commands.executeCommand('angular.getTemplateTcb'); + + console.log('Waiting for TCB document to open...'); + // Poll for the TCB document to open + const tcbEditor = await waitFor( + () => vscode.window.visibleTextEditors.find((e) => e.document.uri.scheme === 'ng'), + (editor) => !!editor, + ); + + assert.ok(tcbEditor, 'Expected a TCB editor to be open with scheme "ng"'); + + const content = tcbEditor.document.getText(); + assert.ok(content.length > 0, 'Expected TCB content to be non-empty'); + + // Strict assertions + assert.ok( + content.match(/function\s+.*AppComponent/), + 'Expected TCB to contain the component Type Check Function', + ); + assert.ok( + content.includes('.routes'), + 'Expected TCB to reference component properties used in the template (routes)', + ); + assert.ok( + content.includes('RouterLinkStub'), + 'Expected TCB to reference directive types used in the template (RouterLinkStub)', + ); + + console.log('TCB tests passed!'); +} diff --git a/ngp-vscode-ng-language-service/e2e/src/hover.ts b/ngp-vscode-ng-language-service/e2e/src/hover.ts new file mode 100644 index 00000000000..9aebcb96bdf --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/hover.ts @@ -0,0 +1,352 @@ +import * as vscode from 'vscode'; +import * as assert from 'assert'; +import * as path from 'path'; +import {waitFor} from './utils'; + +export async function run() { + const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; + if (!workspaceRoot) { + throw new Error('No workspace root found'); + } + + const testFilePath = path.join(workspaceRoot, 'app.ts'); + const uri = vscode.Uri.file(testFilePath); + + console.log(`Open file: ${testFilePath}`); + const document = await vscode.workspace.openTextDocument(uri); + await vscode.window.showTextDocument(document); + + // Position of 'route' declaration (line 35, character 12) -> 0-indexed line 34 + const routeParamPosition = new vscode.Position(34, 12); + console.log(`Querying hover for route param at Position(34, 12)...`); + // Check if Angular LS is ready + // Poll for hover results to wait for server to start + const routeParamHovers = await waitFor( + () => + vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + routeParamPosition, + ), + (hovers) => !!hovers && hovers.length > 0, + ); + + assert.ok( + routeParamHovers && routeParamHovers.length > 0, + 'Should return at least one hover for route param', + ); + const routeParamHover = routeParamHovers[0]; + const routeParamValue = (routeParamHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for route param: ${routeParamValue}`); + assert.ok(routeParamValue.includes('title'), 'Hover should include type info for route param'); + + // Position of '$index' (line 35, character 33) -> 0-indexed line 34 + const indexPosition = new vscode.Position(34, 33); + console.log(`Querying hover for $index at Position(34, 33)...`); + const indexHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + indexPosition, + ); + + assert.ok(indexHovers && indexHovers.length > 0, 'Should return at least one hover for $index'); + const indexHover = indexHovers[0]; + const indexValue = (indexHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for $index: ${indexValue}`); + assert.ok( + indexValue.includes('number') || indexValue.includes('unknown'), + 'Hover should include type info for $index', + ); + + const titlePosition = new vscode.Position(43, 60); + console.log(`Querying hover for route.title at Position(43, 60)...`); + const titleHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + titlePosition, + ); + + assert.ok( + titleHovers && titleHovers.length > 0, + 'Should return at least one hover for route.title', + ); + const titleHover = titleHovers[0]; + const titleValue = (titleHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for route.title: ${titleValue}`); + assert.ok(titleValue.includes('string'), 'Hover should include type info for title'); + + // Position of 'isSidenavOpen' in click handler (line 36, character 90) -> 0-indexed line 35 + const sidenavPosition = new vscode.Position(39, 20); + console.log(`Querying hover for isSidenavOpen click at Position(39, 20)...`); + const sidenavHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + sidenavPosition, + ); + + assert.ok( + sidenavHovers && sidenavHovers.length > 0, + 'Should return at least one hover for isSidenavOpen click', + ); + const sidenavHover = sidenavHovers[0]; + const sidenavValue = (sidenavHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for isSidenavOpen click: ${sidenavValue}`); + assert.ok( + sidenavValue.includes('signal') || sidenavValue.includes('WritableSignal'), + 'Hover should include type info for click', + ); + + // Position of 'set' in click handler (line 40, character 33) -> 0-indexed line 39 + const methodCallPosition = new vscode.Position(39, 32); + console.log(`Querying hover for isSidenavOpen.set at Position(39, 32)...`); + const methodCallHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + methodCallPosition, + ); + assert.ok( + methodCallHovers && methodCallHovers.length > 0, + 'Should return at least one hover for isSidenavOpen.set', + ); + const methodCallHover = methodCallHovers[0]; + const methodCallValue = (methodCallHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for isSidenavOpen.set: ${methodCallValue}`); + assert.ok(methodCallValue.includes('set(value'), 'Hover should include method type info'); + + // SafePropertyRead 'data' in 'route?.data' (line 43, character 33) -> 0-indexed line 42 + const safePropReadPosition = new vscode.Position(42, 32); + console.log(`Querying hover for route?.data at Position(42, 32)...`); + + // Let's get the TCB and log it! + await vscode.commands.executeCommand('angular.getTemplateTcb'); + const tcbEditor = await waitFor( + () => vscode.window.visibleTextEditors.find((e) => e.document.uri.scheme === 'ng'), + (editor) => !!editor, + ); + if (tcbEditor) { + console.log(`[DEBUG] TCB Content:\n${tcbEditor.document.getText()}`); + } + + const safePropReadHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + safePropReadPosition, + ); + assert.ok( + safePropReadHovers && safePropReadHovers.length > 0, + 'Should return at least one hover for route?.data', + ); + const safePropReadHover = safePropReadHovers[0]; + const safePropReadValue = (safePropReadHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for route?.data: ${safePropReadValue}`); + assert.ok( + safePropReadValue.includes('icon: string'), + 'Hover should include object type info for data', + ); + + // Hover over routerLink (line 38, character 15) -> 0-indexed line 37, char 14 + const routerLinkPosition = new vscode.Position(37, 14); + console.log(`Querying hover for routerLink at Position(37, 14)...`); + const routerLinkHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + routerLinkPosition, + ); + assert.ok( + routerLinkHovers && routerLinkHovers.length > 0, + 'Should return at least one hover for routerLink', + ); + const routerLinkHover = routerLinkHovers[0]; + const routerLinkValue = (routerLinkHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for routerLink: ${routerLinkValue}`); + assert.ok( + routerLinkValue.includes('(property) RouterLinkStub.routerLink'), + `Hover for routerLink should show property info, got: ${routerLinkValue}`, + ); + + // Test for directive element hover in the same file (at the end) + const myDirElemPosition = new vscode.Position(48, 5); + console.log(`Querying hover for my-dir-elem at Position(48, 5)...`); + const myDirElemHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + myDirElemPosition, + ); + assert.ok( + myDirElemHovers && myDirElemHovers.length > 0, + 'Should return at least one hover for my-dir-elem', + ); + const myDirElemHover = myDirElemHovers[0]; + const myDirElemValue = (myDirElemHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for my-dir-elem: ${myDirElemValue}`); + assert.ok( + myDirElemValue.includes('(directive) MyDirElemComponent') || + myDirElemValue.includes('(component) MyDirElemComponent'), + `Hover for my-dir-elem should show component info, got: ${myDirElemValue}`, + ); + + // Test for external template + const externalHtmlFilePath = path.join(workspaceRoot, 'external.html'); + const externalUri = vscode.Uri.file(externalHtmlFilePath); + console.log(`Open file: ${externalHtmlFilePath}`); + const externalDocument = await vscode.workspace.openTextDocument(externalUri); + await vscode.window.showTextDocument(externalDocument); + + // Position of 'externalTitle' in external.html (line 0, character 20) + const externalTitlePosition = new vscode.Position(0, 20); + console.log(`Querying hover for externalTitle at Position(0, 20)...`); + + const externalHovers = await waitFor( + () => + vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + externalUri, + externalTitlePosition, + ), + (hovers) => !!hovers && hovers.length > 0, + ); + + assert.ok( + externalHovers && externalHovers.length > 0, + 'Should return at least one hover for externalTitle', + ); + const externalHover = externalHovers[0]; + const externalValue = (externalHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for externalTitle: ${externalValue}`); + assert.ok( + externalValue.includes('externalTitle') || externalValue.includes('string'), + 'Hover should include type info for externalTitle', + ); + + // Test for attribute directive hover + const myAttrPosition = new vscode.Position(49, 9); + console.log(`Querying hover for myAttr at Position(49, 9)...`); + const myAttrHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + myAttrPosition, + ); + assert.ok(myAttrHovers && myAttrHovers.length > 0, 'Should return at least one hover for myAttr'); + const myAttrHover = myAttrHovers[0]; + const myAttrValue = (myAttrHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for myAttr: ${myAttrValue}`); + assert.ok( + myAttrValue.includes('(directive) MyAttrDirective'), + `Hover for myAttr should show directive info, got: ${myAttrValue}`, + ); + + // Test for mat-list-item component hover (matched by attribute) - Inside @for + const matListItemPosition = new vscode.Position(36, 15); + console.log(`Querying hover for mat-list-item at Position(36, 15)...`); + const matListItemHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + matListItemPosition, + ); + assert.ok( + matListItemHovers && matListItemHovers.length > 0, + 'Should return at least one hover for mat-list-item inside @for', + ); + const matListItemHover = matListItemHovers[0]; + const matListItemValue = (matListItemHover.contents[0] as vscode.MarkdownString).value; + console.log(`Hover value for mat-list-item inside @for: ${matListItemValue}`); + + // Test for mat-list-item component hover (matched by attribute) - Outside @for + const matListItemOutsidePosition = new vscode.Position(47, 10); + console.log(`Querying hover for mat-list-item at Position(47, 10)...`); + const matListItemOutsideHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + matListItemOutsidePosition, + ); + assert.ok( + matListItemOutsideHovers && matListItemOutsideHovers.length > 0, + 'Should return at least one hover for mat-list-item outside @for', + ); + const matListItemOutsideValue = (matListItemOutsideHovers[0].contents[0] as vscode.MarkdownString) + .value; + console.log(`Hover value for mat-list-item outside @for: ${matListItemOutsideValue}`); + + // Assertions + assert.ok( + matListItemValue.includes('MatListItemStub'), + `Hover for mat-list-item inside @for should show component info, got: ${matListItemValue}`, + ); + assert.ok( + matListItemOutsideValue.includes('MatListItemStub'), + `Hover for mat-list-item outside @for should show component info, got: ${matListItemOutsideValue}`, + ); + + // Test for regular TS class hover (should yield to built-in TS server) + // Position of 'AppComponent' at line 62, character 15 -> 0-indexed line 61 + const classPosition = new vscode.Position(61, 15); + console.log(`Waiting for TS server to settle...`); + await new Promise((resolve) => setTimeout(resolve, 3000)); + console.log(`Querying hover for AppComponent class at Position(61, 15)...`); + const classHovers = await vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + uri, + classPosition, + ); + + console.log(`Class hover count: ${classHovers ? classHovers.length : 0}`); + + assert.ok( + !classHovers || classHovers.length <= 1, + `Expected at most 1 hover for regular TS class, but found ${classHovers ? classHovers.length : 0}`, + ); + + // Scenario: Incremental hover with isolated inline template + console.log(`Testing incremental hover with isolated inline template...`); + + const incFilePath = path.join(workspaceRoot, 'incremental.ts'); + const incUri = vscode.Uri.file(incFilePath); + + console.log(`Open file: ${incFilePath}`); + const incDocument = await vscode.workspace.openTextDocument(incUri); + await vscode.window.showTextDocument(incDocument); + + const incEditor = vscode.window.visibleTextEditors.find((e) => + e.document.uri.fsPath.endsWith('incremental.ts'), + ); + assert.ok(incEditor, 'Should find editor for incremental.ts'); + + const incNamePosition = new vscode.Position(4, 27); + + const initialHovers = await waitFor( + () => + vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + incUri, + incNamePosition, + ), + (hovers) => !!hovers && hovers.length > 0, + ); + + const initialValue = (initialHovers[0].contents[0] as vscode.MarkdownString).value; + console.log(`Initial hover value for name in incremental.ts: ${initialValue}`); + assert.ok(initialValue.includes('string'), 'Hover should include type string'); + + await incEditor.edit((editBuilder) => { + const line = incEditor.document.lineAt(8); + editBuilder.replace(line.range, ' name = 123;'); + }); + + const updatedHovers = await waitFor( + () => + vscode.commands.executeCommand( + 'vscode.executeHoverProvider', + incUri, + incNamePosition, + ), + (hovers) => { + if (!hovers || hovers.length === 0) return false; + const val = (hovers[0].contents[0] as vscode.MarkdownString).value; + return val.includes('number'); + }, + ); + + const updatedValue = (updatedHovers[0].contents[0] as vscode.MarkdownString).value; + console.log(`Updated hover value for name in incremental.ts: ${updatedValue}`); + assert.ok(updatedValue.includes('number'), 'Hover should reflect virtual content (number)'); +} diff --git a/ngp-vscode-ng-language-service/e2e/src/index.ts b/ngp-vscode-ng-language-service/e2e/src/index.ts new file mode 100644 index 00000000000..092b6cb848a --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/index.ts @@ -0,0 +1,21 @@ +import * as path from 'path'; +import * as fs from 'fs/promises'; + +export async function run(): Promise { + console.log('Starting E2E tests...'); + const testsRoot = path.resolve(__dirname); + const entries = await fs.readdir(testsRoot); + const files = entries.filter((f) => f.endsWith('.js') && f !== 'index.js'); + + console.log(`Found ${files.length} test files to run...`); + + // Run tests sequentially and wait for them if they are async + for (const file of files) { + const testPath = path.join(testsRoot, file); + console.log(`Running test: ${file}`); + const testModule = require(testPath); + if (testModule.run) { + await testModule.run(); + } + } +} diff --git a/ngp-vscode-ng-language-service/e2e/src/utils.ts b/ngp-vscode-ng-language-service/e2e/src/utils.ts new file mode 100644 index 00000000000..ed2c6ed31b2 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/src/utils.ts @@ -0,0 +1,22 @@ +export interface WaitForOptions { + timeout?: number; + interval?: number; +} + +export async function waitFor( + action: () => PromiseLike | T, + isValid: (result: T) => boolean, + options: WaitForOptions = {}, +): Promise { + const timeout = options.timeout ?? 5000; + const interval = options.interval ?? 100; + const startTime = Date.now(); + while (Date.now() - startTime < timeout) { + const result = await action(); + if (isValid(result)) { + return result; + } + await new Promise((resolve) => setTimeout(resolve, interval)); + } + throw new Error(`Timed out waiting for condition after ${timeout}ms`); +} diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/app.ts b/ngp-vscode-ng-language-service/e2e/test-workspace/app.ts new file mode 100644 index 00000000000..6395782bdba --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/app.ts @@ -0,0 +1,82 @@ +import {Component, Directive, Input, signal} from '@angular/core'; +import {MyAttrDirective} from './my-attr.directive'; +import {MatListItemStub} from './mat-list-item.component'; + +@Directive({ + selector: '[routerLink]', + standalone: true, +}) +export class RouterLinkStub { + @Input() routerLink: any; +} + +@Directive({ + selector: '[routerLinkActive]', + standalone: true, +}) +export class RouterLinkActiveStub { + @Input() routerLinkActive: any; +} + +@Directive({ + selector: '[ngSrc]', + standalone: true, +}) +export class NgSrcStub { + @Input() ngSrc: any; + @Input() width: any; + @Input() height: any; +} + +@Component({ + selector: 'app-root', + template: ` +
Hello {{ name }}
+ @for (route of routes; track $index) { + + + + } +
Test outside for
+ +
+ `, + standalone: true, + imports: [ + RouterLinkStub, + RouterLinkActiveStub, + NgSrcStub, + MyDirElemComponent, + MyAttrDirective, + MatListItemStub, + ], +}) +export class AppComponent { + name = 'Angular LS Test'; + isSidenavOpen = signal(true); + routes = [{path: 'home', title: 'Home', data: {icon: 'home'}}]; +} + +@Component({ + selector: 'my-dir-elem', + standalone: true, + template: `
My Dir Elem
`, +}) +export class MyDirElemComponent {} + +@Component({ + selector: 'app-external', + templateUrl: './external.html', + standalone: true, +}) +export class ExternalComponent { + externalTitle = 'External Template Works!'; +} diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/directive_hover.ts b/ngp-vscode-ng-language-service/e2e/test-workspace/directive_hover.ts new file mode 100644 index 00000000000..83b0f263998 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/directive_hover.ts @@ -0,0 +1,19 @@ +import {Component, signal} from '@angular/core'; + +@Component({ + selector: 'my-dir-elem', + standalone: true, + template: `
My Dir Elem
`, +}) +export class MyDirElemComponent {} + +@Component({ + selector: 'app-root', + template: ` +
Hello
+ + `, + standalone: true, + imports: [MyDirElemComponent], +}) +export class AppComponent {} diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/external.html b/ngp-vscode-ng-language-service/e2e/test-workspace/external.html new file mode 100644 index 00000000000..f5c2bc8d7d8 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/external.html @@ -0,0 +1 @@ +
Hello from {{ externalTitle }}
diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/incremental.ts b/ngp-vscode-ng-language-service/e2e/test-workspace/incremental.ts new file mode 100644 index 00000000000..8647885dc8f --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/incremental.ts @@ -0,0 +1,10 @@ +import {Component} from '@angular/core'; + +@Component({ + selector: 'app-isolated-inc', + template: '
Hello {{ name }}
', + standalone: true, +}) +export class IsolatedIncComponent { + name = 'Angular LS Test'; +} diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/mat-list-item.component.ts b/ngp-vscode-ng-language-service/e2e/test-workspace/mat-list-item.component.ts new file mode 100644 index 00000000000..49b0ad386f8 --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/mat-list-item.component.ts @@ -0,0 +1,10 @@ +import {Component, Input} from '@angular/core'; + +@Component({ + selector: '[mat-list-item]', + standalone: true, + template: '', +}) +export class MatListItemStub { + @Input() activated: boolean = false; +} diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/my-attr.directive.ts b/ngp-vscode-ng-language-service/e2e/test-workspace/my-attr.directive.ts new file mode 100644 index 00000000000..d87b3e6376d --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/my-attr.directive.ts @@ -0,0 +1,7 @@ +import {Directive} from '@angular/core'; + +@Directive({ + selector: '[myAttr]', + standalone: true, +}) +export class MyAttrDirective {} diff --git a/ngp-vscode-ng-language-service/e2e/test-workspace/tsconfig.json b/ngp-vscode-ng-language-service/e2e/test-workspace/tsconfig.json new file mode 100644 index 00000000000..03bdfbd624a --- /dev/null +++ b/ngp-vscode-ng-language-service/e2e/test-workspace/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../../../tsconfig.json", + "compilerOptions": { + "rootDir": ".", + "moduleResolution": "bundler" + }, + "include": ["*.ts"] +} diff --git a/ngp-vscode-ng-language-service/package.json b/ngp-vscode-ng-language-service/package.json new file mode 100644 index 00000000000..abed8c6ada1 --- /dev/null +++ b/ngp-vscode-ng-language-service/package.json @@ -0,0 +1,172 @@ +{ + "name": "ngp-vscode-ng-language-service", + "displayName": "Angular Hybrid Language Service Prototype", + "description": "Prototype for Angular Language Service using hybrid preprocessor", + "version": "0.0.1", + "private": true, + "license": "MIT", + "publisher": "atscott", + "engines": { + "vscode": "^1.75.0" + }, + "categories": [ + "Programming Languages" + ], + "contributes": { + "grammars": [ + { + "path": "./syntaxes/inline-template.json", + "scopeName": "inline-template.ng", + "injectTo": [ + "source.ts" + ], + "embeddedLanguages": { + "text.html.derivative": "html", + "source.css": "css", + "source.js": "javascript" + } + }, + { + "path": "./syntaxes/inline-styles.json", + "scopeName": "inline-styles.ng", + "injectTo": [ + "source.ts" + ], + "embeddedLanguages": { + "source.css.scss": "scss" + } + }, + { + "path": "./syntaxes/template.json", + "scopeName": "template.ng", + "injectTo": [ + "text.html.derivative", + "source.ts" + ], + "embeddedLanguages": { + "text.html": "html", + "source.css": "css", + "expression.ng": "javascript" + } + }, + { + "path": "./syntaxes/template-blocks.json", + "scopeName": "template.blocks.ng", + "injectTo": [ + "text.html.derivative", + "source.ts" + ], + "embeddedLanguages": { + "text.html": "html", + "control.block.expression.ng": "javascript", + "control.block.body.ng": "html" + } + }, + { + "path": "./syntaxes/let-declaration.json", + "scopeName": "template.let.ng", + "injectTo": [ + "text.html.derivative", + "source.ts" + ] + }, + { + "path": "./syntaxes/host-object-literal.json", + "scopeName": "host-object-literal.ng", + "injectTo": [ + "source.ts" + ], + "embeddedLanguages": { + "text.html.derivative": "html", + "expression.ng": "javascript", + "source.ts": "typescript" + } + }, + { + "path": "./syntaxes/template-tag.json", + "scopeName": "template.tag.ng", + "injectTo": [ + "text.html.derivative", + "source.ts" + ], + "embeddedLanguages": { + "template.tag.ng": "angular-tag-comment" + } + }, + { + "path": "./syntaxes/expression.json", + "scopeName": "expression.ng" + } + ], + "languages": [ + { + "id": "angular-tag-comment", + "configuration": "./syntaxes/template-tag-language-configuration.json" + } + ], + "commands": [ + { + "command": "angular.getTemplateTcb", + "title": "View Template Typecheck Block", + "category": "Angular" + } + ], + "submenus": [ + { + "id": "angular.submenu", + "label": "Angular" + } + ], + "menus": { + "commandPalette": [ + { + "command": "angular.getTemplateTcb", + "when": "!virtualWorkspace" + } + ], + "editor/context": [ + { + "submenu": "angular.submenu", + "group": "angular" + } + ], + "angular.submenu": [ + { + "when": "(resourceLangId == html || resourceLangId == typescript) && !virtualWorkspace", + "command": "angular.getTemplateTcb", + "group": "debug" + } + ] + } + }, + "activationEvents": [ + "onLanguage:html", + "onLanguage:typescript", + "onStartupFinished" + ], + "main": "./dist/client/extension.js", + "scripts": { + "compile": "tsc -p client --noEmit && tsc -p server --noEmit && node build.js", + "typecheck": "tsc -p client --noEmit && tsc -p server --noEmit && tsc -p tests --noEmit", + "test:lsp": "pnpm run compile && node tests/run_jasmine.mjs", + "test": "pnpm run compile && pnpm run test:lsp && node e2e/build-tests.js && node e2e/runTests.js", + "watch": "pnpm --prefix client run watch & pnpm --prefix server run watch" + }, + "dependencies": { + "@typescript/native-preview": "7.0.0-dev.20260707.2", + "vscode-languageclient": "^10.1.0", + "vscode-languageserver": "^10.1.0", + "vscode-languageserver-textdocument": "^1.0.12", + "vscode-jsonrpc": "^9.0.1", + "vscode-uri": "^3.1.0" + }, + "devDependencies": { + "@types/jasmine": "^6.0.0", + "@types/node": "^20.14.8", + "@types/vscode": "^1.125.0", + "@vscode/test-electron": "^3.1.0", + "esbuild": "^0.25.0", + "jasmine": "^7.0.0", + "typescript": "5.9.3" + } +} diff --git a/ngp-vscode-ng-language-service/server/package.json b/ngp-vscode-ng-language-service/server/package.json new file mode 100644 index 00000000000..d636865daf9 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/package.json @@ -0,0 +1,19 @@ +{ + "name": "vscode-ng-language-service-server", + "version": "0.0.1", + "private": true, + "main": "out/server.js", + "scripts": { + "compile": "tsc -p .", + "watch": "tsc -p . -w" + }, + "dependencies": { + "@typescript/native-preview": "7.0.0-dev.20260707.2", + "vscode-languageserver": "^10.1.0", + "vscode-languageserver-textdocument": "^1.0.12", + "vscode-uri": "^3.1.0" + }, + "devDependencies": { + "typescript": "6.0.2" + } +} diff --git a/ngp-vscode-ng-language-service/server/src/diagnostic_publisher.ts b/ngp-vscode-ng-language-service/server/src/diagnostic_publisher.ts new file mode 100644 index 00000000000..db7a820bfdc --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/diagnostic_publisher.ts @@ -0,0 +1,117 @@ +import {Connection} from 'vscode-languageserver/node'; +import {URI} from 'vscode-uri'; +import {fileURLToPath} from 'node:url'; +import {canonicalizePath as normalizePath} from '../../../packages/compiler-cli/preprocessor/language-service/src/utils.js'; + +async function normalizeUri(uri: string): Promise { + try { + const filePath = fileURLToPath(uri); + return URI.file(await normalizePath(filePath)).toString(); + } catch { + return uri; + } +} + +export class DiagnosticPublisher { + /** Target URIs (normalized) that currently have active push diagnostics published on the client. */ + private activePushedUris = new Map(); // normUri -> originalUri + + /** Maps normalized source analysis URI -> Map of normalized target URI to original target URI. */ + private pushedBySource = new Map>(); + + constructor(private connection: Connection) {} + + /** + * Clears push diagnostics for a specific URI if it currently has active push diagnostics. + */ + async clearPush(uri: string) { + const norm = await normalizeUri(uri); + const originalUri = this.activePushedUris.get(norm) || uri; + if (this.activePushedUris.delete(norm)) { + this.connection.console.log(`[SERVER] Clearing push diagnostics for ${originalUri}`); + this.connection.sendNotification('textDocument/publishDiagnostics', { + uri: originalUri, + diagnostics: [], + }); + } + } + + /** + * Updates push diagnostics for secondary files and returns the diagnostics for the pulled file. + */ + async update( + sourceUri: string, + pullUri: string, + mappedDiagnostics: Record, + ): Promise { + const normSourceUri = await normalizeUri(sourceUri); + const normPullUri = await normalizeUri(pullUri); + + const previousPushed = this.pushedBySource.get(normSourceUri) || new Map(); + const currentPushed = new Map(); + let pullItems: any[] = []; + + // Clear push diagnostics on the pulled file itself so pull response owns it cleanly + await this.clearPush(pullUri); + + for (const [filePath, diagnostics] of Object.entries(mappedDiagnostics)) { + const targetUri = URI.file(filePath).toString(); + const normTargetUri = await normalizeUri(targetUri); + + if (normTargetUri === normPullUri) { + pullItems = diagnostics; + continue; + } + + this.connection.console.log(`[SERVER] Pushing diagnostics for ${targetUri}`); + this.connection.sendNotification('textDocument/publishDiagnostics', { + uri: targetUri, + diagnostics, + }); + + if (diagnostics.length > 0) { + this.activePushedUris.set(normTargetUri, targetUri); + currentPushed.set(normTargetUri, targetUri); + } else { + this.activePushedUris.delete(normTargetUri); + } + } + + // Clean up any secondary files that this source previously pushed to but no longer has diagnostics for + for (const [normStale, origStale] of previousPushed) { + if (!currentPushed.has(normStale)) { + await this.clearPush(origStale); + } + } + + if (currentPushed.size > 0) { + this.pushedBySource.set(normSourceUri, currentPushed); + } else { + this.pushedBySource.delete(normSourceUri); + } + + return pullItems; + } + + /** + * Clears all push diagnostics associated with a file (both received by it and sent by it), + * and publishes empty diagnostics for this URI to ensure the client clears it on close. + */ + async clearAllFor(uri: string) { + const norm = await normalizeUri(uri); + // Send empty diagnostics for uri + this.connection.sendNotification('textDocument/publishDiagnostics', { + uri, + diagnostics: [], + }); + this.activePushedUris.delete(norm); + + const pushed = this.pushedBySource.get(norm); + if (pushed) { + for (const targetUri of pushed.values()) { + await this.clearPush(targetUri); + } + this.pushedBySource.delete(norm); + } + } +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/completion.ts b/ngp-vscode-ng-language-service/server/src/handlers/completion.ts new file mode 100644 index 00000000000..8b4ae8e5136 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/completion.ts @@ -0,0 +1,48 @@ +import {CompletionParams, CompletionList, CompletionItem} from 'vscode-languageserver'; +import {HandlerContext, getDocumentContext} from './utils.js'; + +export async function onCompletion( + params: CompletionParams, + context: HandlerContext, +): Promise { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + return await context.languageService.getCompletionsAtPosition( + filePath, + offset, + params.position, + fileContent, + ); +} + +export async function onCompletionResolve( + item: CompletionItem, + context: HandlerContext, +): Promise { + const data = item.data as + {filePath?: string; position?: {line: number; character: number}; offset?: number} | undefined; + if (data?.filePath && data?.position) { + let fileContent: string; + try { + fileContent = context.languageService.hybridCompiler.getFileContent(data.filePath); + } catch { + return item; + } + const offset = data.offset ?? 0; + const resolved = await context.languageService.getCompletionEntryDetails( + data.filePath, + offset, + data.position, + fileContent, + item, + ); + if (resolved) { + return resolved; + } + } + return item; +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/definition.ts b/ngp-vscode-ng-language-service/server/src/handlers/definition.ts new file mode 100644 index 00000000000..90bdd916e97 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/definition.ts @@ -0,0 +1,21 @@ +import {DefinitionParams, Definition, LocationLink} from 'vscode-languageserver'; +import {HandlerContext, getDocumentContext} from './utils.js'; + +export {HandlerContext}; + +export async function onDefinition(params: DefinitionParams, context: HandlerContext) { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + const result = await context.languageService.getDefinition( + filePath, + offset, + params.position, + fileContent, + ); + + return result as Definition | LocationLink[] | null; +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/hover.ts b/ngp-vscode-ng-language-service/server/src/handlers/hover.ts new file mode 100644 index 00000000000..32d0416d305 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/hover.ts @@ -0,0 +1,36 @@ +import {HandlerContext, getDocumentContext} from './utils.js'; +import {offsetToPosition} from '../../../../packages/compiler-cli/preprocessor/src/tcb_ls_util.js'; + +export async function onHover(params: any, context: HandlerContext) { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + const result = await context.languageService.getHover( + filePath, + offset, + params.position, + fileContent, + ); + + if (!result) { + return null; + } + + const range = result.span + ? { + start: offsetToPosition(fileContent, result.span.start), + end: offsetToPosition(fileContent, result.span.start + result.span.length), + } + : undefined; + + return { + contents: { + kind: 'markdown' as const, + value: result.text, + }, + range, + }; +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/references.ts b/ngp-vscode-ng-language-service/server/src/handlers/references.ts new file mode 100644 index 00000000000..f5f624f3451 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/references.ts @@ -0,0 +1,28 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +import {ReferenceParams, Location} from 'vscode-languageserver'; +import {HandlerContext, getDocumentContext} from './utils.js'; + +export async function onReferences( + params: ReferenceParams, + context: HandlerContext, +): Promise { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + return await context.languageService.getReferencesAtPosition( + filePath, + offset, + params.position, + fileContent, + ); +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/rename.ts b/ngp-vscode-ng-language-service/server/src/handlers/rename.ts new file mode 100644 index 00000000000..1aaab626ed0 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/rename.ts @@ -0,0 +1,76 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +import { + PrepareRenameParams, + RenameParams, + WorkspaceEdit, + TextEdit, + Range, +} from 'vscode-languageserver'; +import {HandlerContext, getDocumentContext} from './utils.js'; + +export async function onPrepareRename( + params: PrepareRenameParams, + context: HandlerContext, +): Promise { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + const info = await context.languageService.getRenameInfo( + filePath, + offset, + params.position, + fileContent, + ); + + if (info && info.canRename && info.range) { + return { + range: info.range, + placeholder: info.displayName ?? '', + }; + } + + return null; +} + +export async function onRename( + params: RenameParams, + context: HandlerContext, +): Promise { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + const locations = await context.languageService.findRenameLocations( + filePath, + offset, + params.position, + fileContent, + ); + + if (!locations || locations.length === 0) { + return null; + } + + const changes: {[uri: string]: TextEdit[]} = {}; + for (const loc of locations) { + changes[loc.uri] ??= []; + changes[loc.uri].push({ + range: loc.range, + newText: params.newName, + }); + } + + return {changes}; +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/signature.ts b/ngp-vscode-ng-language-service/server/src/handlers/signature.ts new file mode 100644 index 00000000000..08e8337da9b --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/signature.ts @@ -0,0 +1,29 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +import {SignatureHelpParams, SignatureHelp} from 'vscode-languageserver'; +import {HandlerContext, getDocumentContext} from './utils.js'; + +export async function onSignatureHelp( + params: SignatureHelpParams, + context: HandlerContext, +): Promise { + const docContext = getDocumentContext(context, params.textDocument.uri, params.position); + if (!docContext) { + return null; + } + + const {filePath, fileContent, offset} = docContext; + return await context.languageService.getSignatureHelp( + filePath, + offset, + params.position, + fileContent, + params.context, + ); +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/tcb.ts b/ngp-vscode-ng-language-service/server/src/handlers/tcb.ts new file mode 100644 index 00000000000..a810f5da741 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/tcb.ts @@ -0,0 +1,20 @@ +import {fileURLToPath} from 'node:url'; +import {HandlerContext} from './utils.js'; + +export async function onGetTcb(params: any, context: HandlerContext) { + if (!params.textDocument?.uri?.startsWith('file:')) { + return null; + } + + const filePath = fileURLToPath(params.textDocument.uri); + const result = await context.languageService.getTcb(filePath, params.position); + if (!result) { + return null; + } + + return { + uri: params.textDocument.uri, + content: result.code, + selections: result.selections, + }; +} diff --git a/ngp-vscode-ng-language-service/server/src/handlers/utils.ts b/ngp-vscode-ng-language-service/server/src/handlers/utils.ts new file mode 100644 index 00000000000..e7331db4cf4 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/handlers/utils.ts @@ -0,0 +1,56 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +import {Position, TextDocuments, Connection} from 'vscode-languageserver'; +import {TextDocument} from 'vscode-languageserver-textdocument'; +import {fileURLToPath} from 'node:url'; +import {LanguageService} from '../../../../packages/compiler-cli/preprocessor/language-service/src/language_service.js'; +import {positionToOffset} from '../../../../packages/compiler-cli/preprocessor/src/tcb_ls_util.js'; + +export interface HandlerContext { + workspaceRoot: string; + languageService: LanguageService; + connection: Connection; + documents: TextDocuments; +} + +export interface DocumentContext { + filePath: string; + fileContent: string; + offset: number; +} + +export function getDocumentContext( + context: HandlerContext, + uri: string, + position: Position, +): DocumentContext | null { + if (!uri.startsWith('file:')) { + return null; + } + + const filePath = fileURLToPath(uri); + const doc = context.documents.get(uri); + if (doc) { + return { + filePath, + fileContent: doc.getText(), + offset: doc.offsetAt(position), + }; + } + + let fileContent: string; + try { + fileContent = context.languageService.hybridCompiler.getFileContent(filePath); + } catch { + return null; + } + + const offset = positionToOffset(fileContent, position); + return {filePath, fileContent, offset}; +} diff --git a/ngp-vscode-ng-language-service/server/src/project_manager.ts b/ngp-vscode-ng-language-service/server/src/project_manager.ts new file mode 100644 index 00000000000..62e6dcdda80 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/project_manager.ts @@ -0,0 +1,280 @@ +import * as fs from 'node:fs/promises'; +import {readConfiguration} from '@angular/compiler-cli'; +import {API, Snapshot} from '@typescript/native-preview/unstable/async'; +import {HybridCompiler} from '../../../packages/compiler-cli/preprocessor/src/hybrid_compiler.js'; +import {NapiAnalyzer} from '../../../packages/compiler-cli/preprocessor/src/analyzer_napi.js'; +import {buildTypeCheckingConfig} from '../../../packages/compiler-cli/preprocessor/src/tcb'; +import {LanguageService} from '../../../packages/compiler-cli/preprocessor/language-service/src/language_service'; +import {TsGoFacade} from '../../../packages/compiler-cli/preprocessor/language-service/src/facade'; +import { + FileInvalidation, + FileUpdateType, +} from '../../../packages/compiler-cli/preprocessor/src/types.js'; +import {canonicalizePath as normalizePath} from '../../../packages/compiler-cli/preprocessor/language-service/src/utils.js'; + +export interface ProjectInstance { + tsconfigPath: string; + hybridCompiler: HybridCompiler; + languageService: LanguageService; + rootNames: Set; +} + +export interface ProjectManagerOptions { + facade: TsGoFacade; + api?: API; + nodeModulesPathOverride?: string; + onLog?: (msg: string) => void; + onError?: (msg: string) => void; +} + +export class ProjectManager { + private projects = new Map(); + private pendingProjects = new Map>(); + private facade: TsGoFacade; + private api?: API; + private currentSnapshot?: Snapshot; + private nodeModulesPathOverride?: string; + private log: (msg: string) => void; + private err: (msg: string) => void; + + constructor(options: ProjectManagerOptions) { + this.facade = options.facade; + this.api = options.api; + this.nodeModulesPathOverride = options.nodeModulesPathOverride; + this.log = options.onLog ?? (() => {}); + this.err = options.onError ?? (() => {}); + } + + setApi(api: API): void { + this.api = api; + this.currentSnapshot = undefined; + } + + getApi(): API | undefined { + return this.api; + } + + getLoadedProjects(): readonly ProjectInstance[] { + return Array.from(this.projects.values()); + } + + async getLoadedProject(tsconfigPath: string): Promise { + return this.projects.get(await normalizePath(tsconfigPath)); + } + + async getProjectForFile(filePath: string): Promise { + const normFilePath = await normalizePath(filePath); + + if (normFilePath.endsWith('.json')) { + return this.getOrCreateProject(normFilePath); + } + + // 1. Check if any already-loaded project owns this file (HTML template or TS source) + const loadedProjects = Array.from(this.projects.values()); + if (!normFilePath.endsWith('.html')) { + for (const project of loadedProjects) { + if (project.rootNames.has(normFilePath)) { + return project; + } + } + } else { + for (const project of loadedProjects) { + if (project.hybridCompiler.getTsFileForTemplate(normFilePath)) { + return project; + } + } + await Promise.all(loadedProjects.map((p) => p.hybridCompiler.ensureReady())); + for (const project of loadedProjects) { + if (project.hybridCompiler.getTsFileForTemplate(normFilePath)) { + return project; + } + } + } + + // 2. Resolve owning tsconfig (TS-Go automatically resolves solution configs to leaf projects) + const tsconfigPath = await this.resolveTsconfigPath(normFilePath); + if (!tsconfigPath) { + return null; + } + + const project = await this.getOrCreateProject(tsconfigPath); + if (!project) { + return null; + } + + // 3. Verify template ownership for HTML files + if ( + normFilePath.endsWith('.html') && + !project.hybridCompiler.getTsFileForTemplate(normFilePath) + ) { + return null; + } + + if (!normFilePath.endsWith('.html')) { + project.rootNames.add(normFilePath); + } + + return project; + } + + private async getOrCreateProject(tsconfigPath: string): Promise { + const normPath = await normalizePath(tsconfigPath); + const existing = this.projects.get(normPath); + if (existing) { + return existing; + } + if (this.pendingProjects.has(normPath)) { + return this.pendingProjects.get(normPath)!; + } + const creationPromise = this.createProject(normPath); + this.pendingProjects.set(normPath, creationPromise); + try { + return await creationPromise; + } finally { + this.pendingProjects.delete(normPath); + } + } + + private async createProject(rawTsconfigPath: string): Promise { + const tsconfigPath = await normalizePath(rawTsconfigPath); + if (!(await pathExists(tsconfigPath))) { + this.log(`tsconfig does not exist: ${tsconfigPath}`); + return null; + } + + this.log(`Initializing HybridCompiler for ${tsconfigPath}...`); + try { + const config = readConfiguration(tsconfigPath); + const tcbConfig = buildTypeCheckingConfig(config.options, true); + + const analyzer = await NapiAnalyzer.create(tsconfigPath, { + nodeModulesPathOverride: this.nodeModulesPathOverride, + }); + + const hybridCompiler = new HybridCompiler(analyzer, { + tcbConfig, + templateParseOptions: { + preserveWhitespaces: true, + preserveLineEndings: true, + preserveSignificantWhitespace: true, + leadingTriviaChars: [], + }, + legacyOptionalChaining: config.options?.legacyOptionalChaining, + }); + + await hybridCompiler.init(); + + const languageService = new LanguageService(hybridCompiler, this.facade); + const rootNames = new Set(await Promise.all(config.rootNames.map((f) => normalizePath(f)))); + const project: ProjectInstance = { + tsconfigPath, + hybridCompiler, + languageService, + rootNames, + }; + + this.projects.set(tsconfigPath, project); + this.log(`Project initialized for ${tsconfigPath} (${rootNames.size} files)`); + + return project; + } catch (e) { + this.err(`Failed to initialize HybridCompiler for ${tsconfigPath}: ${e}`); + return null; + } + } + + private async resolveTsconfigPath(filePath: string): Promise { + const normFilePath = await normalizePath(filePath); + if (!this.api) { + return null; + } + + try { + let targetPath = normFilePath; + if (normFilePath.endsWith('.html')) { + targetPath = normFilePath.replace(/\.html$/, '.ts'); + if (!(await this.facade.isDocumentOpen(targetPath))) { + const content = await fs.readFile(targetPath, 'utf8').catch(() => null); + if (content !== null) { + await this.facade.ensureDocument(targetPath, content); + } + } + } + + this.currentSnapshot = await this.api.updateSnapshot(); + const defaultProject = await this.currentSnapshot.getDefaultProjectForFile(targetPath); + if (defaultProject?.configFileName && (await pathExists(defaultProject.configFileName))) { + return await normalizePath(defaultProject.configFileName); + } + } catch {} + + return null; + } + + async updateFileContent(updates: {filePath: string; content: string}[]): Promise { + const updatesPerCompiler = new Map(); + + for (const update of updates) { + if (update.filePath.endsWith('.ngtypecheck.ts')) { + continue; + } + + const project = await this.getProjectForFile(update.filePath); + const compilers = project + ? [project.hybridCompiler] + : Array.from(this.projects.values()).map((p) => p.hybridCompiler); + + for (const compiler of compilers) { + const list = updatesPerCompiler.get(compiler) ?? []; + list.push(update); + updatesPerCompiler.set(compiler, list); + } + } + + await Promise.all( + Array.from(updatesPerCompiler.entries()).map(([compiler, compilerUpdates]) => + compiler.updateFileContent(compilerUpdates), + ), + ); + } + + async invalidateFiles(invalidations: FileInvalidation[]): Promise { + for (const inv of invalidations) { + const normInvPath = await normalizePath(inv.filePath); + if (normInvPath.endsWith('.json') && inv.updateType === FileUpdateType.Deleted) { + if (this.projects.has(normInvPath)) { + this.log(`Disposing project for deleted config: ${normInvPath}`); + this.projects.delete(normInvPath); + } + } + if (inv.updateType === FileUpdateType.Deleted) { + for (const project of this.projects.values()) { + project.rootNames.delete(normInvPath); + } + } + } + + await Promise.all( + Array.from(this.projects.values()).map((project) => + project.hybridCompiler.invalidateFiles(invalidations), + ), + ); + } + + async onDidClose(filePath: string): Promise { + const project = await this.getProjectForFile(filePath); + const compilers = project + ? [project.hybridCompiler] + : Array.from(this.projects.values()).map((p) => p.hybridCompiler); + await Promise.all( + compilers.map((p) => p.invalidateFiles([{filePath, updateType: FileUpdateType.Changed}])), + ); + } +} + +function pathExists(p: string) { + return fs.access(p).then( + () => true, + () => false, + ); +} diff --git a/ngp-vscode-ng-language-service/server/src/server.ts b/ngp-vscode-ng-language-service/server/src/server.ts new file mode 100644 index 00000000000..69cbb6cc71e --- /dev/null +++ b/ngp-vscode-ng-language-service/server/src/server.ts @@ -0,0 +1,418 @@ +import { + createConnection, + ProposedFeatures, + InitializeParams, + InitializeResult, + Connection, + TextDocuments, + TextDocumentChangeEvent, + DidChangeWatchedFilesParams, + FileChangeType, + DocumentDiagnosticParams, + WorkspaceDiagnosticParams, + WorkspaceDiagnosticReport, + WorkspaceFullDocumentDiagnosticReport, + Diagnostic, + CompletionItem, +} from 'vscode-languageserver/node'; +import {TextDocument} from 'vscode-languageserver-textdocument'; +import {URI} from 'vscode-uri'; +import {onGetTcb} from './handlers/tcb'; +import {onHover} from './handlers/hover'; +import {onDefinition} from './handlers/definition'; +import {onCompletion, onCompletionResolve} from './handlers/completion'; +import {onReferences} from './handlers/references'; +import {onPrepareRename, onRename} from './handlers/rename'; +import {onSignatureHelp} from './handlers/signature'; +import {HandlerContext} from './handlers/utils'; +import * as fs from 'node:fs/promises'; +import * as rpc from 'vscode-jsonrpc/node'; + +import {API} from '@typescript/native-preview/unstable/async'; +import {TsGoFacade} from '../../../packages/compiler-cli/preprocessor/language-service/src/facade'; +import {fileURLToPath} from 'node:url'; +import {getTcbPath} from '../../../packages/compiler-cli/preprocessor/src/tcb_ls_util.js'; +import { + FileInvalidation, + FileUpdateType, +} from '../../../packages/compiler-cli/preprocessor/src/types.js'; +import {ProjectManager} from './project_manager'; +import {DiagnosticPublisher} from './diagnostic_publisher'; +import {canonicalizePath as normalizePath} from '../../../packages/compiler-cli/preprocessor/language-service/src/utils.js'; + +let workspaceRoot: string = ''; +let facade: TsGoFacade | null = null; +let projectManager: ProjectManager | null = null; + +// Create a connection for the server, using Node's IPC as a transport. +const connection: Connection = createConnection(ProposedFeatures.all); +const documents: TextDocuments = new TextDocuments(TextDocument); +const diagnosticPublisher = new DiagnosticPublisher(connection); +documents.listen(connection); + +documents.onDidChangeContent((change: TextDocumentChangeEvent) => { + connection.console.log(`[SERVER] onDidChangeContent called for ${change.document.uri}`); + if (!projectManager) { + return; + } + const filePath = fileURLToPath(change.document.uri); + const content = change.document.getText(); + + if (filePath.endsWith('.ngtypecheck.ts')) { + return; + } + + if (filePath.endsWith('.html') || filePath.endsWith('.ts')) { + projectManager.updateFileContent([{filePath, content}]).catch((err) => { + connection.console.error(`[SERVER] Error updating file content for ${filePath}: ${err}`); + }); + } +}); + +documents.onDidClose(async (event: TextDocumentChangeEvent) => { + connection.console.log(`[SERVER] onDidClose called for ${event.document.uri}`); + await diagnosticPublisher.clearAllFor(event.document.uri); + try { + const filePath = fileURLToPath(event.document.uri); + if (!projectManager) { + return; + } + if (filePath.endsWith('.html') || filePath.endsWith('.ts')) { + await projectManager.invalidateFiles([{filePath, updateType: FileUpdateType.Changed}]); + } + } catch (err) { + connection.console.error( + `[SERVER] Error handling onDidClose for ${event.document.uri}: ${err}`, + ); + } +}); + +connection.onDidChangeWatchedFiles((params: DidChangeWatchedFilesParams) => { + if (!projectManager) { + return; + } + const invalidations: FileInvalidation[] = []; + + for (const change of params.changes) { + const filePath = fileURLToPath(change.uri); + console.error(`[SERVER DEBUG] change.uri: ${change.uri}, resolved filePath: ${filePath}`); + + if (filePath.endsWith('.ngtypecheck.ts')) { + continue; + } + + // If the file is open in the editor, ignore physical file changes. + // The editor will send didChange notifications if it updates its content. + if (documents.get(change.uri)) { + continue; + } + + let updateType: FileUpdateType; + switch (change.type) { + case FileChangeType.Created: + updateType = FileUpdateType.Created; + break; + case FileChangeType.Deleted: + updateType = FileUpdateType.Deleted; + break; + case FileChangeType.Changed: + updateType = FileUpdateType.Changed; + break; + default: + const exhaustive: number = change.type; + throw new Error(`Unhandled file change type: ${exhaustive}`); + } + + invalidations.push({filePath, updateType}); + } + + projectManager.invalidateFiles(invalidations).catch((err) => { + connection.console.error(`[SERVER] Error handling onDidChangeWatchedFiles: ${err}`); + }); +}); + +connection.onInitialize(async (params: InitializeParams) => { + connection.console.log(`Initializing Angular Hybrid Language Server`); + if (params.rootUri) { + workspaceRoot = fileURLToPath(params.rootUri); + } else if (params.rootPath) { + workspaceRoot = params.rootPath; + } + + let api: API | undefined; + if (params.initializationOptions?.tsApiPipe) { + try { + api = await API.fromLSPConnection({pipe: params.initializationOptions.tsApiPipe}); + connection.console.log( + `[SERVER] Connected to TS7 API via pipe: ${params.initializationOptions.tsApiPipe}`, + ); + } catch (err) { + connection.console.error(`[SERVER] Failed to connect to TS7 API pipe: ${err}`); + } + } + + const ts7Connection: rpc.MessageConnection = { + sendRequest: (method: string, params?: any) => + connection.sendRequest('angular/sendTsServerRequest', {method, params}), + sendNotification: (method: string, params?: any) => + connection.sendNotification('angular/sendTsServerNotification', {method, params}), + } as any; + + facade = new TsGoFacade(ts7Connection); + projectManager = new ProjectManager({ + facade, + api, + nodeModulesPathOverride: process.env.NG_HYBRID_NODE_MODULES_OVERRIDE, + onLog: (msg) => connection.console.log(msg), + onError: (msg) => connection.console.error(msg), + }); + + connection.onNotification('angular/setTsApiPipe', async (params: {pipe: string}) => { + try { + const dynamicApi = await API.fromLSPConnection({pipe: params.pipe}); + if (projectManager) { + projectManager.setApi(dynamicApi); + connection.console.log(`[SERVER] Connected to dynamic TS7 API pipe: ${params.pipe}`); + } + } catch (err) { + connection.console.error(`[SERVER] Failed to connect to dynamic TS7 API pipe: ${err}`); + } + }); + + const result: InitializeResult = { + capabilities: { + textDocumentSync: 1, // TextDocumentSyncKind.Full + hoverProvider: true, + definitionProvider: true, + referencesProvider: true, + renameProvider: { + prepareProvider: true, + }, + completionProvider: { + resolveProvider: true, + triggerCharacters: ['<', '.', '*', '[', '(', '$', '|', '@'], + }, + signatureHelpProvider: { + triggerCharacters: ['(', ','], + retriggerCharacters: [','], + }, + diagnosticProvider: { + interFileDependencies: true, + workspaceDiagnostics: true, + }, + }, + }; + return result; +}); + +async function getProjectInfo(uri: string) { + if (!projectManager || !facade) { + connection.console.error('ProjectManager or Facade not initialized!'); + return null; + } + if (uri.endsWith('.ngtypecheck.ts')) { + return null; + } + const filePath = fileURLToPath(uri); + const project = await projectManager.getProjectForFile(filePath); + if (!project) { + connection.console.log(`No project found for ${filePath}`); + return null; + } + return {project, filePath, facade, projectManager}; +} + +function withProject

( + handler: (params: P, ctx: HandlerContext) => R | Promise, +): (params: P) => Promise { + return async (params: P) => { + const info = await getProjectInfo(params.textDocument.uri); + if (!info) return null; + return handler(params, { + workspaceRoot, + languageService: info.project.languageService, + connection, + documents, + }); + }; +} + +connection.onRequest('angular/getTcb', withProject(onGetTcb)); +connection.onHover(withProject(onHover)); +connection.onDefinition(withProject(onDefinition)); +connection.onCompletion(withProject(onCompletion)); + +connection.onCompletionResolve(async (item: CompletionItem) => { + if (!projectManager || !facade) return item; + const data = item.data as + {filePath?: string; position?: {line: number; character: number}} | undefined; + if (data?.filePath) { + const project = await projectManager.getProjectForFile(data.filePath); + if (project) { + return onCompletionResolve(item, { + workspaceRoot, + languageService: project.languageService, + connection, + documents, + }); + } + } + return item; +}); + +connection.onReferences(withProject(onReferences)); +connection.onPrepareRename(withProject(onPrepareRename)); +connection.onRenameRequest(withProject(onRename)); +connection.onSignatureHelp(withProject(onSignatureHelp)); + +connection.onRequest('textDocument/diagnostic', async (params: DocumentDiagnosticParams) => { + const uri = params.textDocument.uri; + connection.console.log(`[SERVER] Received textDocument/diagnostic for ${uri}`); + + const info = await getProjectInfo(uri); + if (!info) { + await diagnosticPublisher.clearAllFor(uri); + return {kind: 'full', items: []}; + } + const {project, filePath, facade} = info; + + let tsFilePath = filePath; + if (filePath.endsWith('.html')) { + const templateUsage = project.hybridCompiler.getTsFileForTemplate(filePath); + if (!templateUsage) { + connection.console.log(`[SERVER] No component found for template ${filePath}`); + await diagnosticPublisher.clearAllFor(uri); + return {kind: 'full', items: []}; + } + tsFilePath = templateUsage.tsFilePath; + } else if (!filePath.endsWith('.ts')) { + await diagnosticPublisher.clearAllFor(uri); + return {kind: 'full', items: []}; + } + + await project.hybridCompiler.ensureReady(); + + const tcbFilePath = getTcbPath(tsFilePath); + const tcbContent = project.hybridCompiler.getTcbForFile(tsFilePath); + if (!tcbContent) { + await diagnosticPublisher.clearAllFor(uri); + return {kind: 'full', items: []}; + } + + try { + await facade.ensureDocument(tcbFilePath, tcbContent); + const tcbDiagnostics = await facade.getDiagnostics(tcbFilePath); + + const mappedDiagnostics = await project.languageService.handleDiagnostics({ + filePath: tcbFilePath, + diagnostics: tcbDiagnostics, + }); + + if (!documents.get(uri)) { + await diagnosticPublisher.clearAllFor(uri); + return {kind: 'full', items: []}; + } + + connection.console.log( + `[SERVER] Mapped diagnostics for ${uri}: ${JSON.stringify(mappedDiagnostics)}`, + ); + + const responseItems = await diagnosticPublisher.update(uri, uri, mappedDiagnostics || {}); + return {kind: 'full', items: responseItems}; + } catch (e) { + connection.console.error(`Failed to pull diagnostics from TS7: ${e}`); + await diagnosticPublisher.clearAllFor(uri); + return {kind: 'full', items: []}; + } +}); + +async function computeWorkspaceDiagnostics(): Promise { + if (!projectManager || !facade) { + connection.console.error('ProjectManager/Facade not initialized!'); + return {items: []}; + } + + const projects = projectManager.getLoadedProjects(); + const allDocumentDiagnostics = new Map(); + + for (const project of projects) { + await project.hybridCompiler.ensureReady(); + + const candidateFiles = new Set(project.rootNames); + for (const doc of documents.all()) { + try { + const docPath = await normalizePath(fileURLToPath(doc.uri)); + if (docPath.endsWith('.ts') && !docPath.endsWith('.ngtypecheck.ts')) { + const docProject = await projectManager.getProjectForFile(docPath); + if (docProject?.tsconfigPath === project.tsconfigPath) { + candidateFiles.add(docPath); + } + } + } catch {} + } + + const validCandidateFiles = ( + await Promise.all( + Array.from(candidateFiles).map(async (filePath) => { + if (!filePath.endsWith('.ts') || filePath.endsWith('.ngtypecheck.ts')) { + return null; + } + + try { + await fs.access(filePath); + return filePath; + } catch { + return null; + } + }), + ) + ).filter((f): f is string => f !== null); + + for (const filePath of validCandidateFiles) { + try { + const tcbContent = project.hybridCompiler.getTcbForFile(filePath); + if (!tcbContent) { + continue; + } + + const tcbFilePath = getTcbPath(filePath); + await facade.ensureDocument(tcbFilePath, tcbContent); + const tcbDiagnostics = await facade.getDiagnostics(tcbFilePath); + const mappedDiagnostics = await project.languageService.handleDiagnostics({ + filePath: tcbFilePath, + diagnostics: tcbDiagnostics, + }); + + if (mappedDiagnostics) { + for (const [targetPath, diags] of Object.entries(mappedDiagnostics)) { + const targetUri = URI.file(await normalizePath(targetPath)).toString(); + const existing = allDocumentDiagnostics.get(targetUri) || []; + allDocumentDiagnostics.set(targetUri, [...existing, ...diags]); + } + } + } catch (err) { + connection.console.error( + `[SERVER] Error generating workspace diagnostics for ${filePath}: ${err}`, + ); + } + } + } + + const items: WorkspaceFullDocumentDiagnosticReport[] = []; + for (const [uri, diags] of allDocumentDiagnostics.entries()) { + items.push({ + uri, + kind: 'full', + version: documents.get(uri)?.version ?? null, + items: diags, + }); + } + + return {items}; +} + +connection.onRequest('workspace/diagnostic', async (_params: WorkspaceDiagnosticParams) => { + return computeWorkspaceDiagnostics(); +}); + +connection.listen(); diff --git a/ngp-vscode-ng-language-service/server/tsconfig.json b/ngp-vscode-ng-language-service/server/tsconfig.json new file mode 100644 index 00000000000..54953e39a39 --- /dev/null +++ b/ngp-vscode-ng-language-service/server/tsconfig.json @@ -0,0 +1,14 @@ +// Inherits module/moduleResolution (esnext + bundler) from ../tsconfig.json rather +// than overriding to CommonJS. The CommonJS override put `src/analyzer_loader.ts` — +// reached from server.ts via NapiAnalyzer — into a program where `import.meta` is +// illegal. This project is typecheck-only; the shipped server is bundled by build.js +// with esbuild, which reads the TypeScript directly and rewrites `import.meta.url` +// itself. +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/tsc/ng-language-service/server", + "rootDir": "../../" + }, + "include": ["src/**/*.ts"] +} diff --git a/ngp-vscode-ng-language-service/syntaxes/expression.json b/ngp-vscode-ng-language-service/syntaxes/expression.json new file mode 100644 index 00000000000..dc61e1286fa --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/expression.json @@ -0,0 +1,1017 @@ +{ + "scopeName": "expression.ng", + "injectionSelector": "L:text.html -comment", + "patterns": [ + { + "include": "#ngExpression" + } + ], + "repository": { + "ngExpression": { + "name": "meta.expression.ng", + "patterns": [ + { + "include": "#string" + }, + { + "include": "#literal" + }, + { + "include": "#arrowFunction" + }, + { + "include": "#ternaryExpression" + }, + { + "include": "#expressionOperator" + }, + { + "include": "#functionCall" + }, + { + "include": "#identifiers" + }, + { + "include": "#parenExpression" + }, + { + "include": "#punctuationComma" + }, + { + "include": "#punctuationSemicolon" + }, + { + "include": "#punctuationAccessor" + } + ] + }, + "arrayLiteral": { + "name": "meta.array.literal.ts", + "begin": "\\[", + "beginCaptures": { + "0": { + "name": "meta.brace.square.ts" + } + }, + "end": "\\]", + "endCaptures": { + "0": { + "name": "meta.brace.square.ts" + } + }, + "patterns": [ + { + "include": "#ngExpression" + }, + { + "include": "#punctuationComma" + } + ] + }, + "booleanLiteral": { + "patterns": [ + { + "name": "constant.language.boolean.true.ts", + "match": "(?>=|>>>=|\\|=" + }, + { + "name": "keyword.operator.bitwise.shift.ts", + "match": "<<|>>>|>>" + }, + { + "name": "keyword.operator.spread.ts", + "match": "\\.\\.\\." + }, + { + "name": "keyword.operator.comparison.ts", + "match": "===|!==|==|!=" + }, + { + "name": "keyword.operator.relational.ts", + "match": "<=|>=|<>|<|>" + }, + { + "name": "keyword.operator.logical.ts", + "match": "\\!|&&|\\?\\?|\\|\\|" + }, + { + "name": "keyword.operator.bitwise.ts", + "match": "\\&|~|\\^|\\|" + }, + { + "name": "keyword.operator.assignment.ts", + "match": "\\=" + }, + { + "name": "keyword.operator.decrement.ts", + "match": "--" + }, + { + "name": "keyword.operator.increment.ts", + "match": "\\+\\+" + }, + { + "name": "keyword.operator.arithmetic.ts", + "match": "\\%|\\*|\\/|-|\\+" + }, + { + "match": "(?<=[_$[:alnum:]])\\s*(\\/)(?![\\/*])", + "captures": { + "1": { + "name": "keyword.operator.arithmetic.ts" + } + } + }, + { + "include": "#typeofOperator" + } + ] + }, + "functionCall": { + "begin": "(?=(\\??\\.\\s*)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(<([^<>]|\\<[^<>]+\\>)+>\\s*)?(\\?\\.\\s*)?\\()", + "end": "(?<=\\))(?!(\\??\\.\\s*)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(<([^<>]|\\<[^<>]+\\>)+>\\s*)?(\\?\\.\\s*)?\\()", + "patterns": [ + { + "name": "punctuation.accessor.ts", + "match": "\\?" + }, + { + "name": "punctuation.accessor.ts", + "match": "\\." + }, + { + "name": "entity.name.function.ts", + "match": "([_$[:alpha:]][_$[:alnum:]]*)" + }, + { + "name": "meta.type.parameters.ts", + "begin": "\\<", + "beginCaptures": { + "0": { + "name": "punctuation.definition.typeparameters.begin.ts" + } + }, + "end": "\\>", + "endCaptures": { + "0": { + "name": "punctuation.definition.typeparameters.end.ts" + } + }, + "patterns": [ + { + "include": "#type" + }, + { + "include": "#punctuationComma" + } + ] + }, + { + "include": "#parenExpression" + } + ] + }, + "functionParameters": { + "name": "meta.parameters.ts", + "begin": "\\(", + "beginCaptures": { + "0": { + "name": "punctuation.definition.parameters.begin.ts" + } + }, + "end": "\\)", + "endCaptures": { + "0": { + "name": "punctuation.definition.parameters.end.ts" + } + }, + "patterns": [ + { + "include": "#decorator" + }, + { + "include": "#parameterName" + }, + { + "include": "#variableInitializer" + }, + { + "name": "punctuation.separator.parameter.ts", + "match": "," + } + ] + }, + "identifiers": { + "patterns": [ + { + "name": "support.class.ts", + "match": "([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\\.\\s*prototype\\b(?!\\$))" + }, + { + "match": "(?x)([?!]?\\.)\\s*(?:\n([[:upper:]][_$[:digit:][:upper:]]*)|\n([_$[:alpha:]][_$[:alnum:]]*)\n)(?=\\s*\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)", + "captures": { + "1": { + "name": "punctuation.accessor.ts" + }, + "2": { + "name": "constant.other.object.property.ts" + }, + "3": { + "name": "variable.other.object.property.ts" + } + } + }, + { + "match": "(?x)(?:([?!]?\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*((async\\s+)|(function\\s*[(<])|(function\\s+)|([_$[:alpha:]][_$[:alnum:]]*\\s*=>)|((<([^<>]|\\<[^<>]+\\>)+>\\s*)?\\(([^()]|\\([^()]*\\))*\\)(\\s*:\\s*(.)*)?\\s*=>)))", + "captures": { + "1": { + "name": "punctuation.accessor.ts" + }, + "2": { + "name": "entity.name.function.ts" + } + } + }, + { + "match": "([?!]?\\.)\\s*([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])", + "captures": { + "1": { + "name": "punctuation.accessor.ts" + }, + "2": { + "name": "constant.other.property.ts" + } + } + }, + { + "match": "([?!]?\\.)\\s*([_$[:alpha:]][_$[:alnum:]]*)", + "captures": { + "1": { + "name": "punctuation.accessor.ts" + }, + "2": { + "name": "variable.other.property.ts" + } + } + }, + { + "match": "(?x)(?:\n([[:upper:]][_$[:digit:][:upper:]]*)|\n([_$[:alpha:]][_$[:alnum:]]*)\n)(?=\\s*\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)", + "captures": { + "1": { + "name": "constant.other.object.ts" + }, + "2": { + "name": "variable.other.object.ts" + } + } + }, + { + "name": "constant.character.other", + "match": "([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])" + }, + { + "name": "variable.other.readwrite.ts", + "match": "[_$[:alpha:]][_$[:alnum:]]*" + } + ] + }, + "literal": { + "name": "literal.ts", + "patterns": [ + { + "include": "#numericLiteral" + }, + { + "include": "#booleanLiteral" + }, + { + "include": "#nullLiteral" + }, + { + "include": "#undefinedLiteral" + }, + { + "include": "#numericConstantLiteral" + }, + { + "include": "#arrayLiteral" + }, + { + "include": "#thisLiteral" + } + ] + }, + "nullLiteral": { + "name": "constant.language.null.ts", + "match": "(?) | ((<([^<>]|\\<[^<>]+\\>)+>\\s*)?\\(([^()]|\\([^()]*\\))*\\)(\\s*:\\s*(.)*)?\\s*=>)) ) | (:\\s*( (<) | ([(]\\s*( ([)]) | (\\.\\.\\.) | ([_$[:alnum:]]+\\s*( ([:,?=])| ([)]\\s*=>) )) ))) ))", + "captures": { + "1": { + "name": "storage.modifier.ts" + }, + "2": { + "name": "storage.modifier.ts" + }, + "3": { + "name": "keyword.operator.rest.ts" + }, + "4": { + "name": "entity.name.function.ts" + }, + "5": { + "name": "keyword.operator.optional.ts" + } + } + }, + { + "match": "(?:\\s*\\b(readonly)\\s+)?(?:\\s*\\b(public|private|protected)\\s+)?(\\.\\.\\.)?\\s*(?\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?))*(?)*(?\\s*)?`)", + "end": "(?=`)", + "patterns": [ + { + "begin": "(?=(([_$[:alpha:]][_$[:alnum:]]*\\s*\\??\\.\\s*)*|(\\??\\.\\s*)?)([_$[:alpha:]][_$[:alnum:]]*))", + "end": "(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?))*(?)*(?\\s*)?`)", + "patterns": [ + { + "include": "#support-function-call-identifiers" + }, + { + "name": "entity.name.function.tagged-template.ts", + "match": "([_$[:alpha:]][_$[:alnum:]]*)" + } + ] + }, + { + "include": "#typeArguments" + } + ] + }, + { + "begin": "([_$[:alpha:]][_$[:alnum:]]*)?\\s*(?=(<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))(([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>|\\<\\s*(((keyof|infer|typeof|readonly)\\s+)|(([_$[:alpha:]][_$[:alnum:]]*|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))(?=\\s*([\\<\\>\\,\\.\\[]|=>|&(?!&)|\\|(?!\\|)))))([^<>\\(]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(?<==)\\>)*(?))*(?)*(?\\s*)`)", + "beginCaptures": { + "1": { + "name": "entity.name.function.tagged-template.ts" + } + }, + "end": "(?=`)", + "patterns": [ + { + "include": "#typeArguments" + } + ] + } + ] + }, + "templateLiteralSubstitutionElement": { + "name": "meta.template.expression.ts", + "begin": "\\${", + "beginCaptures": { + "0": { + "name": "punctuation.definition.template-expression.begin.ts" + } + }, + "end": "}", + "endCaptures": { + "0": { + "name": "punctuation.definition.template-expression.end.ts" + } + }, + "patterns": [ + { + "include": "#ngExpression" + } + ], + "contentName": "meta.embedded.line.ts" + }, + "typeArguments": { + "name": "meta.type.parameters.ts", + "begin": "<", + "beginCaptures": { + "0": { + "name": "punctuation.definition.typeparameters.begin.ts" + } + }, + "end": ">", + "endCaptures": { + "0": { + "name": "punctuation.definition.typeparameters.end.ts" + } + }, + "patterns": [ + { + "include": "#typeArgumentsBody" + } + ] + }, + "stringCharacterEscape": { + "name": "constant.character.escape.ts", + "match": "\\\\(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)" + }, + "ternaryExpression": { + "begin": "(?!\\?\\.\\s*[^[:digit:]])(\\?)(?!\\?)", + "beginCaptures": { + "1": { + "name": "keyword.operator.ternary.ts" + } + }, + "end": "\\s*(:)", + "endCaptures": { + "1": { + "name": "keyword.operator.ternary.ts" + } + }, + "patterns": [ + { + "include": "#ngExpression" + } + ] + }, + "thisLiteral": { + "name": "variable.language.this.ts", + "match": "(?])|(?<=[\\}>\\]\\)]|[_$[:alpha:]])\\s*(?=\\{)", + "patterns": [ + { + "include": "#type" + } + ] + }, + "typeBuiltinLiterals": { + "name": "support.type.builtin.ts", + "match": "(?)\\s*(?=\\()", + "end": "(?<=\\))", + "patterns": [ + { + "include": "#functionParameters" + } + ] + }, + { + "name": "meta.type.function.ts", + "begin": "(?x)((?=[(]\\s*(([)])|(\\.\\.\\.)|([_$[:alnum:]]+\\s*(([:,?=])|([)]\\s*=>))))))", + "end": "(?<=\\))", + "patterns": [ + { + "include": "#functionParameters" + } + ] + } + ] + }, + "typeName": { + "patterns": [ + { + "match": "([_$[:alpha:]][_$[:alnum:]]*)\\s*([?!]?\\.)", + "captures": { + "1": { + "name": "entity.name.type.module.ts" + }, + "2": { + "name": "punctuation.accessor.ts" + } + } + }, + { + "name": "entity.name.type.ts", + "match": "[_$[:alpha:]][_$[:alnum:]]*" + } + ] + }, + "typeObjectMembers": { + "patterns": [ + { + "include": "#typeAnnotation" + }, + { + "include": "#punctuationComma" + }, + { + "include": "#punctuationSemicolon" + } + ] + }, + "typeObject": { + "name": "meta.object.type.ts", + "begin": "\\{", + "beginCaptures": { + "0": { + "name": "punctuation.definition.block.ts" + } + }, + "end": "\\}", + "endCaptures": { + "0": { + "name": "punctuation.definition.block.ts" + } + }, + "patterns": [ + { + "include": "#typeObjectMembers" + } + ] + }, + "typeOperators": { + "patterns": [ + { + "include": "#typeofOperator" + }, + { + "name": "keyword.operator.type.ts", + "match": "[&|]" + }, + { + "name": "keyword.operator.expression.keyof.ts", + "match": "(?)", + "captures": { + "1": { + "name": "variable.parameter.ts" + } + } + }, + { + "name": "meta.arrow.ts", + "begin": "(?x) (?:\n (? is on new line\n(\n (<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?\n [(]\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*\n (\n ([)]\\s*:) | # ():\n ((\\.\\.\\.\\s*)?[_$[:alpha:]][_$[:alnum:]]*\\s*:) # [(]param: | [(]...param:\n )\n) |\n\n# arrow function possible to detect only with => on same line\n(\n (<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*(((const\\s+)?[_$[:alpha:]])|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)? # typeparameters\n \\(\\s*(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*(([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])|(\\.\\.\\.\\s*[_$[:alpha:]]))([^()\\'\\\"\\`]|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))*)?\\) # parameters\n (\\s*:\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+)? # return type\n \\s*=> # arrow operator\n)\n )\n)", + "end": "(?==>|\\{|(^\\s*(export|function|class|interface|let|var|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|const|import|enum|namespace|module|type|abstract|declare)\\s+))", + "patterns": [ + { + "include": "#functionParameters" + } + ] + }, + { + "name": "meta.arrow.ts", + "begin": "=>", + "beginCaptures": { + "0": { + "name": "storage.type.function.arrow.ts" + } + }, + "end": "((?<=\\}|\\S)(?)|((?!\\{)(?=\\S)))(?!\\/[\\/\\*])", + "patterns": [ + { + "include": "#ngExpression" + } + ] + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/host-object-literal.json b/ngp-vscode-ng-language-service/syntaxes/host-object-literal.json new file mode 100644 index 00000000000..05263fa1939 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/host-object-literal.json @@ -0,0 +1,102 @@ +{ + "scopeName": "host-object-literal.ng", + "injectionSelector": "L:meta.decorator.ts -comment -text.html -expression.ng", + "patterns": [ + { + "include": "#hostObjectLiteral" + } + ], + "repository": { + "hostObjectLiteral": { + "begin": "(host)\\s*(:)\\s*{", + "beginCaptures": { + "1": { + "name": "meta.object-literal.key.ts" + }, + "2": { + "name": "meta.object-literal.key.ts punctuation.separator.key-value.ts" + } + }, + "contentName": "hostbindings.ng", + "end": "}", + "patterns": [ + { + "include": "#ngHostBindingDynamic" + }, + { + "include": "#ngHostBindingStatic" + }, + { + "include": "source.ts" + } + ] + }, + "ngHostBindingDynamic": { + "begin": "\\s*('|\")([\\[(].*?[\\])])(\\1)(:)", + "beginCaptures": { + "1": { + "name": "string" + }, + "2": { + "name": "entity.other.attribute-name.html" + }, + "3": { + "name": "string" + }, + "4": { + "name": "meta.object-literal.key.ts punctuation.separator.key-value.ts" + } + }, + "contentName": "hostbinding.dynamic.ng", + "patterns": [ + { + "include": "#ngHostBindingDynamicValue" + } + ], + "end": "(?=,|})" + }, + "ngHostBindingDynamicValue": { + "begin": "\\s*(`|'|\")", + "beginCaptures": { + "1": { + "name": "string" + } + }, + "patterns": [ + { + "include": "expression.ng" + } + ], + "end": "\\1", + "endCaptures": { + "0": { + "name": "string" + } + } + }, + "ngHostBindingStatic": { + "begin": "\\s*('|\")?(.*?)(\\1)?\\s*:", + "end": "(?=,|})", + "beginCaptures": { + "1": { + "name": "string" + }, + "2": { + "name": "entity.other.attribute-name.html" + }, + "3": { + "name": "string" + }, + "4": { + "name": "meta.object-literal.key.ts punctuation.separator.key-value.ts" + } + }, + "contentName": "hostbinding.static.ng", + "patterns": [ + { + "include": "source.ts" + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/inline-styles.json b/ngp-vscode-ng-language-service/syntaxes/inline-styles.json new file mode 100644 index 00000000000..01c1a89ed11 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/inline-styles.json @@ -0,0 +1,98 @@ +{ + "scopeName": "inline-styles.ng", + "injectionSelector": "L:source.ts#meta.decorator.ts -comment", + "patterns": [ + { + "include": "#inlineStyles" + } + ], + "repository": { + "inlineStyles": { + "begin": "(styles)\\s*(:)", + "beginCaptures": { + "1": { + "name": "meta.object-literal.key.ts" + }, + "2": { + "name": "meta.object-literal.key.ts punctuation.separator.key-value.ts" + } + }, + "end": "(?=,|})", + "patterns": [ + { + "include": "#tsParenExpression" + }, + { + "include": "#tsBracketExpression" + }, + { + "include": "#style" + } + ] + }, + "tsParenExpression": { + "begin": "\\G\\s*(\\()", + "beginCaptures": { + "1": { + "name": "meta.brace.round.ts" + } + }, + "end": "\\)", + "endCaptures": { + "0": { + "name": "meta.brace.round.ts" + } + }, + "patterns": [ + { + "include": "$self" + }, + { + "include": "#tsBracketExpression" + }, + { + "include": "#style" + } + ] + }, + "tsBracketExpression": { + "begin": "\\G\\s*(\\[)", + "beginCaptures": { + "1": { + "name": "meta.array.literal.ts meta.brace.square.ts" + } + }, + "end": "\\]", + "endCaptures": { + "0": { + "name": "meta.array.literal.ts meta.brace.square.ts" + } + }, + "patterns": [ + { + "include": "#style" + } + ] + }, + "style": { + "begin": "\\s*([`|'|\"])", + "beginCaptures": { + "1": { + "name": "string" + } + }, + "end": "\\1", + "endCaptures": { + "0": { + "name": "string" + } + }, + "contentName": "source.css.scss", + "patterns": [ + { + "include": "source.css.scss" + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/inline-template.json b/ngp-vscode-ng-language-service/syntaxes/inline-template.json new file mode 100644 index 00000000000..74a82d736ad --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/inline-template.json @@ -0,0 +1,76 @@ +{ + "scopeName": "inline-template.ng", + "injectionSelector": "L:meta.decorator.ts -comment -text.html", + "patterns": [ + { + "include": "#inlineTemplate" + } + ], + "repository": { + "inlineTemplate": { + "begin": "(template)\\s*(:)", + "beginCaptures": { + "1": { + "name": "meta.object-literal.key.ts" + }, + "2": { + "name": "meta.object-literal.key.ts punctuation.separator.key-value.ts" + } + }, + "end": "(?=,|})", + "patterns": [ + { + "include": "#tsParenExpression" + }, + { + "include": "#ngTemplate" + } + ] + }, + "tsParenExpression": { + "begin": "\\G\\s*(\\()", + "beginCaptures": { + "1": { + "name": "meta.brace.round.ts" + } + }, + "end": "\\)", + "endCaptures": { + "0": { + "name": "meta.brace.round.ts" + } + }, + "patterns": [ + { + "include": "#tsParenExpression" + }, + { + "include": "#ngTemplate" + } + ] + }, + "ngTemplate": { + "begin": "\\G\\s*([`|'|\"])", + "beginCaptures": { + "1": { + "name": "string" + } + }, + "end": "\\1", + "endCaptures": { + "0": { + "name": "string" + } + }, + "contentName": "text.html.derivative", + "patterns": [ + { + "include": "text.html.derivative" + }, + { + "include": "template.ng" + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/let-declaration.json b/ngp-vscode-ng-language-service/syntaxes/let-declaration.json new file mode 100644 index 00000000000..7b3b71dad12 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/let-declaration.json @@ -0,0 +1,52 @@ +{ + "scopeName": "template.let.ng", + "injectionSelector": "L:text.html -comment -expression.ng -meta.tag -source.css -source.js", + "patterns": [ + { + "include": "#letDeclaration" + } + ], + "repository": { + "letDeclaration": { + "name": "meta.definition.variable.ng", + "begin": "(@let)\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(=)?", + "beginCaptures": { + "1": { + "name": "storage.type.ng" + }, + "2": { + "name": "variable.other.constant.ng" + }, + "3": { + "name": "keyword.operator.assignment.ng" + } + }, + "patterns": [ + { + "include": "#letInitializer" + } + ], + "end": "(?<=;)" + }, + "letInitializer": { + "begin": "\\s*", + "beginCaptures": { + "0": { + "name": "keyword.operator.assignment.ng" + } + }, + "contentName": "meta.definition.variable.initializer.ng", + "patterns": [ + { + "include": "expression.ng" + } + ], + "end": ";", + "endCaptures": { + "0": { + "name": "punctuation.terminator.statement.ng" + } + } + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/template-blocks.json b/ngp-vscode-ng-language-service/syntaxes/template-blocks.json new file mode 100644 index 00000000000..55b5bb8888c --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/template-blocks.json @@ -0,0 +1,197 @@ +{ + "scopeName": "template.blocks.ng", + "injectionSelector": "L:text.html -comment -expression.ng -meta.tag -source.css -source.js", + "patterns": [ + { + "include": "#block" + } + ], + "repository": { + "transition": { + "match": "@", + "name": "keyword.control.block.transition.ng" + }, + "block": { + "begin": "(@)(if|else if|else|defer|placeholder|loading|error|switch|for|empty)(?:\\s*)", + "beginCaptures": { + "1": { + "patterns": [ + { + "include": "#transition" + } + ] + }, + "2": { + "name": "keyword.control.block.kind.ng" + } + }, + "patterns": [ + { + "include": "#blockExpression" + }, + { + "include": "#blockBody" + } + ], + "name": "control.block.ng", + "end": "(?<=\\})" + }, + "caseHeader": { + "begin": "(@)(case|default)(?:\\s*)", + "beginCaptures": { + "1": { + "patterns": [ + { + "include": "#transition" + } + ] + }, + "2": { + "name": "keyword.control.block.kind.ng" + } + }, + "patterns": [ + { + "include": "#blockExpression" + } + ], + "end": "(?=@|{|})", + "name": "control.block.case.header.ng" + }, + "caseBlock": { + "begin": "(?=@(?:case|default))", + "patterns": [ + { + "include": "#caseHeader" + }, + { + "include": "#blockBody" + } + ], + "end": "(?<=\\})", + "name": "control.block.case.ng" + }, + "caseExhaustive": { + "match": "(@)(default\\s+never)\\s*(;)", + "captures": { + "1": { + "patterns": [ + { + "include": "#transition" + } + ] + }, + "2": { + "name": "keyword.control.block.kind.ng" + }, + "3": { + "name": "punctuation.terminator.statement.ng" + } + }, + "name": "control.block.case.ng" + }, + "blockExpression": { + "begin": "\\(", + "beginCaptures": { + "0": { + "name": "meta.brace.round.ts" + } + }, + "contentName": "control.block.expression.ng", + "patterns": [ + { + "include": "#blockExpressionOfClause" + }, + { + "include": "#blockExpressionLetBinding" + }, + { + "include": "#blockExpressionTrackClause" + }, + { + "include": "expression.ng" + } + ], + "end": "\\)", + "endCaptures": { + "0": { + "name": "meta.brace.round.ts" + } + } + }, + "blockExpressionOfClause": { + "begin": "([_$[:alpha:]][_$[:alnum:]]*)\\s+(of)\\b", + "beginCaptures": { + "1": { + "name": "variable.other.constant.ng" + }, + "2": { + "name": "keyword.operator.expression.of.ng" + } + }, + "end": "(?=[$)])|(?<=;)", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "blockExpressionLetBinding": { + "begin": "\\blet\\b", + "beginCaptures": { + "0": { + "name": "storage.type.ng" + } + }, + "end": "(?=[$)])|(?<=;)", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "blockExpressionTrackClause": { + "begin": "\\btrack\\b", + "beginCaptures": { + "0": { + "name": "keyword.control.track.ng" + } + }, + "end": "(?=[$)])|(?<=;)", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "blockBody": { + "begin": "\\{", + "beginCaptures": { + "0": { + "name": "punctuation.definition.block.ts" + } + }, + "end": "\\}", + "endCaptures": { + "0": { + "name": "punctuation.definition.block.ts" + } + }, + "contentName": "control.block.body.ng", + "patterns": [ + { + "include": "#caseExhaustive" + }, + { + "include": "#caseBlock" + }, + { + "include": "text.html.derivative" + }, + { + "include": "template.ng" + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/template-tag-language-configuration.json b/ngp-vscode-ng-language-service/syntaxes/template-tag-language-configuration.json new file mode 100644 index 00000000000..0ad68a2e807 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/template-tag-language-configuration.json @@ -0,0 +1,5 @@ +{ + "comments": { + "blockComment": ["/*", "*/"] + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/template-tag.json b/ngp-vscode-ng-language-service/syntaxes/template-tag.json new file mode 100644 index 00000000000..b582d018f14 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/template-tag.json @@ -0,0 +1,235 @@ +{ + "scopeName": "template.tag.ng", + "injectionSelector": "L:text.html#meta.tag -comment", + "patterns": [ + { + "include": "#inlineComments" + }, + { + "include": "#twoWayBinding" + }, + { + "include": "#propertyBinding" + }, + { + "include": "#eventBinding" + }, + { + "include": "#templateBinding" + }, + { + "include": "#standardAttribute" + }, + { + "include": "#other" + } + ], + "repository": { + "other": { + "match": "\\s+", + "name": "template.tag.ng" + }, + "standardAttribute": { + "begin": "([-_a-zA-Z0-9.$:]+)(=)([\"'])", + "beginCaptures": { + "1": { + "name": "entity.other.attribute-name.html" + }, + "2": { + "name": "punctuation.separator.key-value.html" + }, + "3": { + "name": "string.quoted.html punctuation.definition.string.begin.html" + } + }, + "end": "\\3", + "endCaptures": { + "0": { + "name": "string.quoted.html punctuation.definition.string.end.html" + } + }, + "name": "meta.attribute.standard.html", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "propertyBinding": { + "begin": "(\\[\\s*@?(?:[-_a-zA-Z0-9.$]+|\\[[^\\[\\]]*]|\\([^()]*\\))*%?\\s*])(=)([\"'])", + "beginCaptures": { + "1": { + "name": "entity.other.attribute-name.html entity.other.ng-binding-name.property.html", + "patterns": [ + { + "include": "#bindingKey" + } + ] + }, + "2": { + "name": "punctuation.separator.key-value.html" + }, + "3": { + "name": "string.quoted.html punctuation.definition.string.begin.html" + } + }, + "end": "\\3", + "endCaptures": { + "0": { + "name": "string.quoted.html punctuation.definition.string.end.html" + } + }, + "name": "meta.ng-binding.property.html", + "contentName": "expression.ng", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "eventBinding": { + "begin": "(\\(\\s*@?[-_a-zA-Z0-9.$]*\\s*\\))(=)([\"'])", + "beginCaptures": { + "1": { + "name": "entity.other.attribute-name.html entity.other.ng-binding-name.event.html", + "patterns": [ + { + "include": "#bindingKey" + } + ] + }, + "2": { + "name": "punctuation.separator.key-value.html" + }, + "3": { + "name": "string.quoted.html punctuation.definition.string.begin.html" + } + }, + "end": "\\3", + "endCaptures": { + "0": { + "name": "string.quoted.html punctuation.definition.string.end.html" + } + }, + "name": "meta.ng-binding.event.html", + "contentName": "expression.ng", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "twoWayBinding": { + "begin": "(\\[\\s*\\(\\s*@?[-_a-zA-Z0-9.$]*\\s*\\)\\s*\\])(=)([\"'])", + "beginCaptures": { + "1": { + "name": "entity.other.attribute-name.html entity.other.ng-binding-name.two-way.html", + "patterns": [ + { + "include": "#bindingKey" + } + ] + }, + "2": { + "name": "punctuation.separator.key-value.html" + }, + "3": { + "name": "string.quoted.html punctuation.definition.string.begin.html" + } + }, + "end": "\\3", + "endCaptures": { + "0": { + "name": "string.quoted.html punctuation.definition.string.end.html" + } + }, + "name": "meta.ng-binding.two-way.html", + "contentName": "expression.ng", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "templateBinding": { + "begin": "(\\*[-_a-zA-Z0-9.$]*)(=)([\"'])", + "beginCaptures": { + "1": { + "name": "entity.other.attribute-name.html entity.other.ng-binding-name.template.html", + "patterns": [ + { + "include": "#bindingKey" + } + ] + }, + "2": { + "name": "punctuation.separator.key-value.html" + }, + "3": { + "name": "string.quoted.html punctuation.definition.string.begin.html" + } + }, + "end": "\\3", + "endCaptures": { + "0": { + "name": "string.quoted.html punctuation.definition.string.end.html" + } + }, + "name": "meta.ng-binding.template.html", + "contentName": "expression.ng", + "patterns": [ + { + "include": "expression.ng" + } + ] + }, + "bindingKey": { + "patterns": [ + { + "match": "([\\[\\(]{1,2}|\\*)(?:\\s*)(@?(?:[-_a-zA-Z0-9.$]+|\\[[^\\[\\]]*]|\\([^()]*\\))*%?)(?:\\s*)([\\]\\)]{1,2})?", + "captures": { + "1": { + "name": "punctuation.definition.ng-binding-name.begin.html" + }, + "2": { + "name": "entity.other.ng-binding-name.$2.html", + "patterns": [ + { + "match": "\\.", + "name": "punctuation.accessor.html" + } + ] + }, + "3": { + "name": "punctuation.definition.ng-binding-name.end.html" + } + } + } + ] + }, + "inlineComments": { + "patterns": [ + { + "begin": "\\/\\*", + "captures": { + "0": { + "name": "punctuation.definition.comment.ts" + } + }, + "name": "comment.block.ts", + "end": "\\*\\/" + }, + { + "begin": "\\/\\/", + "beginCaptures": { + "0": { + "name": "punctuation.definition.comment.ts" + } + }, + "name": "comment.line.double-slash.ts", + "end": "(?=$)" + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/template.json b/ngp-vscode-ng-language-service/syntaxes/template.json new file mode 100644 index 00000000000..4714634caf2 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/template.json @@ -0,0 +1,31 @@ +{ + "scopeName": "template.ng", + "injectionSelector": "L:text.html -comment -control.block.ng -meta.definition.variable.ng", + "patterns": [ + { + "include": "#interpolation" + } + ], + "repository": { + "interpolation": { + "begin": "{{", + "beginCaptures": { + "0": { + "name": "punctuation.definition.block.ts" + } + }, + "end": "}}", + "endCaptures": { + "0": { + "name": "punctuation.definition.block.ts" + } + }, + "contentName": "expression.ng", + "patterns": [ + { + "include": "expression.ng" + } + ] + } + } +} diff --git a/ngp-vscode-ng-language-service/syntaxes/tsconfig.json b/ngp-vscode-ng-language-service/syntaxes/tsconfig.json new file mode 100644 index 00000000000..df890c60543 --- /dev/null +++ b/ngp-vscode-ng-language-service/syntaxes/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "types": ["node"] + } +} diff --git a/ngp-vscode-ng-language-service/tests/incremental_lsp_spec.ts b/ngp-vscode-ng-language-service/tests/incremental_lsp_spec.ts new file mode 100644 index 00000000000..a3c09fdc9d1 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/incremental_lsp_spec.ts @@ -0,0 +1,194 @@ +import * as path from 'path'; +import * as rpc from 'vscode-jsonrpc/node'; +import {TestEnv, startTestServer} from './test_helpers'; +import {TestFileManager} from '../../packages/compiler-cli/preprocessor/language-service/tests/test_file_manager'; + +const testWorkspacePath = path.join(__dirname, 'test-workspace'); + +describe('Incremental Analysis', () => { + let connection: rpc.MessageConnection; + let tsgoConnection: rpc.MessageConnection; + let serverCleanup: () => Promise; + let env: TestEnv; + + beforeAll(async () => { + const result = await startTestServer(testWorkspacePath); + connection = result.connection; + tsgoConnection = result.tsgoConnection; + serverCleanup = result.cleanup; + }); + + afterAll(async () => { + await serverCleanup(); + }); + + beforeEach(() => { + const fileManager = new TestFileManager(testWorkspacePath); + env = new TestEnv(connection, tsgoConnection, fileManager); + }); + + afterEach(async () => { + await env.cleanup(); + }); + + it('should update hover info when file content changes', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-inc-test', + template: '

', + standalone: true, + }) + export class AppIncTestComponent { + name!: string; + } + `; + + await env.run('app_inc_test.ts', appTsContent, async (filePath) => { + // Initial check + await env.expectHoverAtCursor(filePath, ['string']); + + // Now change the file content + const updatedContent = ` + import {Component} from '@angular/core'; + @Component({ template: '
'}) + export class AppIncTestComponent { + name!: number; + } + `; + await env.editFile(filePath, updatedContent, 'virtual'); + + // Request again + await env.expectHoverAtCursor(filePath, ['number']); + }); + }); + + it('should use virtual content while open and fallback to physical file content when closed', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + template: '
', + }) + export class AppIncTestComponent { + name!: string; + } + `; + + await env.run('app_inc_test_close.ts', appTsContent, async (filePath) => { + await env.expectHoverAtCursor(filePath, ['string']); + + await env.editFile(filePath, appTsContent.replace('string', 'number'), 'virtual'); + await env.expectHoverAtCursor(filePath, ['number']); + + await env.editFile(filePath, appTsContent.replace('string', 'boolean'), 'physical'); + // Should still show virtual content + await env.expectHoverAtCursor(filePath, ['number']); + + await env.closeFile(filePath); + // After close, hover should reflect physical content (boolean) + await env.expectHoverAtCursor(filePath, ['boolean']); + }); + }); + + it('should update hover info when external template content changes', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_inc_tmpl_test.component.html', + }) + export class AppIncTmplTestComponent { + nameStr!: string; + nameNum!: number; + } + `; + const templateContent = '
'; + + const tsName = 'app_inc_tmpl_test.component.ts'; + const htmlName = 'app_inc_tmpl_test.component.html'; + + await env.run(htmlName, templateContent, async (htmlPath) => { + await env.createFile(tsName, appTsContent); + + await env.expectHoverAtCursor(htmlPath, ['string']); + + const updatedTemplateContent = '
'; + await env.editFile(htmlPath, updatedTemplateContent); + + // last update ignored because the file is open in the editor + await env.expectHoverAtCursor(htmlPath, ['string']); + + // Closing file should result in invalidating contents and updating to physical + await env.closeFile(htmlPath); + await env.expectHoverAtCursor(htmlPath, ['number']); + }); + }); + + it('should update hover info when missing template is created', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './missing.component.html', + }) + export class AppMissingTmplTestComponent { + nameStr!: string; + } + `; + const templateContent = '
'; + + const tsName = 'app_missing_tmpl_test.component.ts'; + const htmlName = 'missing.component.html'; + + // 1. Create the TS file first. The template is missing. + const tsPath = await env.createFile(tsName, appTsContent); + + // 2. Open the TS file (this triggers analysis in server) + await env.openFile(tsPath, appTsContent); + + // 3. Now create the template file (physical) + const htmlPath = await env.createFile(htmlName, templateContent); + + // 4. Open the template file to check hover + await env.openFile(htmlPath, await env.getFileContent(htmlPath)); + + // 5. Check hover at cursor in the template + await env.expectHoverAtCursor(htmlPath, ['string']); + }); + it('should update diagnostics when file content changes', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-inc-test', + template: '
{{ nonExistent }}
', + standalone: true, + }) + export class AppIncTestComponent { + } + `; + + await env.run('app_inc_diag_test.ts', appTsContent, async (filePath) => { + // Initial check: should have diagnostic for nonExistent + await env.expectDiagnostics(filePath, ['nonExistent']); + + // Now fix the error by adding the property + const updatedContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-inc-test', + template: '
{{ nonExistent }}
', + standalone: true, + }) + export class AppIncTestComponent { + nonExistent = 'hello'; + } + `; + await env.editFile(filePath, updatedContent, 'virtual'); + + // Request again: should have no diagnostics for nonExistent + const result = await (env as any).lspClient.diagnostic(filePath); + expect(result).toBeTruthy(); + expect(result.items).toBeTruthy(); + const messages = result.items.map((item: any) => item.message); + expect(messages.some((m: string) => m.includes('nonExistent'))).toBe(false); + }); + }); +}); diff --git a/ngp-vscode-ng-language-service/tests/lsp_completions_spec.ts b/ngp-vscode-ng-language-service/tests/lsp_completions_spec.ts new file mode 100644 index 00000000000..7665d608a8c --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/lsp_completions_spec.ts @@ -0,0 +1,215 @@ +import * as path from 'path'; +import * as rpc from 'vscode-jsonrpc/node'; +import {CompletionItemKind} from 'vscode-languageserver'; +import {TestEnv, startTestServer} from './test_helpers'; +import {TestFileManager} from '../../packages/compiler-cli/preprocessor/language-service/tests/test_file_manager'; + +const testWorkspacePath = path.join(__dirname, 'test-workspace'); + +describe('LSP Completions', () => { + let connection: rpc.MessageConnection; + let tsgoConnection: rpc.MessageConnection; + let serverCleanup: () => Promise; + let env: TestEnv; + + beforeAll(async () => { + const result = await startTestServer(testWorkspacePath); + connection = result.connection; + tsgoConnection = result.tsgoConnection; + serverCleanup = result.cleanup; + }); + + afterAll(async () => { + await serverCleanup(); + }); + + beforeEach(() => { + const fileManager = new TestFileManager(testWorkspacePath); + env = new TestEnv(connection, tsgoConnection, fileManager); + }); + + afterEach(async () => { + await env.cleanup(); + }); + + it('should provide completions in inline template expression', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-comp-test', + template: '
{{ ¦ }}
', + standalone: true, + }) + export class AppCompTestComponent { + myProperty: string = 'hello'; + myMethod(): void {} + } + `; + + await env.run('app_comp_test.ts', appTsContent, async (filePath) => { + await env.expectCompletionsAtCursor(filePath, [ + {label: 'myProperty', kind: CompletionItemKind.Property}, + {label: 'myMethod', kind: CompletionItemKind.Method}, + ]); + }); + }); + + it('should provide completions in external template', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-ext-comp', + templateUrl: './app_ext_comp.component.html', + standalone: true, + }) + export class AppExtCompComponent { + heroName: string = 'Angular'; + } + `; + const templateContent = '{{ ¦ }}'; + + const tsName = 'app_ext_comp.component.ts'; + const htmlName = 'app_ext_comp.component.html'; + + await env.run(htmlName, templateContent, async (htmlPath) => { + const tsPath = await env.createFile(tsName, appTsContent); + await env.openFile(tsPath, appTsContent); + + await env.expectCompletionsAtCursor(htmlPath, [ + {label: 'heroName', kind: CompletionItemKind.Property}, + ]); + }); + }); + + it('should provide attribute and binding completions', async () => { + const appTsContent = ` + import {Component, Directive, Input, Output, EventEmitter} from '@angular/core'; + @Directive({ + selector: '[customDir]', + standalone: true, + }) + export class CustomDirective { + @Input() customInput!: string; + @Output() customOutput = new EventEmitter(); + } + + @Component({ + selector: 'app-binding-comp', + template: '', + imports: [CustomDirective], + standalone: true, + }) + export class AppBindingCompComponent {} + `; + + await env.run('app_binding_comp.ts', appTsContent, async (filePath) => { + await env.expectCompletionsAtCursor(filePath, [ + {label: '[customInput]', kind: CompletionItemKind.Property}, + {label: '(customOutput)', kind: CompletionItemKind.Event}, + {label: '(click)', kind: CompletionItemKind.Event}, + {label: '[title]', kind: CompletionItemKind.Property}, + ]); + }); + }); + + it('should provide control flow block completions', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-block-comp', + template: '
@¦
', + standalone: true, + }) + export class AppBlockCompComponent {} + `; + + await env.run('app_block_comp.ts', appTsContent, async (filePath) => { + await env.expectCompletionsAtCursor(filePath, [ + {label: 'if', kind: CompletionItemKind.Keyword}, + {label: 'for', kind: CompletionItemKind.Keyword}, + {label: 'switch', kind: CompletionItemKind.Keyword}, + {label: 'defer', kind: CompletionItemKind.Keyword}, + ]); + }); + }); + + it('should provide completions for @let declarations in template', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-let-comp', + template: '@let userGreeting = "Welcome";
{{ ¦ }}
', + standalone: true, + }) + export class AppLetCompComponent {} + `; + + await env.run('app_let_comp.ts', appTsContent, async (filePath) => { + await env.expectCompletionsAtCursor(filePath, [ + {label: 'userGreeting', kind: CompletionItemKind.Variable}, + ]); + }); + }); + + it('should provide completions for @for loop variables and class members', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-for-comp', + template: '@for (route of routes; track $index) { {{ rou¦ }} }', + standalone: true, + }) + export class AppForCompComponent { + routes: string[] = ['/home', '/about']; + } + `; + + await env.run('app_for_comp.ts', appTsContent, async (filePath) => { + await env.expectCompletionsAtCursor(filePath, [ + {label: 'route', kind: CompletionItemKind.Variable}, + {label: 'routes', kind: CompletionItemKind.Property}, + {label: '$index', kind: CompletionItemKind.Variable}, + ]); + }); + }); + + it('should update completions incrementally when class members are added', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-inc-comp', + template: '
{{ ¦ }}
', + standalone: true, + }) + export class AppIncCompComponent { + initialProp = 123; + } + `; + + await env.run('app_inc_comp.ts', appTsContent, async (filePath) => { + await env.expectCompletionsAtCursor(filePath, [ + {label: 'initialProp', kind: CompletionItemKind.Property}, + ]); + + // Edit file to add dynamic property + const updatedContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-inc-comp', + template: '
{{ ¦ }}
', + standalone: true, + }) + export class AppIncCompComponent { + initialProp = 123; + dynamicallyAddedProp = 'hello'; + } + `; + await env.editFile(filePath, updatedContent, 'virtual'); + + await env.expectCompletionsAtCursor(filePath, [ + {label: 'initialProp', kind: CompletionItemKind.Property}, + {label: 'dynamicallyAddedProp', kind: CompletionItemKind.Property}, + ]); + }); + }); +}); diff --git a/ngp-vscode-ng-language-service/tests/lsp_diagnostics_spec.ts b/ngp-vscode-ng-language-service/tests/lsp_diagnostics_spec.ts new file mode 100644 index 00000000000..dcc6dc42b3c --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/lsp_diagnostics_spec.ts @@ -0,0 +1,343 @@ +import * as path from 'path'; +import * as rpc from 'vscode-jsonrpc/node'; +import {URI} from 'vscode-uri'; +import {TestEnv, startTestServer} from './test_helpers'; +import {TestFileManager} from '../../packages/compiler-cli/preprocessor/language-service/tests/test_file_manager'; + +const testWorkspacePath = path.join(__dirname, 'test-workspace'); + +describe('LSP Diagnostics', () => { + let connection: rpc.MessageConnection; + let tsgoConnection: rpc.MessageConnection; + let serverCleanup: () => Promise; + let env: TestEnv; + + beforeAll(async () => { + const result = await startTestServer(testWorkspacePath); + connection = result.connection; + tsgoConnection = result.tsgoConnection; + serverCleanup = result.cleanup; + }); + + afterAll(async () => { + await serverCleanup(); + }); + + beforeEach(() => { + const fileManager = new TestFileManager(testWorkspacePath); + env = new TestEnv(connection, tsgoConnection, fileManager); + }); + + afterEach(async () => { + await env.cleanup(); + }); + + it('should clear diagnostics for associated file when errors disappear', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_diag_test.component.html', + }) + export class AppDiagTestComponent { + // name is missing initially + } + `; + const templateContent = '
'; + + const tsName = 'app_diag_test.component.ts'; + const htmlName = 'app_diag_test.component.html'; + + // 1. Create TS file with missing property + const tsPath = await env.createFile(tsName, appTsContent); + await env.openFile(tsPath, appTsContent); + + // 2. Create template file + const htmlPath = await env.createFile(htmlName, templateContent); + await env.openFile(htmlPath, templateContent); + + // Wait for background analysis to complete after template creation + await new Promise((resolve) => setTimeout(resolve, 800)); + + // 3. Pull diagnostics for HTML file - should show error for 'name' + const resultBefore = await env.lspClient.diagnostic(htmlPath); + expect(resultBefore).toBeTruthy(); + expect(resultBefore.items.length).toBeGreaterThan(0); + expect( + resultBefore.items.some((i: any) => i.message.includes("Property 'name' does not exist")), + ).toBe(true); + + // 4. Fix the error in TS file + const updatedTsContent = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_diag_test.component.html', + }) + export class AppDiagTestComponent { + name = 'hello'; + } + `; + await env.editFile(tsPath, updatedTsContent, 'virtual'); + + // 5. Pull diagnostics for HTML file again - should be empty + const resultAfter = await env.lspClient.diagnostic(htmlPath); + expect(resultAfter).toBeTruthy(); + expect(resultAfter.items.length).toBe(0); + }); + + it('should not clear diagnostics for unrelated files', async () => { + const appTsContentA = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_diag_test_a.component.html', + }) + export class AppDiagTestComponentA { + // name is missing initially + } + `; + const templateContentA = '
'; + const tsNameA = 'app_diag_test_a.component.ts'; + const htmlNameA = 'app_diag_test_a.component.html'; + + const appTsContentC = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_diag_test_c.component.html', + }) + export class AppDiagTestComponentC { + // age is missing initially + } + `; + const templateContentC = '
'; + const tsNameC = 'app_diag_test_c.component.ts'; + const htmlNameC = 'app_diag_test_c.component.html'; + + // 1. Create files for A + const htmlPathA = await env.createFile(htmlNameA, templateContentA); + const tsPathA = await env.createFile(tsNameA, appTsContentA); + await env.openFile(tsPathA, appTsContentA); + await env.openFile(htmlPathA, templateContentA); + + // 2. Create files for C + const htmlPathC = await env.createFile(htmlNameC, templateContentC); + const tsPathC = await env.createFile(tsNameC, appTsContentC); + await env.openFile(tsPathC, appTsContentC); + await env.openFile(htmlPathC, templateContentC); + + // Wait for background analysis + await new Promise((resolve) => setTimeout(resolve, 800)); + + // 3. Verify both have diagnostics + const resultBeforeA = await env.lspClient.diagnostic(htmlPathA); + expect(resultBeforeA.items.length).toBeGreaterThan(0); + + const resultBeforeC = await env.lspClient.diagnostic(htmlPathC); + expect(resultBeforeC.items.length).toBeGreaterThan(0); + + // 4. Fix the error in TS file A + const updatedTsContentA = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_diag_test_a.component.html', + }) + export class AppDiagTestComponentA { + name = 'hello'; + } + `; + await env.editFile(tsPathA, updatedTsContentA, 'virtual'); + + // Wait for background analysis + await new Promise((resolve) => setTimeout(resolve, 50)); + + // 5. Pull diagnostics for HTML file A - should be empty + const resultAfterA = await env.lspClient.diagnostic(htmlPathA); + expect(resultAfterA.items.length).toBe(0); + + // 6. Pull diagnostics for HTML file C - should STILL have errors! + const resultAfterC = await env.lspClient.diagnostic(htmlPathC); + expect(resultAfterC.items.length).toBeGreaterThan(0); + }); + + it('should clear published diagnostics for template when template error is fixed in template', async () => { + const publishedDiagnostics = new Map(); + const sub = connection.onNotification( + 'textDocument/publishDiagnostics', + (params: {uri: string; diagnostics: any[]}) => { + publishedDiagnostics.set(params.uri.toLowerCase(), params.diagnostics); + }, + ); + + try { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + templateUrl: './app_tmpl_fix.component.html', + }) + export class AppTmplFixComponent { + validProp = 'test'; + } + `; + const templateWithError = '
'; + + const tsName = 'app_tmpl_fix.component.ts'; + const htmlName = 'app_tmpl_fix.component.html'; + + const tsPath = await env.createFile(tsName, appTsContent); + const htmlPath = await env.createFile(htmlName, templateWithError); + await env.openFile(tsPath, appTsContent); + await env.openFile(htmlPath, templateWithError); + + // Wait for background analysis + await new Promise((resolve) => setTimeout(resolve, 800)); + + // Pull TS file first - should push diagnostics to HTML file + await env.lspClient.diagnostic(tsPath); + + const htmlUri = URI.file(htmlPath).toString().toLowerCase(); + expect(publishedDiagnostics.get(htmlUri)?.length).toBeGreaterThan(0); + + // Now fix the template in the HTML file + const fixedTemplate = '
'; + await env.editFile(htmlPath, fixedTemplate, 'virtual'); + + // Pull diagnostics for HTML file + const report = await env.lspClient.diagnostic(htmlPath); + expect(report.items.length).toBe(0); + + // Published diagnostics for HTML file must also be cleared (empty array) + expect(publishedDiagnostics.get(htmlUri)?.length).toBe(0); + } finally { + sub.dispose(); + } + }); + + it('should clear diagnostics when a document is closed', async () => { + const publishedDiagnostics = new Map(); + const sub = connection.onNotification( + 'textDocument/publishDiagnostics', + (params: {uri: string; diagnostics: any[]}) => { + publishedDiagnostics.set(params.uri.toLowerCase(), params.diagnostics); + }, + ); + + try { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-close-diag', + template: '
{{ nonExistent }}
', + standalone: true, + }) + export class AppCloseDiagComponent {} + `; + + const tsName = 'app_close_diag.component.ts'; + const tsPath = await env.createFile(tsName, appTsContent); + await env.openFile(tsPath, appTsContent); + await new Promise((resolve) => setTimeout(resolve, 50)); + + const result = await env.lspClient.diagnostic(tsPath); + expect(result.items.length).toBeGreaterThan(0); + + const tsUri = URI.file(tsPath).toString().toLowerCase(); + + // Close the file + await env.closeFile(tsPath); + + // Wait for server to process close and publish empty diagnostics + await new Promise((resolve) => setTimeout(resolve, 200)); + + // Server should publish empty diagnostics on close + expect(publishedDiagnostics.get(tsUri)?.length).toBe(0); + } finally { + sub.dispose(); + } + }); + + it('should update diagnostic range accurately when template binding is edited', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-route-test', + templateUrl: './app_route_test.component.html', + }) + export class AppRouteTestComponent { + route = {path: '/home'}; + } + `; + const templateContent = '
{{ route.path }}
'; + + const tsName = 'app_route_test.component.ts'; + const htmlName = 'app_route_test.component.html'; + + const tsPath = await env.createFile(tsName, appTsContent); + await env.openFile(tsPath, appTsContent); + + const htmlPath = await env.createFile(htmlName, templateContent); + await env.openFile(htmlPath, templateContent); + + // Initial check: no error + const resultInitial = await env.lspClient.diagnostic(htmlPath); + expect(resultInitial.items.length).toBe(0); + + // Edit template: delete 't' and 'h' -> route.pa + const updatedHtml = '
{{ route.pa }}
'; + await env.editFile(htmlPath, updatedHtml, 'virtual'); + + const resultAfter = await env.lspClient.diagnostic(htmlPath); + expect(resultAfter.items.length).toBe(1); + const diag = resultAfter.items[0]; + expect(diag.message).toContain("Property 'pa' does not exist"); + // "pa" starts at character 14 ('
{{ route.'.length) and ends at 16 + expect(diag.range.start.character).toBe(14); + expect(diag.range.end.character).toBe(16); + }); + + it('should return workspace diagnostics across multiple components in the workspace', async () => { + const tsA = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-ws-a', + templateUrl: './app_ws_a.component.html', + standalone: true, + }) + export class AppWsAComponent { + missingA: string = ''; + } + `; + const htmlA = '
{{ invalidPropA }}
'; + + const tsB = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-ws-b', + template: '{{ invalidPropB }}', + standalone: true, + }) + export class AppWsBComponent {} + `; + + const tsPathA = await env.createFile('app_ws_a.component.ts', tsA); + await env.openFile(tsPathA, tsA); + + const htmlPathA = await env.createFile('app_ws_a.component.html', htmlA); + await env.openFile(htmlPathA, htmlA); + + const tsPathB = await env.createFile('app_ws_b.component.ts', tsB); + await env.openFile(tsPathB, tsB); + + // Wait for background analysis + await new Promise((resolve) => setTimeout(resolve, 800)); + + const wsReport = await env.lspClient.workspaceDiagnostic(); + expect(wsReport).toBeTruthy(); + expect(wsReport.items).toBeDefined(); + + const allDiags = wsReport.items.flatMap((item: any) => item.items || []); + expect( + allDiags.some((d: any) => d.message.includes("Property 'invalidPropA' does not exist")), + ).toBe(true); + expect( + allDiags.some((d: any) => d.message.includes("Property 'invalidPropB' does not exist")), + ).toBe(true); + }); +}); diff --git a/ngp-vscode-ng-language-service/tests/lsp_references_and_rename_spec.ts b/ngp-vscode-ng-language-service/tests/lsp_references_and_rename_spec.ts new file mode 100644 index 00000000000..9eb46469c1b --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/lsp_references_and_rename_spec.ts @@ -0,0 +1,274 @@ +import * as path from 'path'; +import * as rpc from 'vscode-jsonrpc/node'; +import {TestEnv, startTestServer} from './test_helpers'; +import {TestFileManager} from '../../packages/compiler-cli/preprocessor/language-service/tests/test_file_manager'; +import {WorkspaceEdit} from 'vscode-languageserver'; + +const testWorkspacePath = path.join(__dirname, 'test-workspace'); + +describe('LSP References and Rename', () => { + let connection: rpc.MessageConnection; + let tsgoConnection: rpc.MessageConnection; + let serverCleanup: () => Promise; + let env: TestEnv; + + beforeAll(async () => { + const result = await startTestServer(testWorkspacePath); + connection = result.connection; + tsgoConnection = result.tsgoConnection; + serverCleanup = result.cleanup; + }); + + afterAll(async () => { + await serverCleanup(); + }); + + beforeEach(() => { + const fileManager = new TestFileManager(testWorkspacePath); + env = new TestEnv(connection, tsgoConnection, fileManager); + }); + + afterEach(async () => { + await env.cleanup(); + }); + + it('should find references for component member from template usage via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-ref-test', + template: '
{{ myPr¦operty }}
', + standalone: true, + }) + export class AppRefTestComponent { + myProperty: string = 'hello'; + } + `; + + await env.run('app_ref_test.ts', appTsContent, async (filePath) => { + const refs = await env.getReferencesAtCursor(filePath); + expect(refs).not.toBeNull(); + expect(refs!.length).toBe(2); + + const fileContent = await env.getFileContent(filePath); + for (const ref of refs!) { + const startOffset = getOffsetFromPosition(fileContent, ref.range.start); + const endOffset = getOffsetFromPosition(fileContent, ref.range.end); + const text = fileContent.substring(startOffset, endOffset); + expect(text).toBe('myProperty'); + } + }); + }); + + it('should find references from TS class declaration to template usage via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-ref-from-ts', + template: '
{{ myTsProperty }}
', + standalone: true, + }) + export class AppRefFromTsComponent { + myTsP¦roperty: string = 'hello'; + } + `; + + await env.run('app_ref_from_ts.ts', appTsContent, async (filePath) => { + const refs = await env.getReferencesAtCursor(filePath); + expect(refs).not.toBeNull(); + expect(refs!.length).toBe(2); + + const fileContent = await env.getFileContent(filePath); + for (const ref of refs!) { + const startOffset = getOffsetFromPosition(fileContent, ref.range.start); + const endOffset = getOffsetFromPosition(fileContent, ref.range.end); + const text = fileContent.substring(startOffset, endOffset); + expect(text).toBe('myTsProperty'); + } + }); + }); + + it('should provide prepareRename info for template property via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-prepare-rename', + template: '{{ rename¦Me }}', + standalone: true, + }) + export class AppPrepareRenameComponent { + renameMe: string = 'hello'; + } + `; + + await env.run('app_prepare_rename.ts', appTsContent, async (filePath) => { + const renameInfo = await env.prepareRenameAtCursor(filePath); + expect(renameInfo).not.toBeNull(); + expect(renameInfo.range).toBeDefined(); + + const fileContent = await env.getFileContent(filePath); + const startOffset = getOffsetFromPosition(fileContent, renameInfo.range.start); + const endOffset = getOffsetFromPosition(fileContent, renameInfo.range.end); + const text = fileContent.substring(startOffset, endOffset); + expect(text).toBe('renameMe'); + }); + }); + + it('should perform rename across template and TS file via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-rename-test', + template: '', + standalone: true, + }) + export class AppRenameTestComponent { + clickCount: number = 0; + } + `; + + await env.run('app_rename_test.ts', appTsContent, async (filePath) => { + const edit: WorkspaceEdit | null = await env.renameAtCursor(filePath, 'totalClicks'); + expect(edit).not.toBeNull(); + expect(edit!.changes).toBeDefined(); + + const changes = Object.values(edit!.changes || {}).flat(); + expect(changes.length).toBe(2); + for (const change of changes) { + expect(change.newText).toBe('totalClicks'); + } + }); + }); + + it('should find references for @let declarations via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-let-ref', + template: '@let my¦Var = 123; {{ myVar }}', + standalone: true, + }) + export class AppLetRefComponent {} + `; + + await env.run('app_let_ref.ts', appTsContent, async (filePath) => { + const refs = await env.getReferencesAtCursor(filePath); + expect(refs).not.toBeNull(); + expect(refs!.length).toBe(2); + + const fileContent = await env.getFileContent(filePath); + for (const ref of refs!) { + const startOffset = getOffsetFromPosition(fileContent, ref.range.start); + const endOffset = getOffsetFromPosition(fileContent, ref.range.end); + const text = fileContent.substring(startOffset, endOffset); + expect(text).toBe('myVar'); + } + }); + }); + + it('should rename @let declarations via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-let-rename', + template: '@let old¦Var = 456; {{ oldVar + 1 }}', + standalone: true, + }) + export class AppLetRenameComponent {} + `; + + await env.run('app_let_rename.ts', appTsContent, async (filePath) => { + const edit: WorkspaceEdit | null = await env.renameAtCursor(filePath, 'newVar'); + expect(edit).not.toBeNull(); + expect(edit!.changes).toBeDefined(); + + const changes = Object.values(edit!.changes || {}).flat(); + expect(changes.length).toBe(2); + for (const change of changes) { + expect(change.newText).toBe('newVar'); + } + }); + }); + + it('should find references and rename element references (#ref) via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-elem-ref', + template: ' {{ myInput.value }}', + standalone: true, + }) + export class AppElemRefComponent {} + `; + + await env.run('app_elem_ref.ts', appTsContent, async (filePath) => { + const refs = await env.getReferencesAtCursor(filePath); + expect(refs).not.toBeNull(); + expect(refs!.length).toBe(2); + + const fileContent = await env.getFileContent(filePath); + for (const ref of refs!) { + const startOffset = getOffsetFromPosition(fileContent, ref.range.start); + const endOffset = getOffsetFromPosition(fileContent, ref.range.end); + const text = fileContent.substring(startOffset, endOffset); + expect(text).toBe('myInput'); + } + + const edit: WorkspaceEdit | null = await env.renameAtCursor(filePath, 'renamedInput'); + expect(edit).not.toBeNull(); + const changes = Object.values(edit!.changes || {}).flat(); + expect(changes.length).toBe(2); + for (const change of changes) { + expect(change.newText).toBe('renamedInput'); + } + }); + }); + + it('should find references for pipes via LSP', async () => { + const pipeTsContent = ` + import {Pipe, PipeTransform} from '@angular/core'; + + @Pipe({ + name: 'myLspPipe', + standalone: true, + }) + export class MyLspPipe implements PipeTransform { + transform(value: string): string { + return value; + } + } + `; + await env.createFile('lsp_pipe.ts', pipeTsContent); + + const appTsContent = ` + import {Component} from '@angular/core'; + import {MyLspPipe} from './lsp_pipe'; + + @Component({ + selector: 'app-pipe-test', + template: '{{ "hello" | myLsp¦Pipe }}', + standalone: true, + imports: [MyLspPipe], + }) + export class AppPipeTestComponent {} + `; + + await env.run('app_pipe_test.ts', appTsContent, async (filePath) => { + const refs = await env.getReferencesAtCursor(filePath); + expect(refs).not.toBeNull(); + expect(refs!.length).toBe(2); + }); + }); +}); + +function getOffsetFromPosition( + content: string, + position: {line: number; character: number}, +): number { + const lines = content.split('\n'); + let offset = 0; + for (let i = 0; i < position.line; i++) { + offset += lines[i].length + 1; + } + return offset + position.character; +} diff --git a/ngp-vscode-ng-language-service/tests/lsp_signature_help_spec.ts b/ngp-vscode-ng-language-service/tests/lsp_signature_help_spec.ts new file mode 100644 index 00000000000..3a70d5d3b91 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/lsp_signature_help_spec.ts @@ -0,0 +1,204 @@ +import * as path from 'path'; +import * as rpc from 'vscode-jsonrpc/node'; +import {TestEnv, startTestServer} from './test_helpers'; +import {TestFileManager} from '../../packages/compiler-cli/preprocessor/language-service/tests/test_file_manager'; + +const testWorkspacePath = path.join(__dirname, 'test-workspace'); + +describe('LSP Signature Help', () => { + let connection: rpc.MessageConnection; + let tsgoConnection: rpc.MessageConnection; + let serverCleanup: () => Promise; + let env: TestEnv; + + beforeAll(async () => { + const result = await startTestServer(testWorkspacePath); + connection = result.connection; + tsgoConnection = result.tsgoConnection; + serverCleanup = result.cleanup; + }); + + afterAll(async () => { + await serverCleanup(); + }); + + beforeEach(() => { + const fileManager = new TestFileManager(testWorkspacePath); + env = new TestEnv(connection, tsgoConnection, fileManager); + }); + + afterEach(async () => { + await env.cleanup(); + }); + + it('should provide signature help for empty argument list via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sig-lsp', + template: '
{{ foo(¦) }}
', + standalone: true, + }) + export class AppSigLspComponent { + foo(alpha: string, beta: number): string { + return 'hello'; + } + } + `; + + await env.run('app_sig_empty.ts', appTsContent, async (filePath) => { + const help = await env.getSignatureHelpAtCursor(filePath); + expect(help).not.toBeNull(); + expect(help!.signatures.length).toBe(1); + expect(help!.signatures[0].label).toContain('foo(alpha: string, beta: number)'); + expect(help!.signatures[0].parameters).toBeDefined(); + expect(help!.signatures[0].parameters!.length).toBe(2); + expect(help!.activeParameter === 0 || help!.activeParameter === undefined).toBe(true); + }); + }); + + it('should provide signature help with active parameter for single argument via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sig-lsp', + template: '
{{ foo("test"¦) }}
', + standalone: true, + }) + export class AppSigLspComponent { + foo(alpha: string, beta: number): string { + return 'hello'; + } + } + `; + + await env.run('app_sig_single.ts', appTsContent, async (filePath) => { + const help = await env.getSignatureHelpAtCursor(filePath); + expect(help).not.toBeNull(); + expect(help!.signatures.length).toBe(1); + expect(help!.signatures[0].label).toContain('foo(alpha: string, beta: number)'); + expect(help!.activeParameter).toBe(0); + }); + }); + + it('should provide signature help with active parameter for second argument via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sig-lsp', + template: '
{{ foo("test", ¦) }}
', + standalone: true, + }) + export class AppSigLspComponent { + foo(alpha: string, beta: number): string { + return 'hello'; + } + } + `; + + await env.run('app_sig_second.ts', appTsContent, async (filePath) => { + const help = await env.getSignatureHelpAtCursor(filePath); + expect(help).not.toBeNull(); + expect(help!.signatures.length).toBe(1); + expect(help!.signatures[0].label).toContain('foo(alpha: string, beta: number)'); + expect(help!.activeParameter).toBe(1); + }); + }); + + it('should provide signature help in external template via LSP', async () => { + await env.createFile('app_sig_ext.html', '
{{ foo("test", ¦) }}
'); + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sig-ext', + templateUrl: './app_sig_ext.html', + standalone: true, + }) + export class AppSigExtComponent { + foo(alpha: string, beta: number): string { + return 'hello'; + } + } + `; + + await env.createFile('app_sig_ext.ts', appTsContent); + const htmlPath = path.join(testWorkspacePath, 'app_sig_ext.html'); + await env.openFile(htmlPath, await env.getFileContent(htmlPath)); + + const help = await env.getSignatureHelpAtCursor(htmlPath); + expect(help).not.toBeNull(); + expect(help!.signatures.length).toBe(1); + expect(help!.signatures[0].label).toContain('foo(alpha: string, beta: number)'); + expect(help!.activeParameter).toBe(1); + }); + + it('should provide signature help in event binding via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sig-event', + template: '', + standalone: true, + }) + export class AppSigEventComponent { + handleClick(event: MouseEvent, extra: number): void {} + } + `; + + await env.run('app_sig_event.ts', appTsContent, async (filePath) => { + const help = await env.getSignatureHelpAtCursor(filePath); + expect(help).not.toBeNull(); + expect(help!.signatures.length).toBe(1); + expect(help!.signatures[0].label).toContain('handleClick(event: MouseEvent, extra: number)'); + expect(help!.activeParameter).toBe(1); + }); + }); + + it('should return null when cursor is on non-call expression via LSP', async () => { + const appTsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sig-null', + template: '
{{ myPr¦op }}
', + standalone: true, + }) + export class AppSigNullComponent { + myProp = 'hello'; + } + `; + + await env.run('app_sig_null.ts', appTsContent, async (filePath) => { + const help = await env.getSignatureHelpAtCursor(filePath); + expect(help).toBeNull(); + }); + }); + + it('should clean up TCB-specific prefixes from signature help via LSP', async () => { + await env.createFile('lsp_types.ts', 'export interface LspData { id: number; }'); + const appTsContent = ` + import {Component} from '@angular/core'; + import {LspData} from './lsp_types'; + + @Component({ + selector: 'app-sig-clean', + template: '
{{ runTask(¦) }}
', + standalone: true, + }) + export class AppSigCleanComponent { + runTask(data: LspData): LspData { + return data; + } + } + `; + + await env.run('app_sig_clean.ts', appTsContent, async (filePath) => { + const help = await env.getSignatureHelpAtCursor(filePath); + expect(help).not.toBeNull(); + expect(help!.signatures.length).toBe(1); + const label = help!.signatures[0].label; + expect(label).not.toMatch(/\bi[0-9]+\./); + expect(label).not.toMatch(/_t[0-9]+/); + expect(label).toContain('runTask(data: LspData): LspData'); + }); + }); +}); diff --git a/ngp-vscode-ng-language-service/tests/multi_project_spec.ts b/ngp-vscode-ng-language-service/tests/multi_project_spec.ts new file mode 100644 index 00000000000..50287b58f10 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/multi_project_spec.ts @@ -0,0 +1,147 @@ +import * as path from 'path'; +import * as fs from 'node:fs/promises'; +import * as rpc from 'vscode-jsonrpc/node'; +import {TestEnv, startTestServer} from './test_helpers'; +import {TestFileManager} from '../../packages/compiler-cli/preprocessor/language-service/tests/test_file_manager'; + +const testWorkspacePath = path.join(__dirname, 'test-workspace'); + +describe('Multi-Project Support', () => { + let connection: rpc.MessageConnection; + let tsgoConnection: rpc.MessageConnection; + let serverCleanup: () => Promise; + let env: TestEnv; + + beforeAll(async () => { + const result = await startTestServer(testWorkspacePath); + connection = result.connection; + tsgoConnection = result.tsgoConnection; + serverCleanup = result.cleanup; + }); + + afterAll(async () => { + await serverCleanup(); + }); + + beforeEach(() => { + const fileManager = new TestFileManager(testWorkspacePath); + env = new TestEnv(connection, tsgoConnection, fileManager); + }); + + afterEach(async () => { + await env.cleanup(); + }); + + it('should launch a separate Angular compiler for a subproject with its own tsconfig', async () => { + const subprojectDir = path.join(testWorkspacePath, 'subproject_a'); + await fs.mkdir(subprojectDir, {recursive: true}); + + const subprojectTsconfig = path.join(subprojectDir, 'tsconfig.json'); + await fs.writeFile( + subprojectTsconfig, + JSON.stringify( + { + extends: '../../../tsconfig.json', + compilerOptions: { + rootDir: '.', + }, + include: ['*.ts'], + }, + null, + 2, + ), + ); + await env.lspClient.didChangeWatchedFiles(subprojectTsconfig, 1); + + try { + const componentContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-sub-test', + template: '
', + standalone: true, + }) + export class SubprojectTestComponent { + subprojectName: string = 'subproject-a'; + } + `; + + await env.run('subproject_a/sub_test.component.ts', componentContent, async (filePath) => { + await env.expectHoverAtCursor(filePath, ['subprojectName', 'string']); + }); + } finally { + await fs.rm(subprojectTsconfig, {force: true}); + await env.lspClient.didChangeWatchedFiles(subprojectTsconfig, 3); + await fs.rm(subprojectDir, {recursive: true, force: true}); + } + }); + + it('should resolve referenced app tsconfig when external HTML template is opened first in a solution-style project', async () => { + const solutionDir = path.join(testWorkspacePath, 'solution_proj'); + await fs.mkdir(solutionDir, {recursive: true}); + + const rootTsconfig = path.join(solutionDir, 'tsconfig.json'); + const appTsconfig = path.join(solutionDir, 'tsconfig.app.json'); + + await Promise.all([ + fs.writeFile( + rootTsconfig, + JSON.stringify( + { + files: [], + references: [{path: './tsconfig.app.json'}], + }, + null, + 2, + ), + ), + fs.writeFile( + appTsconfig, + JSON.stringify( + { + extends: '../../../tsconfig.json', + compilerOptions: { + rootDir: '.', + }, + include: ['*.ts'], + }, + null, + 2, + ), + ), + ]); + + await env.lspClient.didChangeWatchedFiles(rootTsconfig, 1); + await env.lspClient.didChangeWatchedFiles(appTsconfig, 1); + + const tsContent = ` + import {Component} from '@angular/core'; + @Component({ + selector: 'app-solution-test', + templateUrl: './solution.component.html', + standalone: true, + }) + export class SolutionTestComponent { + solutionTitle: string = 'solution-ok'; + } + `; + + const htmlContent = '
'; + const tsFilePath = await env.createFile('solution_proj/solution.component.ts', tsContent); + + try { + await env.run('solution_proj/solution.component.html', htmlContent, async (htmlFilePath) => { + // Open the TS file to populate the compiler with component declarations + await env.openFile(tsFilePath, tsContent); + + // Verify hover on HTML file works cleanly + await env.expectHoverAtCursor(htmlFilePath, ['solutionTitle', 'string']); + }); + } finally { + await Promise.all([fs.rm(rootTsconfig, {force: true}), fs.rm(appTsconfig, {force: true})]); + await env.lspClient.didChangeWatchedFiles(rootTsconfig, 3); + await env.lspClient.didChangeWatchedFiles(appTsconfig, 3); + await fs.rm(solutionDir, {recursive: true, force: true}); + } + }, 15000); +}); diff --git a/ngp-vscode-ng-language-service/tests/run_jasmine.mjs b/ngp-vscode-ng-language-service/tests/run_jasmine.mjs new file mode 100644 index 00000000000..e0a162e0900 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/run_jasmine.mjs @@ -0,0 +1,128 @@ +import esbuild from 'esbuild'; +import path from 'node:path'; +import {fileURLToPath, pathToFileURL} from 'node:url'; +import fs from 'node:fs/promises'; +import Jasmine from 'jasmine'; +import cp from 'node:child_process'; +import {createRequire} from 'node:module'; + +const req = createRequire(import.meta.url); +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const repoRoot = path.resolve(__dirname, '../..'); +const outDir = path.join(__dirname, '.jasmine_build'); + +// If no arguments, run each spec in its own child process sequentially for clean isolation +const args = process.argv.slice(2); +if (args.length === 0) { + const entries = await fs.readdir(__dirname); + const specFiles = entries + .filter((f) => (f.endsWith('_spec.ts') || f.endsWith('.test.ts')) && !f.endsWith('.d.ts')) + .sort() + .map((f) => path.join(__dirname, f)); + + let failed = false; + for (const specFile of specFiles) { + const result = cp.spawnSync(process.execPath, [fileURLToPath(import.meta.url), specFile], { + stdio: 'inherit', + cwd: repoRoot, + }); + if (result.status !== 0) { + failed = true; + } + } + process.exit(failed ? 1 : 0); +} + +// Single spec run mode +const specFile = path.resolve(args[0]); + +// Resolve tsgo binary path +try { + const previewPkg = req.resolve('@typescript/native-preview/package.json'); + const previewReq = createRequire(previewPkg); + const platformPkg = `@typescript/native-preview-${process.platform}-${process.arch}`; + const platPkgJson = previewReq.resolve(`${platformPkg}/package.json`); + process.env['TSGO_BINARY_PATH'] = path.join( + path.dirname(platPkgJson), + 'lib', + process.platform === 'win32' ? 'tsgo.exe' : 'tsgo', + ); +} catch (e) { + console.warn('Could not resolve tsgo binary:', e); +} + +// Clean and create outDir +await fs.rm(outDir, {recursive: true, force: true}); +await fs.mkdir(outDir, {recursive: true}); + +try { + const baseName = path.basename(specFile).replace(/\.ts$/, '.cjs'); + const outFile = path.join(outDir, baseName); + + await esbuild.build({ + entryPoints: [specFile], + bundle: true, + platform: 'node', + format: 'cjs', + target: 'node20', + outfile: outFile, + external: [ + 'vscode-languageserver', + 'vscode-languageserver/*', + 'vscode-languageserver-textdocument', + 'vscode-languageserver-types', + 'vscode-languageclient', + 'vscode-languageclient/*', + 'vscode-jsonrpc', + 'vscode-jsonrpc/*', + 'vscode-uri', + 'typescript', + '@typescript/native-preview', + '@typescript/native-preview/*', + 'jasmine', + path.join(repoRoot, 'packages/compiler-cli/preprocessor/ng-analyze-wasm/ng_analyze.js'), + path.join(repoRoot, 'packages/compiler-cli/preprocessor/ng-analyze/index.js'), + ], + alias: { + '@angular/compiler-cli/private/hybrid_analysis': path.join( + repoRoot, + 'packages/compiler-cli/private/hybrid_analysis.ts', + ), + '@angular/compiler-cli/private/migrations': path.join( + repoRoot, + 'packages/compiler-cli/private/migrations.ts', + ), + '@angular/compiler-cli': path.join(repoRoot, 'packages/compiler-cli/index.ts'), + '@angular/compiler': path.join(repoRoot, 'packages/compiler/index.ts'), + '@angular/language-service/private': path.join( + repoRoot, + 'packages/language-service/private.ts', + ), + '@angular/language-service/api': path.join(repoRoot, 'packages/language-service/api.ts'), + '@angular/language-service': path.join(repoRoot, 'packages/language-service/api.ts'), + '@angular/core': path.join(repoRoot, 'packages/core/index.ts'), + }, + define: { + __dirname: JSON.stringify(path.dirname(specFile)), + 'import.meta.url': JSON.stringify(pathToFileURL(specFile).href), + }, + logOverride: { + 'empty-import-meta': 'silent', + }, + }); + + console.log(`\nRunning ${path.basename(specFile)} with Jasmine:`); + const jasmine = new Jasmine(); + jasmine.exitOnCompletion = false; + jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; + jasmine.env.configure({random: false}); + jasmine.loadConfig({ + spec_files: [outFile], + }); + const result = await jasmine.execute(); + if (result.overallStatus !== 'passed') { + process.exit(1); + } +} finally { + await fs.rm(outDir, {recursive: true, force: true}); +} diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/package.json b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/package.json new file mode 100755 index 00000000000..e05c1d63061 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/package.json @@ -0,0 +1,103 @@ +{ + "name": "@angular/core", + "version": "22.3.0-next.0+sha-95e8dec", + "description": "Angular - the core framework", + "author": "angular", + "license": "MIT", + "engines": { + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" + }, + "exports": { + "./schematics/*": { + "default": "./schematics/*.js" + }, + "./event-dispatch-contract.min.js": { + "default": "./event-dispatch-contract.min.js" + }, + "./package.json": { + "default": "./package.json" + }, + ".": { + "types": "./types/core.d.ts", + "default": "./fesm2022/core.mjs" + }, + "./primitives/di": { + "types": "./types/primitives-di.d.ts", + "default": "./fesm2022/primitives-di.mjs" + }, + "./primitives/event-dispatch": { + "types": "./types/primitives-event-dispatch.d.ts", + "default": "./fesm2022/primitives-event-dispatch.mjs" + }, + "./primitives/signals": { + "types": "./types/primitives-signals.d.ts", + "default": "./fesm2022/primitives-signals.mjs" + }, + "./rxjs-interop": { + "types": "./types/rxjs-interop.d.ts", + "default": "./fesm2022/rxjs-interop.mjs" + }, + "./testing": { + "types": "./types/testing.d.ts", + "default": "./fesm2022/testing.mjs" + } + }, + "dependencies": { + "tslib": "^2.3.0" + }, + "devDependencies": { + "@mcp-b/webmcp-polyfill": "^5.0.0", + "@mcp-b/webmcp-types": "^5.0.0", + "@modelcontextprotocol/server": "^2.0.0" + }, + "peerDependencies": { + "@angular/compiler": "22.3.0-next.0+sha-95e8dec", + "rxjs": "^6.5.3 || ^7.4.0", + "zone.js": "~0.15.0 || ~0.16.0" + }, + "peerDependenciesMeta": { + "@angular/compiler": { + "optional": true + }, + "zone.js": { + "optional": true + } + }, + "repository": { + "type": "git", + "url": "https://github.com/angular/angular.git", + "directory": "packages/core" + }, + "ng-update": { + "migrations": "./schematics/migrations.json", + "packageGroup": [ + "@angular/core", + "@angular/bazel", + "@angular/common", + "@angular/compiler", + "@angular/compiler-cli", + "@angular/animations", + "@angular/elements", + "@angular/platform-browser", + "@angular/platform-browser-dynamic", + "@angular/forms", + "@angular/platform-server", + "@angular/upgrade", + "@angular/router", + "@angular/language-service", + "@angular/localize", + "@angular/service-worker" + ] + }, + "angular": { + "bestPractices": { + "format": "markdown", + "path": "./resources/best-practices.md" + } + }, + "schematics": "./schematics/collection.json", + "sideEffects": false, + "module": "./fesm2022/core.mjs", + "typings": "./types/core.d.ts", + "type": "module" +} \ No newline at end of file diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/LICENSE b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/LICENSE new file mode 100755 index 00000000000..73861c0e04c --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 mcp-b contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/dist/common.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/dist/common.d.ts new file mode 100755 index 00000000000..e7d9786283f --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/dist/common.d.ts @@ -0,0 +1,15 @@ +export type { CallToolResult, ContentBlock, JSONObject as JsonObject, JSONValue as JsonValue, TextContent, } from '../../../@modelcontextprotocol/server/index.js'; +/** JSON Schema object accepted at the WebMCP boundary. */ +export interface InputSchema { + type?: unknown; + properties?: Readonly> | undefined; + required?: readonly string[] | undefined; + [keyword: string]: unknown; +} +/** Values accepted by WebMCP tool callbacks. */ +export type WebMcpToolInput = Record | unknown[]; +/** Handle returned by MCP-B registration helpers. */ +export interface RegistrationHandle { + unregister(): void; +} +//# sourceMappingURL=common.d.ts.map \ No newline at end of file diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/dist/json-schema.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/dist/json-schema.d.ts new file mode 100755 index 00000000000..f6f3d50632e --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/dist/json-schema.d.ts @@ -0,0 +1,52 @@ +import type { InputSchema, WebMcpToolInput } from './common.js'; +import type { JsonSchemaType as McpJsonSchema } from '../../../@modelcontextprotocol/server/index.js'; +/** JSON Schema Draft 2020-12 accepted by the inference helpers. */ +export type JsonSchemaForInference = McpJsonSchema; +type JsonSchemaType = 'string' | 'number' | 'integer' | 'boolean' | 'null' | 'object' | 'array'; +type Simplify = { + [K in keyof T]: T[K]; +} & {}; +type EmptyObject = Record; +type ConstValue = TSchema extends { + const: infer TValue; +} ? TValue : never; +type EnumValue = TSchema extends { + enum: readonly (infer TValue)[]; +} ? TValue : never; +type Properties = TSchema extends { + properties: infer TProperties extends Readonly>; +} ? TProperties : EmptyObject; +type RequiredKeys = TSchema extends { + required: readonly (infer TKey extends string)[]; +} ? string extends TKey ? never : Extract> : never; +type AdditionalProperties = TSchema extends { + additionalProperties: false; +} ? keyof Properties extends never ? Record : EmptyObject : keyof Properties extends never ? TSchema extends { + additionalProperties: infer TAdditional extends object; +} ? Record> : Record : Record; +type InferObject = Simplify<{ + -readonly [K in keyof Properties as K extends RequiredKeys ? K : never]-?: InferJsonSchema[K]>; +} & { + -readonly [K in keyof Properties as K extends RequiredKeys ? never : K]?: InferJsonSchema[K]>; +} & AdditionalProperties>; +type TypeKeyword = TSchema extends { + type: infer TType; +} ? TType : TSchema extends { + properties: unknown; +} | { + required: unknown; +} | { + additionalProperties: unknown; +} ? 'object' : never; +type TypeOptions = TypeKeyword extends readonly unknown[] ? Extract[number], JsonSchemaType> : Extract, JsonSchemaType>; +type InferType = TType extends 'object' ? InferObject : TType extends 'array' ? TSchema extends { + items: infer TItems; +} ? InferJsonSchema[] : unknown[] : TType extends 'string' ? string : TType extends 'number' | 'integer' ? number : TType extends 'boolean' ? boolean : TType extends 'null' ? null : unknown; +/** Infers a TypeScript value from the supported JSON Schema keywords. */ +export type InferJsonSchema = TSchema extends false ? never : TSchema extends true ? unknown : [InputSchema] extends [TSchema] ? unknown : [ConstValue] extends [never] ? [EnumValue] extends [never] ? TypeOptions extends never ? unknown : InferType> : EnumValue : ConstValue; +/** Infers the object or array passed to a WebMCP tool callback. */ +export type InferArgsFromInputSchema = [ + Extract, null | undefined>, WebMcpToolInput> +] extends [never] ? WebMcpToolInput : Extract, null | undefined>, WebMcpToolInput>; +export {}; +//# sourceMappingURL=json-schema.d.ts.map \ No newline at end of file diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/index.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/index.d.ts new file mode 100755 index 00000000000..e06dd8cf606 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@mcp-b/webmcp-types/index.d.ts @@ -0,0 +1,9 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +export {InferArgsFromInputSchema, JsonSchemaForInference} from './dist/json-schema.js'; diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@modelcontextprotocol/server/LICENSE b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@modelcontextprotocol/server/LICENSE new file mode 100755 index 00000000000..4a939857632 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@modelcontextprotocol/server/LICENSE @@ -0,0 +1,216 @@ +The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0. + +Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License. + +No rights beyond those granted by the applicable original license are conveyed for such contributions. + +--- + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to the Licensor for inclusion in the Work by the copyright + owner or by an individual or Legal Entity authorized to submit on behalf + of the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + +--- + +MIT License + +Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Creative Commons Attribution 4.0 International (CC-BY-4.0) + +Documentation in this project (excluding specifications) is licensed under +CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for +the full license text. diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@modelcontextprotocol/server/index.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@modelcontextprotocol/server/index.d.ts new file mode 100755 index 00000000000..6ffc9ccf609 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/third_party/@modelcontextprotocol/server/index.d.ts @@ -0,0 +1,35 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.dev/license + */ + +export declare interface McpServer { + __brand: 'McpServer'; +} + +export declare interface JsonSchemaType { + [key: string]: any; +} + +export declare interface CallToolResult { + [key: string]: any; +} + +export declare interface ContentBlock { + [key: string]: any; +} + +export declare interface JSONObject { + [key: string]: any; +} + +export declare interface JSONValue { + [key: string]: any; +} + +export declare interface TextContent { + [key: string]: any; +} diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_api-chunk.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_api-chunk.d.ts new file mode 100755 index 00000000000..32d15d28ac3 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_api-chunk.d.ts @@ -0,0 +1,380 @@ +/** + * @license Angular v22.3.0-next.0+sha-95e8dec + * (c) 2010-2026 Google LLC. https://angular.dev/ + * License: MIT + */ + +import { OutputRef, OutputRefSubscription, DestroyRef, Signal, ValueEqualityFn, Injector, WritableSignal } from './_chrome_dev_tools_performance-chunk.js'; + +/** + * An `OutputEmitterRef` is created by the `output()` function and can be + * used to emit values to consumers of your directive or component. + * + * Consumers of your directive/component can bind to the output and + * subscribe to changes via the bound event syntax. For example: + * + * ```html + * + * ``` + * + * @see [Custom events with outputs](guide/components/outputs) + * + * @publicAPI + */ +declare class OutputEmitterRef implements OutputRef { + private destroyed; + private listeners; + private errorHandler; + private isEmitting; + private hasNullListeners; + constructor(); + subscribe(callback: (value: T) => void): OutputRefSubscription; + /** Emits a new value to the output. */ + emit(value: T): void; +} +/** Gets the owning `DestroyRef` for the given output. */ +declare function getOutputDestroyRef(ref: OutputRef): DestroyRef | undefined; + +/** + * Options for declaring an output. + * + * @see [Customizing output names](guide/components/outputs#customizing-output-names) + * + * @publicApi 19.0 + */ +interface OutputOptions { + alias?: string; +} +/** + * The `output` function allows declaration of Angular outputs in + * directives and components. + * + * You can use outputs to emit values to parent directives and component. + * Parents can subscribe to changes via: + * + * - template event bindings. For example, `(myOutput)="doSomething($event)"` + * - programmatic subscription by using `OutputRef#subscribe`. + * + * @usageNotes + * + * To use `output()`, import the function from `@angular/core`. + * + * ```ts + * import {output} from '@angular/core'; + * ``` + * + * Inside your component, introduce a new class member and initialize + * it with a call to `output`. + * + * ```ts + * @Directive({ + * ... + * }) + * export class MyDir { + * nameChange = output(); // OutputEmitterRef + * onClick = output(); // OutputEmitterRef + * } + * ``` + * + * You can emit values to consumers of your directive, by using + * the `emit` method from `OutputEmitterRef`. + * + * ```ts + * updateName(newName: string): void { + * this.nameChange.emit(newName); + * } + * ``` + * + * @see [Custom events with outputs](guide/components/outputs#customizing-output-names) + * + * @initializerApiFunction {"showTypesInSignaturePreview": true} + * @publicApi 19.0 + */ +declare function output(opts?: OutputOptions): OutputEmitterRef; + +/** Error thrown when a `Resource` dependency of another resource errors. */ +declare class ResourceDependencyError extends Error { + /** The dependency that errored. */ + readonly dependency: Resource; + constructor(dependency: Resource); +} +/** + * Special status codes that can be thrown from a resource's `params` or `request` function to + * indicate that the resource should transition to that status. + */ +declare class ResourceParamsStatus extends Error { + private readonly _brand; + private constructor(); + /** Status code that transitions the resource to `idle` status. */ + static readonly IDLE: ResourceParamsStatus; + /** Status code that transitions the resource to `loading` status. */ + static readonly LOADING: ResourceParamsStatus; +} +/** + * Context received by a resource's `params` or `request` function. + * + * @see [Chaining resources](guide/signals/resource#chaining-resources) + */ +interface ResourceParamsContext { + /** + * Chains the current params off of the value of another resource, returning the value + * of the other resource only when its status is `resolved` or `local`, or propagating status to + * the current resource by throwing the appropriate status code when the value is not available. + */ + readonly chain: (resource: Resource) => T; +} +/** + * String value capturing the status of a `Resource`. + * + * Possible statuses are: + * + * `idle` - The resource has no valid request and will not perform any loading. `value()` will be + * `undefined`. + * + * `loading` - The resource is currently loading a new value as a result of a change in its reactive + * dependencies. `value()` will be `undefined`. + * + * `reloading` - The resource is currently reloading a fresh value for the same reactive + * dependencies. `value()` will continue to return the previously fetched value during the reloading + * operation. + * + * `error` - Loading failed with an error. `value()` will be `undefined`. + * + * `resolved` - Loading has completed and the resource has the value returned from the loader. + * + * `local` - The resource's value was set locally via `.set()` or `.update()`. + * + * @publicApi 22.0 + */ +type ResourceStatus = 'idle' | 'error' | 'loading' | 'reloading' | 'resolved' | 'local'; +/** + * A Resource is an asynchronous dependency (for example, the results of an API call) that is + * managed and delivered through signals. + * + * The usual way of creating a `Resource` is through the `resource` function, but various other APIs + * may present `Resource` instances to describe their own concepts. + * + * @publicApi 22.0 + */ +interface Resource { + /** + * The current value of the `Resource`, or throws an error if the resource is in an error state. + */ + readonly value: Signal; + /** + * The current status of the `Resource`, which describes what the resource is currently doing and + * what can be expected of its `value`. + */ + readonly status: Signal; + /** + * When in the `error` state, this returns the last known error from the `Resource`. + */ + readonly error: Signal; + /** + * Whether this resource is loading a new value (or reloading the existing one). + */ + readonly isLoading: Signal; + /** + * The current state of this resource, represented as a `ResourceSnapshot`. + */ + readonly snapshot: Signal>; + /** + * Whether this resource has a valid current value. + * + * This function is reactive. + */ + hasValue(this: T extends undefined ? this : never): this is Resource>; + hasValue(): boolean; +} +/** + * A `Resource` with a mutable value. + * + * Overwriting the value of a resource sets it to the 'local' state. + * + * @publicApi 22.0 + */ +interface WritableResource extends Resource { + readonly value: WritableSignal; + hasValue(this: T extends undefined ? this : never): this is WritableResource>; + hasValue(): boolean; + /** + * Convenience wrapper for `value.set`. + */ + set(value: T): void; + /** + * Convenience wrapper for `value.update`. + */ + update(updater: (value: T) => T): void; + asReadonly(): Resource; + /** + * Instructs the resource to re-load any asynchronous dependency it may have. + * + * Note that the resource will not enter its reloading state until the actual backend request is + * made. + * + * @returns true if a reload was initiated, false if a reload was unnecessary or unsupported + */ + reload(): boolean; +} +/** + * A `WritableResource` created through the `resource` function. + * + * @publicApi 22.0 + */ +interface ResourceRef extends WritableResource { + hasValue(this: T extends undefined ? this : never): this is ResourceRef>; + hasValue(): boolean; + /** + * Manually destroy the resource, which cancels pending requests and returns it to `idle` state. + */ + destroy(): void; +} +/** + * Parameter to a `ResourceLoader` which gives the request and other options for the current loading + * operation. + * + * @publicApi 22.0 + */ +interface ResourceLoaderParams { + params: NoInfer>; + abortSignal: AbortSignal; + previous: { + status: ResourceStatus; + }; +} +/** + * Loading function for a `Resource`. + * + * @publicApi 22.0 + */ +type ResourceLoader = (param: ResourceLoaderParams) => PromiseLike; +/** + * Streaming loader for a `Resource`. + * + * @publicApi 22.0 + */ +type ResourceStreamingLoader = (param: ResourceLoaderParams) => Signal> | PromiseLike>> | undefined; +/** + * Options to the `resource` function, for creating a resource. + * + * @publicApi 22.0 + */ +interface BaseResourceOptions { + /** + * A reactive function which determines the request to be made. Whenever the request changes, the + * loader will be triggered to fetch a new value for the resource. + * + * If a params function isn't provided, the loader won't rerun unless the resource is reloaded. + */ + params?: (ctx: ResourceParamsContext) => R; + /** + * The value which will be returned from the resource when a server value is unavailable, such as + * when the resource is still loading. + */ + defaultValue?: NoInfer; + /** + * Equality function used to compare the return value of the loader. + */ + equal?: ValueEqualityFn; + /** + * Overrides the `Injector` used by `resource`. + */ + injector?: Injector; + /** + * Identifier used to cache the resource data in the `TransferState` during server-side rendering and to retrieve it on the client side. + * This value value needs to be identical for both the client and server. + */ + id?: string; +} +/** + * Options to the `resource` function, for creating a resource. + * + * @publicApi 22.0 + */ +interface PromiseResourceOptions extends BaseResourceOptions { + /** + * Loading function which returns a `Promise` of the resource's value for a given request. + */ + loader: ResourceLoader; + /** + * Cannot specify `stream` and `loader` at the same time. + */ + stream?: never; +} +/** + * Options to the `resource` function, for creating a resource. + * + * @publicApi 22.0 + */ +interface StreamingResourceOptions extends BaseResourceOptions { + /** + * Loading function which returns a `Promise` of a signal of the resource's value for a given + * request, which can change over time as new values are received from a stream. + */ + stream: ResourceStreamingLoader; + /** + * Cannot specify `stream` and `loader` at the same time. + */ + loader?: never; +} +/** + * @publicApi 22.0 + */ +type ResourceOptions = (PromiseResourceOptions | StreamingResourceOptions) & { + /** + * A debug name for the reactive node. Used in Angular DevTools to identify the node. + */ + debugName?: string; +}; +/** + * @publicApi 22.0 + */ +type ResourceStreamItem = { + value: T; +} | { + error: Error; +}; +/** + * An explicit representation of a resource's state. + * + * @publicApi 22.0 + * @see [Resource composition with snapshots](guide/signals/resource#resource-composition-with-snapshots) + */ +type ResourceSnapshot = { + readonly status: 'idle'; + readonly value: T; +} | { + readonly status: 'loading' | 'reloading'; + readonly value: T; +} | { + readonly status: 'resolved' | 'local'; + readonly value: T; +} | { + readonly status: 'error'; + readonly error: Error; +}; +/** + * Options for `debounced`. + * + * @see [Debouncing signals with `debounced`](guide/signals/debounced) + * + * @experimental 22.0 + */ +interface DebouncedOptions { + /** The `Injector` to use for the debounced resource. */ + injector?: Injector; + /** The equality function to use for comparing values. */ + equal?: ValueEqualityFn; +} +/** + * Represents the wait condition for item debouncing. + * Can be a number of milliseconds or a function that returns a Promise. + * + * @see [Debouncing signals with `debounced`](guide/signals/debounced) + * + * @experimental 22.0 + */ +type DebounceTimer = number | ((value: T, lastValue: ResourceSnapshot) => Promise | void); + +export { OutputEmitterRef, ResourceDependencyError, ResourceParamsStatus, getOutputDestroyRef, output }; +export type { BaseResourceOptions, DebounceTimer, DebouncedOptions, OutputOptions, PromiseResourceOptions, Resource, ResourceLoader, ResourceLoaderParams, ResourceOptions, ResourceParamsContext, ResourceRef, ResourceSnapshot, ResourceStatus, ResourceStreamItem, ResourceStreamingLoader, StreamingResourceOptions, WritableResource }; diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_chrome_dev_tools_performance-chunk.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_chrome_dev_tools_performance-chunk.d.ts new file mode 100755 index 00000000000..adfbb1378ca --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_chrome_dev_tools_performance-chunk.d.ts @@ -0,0 +1,875 @@ +/** + * @license Angular v22.3.0-next.0+sha-95e8dec + * (c) 2010-2026 Google LLC. https://angular.dev/ + * License: MIT + */ + +import { SIGNAL } from './_formatter-chunk.js'; +import * as _angular_core from '@angular/core'; +import { EventContract } from './_event_dispatcher-chunk.js'; + +/** Symbol used distinguish `WritableSignal` from other non-writable signals and functions. */ +declare const ɵWRITABLE_SIGNAL: unique symbol; +/** + * A `Signal` with a value that can be mutated via a setter interface. + * + * @publicApi 17.0 + */ +interface WritableSignal extends Signal { + [ɵWRITABLE_SIGNAL]: T; + /** + * Directly set the signal to a new value, and notify any dependents. + */ + set(value: T): void; + /** + * Update the value of the signal based on its current value, and + * notify any dependents. + */ + update(updateFn: (value: T) => T): void; + /** + * Returns a readonly version of this signal. Readonly signals can be accessed to read their value + * but can't be changed using set or update methods. The readonly signals do _not_ have + * any built-in mechanism that would prevent deep-mutation of their value. + */ + asReadonly(): Signal; +} +/** + * Utility function used during template type checking to extract the value from a `WritableSignal`. + * @codeGenApi + */ +declare function ɵunwrapWritableSignal(value: T | { + [ɵWRITABLE_SIGNAL]: T; +}): T; +/** + * Options passed to the `signal` creation function. + */ +interface CreateSignalOptions { + /** + * A comparison function which defines equality for signal values. + */ + equal?: ValueEqualityFn; + /** + * A debug name for the signal. Used in Angular DevTools to identify the signal. + */ + debugName?: string; +} +/** + * Create a `Signal` that can be set or updated directly. + * @see [Angular Signals](guide/signals) + */ +declare function signal(initialValue: T, options?: CreateSignalOptions): WritableSignal; + +/** + * A reactive value which notifies consumers of any changes. + * + * Signals are functions which returns their current value. To access the current value of a signal, + * call it. + * + * Ordinary values can be turned into `Signal`s with the `signal` function. + * + * @see [What are signals?](guide/signals#what-are-signals) + * + * @publicApi 17.0 + */ +type Signal = (() => T) & { + [SIGNAL]: unknown; +}; +/** + * Checks if the given `value` is a reactive `Signal`. + * + * @see [Type checking signals](guide/signals#type-checking-signals) + * + * @publicApi 17.0 + */ +declare function isSignal(value: unknown): value is Signal; +/** + * A comparison function which can determine if two values are equal. + * + * @see [Signal equality functions](guide/signals#signal-equality-functions) + * + * @publicApi 17.0 + */ +type ValueEqualityFn = (a: T, b: T) => boolean; +/** + * Checks if the given `value` is a writeable signal. + * + * @see [Type checking signals](guide/signals#type-checking-signals) + * + * @publicApi 21.1 + */ +declare function isWritableSignal(value: unknown): value is WritableSignal; + +/** + * Function that can be used to manually clean up a + * programmatic {@link OutputRef#subscribe} subscription. + * + * Note: Angular will automatically clean up subscriptions + * when the directive/component of the output is destroyed. + * + * @see [Subscribing to outputs programmatically](guide/components/outputs#subscribing-to-outputs-programmatically) + * + * @publicAPI + */ +interface OutputRefSubscription { + unsubscribe(): void; +} +/** + * A reference to an Angular output. + * + * @publicAPI + * @see [Subscribing to outputs programmatically](guide/components/outputs#subscribing-to-outputs-programmatically) + */ +interface OutputRef { + /** + * Registers a callback that is invoked whenever the output + * emits a new value of type `T`. + * + * Angular will automatically clean up the subscription when + * the directive/component of the output is destroyed. + */ + subscribe(callback: (value: T) => void): OutputRefSubscription; +} + +/** + * @description + * + * Represents an abstract class `T`, if applied to a concrete class it would stop being + * instantiable. + * + * @publicApi + */ +interface AbstractType extends Function { + prototype: T; +} +/** + * @description + * + * Represents a type that a Component or other object is instances of. + * + * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by + * the `MyCustomComponent` constructor function. + * + * @publicApi + */ +declare const Type: FunctionConstructor; +interface Type extends Function { + new (...args: any[]): T; +} +/** + * Returns a writable type version of type. + * + * USAGE: + * Given: + * ```ts + * interface Person {readonly name: string} + * ``` + * + * We would like to get a read/write version of `Person`. + * ```ts + * const WritablePerson = Writable; + * ``` + * + * The result is that you can do: + * + * ```ts + * const readonlyPerson: Person = {name: 'Marry'}; + * readonlyPerson.name = 'John'; // TypeError + * (readonlyPerson as WritablePerson).name = 'John'; // OK + * + * // Error: Correctly detects that `Person` did not have `age` property. + * (readonlyPerson as WritablePerson).age = 30; + * ``` + */ +type Writable = { + -readonly [K in keyof T]: T[K]; +}; + +/** + * Creates a token that can be used in a DI Provider. + * + * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a + * runtime representation) such as when injecting an interface, callable type, array or + * parameterized type. + * + * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by + * the `Injector`. This provides an additional level of type safety. + * + *
+ * + * **Important Note**: Ensure that you use the same instance of the `InjectionToken` in both the + * provider and the injection call. Creating a new instance of `InjectionToken` in different places, + * even with the same description, will be treated as different tokens by Angular's DI system, + * leading to a `NullInjectorError`. + * + *
+ * + * {@example injection-token/src/main.ts region='InjectionToken'} + * + * When creating an `InjectionToken`, you can optionally specify a factory function which returns + * (possibly by creating) a default value of the parameterized type `T`. This sets up the + * `InjectionToken` using this factory as a provider as if it was defined explicitly in the + * application's root injector. If the factory function, which takes zero arguments, needs to inject + * dependencies, it can do so using the [`inject`](api/core/inject) function. + * As you can see in the Tree-shakable InjectionToken example below. + * + * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which + * overrides the above behavior and marks the token as belonging to a particular `@NgModule` (note: + * this option is now deprecated). As mentioned above, `'root'` is the default value for + * `providedIn`. + * + * The `providedIn: NgModule` and `providedIn: 'any'` options are deprecated. + * + * @usageNotes + * ### Basic Examples + * + * ### Plain InjectionToken + * + * {@example core/di/ts/injector_spec.ts region='InjectionToken'} + * + * ### Tree-shakable InjectionToken + * + * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'} + * + * + * @see [What is an InjectionToken?](guide/di/defining-dependency-providers#what-is-an-injectiontoken) + * + * @publicApi + */ +declare class InjectionToken { + protected _desc: string; + readonly ɵprov: unknown; + /** + * @deprecated The `providedIn: NgModule` or `providedIn:'any'` options are deprecated. Please use the other signature. + */ + constructor(_desc: string, options: { + providedIn: Type | 'any'; + factory: () => T; + }); + /** + * @param _desc Description for the token, + * used only for debugging purposes, + * it should but does not need to be unique + * @param options Options for the token's usage, as described above + */ + constructor(_desc: string, options?: { + providedIn?: Type | 'root' | 'platform' | 'any' | null; + factory: () => T; + }); + toString(): string; +} + +/** + * Configures the `Injector` to return a value for a token. + * Base for `ValueProvider` decorator. + * + * @publicApi + */ +interface ValueSansProvider { + /** + * The value to inject. + */ + useValue: any; +} +/** + * Configures the `Injector` to return a value for a token. + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * ### Example + * + * {@example core/di/ts/provider_spec.ts region='ValueProvider'} + * + * ### Multi-value example + * + * {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'} + * + * @publicApi + */ +interface ValueProvider extends ValueSansProvider { + /** + * An injection token. Typically an instance of `Type` or `InjectionToken`, but can be `any`. + */ + provide: any; + /** + * When true, injector returns an array of instances. This is useful to allow multiple + * providers spread across many files to provide configuration information to a common token. + */ + multi?: boolean; +} +/** + * Configures the `Injector` to return an instance of `useClass` for a token. + * Base for `StaticClassProvider` decorator. + * + * @publicApi + */ +interface StaticClassSansProvider { + /** + * An optional class to instantiate for the `token`. By default, the `provide` + * class is instantiated. + */ + useClass: Type; + /** + * A list of `token`s to be resolved by the injector. The list of values is then + * used as arguments to the `useClass` constructor. + */ + deps: any[]; +} +/** + * Configures the `Injector` to return an instance of `useClass` for a token. + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * {@example core/di/ts/provider_spec.ts region='StaticClassProvider'} + * + * Note that following two providers are not equal: + * + * {@example core/di/ts/provider_spec.ts region='StaticClassProviderDifference'} + * + * ### Multi-value example + * + * {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'} + * + * @publicApi + */ +interface StaticClassProvider extends StaticClassSansProvider { + /** + * An injection token. Typically an instance of `Type` or `InjectionToken`, but can be `any`. + */ + provide: any; + /** + * When true, injector returns an array of instances. This is useful to allow multiple + * providers spread across many files to provide configuration information to a common token. + */ + multi?: boolean; +} +/** + * Configures the `Injector` to return an instance of a token. + * + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * ```ts + * @Injectable(SomeModule, {deps: []}) + * class MyService {} + * ``` + * + * @publicApi + */ +interface ConstructorSansProvider { + /** + * A list of `token`s to be resolved by the injector. + */ + deps?: any[]; +} +/** + * Configures the `Injector` to return an instance of a token. + * + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'} + * + * ### Multi-value example + * + * {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'} + * + * @publicApi + */ +interface ConstructorProvider extends ConstructorSansProvider { + /** + * An injection token. Typically an instance of `Type` or `InjectionToken`, but can be `any`. + */ + provide: Type; + /** + * When true, injector returns an array of instances. This is useful to allow multiple + * providers spread across many files to provide configuration information to a common token. + */ + multi?: boolean; +} +/** + * Configures the `Injector` to return a value of another `useExisting` token. + * + * @see {@link ExistingProvider} + * @see [Dependency Injection Guide](guide/di) + * + * @publicApi + */ +interface ExistingSansProvider { + /** + * Existing `token` to return. (Equivalent to `injector.get(useExisting)`) + */ + useExisting: any; +} +/** + * Configures the `Injector` to return a value of another `useExisting` token. + * + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * {@example core/di/ts/provider_spec.ts region='ExistingProvider'} + * + * ### Multi-value example + * + * {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'} + * + * @publicApi + */ +interface ExistingProvider extends ExistingSansProvider { + /** + * An injection token. Typically an instance of `Type` or `InjectionToken`, but can be `any`. + */ + provide: any; + /** + * When true, injector returns an array of instances. This is useful to allow multiple + * providers spread across many files to provide configuration information to a common token. + */ + multi?: boolean; +} +/** + * Configures the `Injector` to return a value by invoking a `useFactory` function. + * + * @see {@link FactoryProvider} + * @see [Dependency Injection Guide](guide/di) + * + * @publicApi + */ +interface FactorySansProvider { + /** + * A function to invoke to create a value for this `token`. The function is invoked with + * resolved values of `token`s in the `deps` field. + */ + useFactory: Function; + /** + * A list of `token`s to be resolved by the injector. The list of values is then + * used as arguments to the `useFactory` function. + */ + deps?: any[]; +} +/** + * Configures the `Injector` to return a value by invoking a `useFactory` function. + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * {@example core/di/ts/provider_spec.ts region='FactoryProvider'} + * + * Dependencies can also be marked as optional: + * + * {@example core/di/ts/provider_spec.ts region='FactoryProviderOptionalDeps'} + * + * ### Multi-value example + * + * {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'} + * + * @publicApi + */ +interface FactoryProvider extends FactorySansProvider { + /** + * An injection token. (Typically an instance of `Type` or `InjectionToken`, but can be `any`). + */ + provide: any; + /** + * When true, injector returns an array of instances. This is useful to allow multiple + * providers spread across many files to provide configuration information to a common token. + */ + multi?: boolean; +} +/** + * Describes how an `Injector` should be configured as static (that is, without reflection). + * A static provider provides tokens to an injector for various types of dependencies. + * + * @see {@link Injector.create()} + * @see [Dependency Injection Guide](guide/di/defining-dependency-providers). + * + * @publicApi + */ +type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[]; +/** + * Configures the `Injector` to return an instance of `Type` when `Type` is used as the token. + * + * Create an instance by invoking the `new` operator and supplying additional arguments. + * This form is a short form of `TypeProvider`; + * + * For more details, see the ["Dependency Injection Guide"](guide/di). + * + * @usageNotes + * + * {@example core/di/ts/provider_spec.ts region='TypeProvider'} + * + * @publicApi + */ +interface TypeProvider extends Type { +} +/** + * Configures the `Injector` to return a value by invoking a `useClass` function. + * Base for `ClassProvider` decorator. + * + * @see [Dependency Injection Guide](guide/di) + * + * @publicApi + */ +interface ClassSansProvider { + /** + * Class to instantiate for the `token`. + */ + useClass: Type; +} +/** + * Configures the `Injector` to return an instance of `useClass` for a token. + * @see [Dependency Injection Guide](guide/di) + * + * @usageNotes + * + * {@example core/di/ts/provider_spec.ts region='ClassProvider'} + * + * Note that following two providers are not equal: + * + * {@example core/di/ts/provider_spec.ts region='ClassProviderDifference'} + * + * ### Multi-value example + * + * {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'} + * + * @publicApi + */ +interface ClassProvider extends ClassSansProvider { + /** + * An injection token. (Typically an instance of `Type` or `InjectionToken`, but can be `any`). + */ + provide: any; + /** + * When true, injector returns an array of instances. This is useful to allow multiple + * providers spread across many files to provide configuration information to a common token. + */ + multi?: boolean; +} +/** + * Describes how the `Injector` should be configured. + * @see [Dependency Injection Guide](guide/di) + * + * @see {@link StaticProvider} + * + * @publicApi + */ +type Provider = TypeProvider | ValueProvider | ClassProvider | ConstructorProvider | ExistingProvider | FactoryProvider | any[]; +/** + * Encapsulated `Provider`s that are only accepted during creation of an `EnvironmentInjector` (e.g. + * in an `NgModule`). + * + * Using this wrapper type prevents providers which are only designed to work in + * application/environment injectors from being accidentally included in + * `@Component.providers` and ending up in a component injector. + * + * This wrapper type prevents access to the `Provider`s inside. + * + * @see {@link makeEnvironmentProviders} + * @see {@link importProvidersFrom} + * + * @publicApi + */ +type EnvironmentProviders = { + ɵbrand: 'EnvironmentProviders'; +}; +interface InternalEnvironmentProviders extends EnvironmentProviders { + ɵproviders: (Provider | EnvironmentProviders)[]; + /** + * If present, indicates that the `EnvironmentProviders` were derived from NgModule providers. + * + * This is used to produce clearer error messages. + */ + ɵfromNgModule?: true; +} +declare function isEnvironmentProviders(value: Provider | EnvironmentProviders | InternalEnvironmentProviders): value is InternalEnvironmentProviders; +/** + * Describes a function that is used to process provider lists (such as provider + * overrides). + */ +type ProcessProvidersFunction = (providers: Provider[]) => Provider[]; +/** + * A wrapper around an NgModule that associates it with providers + * Usage without a generic type is deprecated. + * + * @publicApi + */ +interface ModuleWithProviders { + ngModule: Type; + providers?: Array; +} + +/** + * This enum is an exact copy of the `InjectFlags` enum above, but the difference is that this is a + * const enum, so actual enum values would be inlined in generated code. The `InjectFlags` enum can + * be turned into a const enum when ViewEngine is removed (see TODO at the `InjectFlags` enum + * above). The benefit of inlining is that we can use these flags at the top level without affecting + * tree-shaking (see "no-toplevel-property-access" tslint rule for more info). + * Keep this enum in sync with `InjectFlags` enum above. + */ +declare const enum InternalInjectFlags { + /** Check self and check parent injector if needed */ + Default = 0, + /** + * Specifies that an injector should retrieve a dependency from any injector until reaching the + * host element of the current component. (Only used with Element Injector) + */ + Host = 1, + /** Don't ascend to ancestors of the node requesting injection. */ + Self = 2, + /** Skip the node that is requesting injection. */ + SkipSelf = 4, + /** Inject `defaultValue` instead if token not found. */ + Optional = 8, + /** + * This token is being injected into a pipe. + * + * This flag is intentionally not in the public facing `InjectFlags` because it is only added by + * the compiler and is not a developer applicable flag. + */ + ForPipe = 16 +} +/** + * Type of the options argument to [`inject`](api/core/inject). + * + * @publicApi + */ +interface InjectOptions { + /** + * Use optional injection, and return `null` if the requested token is not found. + */ + optional?: boolean; + /** + * Start injection at the parent of the current injector. + */ + skipSelf?: boolean; + /** + * Only query the current injector for the token, and don't fall back to the parent injector if + * it's not found. + */ + self?: boolean; + /** + * Stop injection at the host component's injector. Only relevant when injecting from an element + * injector, and a no-op for environment injectors. + */ + host?: boolean; +} + +/** + * @description + * + * Token that can be used to retrieve an instance from an injector or through a query. + * + * @publicApi + */ +type ProviderToken = Type | AbstractType | InjectionToken; + +/** + * Concrete injectors implement this interface. Injectors are configured + * with [providers](guide/di/defining-dependency-providers) that associate + * dependencies of various types with [injection tokens](guide/di/defining-dependency-providers). + * + * @see [DI Providers](guide/di/defining-dependency-providers). + * @see {@link StaticProvider} + * + * @usageNotes + * + * The following example creates a service injector instance. + * + * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'} + * + * ### Usage example + * + * {@example core/di/ts/injector_spec.ts region='Injector'} + * + * `Injector` returns itself when given `Injector` as a token: + * + * {@example core/di/ts/injector_spec.ts region='injectInjector'} + * + * @see [Types of injector hierarchies](guide/di/hierarchical-dependency-injection#types-of-injector-hierarchies) + * + * @publicApi + */ +declare abstract class Injector { + static THROW_IF_NOT_FOUND: {}; + static NULL: Injector; + /** + * Retrieves an instance from the injector based on the provided token. + * @returns The instance from the injector if defined, otherwise the `notFoundValue`. + * @throws When the `notFoundValue` is `undefined` or `Injector.THROW_IF_NOT_FOUND`. + */ + abstract get(token: ProviderToken, notFoundValue: undefined, options: InjectOptions & { + optional?: false; + }): T; + /** + * Retrieves an instance from the injector based on the provided token. + * @returns The instance from the injector if defined, otherwise the `notFoundValue`. + * @throws When the `notFoundValue` is `undefined` or `Injector.THROW_IF_NOT_FOUND`. + */ + abstract get(token: ProviderToken, notFoundValue: null | undefined, options: InjectOptions): T | null; + /** + * Retrieves an instance from the injector based on the provided token. + * @returns The instance from the injector if defined, otherwise the `notFoundValue`. + * @throws When the `notFoundValue` is `undefined` or `Injector.THROW_IF_NOT_FOUND`. + */ + abstract get(token: ProviderToken, notFoundValue?: T, options?: InjectOptions): T; + /** + * @deprecated from v4.0.0 use ProviderToken + * @suppress {duplicate} + */ + abstract get(token: string | ProviderToken, notFoundValue?: any): any; + /** + * @deprecated from v5 use the new signature Injector.create(options) + */ + static create(providers: StaticProvider[], parent?: Injector): Injector; + /** + * Creates a new injector instance that provides one or more dependencies, + * according to a given type or types of `StaticProvider`. + * + * @param options An object with the following properties: + * * `providers`: An array of providers of the [StaticProvider type](api/core/StaticProvider). + * * `parent`: (optional) A parent injector. + * * `name`: (optional) A developer-defined identifying name for the new injector. + * + * @returns The new injector instance. + * + */ + static create(options: { + providers: Array; + parent?: Injector; + name?: string; + }): DestroyableInjector; + /** @nocollapse */ + static ɵprov: _angular_core.ɵɵInjectableDeclaration; +} +/** + * An Injector that the owner can destroy and trigger the DestroyRef.destroy hooks. + * + * @publicApi + */ +interface DestroyableInjector extends Injector { + destroy(): void; +} + +/** + * `DestroyRef` lets you set callbacks to run for any cleanup or destruction behavior. + * The scope of this destruction depends on where `DestroyRef` is injected. If `DestroyRef` + * is injected in a component or directive, the callbacks run when that component or + * directive is destroyed. Otherwise the callbacks run when a corresponding injector is destroyed. + * + * @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref) + * + * @publicApi + */ +declare abstract class DestroyRef { + /** + * Registers a destroy callback in a given lifecycle scope. Returns a cleanup function that can + * be invoked to unregister the callback. + * + * @usageNotes + * ### Example + * ```ts + * const destroyRef = inject(DestroyRef); + * + * // register a destroy callback + * const unregisterFn = destroyRef.onDestroy(() => doSomethingOnDestroy()); + * + * // stop the destroy callback from executing if needed + * unregisterFn(); + * ``` + * + * @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref) + * + */ + abstract onDestroy(callback: () => void): () => void; + /** + * Indicates whether the instance has already been destroyed. + * + * @see [Detecting instance destruction](guide/components/lifecycle#detecting-instance-destruction) + * + */ + abstract get destroyed(): boolean; +} + +declare global { + /** + * Indicates whether HMR is enabled for the application. + * + * `ngHmrMode` is a global flag set by Angular's CLI. + * + * @remarks + * - **Internal Angular Flag**: This is an *internal* Angular flag (not a public API), avoid relying on it in application code. + * - **Avoid Direct Use**: This variable is intended for runtime configuration; it should not be accessed directly in application code. + */ + var ngHmrMode: boolean | undefined; +} + +declare global { + const ngJitMode: boolean; +} + +declare global { + /** + * Indicates whether the application is operating in server-rendering mode. + * + * `ngServerMode` is a global flag set by Angular's server-side rendering mechanisms, + * typically configured by `provideServerRendering` and `platformServer` during runtime. + * + * @remarks + * - **Internal Angular Flag**: This is an *internal* Angular flag (not a public API), avoid relying on it in application code. + * - **Avoid Direct Use**: This variable is intended for runtime configuration; it should not be accessed directly in application code. + */ + var ngServerMode: boolean | undefined; +} + +declare global { + interface Element { + __jsaction_fns: Map | undefined; + } +} +interface EventContractDetails { + instance?: EventContract; +} +declare const JSACTION_EVENT_CONTRACT: InjectionToken; +/** Shorthand for an event listener callback function to reduce duplication. */ +type EventCallback = (event?: any) => any; + +declare global { + const ngI18nClosureMode: boolean; +} + +type TimeStampName = string; +type DevToolsColor = 'primary' | 'primary-light' | 'primary-dark' | 'secondary' | 'secondary-light' | 'secondary-dark' | 'tertiary' | 'tertiary-light' | 'tertiary-dark' | 'error'; +declare global { + interface Console { + timeStamp(label: string, start: TimeStampName, end?: TimeStampName, trackName?: string, trackGroup?: string, color?: DevToolsColor, detail?: object): void; + } +} +/** + * Returns the deep link ID assigned to a component or directive instance by the + * profiler. This ID is used to construct `angular-devtools://` deep-link URLs in + * Chrome Performance traces, which allow navigating from a trace entry directly + * to the corresponding component in the Angular DevTools extension. + * + * The ID is `undefined` until `getDeepLinkProperties` is called for the instance + * (which happens when profiling is active and the DevTools extension is connected). + * Use `assignComponentInstanceDeepLinkId` to force-assign an ID if needed. + */ +declare function getComponentInstanceDeepLinkId(instance: {}): number | undefined; +/** + * Start listening to the Angular's internal performance-related events and route those to the Chrome DevTools performance panel. + * This enables Angular-specific data visualization when recording a performance profile directly in the Chrome DevTools. + * + * NOTE: Integration is enabled in the development mode only, this operation is noop in the production mode. + * + * @publicApi v21.0 + * + * @returns a function that can be invoked to stop sending profiling data. + * @see [Profiling with the Chrome DevTools](best-practices/profiling-with-chrome-devtools#recording-a-profile) + */ +declare function enableProfiling(): () => void; + +export { DestroyRef, InjectionToken, Injector, InternalInjectFlags, JSACTION_EVENT_CONTRACT, Type, enableProfiling, getComponentInstanceDeepLinkId, isEnvironmentProviders, isSignal, isWritableSignal, signal, ɵunwrapWritableSignal }; +export type { AbstractType, ClassProvider, ClassSansProvider, ConstructorProvider, ConstructorSansProvider, CreateSignalOptions, DestroyableInjector, EnvironmentProviders, EventCallback, ExistingProvider, ExistingSansProvider, FactoryProvider, FactorySansProvider, InjectOptions, InternalEnvironmentProviders, ModuleWithProviders, OutputRef, OutputRefSubscription, ProcessProvidersFunction, Provider, ProviderToken, Signal, StaticClassProvider, StaticClassSansProvider, StaticProvider, TypeProvider, ValueEqualityFn, ValueProvider, ValueSansProvider, Writable, WritableSignal }; diff --git a/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts new file mode 100755 index 00000000000..b4d27baa008 --- /dev/null +++ b/ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts @@ -0,0 +1,7647 @@ +/** + * @license Angular v22.3.0-next.0+sha-95e8dec + * (c) 2010-2026 Google LLC. https://angular.dev/ + * License: MIT + */ + +import { InjectionToken, Type, AbstractType, ValueProvider, ExistingProvider, FactoryProvider, ConstructorProvider, StaticClassProvider, ClassProvider, EnvironmentProviders, Injector, ProviderToken, InjectOptions, Provider, ProcessProvidersFunction, ModuleWithProviders, DestroyRef, InternalInjectFlags, WritableSignal, OutputRef, StaticProvider } from './_chrome_dev_tools_performance-chunk.js'; +import { Observable, Subject, Subscription } from 'rxjs'; +import './_event_dispatcher-chunk.js'; +import { ReactiveNode } from './_formatter-chunk.js'; +import { SignalNode, BaseEffectNode } from './_effect-chunk.js'; +import { Injector as Injector$1, InjectionToken as InjectionToken$1, NotFound } from '@angular/core/primitives/di'; +import * as _angular_core from '@angular/core'; + +/** + * Reactive node type for an input signal. An input signal extends a signal. + * There are special properties to enable transforms and required inputs. + */ +interface InputSignalNode extends SignalNode { + /** + * User-configured transform that will run whenever a new value is applied + * to the input signal node. + */ + transformFn: ((value: TransformT) => T) | undefined; + /** + * Applies a new value to the input signal. Expects transforms to be run + * manually before. + * + * This function is called by the framework runtime code whenever a binding + * changes. The value can in practice be anything at runtime, but for typing + * purposes we assume it's a valid `T` value. Type-checking will enforce that. + */ + applyValueToInputSignal(node: InputSignalNode, value: T): void; + /** + * A debug name for the input signal. Used in Angular DevTools to identify the signal. + */ + debugName?: string; +} + +/** + * A [DI token](api/core/InjectionToken) that enables or disables all enter and leave animations. + */ +declare const ANIMATIONS_DISABLED: InjectionToken; +/** + * The event type for when `animate.enter` and `animate.leave` are used with function + * callbacks. + * + * @see [Animating your applications with animate.enter and animate.leave](guide/animations) + * + * @publicApi 20.2 + */ +type AnimationCallbackEvent = { + target: Element; + animationComplete: VoidFunction; +}; +/** + * A [DI token](api/core/InjectionToken) that configures the maximum animation timeout + * before element removal. The default value mirrors from Chrome's cross document + * navigation view transition timeout. It's intended to prevent people from accidentally + * forgetting to call the removal function in their callback. Also serves as a delay + * for when stylesheets are pruned. + * + * @publicApi 20.2 + * @see [Animating your applications with animate.enter and animate.leave](guide/animations) + */ +declare const MAX_ANIMATION_TIMEOUT: InjectionToken; +/** + * The function type for `animate.enter` and `animate.leave` when they are used with + * function callbacks. + * + * @publicApi 20.2 + * + * @see [Animating your applications with animate.enter and animate.leave](guide/animations) + */ +type AnimationFunction = (event: AnimationCallbackEvent) => void; +type RunEnterAnimationFn = VoidFunction; +type RunLeaveAnimationFn = () => { + promise: Promise; + resolve: VoidFunction; +}; +interface EnterNodeAnimations { + animateFns: RunEnterAnimationFn[]; + resolvers?: VoidFunction[]; +} +interface LeaveNodeAnimations { + animateFns: RunLeaveAnimationFn[]; + resolvers?: VoidFunction[]; +} +interface AnimationLViewData { + enter?: Map; + leave?: Map; + running?: Promise; + detachedLeaveAnimationFns?: VoidFunction[]; +} +/** + * Represents the class, class list, or a function returning the class or class list + * bound to an animate instruction. + */ +type AnimationClassValue = string | string[] | (() => AnimationClassValue) | undefined | null; +/** + * Function that returns the class or class list bound to the animate instruction + */ +type AnimationClassBindingFn = () => AnimationClassValue; + +/** Actions that are supported by the tracing framework. */ +declare enum TracingAction { + CHANGE_DETECTION = 0, + AFTER_NEXT_RENDER = 1 +} +/** A single tracing snapshot. */ +interface TracingSnapshot { + run(action: TracingAction, fn: () => T): T; + /** Disposes of the tracing snapshot. Must be run exactly once per TracingSnapshot. */ + dispose(): void; +} +/** + * Injection token for a `TracingService`, optionally provided. + */ +declare const TracingService: InjectionToken>; +/** + * Tracing mechanism which can associate causes (snapshots) with runs of + * subsequent operations. + * + * Not defined by Angular directly, but defined in contexts where tracing is + * desired. + */ +interface TracingService { + /** + * Take a snapshot of the current context which will be stored by Angular and + * used when additional work is performed that was scheduled in this context. + * + * @param linkedSnapshot Optional snapshot to use link to the current context. + * The caller is no longer responsible for calling dispose on the linkedSnapshot. + * + * @return The tracing snapshot. The caller is responsible for diposing of the + * snapshot. + */ + snapshot(linkedSnapshot: T | null): T; + /** + * Propagate the current tracing context to the provided function. + * @param fn A function. + * @return A function that will propagate the current tracing context. + */ + propagate?(fn: T): T; + /** + * Wrap an event listener bound by the framework for tracing. + * @param element Element on which the event is bound. + * @param eventName Name of the event. + * @param handler Event handler. + * @return A new event handler to be bound instead of the original one. + */ + wrapEventListener?(element: HTMLElement, eventName: string, handler: T): T; + /** + * Trace the creation of a component instance. + * @param className Name of the component. May be null if the class is anonymous. + * @param fn Function that creates the component instance. + */ + componentCreate?(className: string | null, fn: () => T): T; +} + +declare const enum NotificationSource { + MarkAncestorsForTraversal = 0, + SetInput = 1, + DeferBlockStateUpdate = 2, + DebugApplyChanges = 3, + MarkForCheck = 4, + Listener = 5, + CustomElement = 6, + RenderHook = 7, + ViewAttached = 8, + ViewDetachedFromDOM = 9, + AsyncAnimationsLoaded = 10, + PendingTaskRemoved = 11, + RootEffect = 12, + ViewEffect = 13 +} +/** + * Injectable that is notified when an `LView` is made aware of changes to application state. + */ +declare abstract class ChangeDetectionScheduler { + abstract notify(source: NotificationSource): void; + abstract runningTick: boolean; +} +/** Token used to indicate if zoneless was enabled via provideZonelessChangeDetection(). */ +declare const ZONELESS_ENABLED: InjectionToken; +/** Token used to indicate `provideZonelessChangeDetection` was used. */ +declare const PROVIDED_ZONELESS: InjectionToken; + +/** + * @fileoverview + * While Angular only uses Trusted Types internally for the time being, + * references to Trusted Types could leak into our core.d.ts, which would force + * anyone compiling against @angular/core to provide the @types/trusted-types + * package in their compilation unit. + * + * Until https://github.com/microsoft/TypeScript/issues/30024 is resolved, we + * will keep Angular's public API surface free of references to Trusted Types. + * For internal and semi-private APIs that need to reference Trusted Types, the + * minimal type definitions for the Trusted Types API provided by this module + * should be used instead. They are marked as "declare" to prevent them from + * being renamed by compiler optimization. + * + * Adapted from + * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/trusted-types/index.d.ts + * but restricted to the API surface used within Angular. + */ +type TrustedHTML = string & { + __brand__: 'TrustedHTML'; +}; +type TrustedScript = string & { + __brand__: 'TrustedScript'; +}; +type TrustedScriptURL = string & { + __brand__: 'TrustedScriptURL'; +}; + +/** + * Function used to sanitize the value before writing it into the renderer. + */ +type SanitizerFn = (value: any, tagName: string, propName: string) => string | TrustedHTML | TrustedScript | TrustedScriptURL; + +/** + * Stores a list of nodes which need to be removed. + * + * Numbers are indexes into the `LView` + * - index > 0: `removeRNode(lView[0])` + * - index < 0: `removeICU(~lView[0])` + */ +interface I18nRemoveOpCodes extends Array { + __brand__: 'I18nRemoveOpCodes'; +} +/** + * Array storing OpCode for dynamically creating `i18n` blocks. + * + * Example: + * ```ts + * [ + * // For adding text nodes + * // --------------------- + * // Equivalent to: + * // lView[1].appendChild(lView[0] = document.createTextNode('xyz')); + * 'xyz', 0, 1 << SHIFT_PARENT | 0 << SHIFT_REF | AppendChild, + * + * // For adding element nodes + * // --------------------- + * // Equivalent to: + * // lView[1].appendChild(lView[0] = document.createElement('div')); + * ELEMENT_MARKER, 'div', 0, 1 << SHIFT_PARENT | 0 << SHIFT_REF | AppendChild, + * + * // For adding comment nodes + * // --------------------- + * // Equivalent to: + * // lView[1].appendChild(lView[0] = document.createComment('')); + * ICU_MARKER, '', 0, 1 << SHIFT_PARENT | 0 << SHIFT_REF | AppendChild, + * + * // For moving existing nodes to a different location + * // -------------------------------------------------- + * // Equivalent to: + * // const node = lView[1]; + * // lView[2].appendChild(node); + * 1 << SHIFT_REF | Select, 2 << SHIFT_PARENT | 0 << SHIFT_REF | AppendChild, + * + * // For removing existing nodes + * // -------------------------------------------------- + * // const node = lView[1]; + * // removeChild(tView.data(1), node, lView); + * 1 << SHIFT_REF | Remove, + * + * // For writing attributes + * // -------------------------------------------------- + * // const node = lView[1]; + * // node.setAttribute('attr', 'value'); + * 1 << SHIFT_REF | Attr, 'attr', 'value' + * ]; + * ``` + */ +interface IcuCreateOpCodes extends Array, I18nDebug { + __brand__: 'I18nCreateOpCodes'; +} +/** + * Marks that the next string is an element name. + * + * See `I18nMutateOpCodes` documentation. + */ +declare const ELEMENT_MARKER: ELEMENT_MARKER; +interface ELEMENT_MARKER { + marker: 'element'; +} +/** + * Marks that the next string is comment text need for ICU. + * + * See `I18nMutateOpCodes` documentation. + */ +declare const ICU_MARKER: ICU_MARKER; +interface ICU_MARKER { + marker: 'ICU'; +} +interface I18nDebug { + /** + * Human readable representation of the OpCode arrays. + * + * NOTE: This property only exists if `ngDevMode` is set to `true` and it is not present in + * production. Its presence is purely to help debug issue in development, and should not be relied + * on in production application. + */ + debug?: string[]; +} +/** + * Array storing OpCode for dynamically creating `i18n` translation DOM elements. + * + * This array creates a sequence of `Text` and `Comment` (as ICU anchor) DOM elements. It consists + * of a pair of `number` and `string` pairs which encode the operations for the creation of the + * translated block. + * + * The number is shifted and encoded according to `I18nCreateOpCode` + * + * Pseudocode: + * ```ts + * const i18nCreateOpCodes = [ + * 10 << I18nCreateOpCode.SHIFT, "Text Node add to DOM", + * 11 << I18nCreateOpCode.SHIFT | I18nCreateOpCode.COMMENT, "Comment Node add to DOM", + * 12 << I18nCreateOpCode.SHIFT | I18nCreateOpCode.APPEND_LATER, "Text Node added later" + * ]; + * + * for(var i=0; i> I18nCreateOpCode.SHIFT; + * const text = i18NCreateOpCodes[i]; + * let node: Text|Comment; + * if (opcode & I18nCreateOpCode.COMMENT === I18nCreateOpCode.COMMENT) { + * node = lView[~index] = document.createComment(text); + * } else { + * node = lView[index] = document.createText(text); + * } + * if (opcode & I18nCreateOpCode.APPEND_EAGERLY !== I18nCreateOpCode.APPEND_EAGERLY) { + * parentNode.appendChild(node); + * } + * } + * ``` + */ +interface I18nCreateOpCodes extends Array, I18nDebug { + __brand__: 'I18nCreateOpCodes'; +} +/** + * Stores DOM operations which need to be applied to update DOM render tree due to changes in + * expressions. + * + * The basic idea is that `i18nExp` OpCodes capture expression changes and update a change + * mask bit. (Bit 1 for expression 1, bit 2 for expression 2 etc..., bit 32 for expression 32 and + * higher.) The OpCodes then compare its own change mask against the expression change mask to + * determine if the OpCodes should execute. + * + * NOTE: 32nd bit is special as it says 32nd or higher. This way if we have more than 32 bindings + * the code still works, but with lower efficiency. (it is unlikely that a translation would have + * more than 32 bindings.) + * + * These OpCodes can be used by both the i18n block as well as ICU sub-block. + * + * ## Example + * + * Assume + * ```ts + * if (rf & RenderFlags.Update) { + * i18nExp(ctx.exp1); // If changed set mask bit 1 + * i18nExp(ctx.exp2); // If changed set mask bit 2 + * i18nExp(ctx.exp3); // If changed set mask bit 3 + * i18nExp(ctx.exp4); // If changed set mask bit 4 + * i18nApply(0); // Apply all changes by executing the OpCodes. + * } + * ``` + * We can assume that each call to `i18nExp` sets an internal `changeMask` bit depending on the + * index of `i18nExp`. + * + * ### OpCodes + * ```ts + * [ + * // The following OpCodes represent: `
` + * // If `changeMask & 0b11` + * // has changed then execute update OpCodes. + * // has NOT changed then skip `8` values and start processing next OpCodes. + * 0b11, 8, + * // Concatenate `newValue = 'pre'+lView[bindIndex-4]+'in'+lView[bindIndex-3]+'post';`. + * 'pre', -4, 'in', -3, 'post', + * // Update attribute: `elementAttribute(1, 'title', sanitizerFn(newValue));` + * 1 << SHIFT_REF | Attr, 'title', sanitizerFn, + * + * // The following OpCodes represent: `
Hello {{exp3}}!">` + * // If `changeMask & 0b100` + * // has changed then execute update OpCodes. + * // has NOT changed then skip `4` values and start processing next OpCodes. + * 0b100, 4, + * // Concatenate `newValue = 'Hello ' + lView[bindIndex -2] + '!';`. + * 'Hello ', -2, '!', + * // Update text: `lView[1].textContent = newValue;` + * 1 << SHIFT_REF | Text, + * + * // The following OpCodes represent: `
{exp4, plural, ... }">` + * // If `changeMask & 0b1000` + * // has changed then execute update OpCodes. + * // has NOT changed then skip `2` values and start processing next OpCodes. + * 0b1000, 2, + * // Concatenate `newValue = lView[bindIndex -1];`. + * -1, + * // Switch ICU: `icuSwitchCase(lView[1], 0, newValue);` + * 0 << SHIFT_ICU | 1 << SHIFT_REF | IcuSwitch, + * + * // Note `changeMask & -1` is always true, so the IcuUpdate will always execute. + * -1, 1, + * // Update ICU: `icuUpdateCase(lView[1], 0);` + * 0 << SHIFT_ICU | 1 << SHIFT_REF | IcuUpdate, + * + * ]; + * ``` + * + */ +interface I18nUpdateOpCodes extends Array, I18nDebug { + __brand__: 'I18nUpdateOpCodes'; +} +/** + * Store information for the i18n translation block. + */ +interface TI18n { + /** + * A set of OpCodes which will create the Text Nodes and ICU anchors for the translation blocks. + * + * NOTE: The ICU anchors are filled in with ICU Update OpCode. + */ + create: I18nCreateOpCodes; + /** + * A set of OpCodes which will be executed on each change detection to determine if any changes to + * DOM are required. + */ + update: I18nUpdateOpCodes; + /** + * An AST representing the translated message. This is used for hydration (and serialization), + * while the Update and Create OpCodes are used at runtime. + */ + ast: Array; + /** + * Index of a parent TNode, which represents a host node for this i18n block. + */ + parentTNodeIndex: number; +} +/** + * Defines the ICU type of `select` or `plural` + */ +declare const enum IcuType { + select = 0, + plural = 1 +} +interface TIcu { + /** + * Defines the ICU type of `select` or `plural` + */ + type: IcuType; + /** + * Index in `LView` where the anchor node is stored. `` + */ + anchorIdx: number; + /** + * Currently selected ICU case pointer. + * + * `lView[currentCaseLViewIndex]` stores the currently selected case. This is needed to know how + * to clean up the current case when transitioning no the new case. + * + * If the value stored is: + * `null`: No current case selected. + * `<0`: A flag which means that the ICU just switched and that `icuUpdate` must be executed + * regardless of the `mask`. (After the execution the flag is cleared) + * `>=0` A currently selected case index. + */ + currentCaseLViewIndex: number; + /** + * A list of case values which the current ICU will try to match. + * + * The last value is `other` + */ + cases: any[]; + /** + * A set of OpCodes to apply in order to build up the DOM render tree for the ICU + */ + create: IcuCreateOpCodes[]; + /** + * A set of OpCodes to apply in order to destroy the DOM render tree for the ICU. + */ + remove: I18nRemoveOpCodes[]; + /** + * A set of OpCodes to apply in order to update the DOM render tree for the ICU bindings. + */ + update: I18nUpdateOpCodes[]; +} +type I18nNode = I18nTextNode | I18nElementNode | I18nICUNode | I18nPlaceholderNode; +/** + * Represents a block of text in a translation, such as `Hello, {{ name }}!`. + */ +interface I18nTextNode { + /** The AST node kind */ + kind: I18nNodeKind.TEXT; + /** The LView index */ + index: number; +} +/** + * Represents a simple DOM element in a translation, such as `
...
` + */ +interface I18nElementNode { + /** The AST node kind */ + kind: I18nNodeKind.ELEMENT; + /** The LView index */ + index: number; + /** The child nodes */ + children: Array; +} +/** + * Represents an ICU in a translation. + */ +interface I18nICUNode { + /** The AST node kind */ + kind: I18nNodeKind.ICU; + /** The LView index */ + index: number; + /** The branching cases */ + cases: Array>; + /** The LView index that stores the active case */ + currentCaseLViewIndex: number; +} +/** + * Represents special content that is embedded into the translation. This can + * either be a special built-in element, such as and , + * or it can be a sub-template, for example, from a structural directive. + */ +interface I18nPlaceholderNode { + /** The AST node kind */ + kind: I18nNodeKind.PLACEHOLDER; + /** The LView index */ + index: number; + /** The child nodes */ + children: Array; + /** The placeholder type */ + type: I18nPlaceholderType; +} +declare const enum I18nPlaceholderType { + ELEMENT = 0, + SUBTEMPLATE = 1 +} +declare const enum I18nNodeKind { + TEXT = 0, + ELEMENT = 1, + PLACEHOLDER = 2, + ICU = 3 +} + +/** + * The goal here is to make sure that the browser DOM API is the Renderer. + * We do this by defining a subset of DOM API to be the renderer and then + * use that at runtime for rendering. + * + * At runtime we can then use the DOM api directly, in server or web-worker + * it will be easy to implement such API. + */ +/** Subset of API needed for appending elements and text nodes. */ +interface RNode { + /** + * Returns the parent Element, Document, or DocumentFragment + */ + parentNode: RNode | null; + /** + * Returns the parent Element if there is one + */ + parentElement: RElement | null; + /** + * Gets the Node immediately following this one in the parent's childNodes + */ + nextSibling: RNode | null; + /** + * Gets the Node immediately preceding this one in the parent's childNodes + */ + previousSibling: RNode | null; + /** + * Insert a child node. + * + * Used exclusively for adding View root nodes into ViewAnchor location. + */ + insertBefore(newChild: RNode, refChild: RNode | null, isViewRoot: boolean): void; + /** + * Append a child node. + * + * Used exclusively for building up DOM which are static (ie not View roots) + */ + appendChild(newChild: RNode): RNode; + /** + * Returns the root node containing this node. This is either: + * 1. The `Document` containing the node, if attached in light DOM. + * 2. The `ShadowRoot` containing the node, if attached in shadow DOM. + * 3. The root node of a detached tree. + * + * @see https://developer.mozilla.org/en-US/docs/Web/API/Node/getRootNode + */ + getRootNode?(options?: { + composed?: boolean; + }): RNode; +} +/** + * Subset of API needed for writing attributes, properties, and setting up + * listeners on Element. + */ +interface RElement extends RNode { + firstChild: RNode | null; + style: RCssStyleDeclaration; + classList: RDomTokenList; + className: string; + tagName: string; + textContent: string | null; + hasAttribute(name: string): boolean; + getAttribute(name: string): string | null; + setAttribute(name: string, value: string | TrustedHTML | TrustedScript | TrustedScriptURL): void; + removeAttribute(name: string): void; + setAttributeNS(namespaceURI: string, qualifiedName: string, value: string | TrustedHTML | TrustedScript | TrustedScriptURL): void; + addEventListener(type: string, listener: EventListener, useCapture?: boolean): void; + removeEventListener(type: string, listener?: EventListener, options?: boolean): void; + remove(): void; + setProperty?(name: string, value: any): void; +} +interface RCssStyleDeclaration { + removeProperty(propertyName: string): string; + setProperty(propertyName: string, value: string | null, priority?: string): void; +} +interface RDomTokenList { + add(token: string): void; + remove(token: string): void; +} +interface RText extends RNode { + textContent: string | null; +} +interface RComment extends RNode { + textContent: string | null; +} + +/** + * Keys within serialized view data structure to represent various + * parts. See the `SerializedView` interface below for additional information. + */ +declare const ELEMENT_CONTAINERS = "e"; +declare const TEMPLATES = "t"; +declare const CONTAINERS = "c"; +declare const MULTIPLIER = "x"; +declare const NUM_ROOT_NODES = "r"; +declare const TEMPLATE_ID = "i"; +declare const NODES = "n"; +declare const DISCONNECTED_NODES = "d"; +declare const I18N_DATA = "l"; +declare const DEFER_BLOCK_ID = "di"; +declare const DEFER_BLOCK_STATE = "s"; +/** + * Represents element containers within this view, stored as key-value pairs + * where key is an index of a container in an LView (also used in the + * `elementContainerStart` instruction), the value is the number of root nodes + * in this container. This information is needed to locate an anchor comment + * node that goes after all container nodes. + */ +interface SerializedElementContainers { + [key: number]: number; +} +/** + * Serialized data structure that contains relevant hydration + * annotation information that describes a given hydration boundary + * (e.g. a component). + */ +interface SerializedView { + /** + * Serialized information about s. + */ + [ELEMENT_CONTAINERS]?: SerializedElementContainers; + /** + * Serialized information about templates. + * Key-value pairs where a key is an index of the corresponding + * `template` instruction and the value is a unique id that can + * be used during hydration to identify that template. + */ + [TEMPLATES]?: Record; + /** + * Serialized information about view containers. + * Key-value pairs where a key is an index of the corresponding + * LContainer entry within an LView, and the value is a list + * of serialized information about views within this container. + */ + [CONTAINERS]?: Record; + /** + * Serialized information about nodes in a template. + * Key-value pairs where a key is an index of the corresponding + * DOM node in an LView and the value is a path that describes + * the location of this node (as a set of navigation instructions). + */ + [NODES]?: Record; + /** + * A list of ids which represents a set of nodes disconnected + * from the DOM tree at the serialization time, but otherwise + * present in the internal data structures. + * + * This information is used to avoid triggering the hydration + * logic for such nodes and instead use a regular "creation mode". + */ + [DISCONNECTED_NODES]?: number[]; + /** + * Serialized information about i18n blocks in a template. + * Key-value pairs where a key is an index of the corresponding + * i18n entry within an LView, and the value is a list of + * active ICU cases. + */ + [I18N_DATA]?: Record; + /** + * If this view represents a `@defer` block, this field contains + * unique id of the block. + */ + [DEFER_BLOCK_ID]?: string; + /** + * This field represents a status, based on the `DeferBlockState` enum. + */ + [DEFER_BLOCK_STATE]?: number; +} +/** + * Serialized data structure that contains relevant hydration + * annotation information about a view that is a part of a + * ViewContainer collection. + */ +interface SerializedContainerView extends SerializedView { + /** + * Unique id that represents a TView that was used to create + * a given instance of a view: + * - TViewType.Embedded: a unique id generated during serialization on the server + * - TViewType.Component: an id generated based on component properties + * (see `getComponentId` function for details) + */ + [TEMPLATE_ID]: string; + /** + * Number of root nodes that belong to this view. + * This information is needed to effectively traverse the DOM tree + * and identify segments that belong to different views. + */ + [NUM_ROOT_NODES]: number; + /** + * Number of times this view is repeated. + * This is used to avoid serializing and sending the same hydration + * information about similar views (for example, produced by *ngFor). + */ + [MULTIPLIER]?: number; +} +/** + * An object that contains hydration-related information serialized + * on the server, as well as the necessary references to segments of + * the DOM, to facilitate the hydration process for a given hydration + * boundary on the client. + */ +interface DehydratedView { + /** + * The readonly hydration annotation data. + */ + data: Readonly; + /** + * A reference to the first child in a DOM segment associated + * with a given hydration boundary. + * + * Once a view becomes hydrated, the value is set to `null`, which + * indicates that further detaching/attaching view actions should result + * in invoking corresponding DOM actions (attaching DOM nodes action is + * skipped when we hydrate, since nodes are already in the DOM). + */ + firstChild: RNode | null; + /** + * Stores references to first nodes in DOM segments that + * represent either an or a view container. + */ + segmentHeads?: { + [index: number]: RNode | null; + }; + /** + * An instance of a Set that represents nodes disconnected from + * the DOM tree at the serialization time, but otherwise present + * in the internal data structures. + * + * The Set is based on the `SerializedView[DISCONNECTED_NODES]` data + * and is needed to have constant-time lookups. + * + * If the value is `null`, it means that there were no disconnected + * nodes detected in this view at serialization time. + */ + disconnectedNodes?: Set | null; + /** + * A mapping from a view to the first child to begin claiming nodes. + * + * This mapping is generated by an i18n block, and is the source of + * truth for the nodes inside of it. + */ + i18nNodes?: Map; + /** + * A mapping from the index of an ICU node to dehydrated data for it. + * + * This information is used during the hydration process on the client. + * ICU cases that were active during server-side rendering will be added + * to the map. The hydration logic will "claim" matching cases, removing + * them from the map. The remaining entries are "unclaimed", and will be + * removed from the DOM during hydration cleanup. + */ + dehydratedIcuData?: Map; +} +/** + * An object that contains hydration-related information serialized + * on the server, as well as the necessary references to segments of + * the DOM, to facilitate the hydration process for a given view + * inside a view container (either an embedded view or a view created + * for a component). + */ +interface DehydratedContainerView extends DehydratedView { + data: Readonly; +} +/** + * An object that contains information about a dehydrated ICU case, + * to facilitate cleaning up ICU cases that were active during + * server-side rendering, but not during hydration. + */ +interface DehydratedIcuData { + /** + * The case index that this data represents. + */ + case: number; + /** + * A reference back to the AST for the ICU node. This allows the + * AST to be used to clean up dehydrated nodes. + */ + node: I18nICUNode; +} + +/** + * `KeyValueArray` is an array where even positions contain keys and odd positions contain values. + * + * `KeyValueArray` provides a very efficient way of iterating over its contents. For small + * sets (~10) the cost of binary searching an `KeyValueArray` has about the same performance + * characteristics that of a `Map` with significantly better memory footprint. + * + * If used as a `Map` the keys are stored in alphabetical order so that they can be binary searched + * for retrieval. + * + * See: `keyValueArraySet`, `keyValueArrayGet`, `keyValueArrayIndexOf`, `keyValueArrayDelete`. + */ +interface KeyValueArray extends Array { + __brand__: 'array-map'; +} + +/** + * Value stored in the `TData` which is needed to re-concatenate the styling. + * + * See: `TStylingKeyPrimitive` and `TStylingStatic` + */ +type TStylingKey = TStylingKeyPrimitive | TStylingStatic; +/** + * The primitive portion (`TStylingStatic` removed) of the value stored in the `TData` which is + * needed to re-concatenate the styling. + * + * - `string`: Stores the property name. Used with `ɵɵstyleProp`/`ɵɵclassProp` instruction. + * - `null`: Represents map, so there is no name. Used with `ɵɵstyleMap`/`ɵɵclassMap`. + * - `false`: Represents an ignore case. This happens when `ɵɵstyleProp`/`ɵɵclassProp` instruction + * is combined with directive which shadows its input `@Input('class')`. That way the binding + * should not participate in the styling resolution. + */ +type TStylingKeyPrimitive = string | null | false; +/** + * Store the static values for the styling binding. + * + * The `TStylingStatic` is just `KeyValueArray` where key `""` (stored at location 0) contains the + * `TStylingKey` (stored at location 1). In other words this wraps the `TStylingKey` such that the + * `""` contains the wrapped value. + * + * When instructions are resolving styling they may need to look forward or backwards in the linked + * list to resolve the value. For this reason we have to make sure that he linked list also contains + * the static values. However the list only has space for one item per styling instruction. For this + * reason we store the static values here as part of the `TStylingKey`. This means that the + * resolution function when looking for a value needs to first look at the binding value, and than + * at `TStylingKey` (if it exists). + * + * Imagine we have: + * + * ```angular-ts + *
+ * + * @Directive({ + * host: { + * class: 'DIR', + * '[class.dynamic]': 'exp' // ɵɵclassProp('dynamic', ctx.exp); + * } + * }) + * ``` + * + * In the above case the linked list will contain one item: + * + * ```ts + * // assume binding location: 10 for `ɵɵclassProp('dynamic', ctx.exp);` + * tData[10] = [ + * '': 'dynamic', // This is the wrapped value of `TStylingKey` + * 'DIR': true, // This is the default static value of directive binding. + * ]; + * tData[10 + 1] = 0; // We don't have prev/next. + * + * lView[10] = undefined; // assume `ctx.exp` is `undefined` + * lView[10 + 1] = undefined; // Just normalized `lView[10]` + * ``` + * + * So when the function is resolving styling value, it first needs to look into the linked list + * (there is none) and than into the static `TStylingStatic` too see if there is a default value for + * `dynamic` (there is not). Therefore it is safe to remove it. + * + * If setting `true` case: + * ```ts + * lView[10] = true; // assume `ctx.exp` is `true` + * lView[10 + 1] = true; // Just normalized `lView[10]` + * ``` + * So when the function is resolving styling value, it first needs to look into the linked list + * (there is none) and than into `TNode.residualClass` (TNode.residualStyle) which contains + * ```ts + * tNode.residualClass = [ + * 'TEMPLATE': true, + * ]; + * ``` + * + * This means that it is safe to add class. + */ +interface TStylingStatic extends KeyValueArray { +} +/** + * This is a branded number which contains previous and next index. + * + * When we come across styling instructions we need to store the `TStylingKey` in the correct + * order so that we can re-concatenate the styling value in the desired priority. + * + * The insertion can happen either at the: + * - end of template as in the case of coming across additional styling instruction in the template + * - in front of the template in the case of coming across additional instruction in the + * `hostBindings`. + * + * We use `TStylingRange` to store the previous and next index into the `TData` where the template + * bindings can be found. + * + * - bit 0 is used to mark that the previous index has a duplicate for current value. + * - bit 1 is used to mark that the next index has a duplicate for the current value. + * - bits 2-16 are used to encode the next/tail of the template. + * - bits 17-32 are used to encode the previous/head of template. + * + * NODE: *duplicate* false implies that it is statically known that this binding will not collide + * with other bindings and therefore there is no need to check other bindings. For example the + * bindings in `
` will never collide and will have + * their bits set accordingly. Previous duplicate means that we may need to check previous if the + * current binding is `null`. Next duplicate means that we may need to check next bindings if the + * current binding is not `null`. + * + * NOTE: `0` has special significance and represents `null` as in no additional pointer. + */ +type TStylingRange = number & { + __brand__: 'TStylingRange'; +}; + +/** + * A set of marker values to be used in the attributes arrays. These markers indicate that some + * items are not regular attributes and the processing should be adapted accordingly. + */ +declare const enum AttributeMarker { + /** + * An implicit marker which indicates that the value in the array are of `attributeKey`, + * `attributeValue` format. + * + * NOTE: This is implicit as it is the type when no marker is present in array. We indicate that + * it should not be present at runtime by the negative number. + */ + ImplicitAttributes = -1, + /** + * Marker indicates that the following 3 values in the attributes array are: + * namespaceUri, attributeName, attributeValue + * in that order. + */ + NamespaceURI = 0, + /** + * Signals class declaration. + * + * Each value following `Classes` designates a class name to include on the element. + * ## Example: + * + * Given: + * ```html + *
...
+ * ``` + * + * the generated code is: + * ```ts + * var _c1 = [AttributeMarker.Classes, 'foo', 'bar', 'baz']; + * ``` + */ + Classes = 1, + /** + * Signals style declaration. + * + * Each pair of values following `Styles` designates a style name and value to include on the + * element. + * ## Example: + * + * Given: + * ```html + *
...
+ * ``` + * + * the generated code is: + * ```ts + * var _c1 = [AttributeMarker.Styles, 'width', '100px', 'height'. '200px', 'color', 'red']; + * ``` + */ + Styles = 2, + /** + * Signals that the following attribute names were extracted from input or output bindings. + * + * For example, given the following HTML: + * + * ```html + *
+ * ``` + * + * the generated code is: + * + * ```ts + * var _c1 = ['moo', 'car', AttributeMarker.Bindings, 'foo', 'bar']; + * ``` + */ + Bindings = 3, + /** + * Signals that the following attribute names were hoisted from an inline-template declaration. + * + * For example, given the following HTML: + * + * ```html + *
+ * ``` + * + * the generated code for the `template()` instruction would include: + * + * ``` + * ['dirA', '', AttributeMarker.Bindings, 'dirB', AttributeMarker.Template, 'ngFor', 'ngForOf', + * 'ngForTrackBy', 'let-value'] + * ``` + * + * while the generated code for the `element()` instruction inside the template function would + * include: + * + * ``` + * ['dirA', '', AttributeMarker.Bindings, 'dirB'] + * ``` + */ + Template = 4, + /** + * Signals that the following attribute is `ngProjectAs` and its value is a parsed + * `CssSelector`. + * + * For example, given the following HTML: + * + * ```html + *

+ * ``` + * + * the generated code for the `element()` instruction would include: + * + * ```ts + * ['attr', 'value', AttributeMarker.ProjectAs, ['', 'title', '']] + * ``` + */ + ProjectAs = 5, + /** + * Signals that the following attribute will be translated by runtime i18n + * + * For example, given the following HTML: + * + * ```html + *
+ * ``` + * + * the generated code is: + * + * ```ts + * var _c1 = ['moo', 'car', AttributeMarker.I18n, 'foo', 'bar']; + * ``` + */ + I18n = 6 +} + +/** Symbol used to store and retrieve the render function for a foreign component. */ +declare const RENDER: unique symbol; +/** Symbol used to store and retrieve the disposal registration function for a foreign component. */ +declare const ON_DESTROY: unique symbol; +/** Symbol used to store and retrieve the content adapter function for a foreign component. */ +declare const CONTENT_ADAPTER: unique symbol; +/** Symbol used to store and retrieve the context retrieval function for a foreign component. */ +declare const GET_CONTEXT: unique symbol; +/** + * A function used to render a foreign component in an Angular template. + * + * The function accepts the component's properties and optional context. It should return an array + * of nodes rendered and owned by the foreign component. It may also return a callback to perform + * any necessary cleanup when the component is destroyed. + * + * @template TProps The properties of the foreign component. + * @template TContext The context passed to the foreign component. + */ +type ForeignRenderFn = (props: TProps, context?: TContext) => [Node[], VoidFunction?]; +/** + * A function that captures the runtime context of a foreign component. + * + * @template TContext The captured context type. + */ +type ForeignGetContextFn = () => TContext; +/** + * A function that allows a foreign component to register a destroy callback. + * + * Angular will invoke this function during the creation phase of projected content + * to provide a cleanup callback. The foreign component is responsible for calling + * this callback when the container slot is removed or when the foreign component itself + * is destroyed. This triggers the destruction and lifecycle cleanup of the nested Angular views. + */ +type ForeignOnDestroyFn = (destroy: VoidFunction) => void; +/** + * A function that adapts an Angular content producer callback into a compatible representation for + * the foreign component. + */ +type ForeignContentAdapterFn = (producer: () => Node[]) => any; +/** + * Represents a component from another framework that Angular can import and render. + * + * @template TProps The properties of the foreign component. + * @template TContext The context passed to the foreign component. + */ +interface ForeignComponent { + readonly [RENDER]: ForeignRenderFn; + readonly [ON_DESTROY]: ForeignOnDestroyFn; + readonly [CONTENT_ADAPTER]: ForeignContentAdapterFn; + readonly [GET_CONTEXT]?: ForeignGetContextFn; +} + +/** + * Expresses a single CSS Selector. + * + * Beginning of array + * - First index: element name + * - Subsequent odd indices: attr keys + * - Subsequent even indices: attr values + * + * After SelectorFlags.CLASS flag + * - Class name values + * + * SelectorFlags.NOT flag + * - Changes the mode to NOT + * - Can be combined with other flags to set the element / attr / class mode + * + * e.g. SelectorFlags.NOT | SelectorFlags.ELEMENT + * + * Example: + * Original: `div.foo.bar[attr1=val1][attr2]` + * Parsed: ['div', 'attr1', 'val1', 'attr2', '', SelectorFlags.CLASS, 'foo', 'bar'] + * + * Original: 'div[attr1]:not(.foo[attr2]) + * Parsed: [ + * 'div', 'attr1', '', + * SelectorFlags.NOT | SelectorFlags.ATTRIBUTE 'attr2', '', SelectorFlags.CLASS, 'foo' + * ] + * + * See more examples in node_selector_matcher_spec.ts + */ +type CssSelector = (string | SelectorFlags)[]; +/** + * A list of CssSelectors. + * + * A directive or component can have multiple selectors. This type is used for + * directive defs so any of the selectors in the list will match that directive. + * + * Original: 'form, [ngForm]' + * Parsed: [['form'], ['', 'ngForm', '']] + */ +type CssSelectorList = CssSelector[]; +/** Flags used to build up CssSelectors */ +declare const enum SelectorFlags { + /** Indicates this is the beginning of a new negative selector */ + NOT = 1, + /** Mode for matching attributes */ + ATTRIBUTE = 2, + /** Mode for matching tag names */ + ELEMENT = 4, + /** Mode for matching class names */ + CLASS = 8 +} + +/** + * TNodeType corresponds to the {@link TNode} `type` property. + * + * NOTE: type IDs are such that we use each bit to denote a type. This is done so that we can easily + * check if the `TNode` is of more than one type. + * + * `if (tNode.type === TNodeType.Text || tNode.type === TNode.Element)` + * can be written as: + * `if (tNode.type & (TNodeType.Text | TNodeType.Element))` + * + * However any given `TNode` can only be of one type. + */ +declare const enum TNodeType { + /** + * The TNode contains information about a DOM element aka {@link RText}. + */ + Text = 1, + /** + * The TNode contains information about a DOM element aka {@link RElement}. + */ + Element = 2, + /** + * The TNode contains information about an {@link LContainer} for embedded views. + */ + Container = 4, + /** + * The TNode contains information about an `` element {@link RNode}. + */ + ElementContainer = 8, + /** + * The TNode contains information about an `` projection + */ + Projection = 16, + /** + * The TNode contains information about an ICU comment used in `i18n`. + */ + Icu = 32, + /** + * Special node type representing a placeholder for future `TNode` at this location. + * + * I18n translation blocks are created before the element nodes which they contain. (I18n blocks + * can span over many elements.) Because i18n `TNode`s (representing text) are created first they + * often may need to point to element `TNode`s which are not yet created. In such a case we create + * a `Placeholder` `TNode`. This allows the i18n to structurally link the `TNode`s together + * without knowing any information about the future nodes which will be at that location. + * + * On `firstCreatePass` When element instruction executes it will try to create a `TNode` at that + * location. Seeing a `Placeholder` `TNode` already there tells the system that it should reuse + * existing `TNode` (rather than create a new one) and just update the missing information. + */ + Placeholder = 64, + /** + * The TNode contains information about a `@let` declaration. + */ + LetDeclaration = 128, + /** + * The TNode contains a control directive's update function. + */ + ControlDirective = 256, + AnyRNode = 3,// Text | Element + AnyContainer = 12 +} +/** + * Corresponds to the TNode.flags property. + */ +declare const enum TNodeFlags { + /** Bit #1 - This bit is set if the node is a host for any directive (including a component) */ + isDirectiveHost = 1, + /** Bit #2 - This bit is set if the node has been projected */ + isProjected = 2, + /** Bit #3 - This bit is set if any directive on this node has content queries */ + hasContentQuery = 4, + /** Bit #4 - This bit is set if the node has any "class" inputs */ + hasClassInput = 8, + /** Bit #5 - This bit is set if the node has any "style" inputs */ + hasStyleInput = 16, + /** Bit #6 - This bit is set if the node has been detached by i18n */ + isDetached = 32, + /** + * Bit #7 - This bit is set if the node has directives with host bindings. + * + * This flags allows us to guard host-binding logic and invoke it only on nodes + * that actually have directives with host bindings. + */ + hasHostBindings = 64, + /** + * Bit #8 - This bit is set if the node is a located inside skip hydration block. + */ + inSkipHydrationBlock = 128, + /** + * Bit #9 - This bit is set if the node is a start of a set of control flow blocks. + */ + isControlFlowStart = 256, + /** + * Bit #10 - This bit is set if the node is within a set of control flow blocks. + */ + isInControlFlow = 512, + /** + * Bit #11 - This bit is set if the node hosts a custom control component. + * + * A custom control component's model property is named `value`. + */ + isFormValueControl = 1024, + /** + * Bit #12 - This bit is set if the node hosts a custom checkbox component. + * + * A custom checkbox component's model property is named `checked`. + */ + isFormCheckboxControl = 2048, + /** + * Bit #13 - This bit is set if the node hosts an interoperable control implementation. + * + * This is used to bind to a `ControlValueAccessor` from `@angular/forms`. + */ + isPassThroughControl = 4096 +} +/** + * Corresponds to the TNode.providerIndexes property. + */ +declare const enum TNodeProviderIndexes { + /** The index of the first provider on this node is encoded on the least significant bits. */ + ProvidersStartIndexMask = 1048575, + /** + * The count of view providers from the component on this node is + * encoded on the 20 most significant bits. + */ + CptViewProvidersCountShift = 20, + CptViewProvidersCountShifter = 1048576 +} +/** + * A combination of: + * - Attribute names and values. + * - Special markers acting as flags to alter attributes processing. + * - Parsed ngProjectAs selectors. + */ +type TAttributes = (string | AttributeMarker | CssSelector)[]; +/** + * Constants that are associated with a view. Includes: + * - Attribute arrays. + * - Local definition arrays. + * - Translated messages (i18n). + * - Foreign components. + */ +type TConstants = (TAttributes | string | ForeignComponent)[]; +/** + * Factory function that returns an array of consts. Consts can be represented as a function in + * case any additional statements are required to define consts in the list. An example is i18n + * where additional i18n calls are generated, which should be executed when consts are requested + * for the first time. + */ +type TConstantsFactory = () => TConstants; +/** + * TConstants type that describes how the `consts` field is generated on ComponentDef: it can be + * either an array or a factory function that returns that array. + */ +type TConstantsOrFactory = TConstants | TConstantsFactory; +/** + * Binding data (flyweight) for a particular node that is shared between all templates + * of a specific type. + * + * If a property is: + * - PropertyAliases: that property's data was generated and this is it + * - Null: that property's data was already generated and nothing was found. + * - Undefined: that property's data has not yet been generated + * + * see: https://en.wikipedia.org/wiki/Flyweight_pattern for more on the Flyweight pattern + */ +interface TNode { + /** The type of the TNode. See TNodeType. */ + type: TNodeType; + /** + * Index of the TNode in TView.data and corresponding native element in LView. + * + * This is necessary to get from any TNode to its corresponding native element when + * traversing the node tree. + * + * If index is -1, this is a dynamically created container node or embedded view node. + */ + index: number; + /** + * Insert before existing DOM node index. + * + * When DOM nodes are being inserted, normally they are being appended as they are created. + * Under i18n case, the translated text nodes are created ahead of time as part of the + * `ɵɵi18nStart` instruction which means that this `TNode` can't just be appended and instead + * needs to be inserted using `insertBeforeIndex` semantics. + * + * Additionally sometimes it is necessary to insert new text nodes as a child of this `TNode`. In + * such a case the value stores an array of text nodes to insert. + * + * Example: + * ```html + *
+ * Hello World! + *
+ * ``` + * In the above example the `ɵɵi18nStart` instruction can create `Hello `, `World` and `!` text + * nodes. It can also insert `Hello ` and `!` text node as a child of `
`, but it can't + * insert `World` because the `` node has not yet been created. In such a case the + * `` `TNode` will have an array which will direct the `` to not only insert + * itself in front of `!` but also to insert the `World` (created by `ɵɵi18nStart`) into + * `` itself. + * + * Pseudo code: + * ```ts + * if (insertBeforeIndex === null) { + * // append as normal + * } else if (Array.isArray(insertBeforeIndex)) { + * // First insert current `TNode` at correct location + * const currentNode = lView[this.index]; + * parentNode.insertBefore(currentNode, lView[this.insertBeforeIndex[0]]); + * // Now append all of the children + * for(let i=1; i` + * - a component is referenced, ex.: `` + * - a directive is referenced, ex.: ``. + * + * A given element might have different local names and those names can be associated + * with a directive. We store local names at even indexes while odd indexes are reserved + * for directive index in a view (or `-1` if there is no associated directive). + * + * Some examples: + * - `
` => `["foo", -1]` + * - `` => `["foo", myCmptIdx]` + * - `` => `["foo", myCmptIdx, "bar", directiveIdx]` + * - `
` => `["foo", -1, "bar", directiveIdx]` + */ + localNames: (string | number)[] | null; + /** Information about input properties that need to be set once from attribute data. */ + initialInputs: InitialInputData | null; + /** + * Input data for all directives on this node. `null` means that there are no directives with + * inputs on this node. + */ + inputs: NodeInputBindings | null; + /** + * Input data for host directives applied to the node. + */ + hostDirectiveInputs: HostDirectiveInputs | null; + /** + * Output data for all directives on this node. `null` means that there are no directives with + * outputs on this node. + */ + outputs: NodeOutputBindings | null; + /** + * Input data for host directives applied to the node. + */ + hostDirectiveOutputs: HostDirectiveOutputs | null; + /** + * Mapping between directive classes applied to the node and their indexes. + */ + directiveToIndex: DirectiveIndexMap | null; + /** + * The TView attached to this node. + * + * If this TNode corresponds to an LContainer with a template (e.g. structural + * directive), the template's TView will be stored here. + * + * If this TNode corresponds to an element, tView will be `null`. + */ + tView: TView | null; + /** + * The next sibling node. Necessary so we can propagate through the root nodes of a view + * to insert them or remove them from the DOM. + */ + next: TNode | null; + /** + * The previous sibling node. + * This simplifies operations when we need a pointer to the previous node. + */ + prev: TNode | null; + /** + * The next projected sibling. Since in Angular content projection works on the node-by-node + * basis the act of projecting nodes might change nodes relationship at the insertion point + * (target view). At the same time we need to keep initial relationship between nodes as + * expressed in content view. + */ + projectionNext: TNode | null; + /** + * First child of the current node. + * + * For component nodes, the child will always be a ContentChild (in same view). + * For embedded view nodes, the child will be in their child view. + */ + child: TNode | null; + /** + * Parent node (in the same view only). + * + * We need a reference to a node's parent so we can append the node to its parent's native + * element at the appropriate time. + * + * If the parent would be in a different view (e.g. component host), this property will be null. + * It's important that we don't try to cross component boundaries when retrieving the parent + * because the parent will change (e.g. index, attrs) depending on where the component was + * used (and thus shouldn't be stored on TNode). In these cases, we retrieve the parent through + * LView.node instead (which will be instance-specific). + * + * If this is an inline view node (V), the parent will be its container. + */ + parent: TElementNode | TContainerNode | null; + /** + * List of projected TNodes for a given component host element OR index into the said nodes. + * + * For easier discussion assume this example: + * ``'s view definition: + * ```html + * content1 + * content2 + * ``` + * ``'s view definition: + * ```html + * + * ``` + * + * If `Array.isArray(projection)` then `TNode` is a host element: + * - `projection` stores the content nodes which are to be projected. + * - The nodes represent categories defined by the selector: For example: + * `` would represent the heads for `` + * and `` respectively. + * - The nodes we store in `projection` are heads only, we used `.next` to get their + * siblings. + * - The nodes `.next` is sorted/rewritten as part of the projection setup. + * - `projection` size is equal to the number of projections ``. The size of + * `c1` will be `1` because `` has only one ``. + * - we store `projection` with the host (`c1`, `c2`) rather than the `` (`cont1`) + * because the same component (``) can be used in multiple locations (`c1`, `c2`) and + * as a result have different set of nodes to project. + * - without `projection` it would be difficult to efficiently traverse nodes to be projected. + * + * If `typeof projection == 'number'` then `TNode` is a `` element: + * - `projection` is an index of the host's `projection`Nodes. + * - This would return the first head node to project: + * `getHost(currentTNode).projection[currentTNode.projection]`. + * - When projecting nodes the parent node retrieved may be a `` node, in which case + * the process is recursive in nature. + * + * If `projection` is of type `RNode[][]` than we have a collection of native nodes passed as + * projectable nodes during dynamic component creation. + */ + projection: (TNode | RNode[])[] | number | null; + /** + * A collection of all `style` static values for an element (including from host). + * + * This field will be populated if and when: + * + * - There are one or more initial `style`s on an element (e.g. `
`) + * - There are one or more initial `style`s on a directive/component host + * (e.g. `@Directive({host: {style: "width:200px;" } }`) + */ + styles: string | null; + /** + * A collection of all `style` static values for an element excluding host sources. + * + * Populated when there are one or more initial `style`s on an element + * (e.g. `
`) + * Must be stored separately from `tNode.styles` to facilitate setting directive + * inputs that shadow the `style` property. If we used `tNode.styles` as is for shadowed inputs, + * we would feed host styles back into directives as "inputs". If we used `tNode.attrs`, we + * would have to concatenate the attributes on every template pass. Instead, we process once on + * first create pass and store here. + */ + stylesWithoutHost: string | null; + /** + * A `KeyValueArray` version of residual `styles`. + * + * When there are styling instructions than each instruction stores the static styling + * which is of lower priority than itself. This means that there may be a higher priority + * styling than the instruction. + * + * Imagine: + * ```angular-ts + *
+ * + * @Directive({ + * host: { + * style: 'color: lowest; ', + * '[styles.color]': 'exp' // ɵɵstyleProp('color', ctx.exp); + * } + * }) + * ``` + * + * In the above case: + * - `color: lowest` is stored with `ɵɵstyleProp('color', ctx.exp);` instruction + * - `color: highest` is the residual and is stored here. + * + * - `undefined': not initialized. + * - `null`: initialized but `styles` is `null` + * - `KeyValueArray`: parsed version of `styles`. + */ + residualStyles: KeyValueArray | undefined | null; + /** + * A collection of all class static values for an element (including from host). + * + * This field will be populated if and when: + * + * - There are one or more initial classes on an element (e.g. `
`) + * - There are one or more initial classes on an directive/component host + * (e.g. `@Directive({host: {class: "SOME_CLASS" } }`) + */ + classes: string | null; + /** + * A collection of all class static values for an element excluding host sources. + * + * Populated when there are one or more initial classes on an element + * (e.g. `
`) + * Must be stored separately from `tNode.classes` to facilitate setting directive + * inputs that shadow the `class` property. If we used `tNode.classes` as is for shadowed + * inputs, we would feed host classes back into directives as "inputs". If we used + * `tNode.attrs`, we would have to concatenate the attributes on every template pass. Instead, + * we process once on first create pass and store here. + */ + classesWithoutHost: string | null; + /** + * A `KeyValueArray` version of residual `classes`. + * + * Same as `TNode.residualStyles` but for classes. + * + * - `undefined': not initialized. + * - `null`: initialized but `classes` is `null` + * - `KeyValueArray`: parsed version of `classes`. + */ + residualClasses: KeyValueArray | undefined | null; + /** + * Stores the head/tail index of the class bindings. + * + * - If no bindings, the head and tail will both be 0. + * - If there are template bindings, stores the head/tail of the class bindings in the template. + * - If no template bindings but there are host bindings, the head value will point to the last + * host binding for "class" (not the head of the linked list), tail will be 0. + * + * See: `style_binding_list.ts` for details. + * + * This is used by `insertTStylingBinding` to know where the next styling binding should be + * inserted so that they can be sorted in priority order. + */ + classBindings: TStylingRange; + /** + * Stores the head/tail index of the class bindings. + * + * - If no bindings, the head and tail will both be 0. + * - If there are template bindings, stores the head/tail of the style bindings in the template. + * - If no template bindings but there are host bindings, the head value will point to the last + * host binding for "style" (not the head of the linked list), tail will be 0. + * + * See: `style_binding_list.ts` for details. + * + * This is used by `insertTStylingBinding` to know where the next styling binding should be + * inserted so that they can be sorted in priority order. + */ + styleBindings: TStylingRange; +} +/** + * See `TNode.insertBeforeIndex` + */ +type InsertBeforeIndex = null | number | number[]; +/** Static data for an element */ +interface TElementNode extends TNode { + /** Index in the data[] array */ + index: number; + child: TElementNode | TTextNode | TElementContainerNode | TContainerNode | TProjectionNode | null; + /** + * Element nodes will have parents unless they are the first node of a component or + * embedded view (which means their parent is in a different view and must be + * retrieved using viewData[HOST_NODE]). + */ + parent: TElementNode | TElementContainerNode | null; + tView: null; + /** + * If this is a component TNode with projection, this will be an array of projected + * TNodes or native nodes (see TNode.projection for more info). If it's a regular element node + * or a component without projection, it will be null. + */ + projection: (TNode | RNode[])[] | null; + /** + * Stores TagName + */ + value: string; +} +/** Static data for a text node */ +interface TTextNode extends TNode { + /** Index in the data[] array */ + index: number; + child: null; + /** + * Text nodes will have parents unless they are the first node of a component or + * embedded view (which means their parent is in a different view and must be + * retrieved using LView.node). + */ + parent: TElementNode | TElementContainerNode | null; + tView: null; + projection: null; +} +/** Static data for an LContainer */ +interface TContainerNode extends TNode { + /** + * Index in the data[] array. + * + * If it's -1, this is a dynamically created container node that isn't stored in + * data[] (e.g. when you inject ViewContainerRef) . + */ + index: number; + child: null; + /** + * Container nodes will have parents unless: + * + * - They are the first node of a component or embedded view + * - They are dynamically created + */ + parent: TElementNode | TElementContainerNode | null; + tView: TView | null; + projection: null; + value: null; +} +/** Static data for an */ +interface TElementContainerNode extends TNode { + /** Index in the LView[] array. */ + index: number; + child: TElementNode | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null; + parent: TElementNode | TElementContainerNode | null; + tView: null; + projection: null; +} +/** Static data for an LProjectionNode */ +interface TProjectionNode extends TNode { + /** Index in the data[] array */ + child: null; + /** + * Projection nodes will have parents unless they are the first node of a component + * or embedded view (which means their parent is in a different view and must be + * retrieved using LView.node). + */ + parent: TElementNode | TElementContainerNode | null; + tView: null; + /** Index of the projection node. (See TNode.projection for more info.) */ + projection: number; + value: null; +} +/** + * Maps the public names of outputs available on a specific node to the index + * of the directive instance that defines the output, for example: + * + * ``` + * { + * "publicName": [0, 5] + * } + * ``` + */ +type NodeOutputBindings = Record; +/** + * Maps the public names of inputs applied to a specific node to the index of the + * directive instance to which the input value should be written, for example: + * + * ``` + * { + * "publicName": [0, 5] + * } + * ``` + */ +type NodeInputBindings = Record; +/** + * This array contains information about input properties that + * need to be set once from attribute data. It's ordered by + * directive index (relative to element) so it's simple to + * look up a specific directive's initial input data. + * + * Within each sub-array: + * + * i+0: public name + * i+1: initial value + * + * If a directive on a node does not have any input properties + * that should be set from attributes, its index is set to null + * to avoid a sparse array. + * + * e.g. [null, ['role-min', 'minified-input', 'button']] + */ +type InitialInputData = (InitialInputs | null)[]; +/** + * Used by InitialInputData to store input properties + * that should be set once from attributes. + * + * i+0: attribute name + * i+1: minified/internal input name + * i+2: input flags + * i+3: initial value + * + * e.g. ['role-min', 'minified-input', 'button'] + */ +type InitialInputs = string[]; +/** + * Represents inputs coming from a host directive and exposed on a TNode. + * + * - The key is the public name of an input as it is exposed on the specific node. + * - The value is an array where: + * - i+0: Index of the host directive that should be written to. + * - i+1: Public name of the input as it was defined on the host directive before aliasing. + */ +type HostDirectiveInputs = Record; +/** + * Represents outputs coming from a host directive and exposed on a TNode. + * + * - The key is the public name of an output as it is exposed on the specific node. + * - The value is an array where: + * - i+0: Index of the host directive on which the output is defined.. + * - i+1: Public name of the output as it was defined on the host directive before aliasing. + */ +type HostDirectiveOutputs = Record; +/** + * Represents a map between a class reference and the index at which its directive is available on + * a specific TNode. The value can be either: + * 1. A number means that there's only one selector-matched directive on the node and it + * doesn't have any host directives. + * 2. An array means that there's a selector-matched directive and it has host directives. + * The array is structured as follows: + * - 0: Index of the selector-matched directive. + * - 1: Start index of the range within which the host directives are defined. + * - 2: End of the host directive range. + * + * Example: + * ``` + * Map { + * [NoHostDirectives]: 5, + * [HasHostDirectives]: [10, 6, 8], + * } + * ``` + */ +type DirectiveIndexMap = Map | AbstractType, number | [directiveIndex: number, hostDirectivesStart: number, hostDirectivesEnd: number]>; +/** + * Type representing a set of TNodes that can have local refs (`#foo`) placed on them. + */ +type TNodeWithLocalRefs = TContainerNode | TElementNode | TElementContainerNode; +/** + * Type for a function that extracts a value for a local refs. + * Example: + * - `
` - `nativeDivEl` should point to the native `
` element; + * - `` - `tplRef` should point to the `TemplateRef` instance; + */ +type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: LView) => any; + +/** + * Special location which allows easy identification of type. If we have an array which was + * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is + * `LContainer`. + */ +declare const TYPE = 1; +/** + * Below are constants for LContainer indices to help us look up LContainer members + * without having to remember the specific indices. + * Uglify will inline these when minifying so there shouldn't be a cost. + */ +declare const DEHYDRATED_VIEWS = 6; +declare const NATIVE = 7; +declare const VIEW_REFS = 8; +declare const MOVED_VIEWS = 9; +/** + * Size of LContainer's header. Represents the index after which all views in the + * container will be inserted. We need to keep a record of current views so we know + * which views are already in the DOM (and don't need to be re-added) and so we can + * remove views from the DOM when they are no longer required. + */ +declare const CONTAINER_HEADER_OFFSET = 10; +/** + * The state associated with a container. + * + * This is an array so that its structure is closer to LView. This helps + * when traversing the view tree (which is a mix of containers and component + * views), so we can jump to viewOrContainer[NEXT] in the same way regardless + * of type. + */ +interface LContainer extends Array { + /** + * The host element of this LContainer. + * + * The host could be an LView if this container is on a component node. + * In that case, the component LView is its HOST. + */ + readonly [HOST]: RElement | RComment | LView; + /** + * This is a type field which allows us to differentiate `LContainer` from `StylingContext` in an + * efficient way. The value is always set to `true` + */ + [TYPE]: true; + /** Flags for this container. See LContainerFlags for more info. */ + [FLAGS]: LContainerFlags; + /** + * Access to the parent view is necessary so we can propagate back + * up from inside a container to parent[NEXT]. + */ + [PARENT]: LView; + /** + * This allows us to jump from a container to a sibling container or component + * view with the same parent, so we can remove listeners efficiently. + */ + [NEXT]: LView | LContainer | null; + /** + * A collection of views created based on the underlying `` element but inserted into + * a different `LContainer`. We need to track views created from a given declaration point since + * queries collect matches from the embedded view declaration point and _not_ the insertion point. + */ + [MOVED_VIEWS]: LView[] | null; + /** + * Pointer to the `TNode` which represents the host of the container. + */ + [T_HOST]: TNode; + /** The comment element that serves as an anchor for this LContainer. */ + [NATIVE]: RComment; + /** + * Array of `ViewRef`s used by any `ViewContainerRef`s that point to this container. + * + * This is lazily initialized by `ViewContainerRef` when the first view is inserted. + * + * NOTE: This is stored as `any[]` because render3 should really not be aware of `ViewRef` and + * doing so creates circular dependency. + */ + [VIEW_REFS]: unknown[] | null; + /** + * Array of dehydrated views within this container. + * + * This information is used during the hydration process on the client. + * The hydration logic tries to find a matching dehydrated view, "claim" it + * and use this information to do further matching. After that, this "claimed" + * view is removed from the list. The remaining "unclaimed" views are + * "garbage-collected" later on, i.e. removed from the DOM once the hydration + * logic finishes. + */ + [DEHYDRATED_VIEWS]: DehydratedContainerView[] | null; +} +/** Flags associated with an LContainer (saved in LContainer[FLAGS]) */ +declare const enum LContainerFlags { + None = 0, + /** + * Flag to signify that this `LContainer` may have transplanted views which need to be change + * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`. + * + * This flag, once set, is never unset for the `LContainer`. + */ + HasTransplantedViews = 2, + /** + * Flag to signify that this `LContainer` is logical-only and its views should not be added + * to or removed from the rendering tree by the platform renderer. + */ + LogicalOnly = 4 +} + +/** + * Information about how a type or `InjectionToken` interfaces with the DI system. + * + * At a minimum, this includes a `factory` which defines how to create the given type `T`, possibly + * requesting injection of other types if necessary. + * + * Optionally, a `providedIn` parameter specifies that the given type belongs to a particular + * `Injector`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates + * that the injectable does not belong to any scope. + * + * @codeGenApi + * @publicApi The ViewEngine compiler emits code with this type for injectables. This code is + * deployed to npm, and should be treated as public api. + + */ +interface ɵɵInjectableDeclaration { + /** + * Specifies that the given type belongs to a particular injector: + * - `InjectorType` such as `NgModule`, + * - `'root'` the root injector + * - `'any'` all injectors. + * - `null`, does not belong to any injector. Must be explicitly listed in the injector + * `providers`. + */ + providedIn: InjectorType | 'root' | 'platform' | 'any' | 'environment' | null; + /** + * The token to which this definition belongs. + * + * Note that this may not be the same as the type that the `factory` will create. + */ + token: unknown; + /** + * Factory method to execute to create an instance of the injectable. + */ + factory: (t?: Type) => any; + /** + * In a case of no explicit injector, a location where the instance of the injectable is stored. + */ + value: any; +} +/** + * Information about the providers to be included in an `Injector` as well as how the given type + * which carries the information should be created by the DI system. + * + * An `InjectorDef` can import other types which have `InjectorDefs`, forming a deep nested + * structure of providers with a defined priority (identically to how `NgModule`s also have + * an import/dependency structure). + * + * NOTE: This is a private type and should not be exported + * + * @codeGenApi + */ +interface ɵɵInjectorDef { + providers: (Type | ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | StaticClassProvider | ClassProvider | EnvironmentProviders | any[])[]; + imports: (InjectorType | InjectorTypeWithProviders)[]; +} +/** + * A `Type` which has a `ɵprov: ɵɵInjectableDeclaration` static field. + * + * `InjectableType`s contain their own Dependency Injection metadata and are usable in an + * `InjectorDef`-based `StaticInjector`. + * + * @publicApi + */ +interface InjectableType extends Type { + /** + * Opaque type whose structure is highly version dependent. Do not rely on any properties. + */ + ɵprov: unknown; +} +/** + * A type which has an `InjectorDef` static field. + * + * `InjectorTypes` can be used to configure a `StaticInjector`. + * + * This is an opaque type whose structure is highly version dependent. Do not rely on any + * properties. + * + * @publicApi + */ +interface InjectorType extends Type { + ɵfac?: unknown; + ɵinj: unknown; +} +/** + * Describes the `InjectorDef` equivalent of a `ModuleWithProviders`, an `InjectorType` with an + * associated array of providers. + * + * Objects of this type can be listed in the imports section of an `InjectorDef`. + * + * NOTE: This is a private type and should not be exported + */ +interface InjectorTypeWithProviders { + ngModule: InjectorType; + providers?: (Type | ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | StaticClassProvider | ClassProvider | EnvironmentProviders | any[])[]; +} +/** + * Construct an injectable definition which defines how a token will be constructed by the DI + * system, and in which injectors (if any) it will be available. + * + * This should be assigned to a static `ɵprov` field on a type, which will then be an + * `InjectableType`. + * + * Options: + * * `providedIn` determines which injectors will include the injectable, by either associating it + * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be + * provided in the `'root'` injector, which will be the application-level injector in most apps. + * * `factory` gives the zero argument function which will create an instance of the injectable. + * The factory can call [`inject`](api/core/inject) to access the `Injector` and request injection + * of dependencies. + * + * @codeGenApi + * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm. + */ +declare function ɵɵdefineInjectable(opts: { + token: unknown; + providedIn?: Type | 'root' | 'platform' | 'any' | 'environment' | null; + factory: (parent?: Type) => T; +}): ɵɵInjectableDeclaration; +/** + * Construct an `InjectorDef` which configures an injector. + * + * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an + * `InjectorType`. + * + * Options: + * + * * `providers`: an optional array of providers to add to the injector. Each provider must + * either have a factory or point to a type which has a `ɵprov` static property (the + * type must be an `InjectableType`). + * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s + * whose providers will also be added to the injector. Locally provided types will override + * providers from imports. + * + * @codeGenApi + */ +declare function ɵɵdefineInjector(options: { + providers?: any[]; + imports?: any[]; +}): unknown; +/** + * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading + * inherited value. + * + * @param type A type which may have its own (non-inherited) `ɵprov`. + */ +declare function getInjectableDef(type: any): ɵɵInjectableDeclaration | null; +declare function isInjectable(type: any): boolean; +declare const NG_PROV_DEF: string; +declare const NG_INJ_DEF: string; + +type InjectorScope = 'root' | 'platform' | 'environment'; +/** + * An internal token whose presence in an injector indicates that the injector should treat itself + * as a root scoped injector when processing requests for unknown tokens which may indicate + * they are provided in the root scope. + */ +declare const INJECTOR_SCOPE: InjectionToken; + +/** + * An `Injector` that's part of the environment injector hierarchy, which exists outside of the + * component tree. + * + * @see [Types of injector hierarchies](guide/di/hierarchical-dependency-injection#types-of-injector-hierarchies) + * + * @publicApi + */ +declare abstract class EnvironmentInjector implements Injector { + /** + * Retrieves an instance from the injector based on the provided token. + * @returns The instance from the injector if defined, otherwise the `notFoundValue`. + * @throws When the `notFoundValue` is `undefined` or `Injector.THROW_IF_NOT_FOUND`. + */ + abstract get(token: ProviderToken, notFoundValue: undefined, options: InjectOptions & { + optional?: false; + }): T; + /** + * Retrieves an instance from the injector based on the provided token. + * @returns The instance from the injector if defined, otherwise the `notFoundValue`. + * @throws When the `notFoundValue` is `undefined` or `Injector.THROW_IF_NOT_FOUND`. + */ + abstract get(token: ProviderToken, notFoundValue: null | undefined, options: InjectOptions): T | null; + /** + * Retrieves an instance from the injector based on the provided token. + * @returns The instance from the injector if defined, otherwise the `notFoundValue`. + * @throws When the `notFoundValue` is `undefined` or `Injector.THROW_IF_NOT_FOUND`. + */ + abstract get(token: ProviderToken, notFoundValue?: T, options?: InjectOptions): T; + /** + * @deprecated from v4.0.0 use ProviderToken + * @suppress {duplicate} + */ + abstract get(token: string | ProviderToken, notFoundValue?: any): any; + /** + * Runs the given function in the context of this `EnvironmentInjector`. + * + * Within the function's stack frame, [`inject`](api/core/inject) can be used to inject + * dependencies from this injector. Note that `inject` is only usable synchronously, and cannot be + * used in any asynchronous callbacks or after any `await` points. + * + * @param fn the closure to be run in the context of this injector + * @returns the return value of the function, if any + * @deprecated use the standalone function `runInInjectionContext` instead + */ + abstract runInContext(fn: () => ReturnT): ReturnT; + abstract destroy(): void; + /** + * Indicates whether the instance has already been destroyed. + */ + abstract get destroyed(): boolean; +} +declare class R3Injector extends EnvironmentInjector implements Injector$1 { + readonly parent: Injector; + readonly source: string | null; + readonly scopes: Set; + /** + * Map of tokens to records which contain the instances of those tokens. + * - `null` value implies that we don't have the record. Used by tree-shakable injectors + * to prevent further searches. + */ + private records; + /** + * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks. + */ + private _ngOnDestroyHooks; + private _onDestroyHooks; + /** + * Flag indicating that this injector was previously destroyed. + */ + get destroyed(): boolean; + private _destroyed; + private injectorDefTypes; + constructor(providers: Array, parent: Injector, source: string | null, scopes: Set); + retrieve(token: InjectionToken$1, options?: unknown): T | NotFound; + /** + * Destroy the injector and release references to every instance or provider associated with it. + * + * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a + * hook was found. + */ + destroy(): void; + onDestroy(callback: () => void): () => void; + runInContext(fn: () => ReturnT): ReturnT; + get(token: ProviderToken, notFoundValue?: any, options?: InjectOptions): T; + toString(): string; + /** + * Process a `SingleProvider` and add it. + */ + private processProvider; + private hydrate; + private injectableDefInScope; + private removeOnDestroy; +} + +/** + * A schema definition associated with a component or an NgModule. + * + * @see {@link NgModule} + * @see {@link CUSTOM_ELEMENTS_SCHEMA} + * @see {@link NO_ERRORS_SCHEMA} + * + * @param name The name of a defined schema. + * + * @publicApi + */ +interface SchemaMetadata { + name: string; +} +/** + * Defines a schema that allows an NgModule to contain the following: + * - Non-Angular elements named with dash case (`-`). + * - Element properties named with dash case (`-`). + * Dash case is the naming convention for custom elements. + * + * @publicApi + */ +declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata; +/** + * Defines a schema that allows any property on any element. + * + * This schema allows you to ignore the errors related to any unknown elements or properties in a + * template. The usage of this schema is generally discouraged because it prevents useful validation + * and may hide real errors in your template. Consider using the `CUSTOM_ELEMENTS_SCHEMA` instead. + * + * @publicApi + */ +declare const NO_ERRORS_SCHEMA: SchemaMetadata; + +/** + * Defines the CSS styles encapsulation policies for the {@link /api/core/Component Component} decorator's + * `encapsulation` option. + * + * See {@link Component#encapsulation encapsulation}. + * + * @usageNotes + * ### Example + * + * {@example core/ts/metadata/encapsulation.ts region='longform'} + * + * @publicApi + */ +declare enum ViewEncapsulation { + /** + * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the + * component's host element and applying the same attribute to all the CSS selectors provided + * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}. + * + * This is the default option. + */ + Emulated = 0, + /** + * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided + * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable + * to any HTML element of the application regardless of their host Component. + */ + None = 2, + /** + * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates + * a ShadowRoot for the component's host element which is then used to encapsulate + * all the Component's styling. + */ + ShadowDom = 3, + /** + * Similar to `ShadowDom`, but prevents any external styles from leaking into the + * component's ShadowRoot. This is useful when you want to ensure that the component's + * styles are completely isolated from the rest of the application, including global styles. + * + * @experimental 21.0 + */ + ExperimentalIsolatedShadowDom = 4 +} + +/** + * Definition of what a factory function should look like. + */ +type FactoryFn = { + /** + * Subclasses without an explicit constructor call through to the factory of their base + * definition, providing it with their own constructor to instantiate. + */ + (t?: Type): U; + /** + * If no constructor to instantiate is provided, an instance of type T itself is created. + */ + (t?: undefined): T; +}; + +/** + * A control directive definition that captures control-related behavior for a directive. + * + * This is the type of `DirectiveDef.controlDef`. + * + * @see ɵɵControlFeature + */ +interface ControlDirectiveDef { + readonly passThroughInput: string | null; + readonly create: (instance: unknown, host: ControlDirectiveHost) => void; + readonly update: (instance: unknown, host: ControlDirectiveHost) => void; +} +/** + * Interface provided by the runtime to directives that act as form controls, as the argument to + * `ɵngControlCreate` and `ɵngControlUpdate` lifecycle hooks. + * + * @param _TPassthroughInput if given, the name of an input which, if found on other directives, + * will cause the control infrastructure to recognize this usage as "pass-through". This sets + * the `hasPassThrough` flag. This generic is only read by the compiler on the type declaration + * of `ɵngControlCreate`, and has no impact on the type of the host. + */ +interface ControlDirectiveHost<_TPassthroughInput extends string | undefined = undefined> { + /** + * A string that describes this control directive, used for error messages. + */ + readonly descriptor: string; + /** + * Whether any other directive on the element has an input that matches this directive's + * `_TPassThroughInput` declaration. + */ + readonly hasPassThrough: boolean; + /** + * A `FormUiControl` instance that this directive is declared on. + */ + readonly customControl: unknown | undefined; + /** The native DOM element for the host node, if applicable. */ + readonly nativeElement: HTMLElement; + /** + * Registers a listener that will be called when the custom control's value changes. + * + * This abstracts over the fact that different types of custom controls use different model + * names (`value` vs `checked`). + */ + listenToCustomControlModel(listener: (value: unknown) => void): void; + /** + * Registers a listener that will be called when the custom control emits an output. + */ + listenToCustomControlOutput(outputName: string, listener: () => void): void; + /** + * Sets the custom control's value. + * + * This abstracts over the fact that different types of custom controls use different model + * names (`value` vs `checked`). + */ + setCustomControlModelInput(value: unknown): void; + /** + * Checks if the custom control has an input with the given name. + */ + customControlHasInput(inputName: string): boolean; + /** + * Updates a property binding on all directives on this node, aside from the control directive + * itself. + * + * @param inputName Name of the input to update. + * @param value New value to write to the input. + * @param writePredicate Optional predicate function that receives the current value of the + * input to decide if the value should be written. + */ + setInputOnDirectives(inputName: string, value: unknown, writePredicate?: (currentValue: unknown) => boolean): boolean; + /** + * Listens to a DOM event on the host element. + */ + listenToDom(eventName: string, listener: (event: Event) => void): void; +} + +/** + * Definition of what a template rendering function should look like for a component. + */ +type ComponentTemplate = { + (rf: RenderFlags, ctx: T | U): void; +}; +/** + * Definition of what a view queries function should look like. + */ +type ViewQueriesFunction = (rf: RenderFlags, ctx: U) => void; +/** Function that resolves providers and publishes them to the DI system. */ +type ProvidersResolver = (def: DirectiveDef, processProvidersFn?: ProcessProvidersFunction) => void; +/** + * Definition of what a content queries function should look like. + */ +type ContentQueriesFunction = (rf: RenderFlags, ctx: U, directiveIndex: number) => void; +interface ClassDebugInfo { + className: string; + filePath?: string; + lineNumber?: number; + forbidOrphanRendering?: boolean; +} +/** + * Flags passed into template functions to determine which blocks (i.e. creation, update) + * should be executed. + * + * Typically, a template runs both the creation block and the update block on initialization and + * subsequent runs only execute the update block. However, dynamically created views require that + * the creation block be executed separately from the update block (for backwards compat). + */ +declare const enum RenderFlags { + Create = 1, + Update = 2 +} +/** + * A subclass of `Type` which has a static `ɵcmp`:`ComponentDef` field making it + * consumable for rendering. + */ +interface ComponentType extends Type { + ɵcmp: unknown; +} +/** + * A subclass of `Type` which has a static `ɵdir`:`DirectiveDef` field making it + * consumable for rendering. + */ +interface DirectiveType extends Type { + ɵdir: unknown; + ɵfac: unknown; +} +/** + * A subclass of `Type` which has a static `ɵpipe`:`PipeDef` field making it + * consumable for rendering. + */ +interface PipeType extends Type { + ɵpipe: unknown; +} +/** + * Runtime link information for Directives. + * + * This is an internal data structure used by the render to link + * directives into templates. + * + * NOTE: Always use `defineDirective` function to create this object, + * never create the object directly since the shape of this object + * can change between versions. + * + * @param Selector type metadata specifying the selector of the directive or component + * + * See: {@link defineDirective} + */ +interface DirectiveDef { + /** + * A dictionary mapping the inputs' public name to their minified property names + * (along with flags if there are any). + */ + readonly inputs: Record; + /** + * Contains the raw input information produced by the compiler. Can be + * used to do further processing after the `inputs` have been inverted. + */ + readonly inputConfig: { + [P in keyof T]?: string | [number, string, string?, InputTransformFunction?]; + }; + /** + * @deprecated This is only here because `NgOnChanges` incorrectly uses declared name instead of + * public or minified name. + */ + readonly declaredInputs: Record; + /** + * A dictionary mapping the outputs' minified property names to their public API names, which + * are their aliases if any, or their original unminified property names + * (as in `@Output('alias') propertyName: any;`). + */ + readonly outputs: Record; + /** + * Function to create and refresh content queries associated with a given directive. + */ + contentQueries: ContentQueriesFunction | null; + /** + * Query-related instructions for a directive. Note that while directives don't have a + * view and as such view queries won't necessarily do anything, there might be + * components that extend the directive. + */ + viewQuery: ViewQueriesFunction | null; + /** + * Refreshes host bindings on the associated directive. + */ + readonly hostBindings: HostBindingsFunction | null; + /** + * The number of bindings in this directive `hostBindings` (including pure fn bindings). + * + * Used to calculate the length of the component's LView array, so we + * can pre-fill the array and set the host binding start index. + */ + readonly hostVars: number; + /** + * Assign static attribute values to a host element. + * + * This property will assign static attribute values as well as class and style + * values to a host element. Since attribute values can consist of different types of values, the + * `hostAttrs` array must include the values in the following format: + * + * attrs = [ + * // static attributes (like `title`, `name`, `id`...) + * attr1, value1, attr2, value, + * + * // a single namespace value (like `x:id`) + * NAMESPACE_MARKER, namespaceUri1, name1, value1, + * + * // another single namespace value (like `x:name`) + * NAMESPACE_MARKER, namespaceUri2, name2, value2, + * + * // a series of CSS classes that will be applied to the element (no spaces) + * CLASSES_MARKER, class1, class2, class3, + * + * // a series of CSS styles (property + value) that will be applied to the element + * STYLES_MARKER, prop1, value1, prop2, value2 + * ] + * + * All non-class and non-style attributes must be defined at the start of the list + * first before all class and style values are set. When there is a change in value + * type (like when classes and styles are introduced) a marker must be used to separate + * the entries. The marker values themselves are set via entries found in the + * [AttributeMarker] enum. + */ + readonly hostAttrs: TAttributes | null; + /** Token representing the directive. Used by DI. */ + readonly type: Type | AbstractType; + /** Function that resolves `providers` and publishes them into the DI system. */ + providersResolver: ProvidersResolver | null; + /** Function that resolves `viewProviders` and publishes them into the DI system. */ + viewProvidersResolver: ProvidersResolver | null; + /** The selectors that will be used to match nodes to this directive. */ + readonly selectors: CssSelectorList; + /** + * Name under which the directive is exported (for use with local references in template) + */ + readonly exportAs: string[] | null; + /** + * Whether this directive (or component) is standalone. + */ + readonly standalone: boolean; + /** + * Whether this directive (or component) uses the signals authoring experience. + */ + readonly signals: boolean; + /** + * Factory function used to create a new directive instance. Will be null initially. + * Populated when the factory is first requested by directive instantiation logic. + */ + readonly factory: FactoryFn | null; + /** + * The features applied to this directive + */ + readonly features: DirectiveDefFeature[] | null; + /** + * Info related to debugging/troubleshooting for this component. This info is only available in + * dev mode. + */ + debugInfo: ClassDebugInfo | null; + /** + * Function inteded to be called after template selector matching is done + * in order to resolve information about their host directives. Patched + * onto the definition by the `ɵɵHostDirectivesFeature`. + */ + resolveHostDirectives: ((matches: DirectiveDef[]) => HostDirectiveResolution) | null; + /** + * Additional directives to be applied whenever the directive has been matched. + * + * `HostDirectiveConfig` objects represent a host directive that can be resolved eagerly and were + * already pre-processed when the definition was created. A function needs to be resolved lazily + * during directive matching, because it's a forward reference. + * + * **Note:** we can't use `HostDirectiveConfig` in the array, because there's no way to + * distinguish if a function in the array is a `Type` or a `() => HostDirectiveConfig[]`. + */ + hostDirectives: (HostDirectiveDef | (() => HostDirectiveConfig[]))[] | null; + controlDef: ControlDirectiveDef | null; + /** + * Cache of inputs that this custom control directive covers, + * used by the signal forms system. + */ + signalFormsInputPresence: Record | null; + setInput: ((this: DirectiveDef, instance: U, inputSignalNode: null | InputSignalNode, value: any, publicName: string, privateName: string) => void) | null; +} +/** + * Runtime link information for Components. + * + * This is an internal data structure used by the render to link + * components into templates. + * + * NOTE: Always use `defineComponent` function to create this object, + * never create the object directly since the shape of this object + * can change between versions. + * + * See: {@link defineComponent} + */ +interface ComponentDef extends DirectiveDef { + /** + * Unique ID for the component. Used in view encapsulation and + * to keep track of the injector in standalone components. + */ + readonly id: string; + /** + * The View template of the component. + */ + readonly template: ComponentTemplate; + /** Constants associated with the component's view. */ + readonly consts: TConstantsOrFactory | null; + /** + * An array of `ngContent[selector]` values that were found in the template. + */ + readonly ngContentSelectors?: string[]; + /** + * A set of styles that the component needs to be present for component to render correctly. + */ + readonly styles: string[]; + /** + * The number of nodes, local refs, and pipes in this component template. + * + * Used to calculate the length of the component's LView array, so we + * can pre-fill the array and set the binding start index. + */ + readonly decls: number; + /** + * The number of bindings in this component template (including pure fn bindings). + * + * Used to calculate the length of the component's LView array, so we + * can pre-fill the array and set the host binding start index. + */ + readonly vars: number; + /** + * Query-related instructions for a component. + */ + viewQuery: ViewQueriesFunction | null; + /** + * The view encapsulation type, which determines how styles are applied to + * DOM elements. One of + * - `Emulated` (default): Emulate native scoping of styles. + * - `Native`: Use the native encapsulation mechanism of the renderer. + * - `ShadowDom`: Use modern [ShadowDOM](https://w3c.github.io/webcomponents/spec/shadow/) and + * create a ShadowRoot for component's host element. + * - `None`: Do not provide any template or style encapsulation. + */ + readonly encapsulation: ViewEncapsulation; + /** + * Defines arbitrary developer-defined data to be stored on a renderer instance. + * This is useful for renderers that delegate to other renderers. + */ + readonly data: { + [kind: string]: any; + animation?: any[]; + }; + /** Whether or not this component's ChangeDetectionStrategy is OnPush */ + readonly onPush: boolean; + /** Whether or not this component is signal-based. */ + readonly signals: boolean; + /** + * Registry of directives and components that may be found in this view. + * + * The property is either an array of `DirectiveDef`s or a function which returns the array of + * `DirectiveDef`s. The function is necessary to be able to support forward declarations. + */ + directiveDefs: DirectiveDefListOrFactory | null; + /** + * Registry of pipes that may be found in this view. + * + * The property is either an array of `PipeDefs`s or a function which returns the array of + * `PipeDefs`s. The function is necessary to be able to support forward declarations. + */ + pipeDefs: PipeDefListOrFactory | null; + /** + * Unfiltered list of all dependencies of a component, or `null` if none. + */ + dependencies: TypeOrFactory | null; + /** + * The set of schemas that declare elements to be allowed in the component's template. + */ + schemas: SchemaMetadata[] | null; + /** + * Ivy runtime uses this place to store the computed tView for the component. This gets filled on + * the first run of component. + */ + tView: TView | null; + /** + * A function used by the framework to create standalone injectors. + */ + getStandaloneInjector: ((parentInjector: EnvironmentInjector) => EnvironmentInjector | null) | null; + /** + * A function used by the framework to create the list of external runtime style URLs. + */ + getExternalStyles: ((encapsulationId?: string) => string[]) | null; + /** + * Used to store the result of `noSideEffects` function so that it is not removed by closure + * compiler. The property should never be read. + */ + readonly _?: unknown; +} +/** + * Runtime link information for Pipes. + * + * This is an internal data structure used by the renderer to link + * pipes into templates. + * + * NOTE: Always use `definePipe` function to create this object, + * never create the object directly since the shape of this object + * can change between versions. + * + * See: {@link definePipe} + */ +interface PipeDef { + /** Token representing the pipe. */ + type: Type | AbstractType; + /** + * Pipe name. + * + * Used to resolve pipe in templates. + */ + readonly name: string; + /** + * Factory function used to create a new pipe instance. Will be null initially. + * Populated when the factory is first requested by pipe instantiation logic. + */ + factory: FactoryFn | null; + /** + * Whether or not the pipe is pure. + * + * Pure pipes result only depends on the pipe input and not on internal + * state of the pipe. + */ + readonly pure: boolean; + /** + * Whether this pipe is standalone. + */ + readonly standalone: boolean; + onDestroy: (() => void) | null; +} +interface DirectiveDefFeature { + (directiveDef: DirectiveDef): void; + /** + * Marks a feature as something that {@link InheritDefinitionFeature} will execute + * during inheritance. + * + * NOTE: DO NOT SET IN ROOT OF MODULE! Doing so will result in tree-shakers/bundlers + * identifying the change as a side effect, and the feature will be included in + * every bundle. + */ + ngInherit?: true; +} +/** Data produced after host directives are resolved for a node. */ +type HostDirectiveResolution = [ + matches: DirectiveDef[], + hostDirectiveDefs: HostDirectiveDefs | null, + hostDirectiveRanges: HostDirectiveRanges | null +]; +/** + * Map that tracks a selector-matched directive to the range within which its host directives + * are declared. Host directives for a specific directive are always contiguous within the runtime. + * Note that both the start and end are inclusive and they're both **after** `tNode.directiveStart`. + */ +type HostDirectiveRanges = Map, [start: number, end: number]>; +/** Runtime information used to configure a host directive. */ +interface HostDirectiveDef { + /** Class representing the host directive. */ + directive: Type; + /** Directive inputs that have been exposed. */ + inputs: HostDirectiveBindingMap; + /** Directive outputs that have been exposed. */ + outputs: HostDirectiveBindingMap; +} +/** + * Mapping between the public aliases of directive bindings and the underlying inputs/outputs that + * they represent. Also serves as an allowlist of the inputs/outputs from the host directive that + * the author has decided to expose. + */ +type HostDirectiveBindingMap = { + [publicName: string]: string; +}; +/** + * Mapping between a directive that was used as a host directive + * and the configuration that was used to define it as such. + */ +type HostDirectiveDefs = Map, HostDirectiveDef>; +/** Value that can be used to configure a host directive. */ +type HostDirectiveConfig = Type | { + directive: Type; + inputs?: string[]; + outputs?: string[]; +}; +interface ComponentDefFeature { + (componentDef: ComponentDef): void; + /** + * Marks a feature as something that {@link InheritDefinitionFeature} will execute + * during inheritance. + * + * NOTE: DO NOT SET IN ROOT OF MODULE! Doing so will result in tree-shakers/bundlers + * identifying the change as a side effect, and the feature will be included in + * every bundle. + */ + ngInherit?: true; +} +/** Function that can be used to transform incoming input values. */ +type InputTransformFunction = (value: any) => any; +/** + * Type used for directiveDefs on component definition. + * + * The function is necessary to be able to support forward declarations. + */ +type DirectiveDefListOrFactory = (() => DirectiveDefList) | DirectiveDefList; +type DirectiveDefList = (DirectiveDef | ComponentDef)[]; +type DependencyType = DirectiveType | ComponentType | PipeType | Type; +type DependencyTypeList = Array; +type TypeOrFactory = T | (() => T); +type HostBindingsFunction = (rf: RenderFlags, ctx: U) => void; +/** + * Type used for PipeDefs on component definition. + * + * The function is necessary to be able to support forward declarations. + */ +type PipeDefListOrFactory = (() => PipeDefList) | PipeDefList; +type PipeDefList = PipeDef[]; +/** + * NgModule scope info as provided by AoT compiler + * + * In full compilation Ivy resolved all the "module with providers" and forward refs the whole array + * if at least one element is forward refed. So we end up with type `Type[]|(() => + * Type[])`. + * + * In local mode the compiler passes the raw info as they are to the runtime functions as it is not + * possible to resolve them any further due to limited info at compile time. So we end up with type + * `RawScopeInfoFromDecorator[]`. + */ +interface NgModuleScopeInfoFromDecorator { + /** List of components, directives, and pipes declared by this module. */ + declarations?: Type[] | (() => Type[]) | RawScopeInfoFromDecorator[]; + /** List of modules or `ModuleWithProviders` or standalone components imported by this module. */ + imports?: Type[] | (() => Type[]) | RawScopeInfoFromDecorator[]; + /** + * List of modules, `ModuleWithProviders`, components, directives, or pipes exported by this + * module. + */ + exports?: Type[] | (() => Type[]) | RawScopeInfoFromDecorator[]; + /** + * The set of components that are bootstrapped when this module is bootstrapped. This field is + * only available in local compilation mode. In full compilation mode bootstrap info is passed + * directly to the module def runtime after statically analyzed and resolved. + */ + bootstrap?: Type[] | (() => Type[]) | RawScopeInfoFromDecorator[]; +} +/** + * The array element type passed to: + * - NgModule's annotation imports/exports/declarations fields + * - standalone component annotation imports field + */ +type RawScopeInfoFromDecorator = Type | ModuleWithProviders | (() => Type) | (() => ModuleWithProviders) | readonly any[]; + +/** + * Basic set of data structures used for identifying a defer block + * and triggering defer blocks + */ +interface DehydratedDeferBlock { + lView: LView; + tNode: TNode; + lContainer: LContainer; +} +/** + * Describes the shape of a function generated by the compiler + * to download dependencies that can be defer-loaded. + */ +type DependencyResolverFn = () => Array | DependencyType>; +/** + * Describes the state of defer block dependency loading. + */ +declare enum DeferDependenciesLoadingState { + /** Initial state, dependency loading is not yet triggered */ + NOT_STARTED = 0, + /** Dependency loading is in progress */ + IN_PROGRESS = 1, + /** Dependency loading has completed successfully */ + COMPLETE = 2, + /** Dependency loading has failed */ + FAILED = 3 +} +/** Configuration object for a loading block as it is stored in the component constants. */ +type DeferredLoadingBlockConfig = [minimumTime: number | null, afterTime: number | null]; +/** Configuration object for a placeholder block as it is stored in the component constants. */ +type DeferredPlaceholderBlockConfig = [minimumTime: number | null]; +/** + * Describes the data shared across all instances of a defer block. + */ +interface TDeferBlockDetails { + /** + * Index in an LView and TData arrays where a template for the primary content + * can be found. + */ + primaryTmplIndex: number; + /** + * Index in an LView and TData arrays where a template for the loading block can be found. + */ + loadingTmplIndex: number | null; + /** + * Extra configuration parameters (such as `after` and `minimum`) for the loading block. + */ + loadingBlockConfig: DeferredLoadingBlockConfig | null; + /** + * Index in an LView and TData arrays where a template for the placeholder block can be found. + */ + placeholderTmplIndex: number | null; + /** + * Extra configuration parameters (such as `after` and `minimum`) for the placeholder block. + */ + placeholderBlockConfig: DeferredPlaceholderBlockConfig | null; + /** + * Index in an LView and TData arrays where a template for the error block can be found. + */ + errorTmplIndex: number | null; + /** + * Compiler-generated function that loads all dependencies for a defer block. + */ + dependencyResolverFn: DependencyResolverFn | null; + /** + * Keeps track of the current loading state of defer block dependencies. + */ + loadingState: DeferDependenciesLoadingState; + /** + * Dependency loading Promise. This Promise is helpful for cases when there + * are multiple instances of a defer block (e.g. if it was used inside of an *ngFor), + * which all await the same set of dependencies. + */ + loadingPromise: Promise | null; + /** + * List of providers collected from all NgModules that were imported by + * standalone components used within this defer block. + */ + providers: Provider[] | null; + /** + * List of hydrate triggers for a given block + */ + hydrateTriggers: Map | null; + /** + * Defer block flags, which should be used for all + * instances of a given defer block (the flags that should be + * placed into the `TDeferDetails` at runtime). + */ + flags: TDeferDetailsFlags; + /** + * Tracks debugging information about the deferred block. + */ + debug: { + /** Text representations of the block's triggers. */ + triggers?: Set; + } | null; +} +/** + * Specifies defer block flags, which should be used for all + * instances of a given defer block (the flags that should be + * placed into the `TDeferDetails` at runtime). + */ +declare const enum TDeferDetailsFlags { + Default = 0, + /** + * Whether or not the defer block has hydrate triggers. + */ + HasHydrateTriggers = 1 +} +/** + * Describes the current state of this defer block instance. + * + * @publicApi + */ +declare enum DeferBlockState { + /** The placeholder block content is rendered */ + Placeholder = 0, + /** The loading block content is rendered */ + Loading = 1, + /** The main content block content is rendered */ + Complete = 2, + /** The error block content is rendered */ + Error = 3 +} +/** + * Represents defer trigger types. + */ +declare const enum DeferBlockTrigger { + Idle = 0, + Immediate = 1, + Viewport = 2, + Interaction = 3, + Hover = 4, + Timer = 5, + When = 6, + Never = 7 +} +/** Describes specified delay (in ms) in the `hydrate on timer()` trigger. */ +interface HydrateTimerTriggerDetails { + type: DeferBlockTrigger.Timer; + delay?: number; +} +/** Describes the config for a `hydrate on viewport` trigger. */ +interface HydrateViewportTriggerDetails { + type: DeferBlockTrigger.Viewport; + intersectionObserverOptions?: IntersectionObserverInit; +} +/** * Describes all possible hydration trigger details specified in a template. */ +type HydrateTriggerDetails = HydrateTimerTriggerDetails | HydrateViewportTriggerDetails; +/** + * Internal structure used for configuration of defer block behavior. + * */ +interface DeferBlockConfig { + behavior: DeferBlockBehavior; +} +/** + * Options for configuring defer blocks behavior. + * @publicApi + */ +declare enum DeferBlockBehavior { + /** + * Manual triggering mode for defer blocks. Provides control over when defer blocks render + * and which state they render. + */ + Manual = 0, + /** + * Playthrough mode for defer blocks. This mode behaves like defer blocks would in a browser. + * This is the default behavior in test environments. + */ + Playthrough = 1 +} +/** + * **INTERNAL**, avoid referencing it in application code. + * + * Describes a helper class that allows to intercept a call to retrieve current + * dependency loading function and replace it with a different implementation. + * This interceptor class is needed to allow testing blocks in different states + * by simulating loading response. + */ +interface DeferBlockDependencyInterceptor { + /** + * Invoked for each defer block when dependency loading function is accessed. + */ + intercept(dependencyFn: DependencyResolverFn | null): DependencyResolverFn | null; + /** + * Allows to configure an interceptor function. + */ + setInterceptor(interceptorFn: (current: DependencyResolverFn) => DependencyResolverFn): void; +} + +/** + * Error details caught by the error boundary + * + * @developerPreview 22.2 + */ +interface ErrorDetails { + /** + * The class of the component or directive where the error occurred. + */ + readonly declarationType: Type; + /** + * The instance of the component or directive where the error occurred. + */ + readonly declarationInstance: unknown; + /** + * Information about the error boundary that caught the error. + */ + readonly boundary?: { + /** + * The component where the error boundary that caught the rendering error was located + */ + readonly type: Type; + /** + * Call this method to retry rendering the error boundary. + */ + readonly reset: () => void; + }; + /** + * The function that intercepted the error, if any. + */ + readonly caughtBy?: Function; +} +/** + * Provides a hook for centralized exception handling. + * + * The default implementation of `ErrorHandler` prints error messages to the `console`. To + * intercept error handling, write a custom exception handler that replaces this default as + * appropriate for your app. + * + * @usageNotes + * ### Example + * + * ```ts + * class MyErrorHandler implements ErrorHandler { + * handleError(error) { + * // do something with the exception + * } + * } + * + * // Provide in standalone apps + * bootstrapApplication(AppComponent, { + * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}] + * }) + * + * // Provide in module-based apps + * @NgModule({ + * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}] + * }) + * class MyModule {} + * ``` + * + * @publicApi + * + * @see [Unhandled errors in Angular](best-practices/error-handling) + * + */ +declare class ErrorHandler { + handleError(error: any): void; + /** + * Callback to handle errors happening during the rendering of a component/directive view. + * + * @param error The error that was thrown. + * @param details Additional information about the error. + */ + onViewError?(error: Error, details: ErrorDetails): void; +} +/** + * `InjectionToken` used to configure how to call the `ErrorHandler`. + */ +declare const INTERNAL_APPLICATION_ERROR_HANDLER: InjectionToken<(e: any) => void>; +/** + * Provides an environment initializer which forwards unhandled errors to the ErrorHandler. + * + * The listeners added are for the window's 'unhandledrejection' and 'error' events. + * + * @see [Global error listeners](best-practices/error-handling#global-error-listeners) + * + * @publicApi + */ +declare function provideBrowserGlobalErrorListeners(): EnvironmentProviders; + +/** + * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property + * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly + * handled. + * + * See DomSanitizer for more details on security in Angular applications. + * + * @publicApi + */ +declare enum SecurityContext { + NONE = 0, + HTML = 1, + STYLE = 2, + SCRIPT = 3, + URL = 4, + RESOURCE_URL = 5, + ATTRIBUTE_NO_BINDING = 6 +} + +/** + * Sanitizer is used by the views to sanitize potentially dangerous values. + * + * @see [Sanitization and security contexts](best-practices/security#sanitization-and-security-contexts) + * + * @publicApi + */ +declare abstract class Sanitizer { + abstract sanitize(context: SecurityContext, value: {} | string | null): string | null; + /** @nocollapse */ + static ɵprov: _angular_core.ɵɵInjectableDeclaration; +} + +/** + * A callback that runs after render. + * + * @publicApi + */ +interface AfterRenderRef { + /** + * Shut down the callback, preventing it from being called again. + */ + destroy(): void; +} + +declare class AfterRenderManager { + impl: AfterRenderImpl | null; + execute(): void; + /** @nocollapse */ + static ɵprov: _angular_core.ɵɵInjectableDeclaration; +} +declare class AfterRenderImpl { + private readonly ngZone; + private readonly scheduler; + private readonly errorHandler; + /** Current set of active sequences. */ + private readonly sequences; + /** Tracks registrations made during the current set of executions. */ + private readonly deferredRegistrations; + /** Whether the `AfterRenderManager` is currently executing hooks. */ + executing: boolean; + constructor(); + /** + * Run the sequence of phases of hooks, once through. As a result of executing some hooks, more + * might be scheduled. + */ + execute(): void; + register(sequence: AfterRenderSequence): void; + addSequence(sequence: AfterRenderSequence): void; + unregister(sequence: AfterRenderSequence): void; + protected maybeTrace(fn: () => T, snapshot: TracingSnapshot | null): T; + /** @nocollapse */ + static ɵprov: _angular_core.ɵɵInjectableDeclaration; +} +type AfterRenderHook = (value?: unknown) => unknown; +type AfterRenderHooks = [ + AfterRenderHook | undefined, + AfterRenderHook | undefined, + AfterRenderHook | undefined, + AfterRenderHook | undefined +]; +declare class AfterRenderSequence implements AfterRenderRef { + readonly impl: AfterRenderImpl; + readonly hooks: AfterRenderHooks; + readonly view: LView | undefined; + once: boolean; + snapshot: TracingSnapshot | null; + /** + * Whether this sequence errored or was destroyed during this execution, and hooks should no + * longer run for it. + */ + erroredOrDestroyed: boolean; + /** + * The value returned by the last hook execution (if any), ready to be pipelined into the next + * one. + */ + pipelinedValue: unknown; + private unregisterOnDestroy; + constructor(impl: AfterRenderImpl, hooks: AfterRenderHooks, view: LView | undefined, once: boolean, destroyRef: DestroyRef | null, snapshot?: TracingSnapshot | null); + afterRun(): void; + destroy(): void; +} + +interface ReactiveLViewConsumer extends ReactiveNode { + lView: LView | null; +} + +/** + * Abstraction that encompasses any kind of effect that can be scheduled. + */ +interface SchedulableEffect { + run(): void; + zone: { + run(fn: () => T): T; + } | null; + dirty: boolean; +} +/** + * A scheduler which manages the execution of effects. + */ +declare abstract class EffectScheduler { + abstract add(e: SchedulableEffect): void; + /** + * Schedule the given effect to be executed at a later time. + * + * It is an error to attempt to execute any effects synchronously during a scheduling operation. + */ + abstract schedule(e: SchedulableEffect): void; + /** + * Run any scheduled effects. + */ + abstract flush(): void; + /** Remove a scheduled effect */ + abstract remove(e: SchedulableEffect): void; + /** @nocollapse */ + static ɵprov: _angular_core.ɵɵInjectableDeclaration; +} +/** + * A wrapper around `ZoneAwareQueueingScheduler` that schedules flushing via the microtask queue + * when. + */ +declare class ZoneAwareEffectScheduler implements EffectScheduler { + private dirtyEffectCount; + private queues; + add(handle: SchedulableEffect): void; + schedule(handle: SchedulableEffect): void; + remove(handle: SchedulableEffect): void; + private enqueue; + /** + * Run all scheduled effects. + * + * Execution order of effects within the same zone is guaranteed to be FIFO, but there is no + * ordering guarantee between effects scheduled in different zones. + */ + flush(): void; + private flushQueue; +} + +/** + * A global reactive effect, which can be manually destroyed. + * + * @publicApi 20.0 + * + * @see [Destroying effects](guide/signals/effect#destroying-effects) + */ +interface EffectRef { + /** + * Shut down the effect, removing it from any upcoming scheduled executions. + */ + destroy(): void; +} +/** + * Options passed to the `effect` function. + * + * @publicApi 20.0 + */ +interface CreateEffectOptions { + /** + * The `Injector` in which to create the effect. + * + * If this is not provided, the current [injection context](guide/di/dependency-injection-context) + * will be used instead (via `inject`). + */ + injector?: Injector; + /** + * Whether the `effect` should require manual cleanup. + * + * If this is `false` (the default) the effect will automatically register itself to be cleaned up + * with the current `DestroyRef`. + * + * If this is `true` and you want to use the effect outside an injection context, you still + * need to provide an `Injector` to the effect. + */ + manualCleanup?: boolean; + /** + * @deprecated no longer required, signal writes are allowed by default. + */ + allowSignalWrites?: boolean; + /** + * A debug name for the effect. Used in Angular DevTools to identify the effect. + */ + debugName?: string; +} +/** + * An effect can, optionally, register a cleanup function. If registered, the cleanup is executed + * before the next effect run. The cleanup function makes it possible to "cancel" any work that the + * previous effect run might have started. + * + * @see [Effect cleanup functions](guide/signals/effect#effect-cleanup-functions) + * + * @publicApi 20.0 + */ +type EffectCleanupFn = () => void; +/** + * A callback passed to the effect function that makes it possible to register cleanup logic. + * + * @see [Effect cleanup functions](guide/signals/effect#effect-cleanup-functions) + * + * @publicApi 20.0 + */ +type EffectCleanupRegisterFn = (cleanupFn: EffectCleanupFn) => void; +/** + * Registers an "effect" that will be scheduled & executed whenever the signals that it reads + * changes. + * + * Angular has two different kinds of effect: component effects and root effects. Component effects + * are created when `effect()` is called from a component, directive, or within a service of a + * component/directive. Root effects are created when `effect()` is called from outside the + * component tree, such as in a root service. + * + * The two effect types differ in their timing. Component effects run as a component lifecycle + * event during Angular's synchronization (change detection) process, and can safely read input + * signals or create/destroy views that depend on component state. Root effects run as microtasks + * and have no connection to the component tree or change detection. + * + * `effect()` must be run in injection context, unless the `injector` option is manually specified. + * + * @see [Effects](guide/signals/effect) + * + * @publicApi 20.0 + */ +declare function effect(effectFn: (onCleanup: EffectCleanupRegisterFn) => void, options?: CreateEffectOptions): EffectRef; +interface EffectNode extends BaseEffectNode, SchedulableEffect { + cleanupFns: EffectCleanupFn[] | undefined; + injector: Injector; + notifier: ChangeDetectionScheduler; + userFn: (onCleanup: EffectCleanupRegisterFn) => void; + onDestroyFns: (() => void)[] | null; +} +interface ViewEffectNode extends EffectNode { + view: LView; +} + +/** + * An unmodifiable list of items that Angular keeps up to date when the state + * of the application changes. + * + * The type of object that {@link ViewChildren}, {@link ContentChildren}, and {@link QueryList} + * provide. + * + * Implements an iterable interface, therefore it can be used in both ES6 + * javascript `for (var i of items)` loops as well as in Angular templates with + * `@for(i of myList; track $index)`. + * + * Changes can be observed by subscribing to the `changes` `Observable`. + * * + * @usageNotes + * ### Example + * ```ts + * @Component({...}) + * class Container { + * @ViewChildren(Item) items:QueryList; + * } + * ``` + * + * @publicApi + * + * @see [Using QueryList](guide/components/queries#using-querylist) + */ +declare class QueryList implements Iterable { + private _emitDistinctChangesOnly; + readonly dirty = true; + private _onDirty?; + private _results; + private _changesDetected; + private _changes; + readonly length: number; + readonly first: T; + readonly last: T; + /** + * Returns `Observable` of `QueryList` notifying the subscriber of changes. + */ + get changes(): Observable; + /** + * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change + * has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in + * the same result) + */ + constructor(_emitDistinctChangesOnly?: boolean); + /** + * Returns the QueryList entry at `index`. + */ + get(index: number): T | undefined; + /** + * See + * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) + */ + map(fn: (item: T, index: number, array: T[]) => U): U[]; + /** + * See + * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) + */ + filter(predicate: (value: T, index: number, array: readonly T[]) => value is S): S[]; + filter(predicate: (value: T, index: number, array: readonly T[]) => unknown): T[]; + /** + * See + * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) + */ + find(fn: (item: T, index: number, array: T[]) => boolean): T | undefined; + /** + * See + * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) + */ + reduce(fn: (prevValue: U, curValue: T, curIndex: number, array: T[]) => U, init: U): U; + /** + * See + * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) + */ + forEach(fn: (item: T, index: number, array: T[]) => void): void; + /** + * See + * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) + */ + some(fn: (value: T, index: number, array: T[]) => boolean): boolean; + /** + * Returns a copy of the internal results list as an Array. + */ + toArray(): T[]; + toString(): string; + /** + * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that + * on change detection, it will not notify of changes to the queries, unless a new change + * occurs. + * + * @param resultsTree The query results to store + * @param identityAccessor Optional function for extracting stable object identity from a value + * in the array. This function is executed for each element of the query result list while + * comparing current query list with the new one (provided as a first argument of the `reset` + * function) to detect if the lists are different. If the function is not provided, elements + * are compared as is (without any pre-processing). + */ + reset(resultsTree: Array, identityAccessor?: (value: T) => unknown): void; + /** + * Triggers a change event by emitting on the `changes` {@link EventEmitter}. + */ + notifyOnChanges(): void; + /** internal */ + setDirty(): void; + /** internal */ + destroy(): void; + [Symbol.iterator]: () => Iterator; +} + +/** + * An object representing query metadata extracted from query annotations. + */ +interface TQueryMetadata { + predicate: ProviderToken | string[]; + read: any; + flags: QueryFlags; +} +/** + * A set of flags to be used with Queries. + * + * NOTE: Ensure changes here are reflected in `packages/compiler/src/render3/view/compiler.ts` + */ +declare const enum QueryFlags { + /** + * No flags + */ + none = 0, + /** + * Whether or not the query should descend into children. + */ + descendants = 1, + /** + * The query can be computed statically and hence can be assigned eagerly. + * + * NOTE: Backwards compatibility with ViewEngine. + */ + isStatic = 2, + /** + * If the `QueryList` should fire change event only if actual change to query was computed (vs old + * behavior where the change was fired whenever the query was recomputed, even if the recomputed + * query resulted in the same list.) + */ + emitDistinctChangesOnly = 4 +} +/** + * TQuery objects represent all the query-related data that remain the same from one view instance + * to another and can be determined on the very first template pass. Most notably TQuery holds all + * the matches for a given view. + */ +interface TQuery { + /** + * Query metadata extracted from query annotations. + */ + metadata: TQueryMetadata; + /** + * Index of a query in a declaration view in case of queries propagated to en embedded view, -1 + * for queries declared in a given view. We are storing this index so we can find a parent query + * to clone for an embedded view (when an embedded view is created). + */ + indexInDeclarationView: number; + /** + * Matches collected on the first template pass. Each match is a pair of: + * - TNode index; + * - match index; + * + * A TNode index can be either: + * - a positive number (the most common case) to indicate a matching TNode; + * - a negative number to indicate that a given query is crossing a element and + * results from views created based on TemplateRef should be inserted at this place. + * + * A match index is a number used to find an actual value (for a given node) when query results + * are materialized. This index can have one of the following values: + * - -2 - indicates that we need to read a special token (TemplateRef, ViewContainerRef etc.); + * - -1 - indicates that we need to read a default value based on the node type (TemplateRef for + * ng-template and ElementRef for other elements); + * - a positive number - index of an injectable to be read from the element injector. + */ + matches: number[] | null; + /** + * A flag indicating if a given query crosses an element. This flag exists for + * performance reasons: we can notice that queries not crossing any elements will + * have matches from a given view only (and adapt processing accordingly). + */ + crossesNgTemplate: boolean; + /** + * A method call when a given query is crossing an element (or element container). This is where a + * given TNode is matched against a query predicate. + * @param tView + * @param tNode + */ + elementStart(tView: TView, tNode: TNode): void; + /** + * A method called when processing the elementEnd instruction - this is mostly useful to determine + * if a given content query should match any nodes past this point. + * @param tNode + */ + elementEnd(tNode: TNode): void; + /** + * A method called when processing the template instruction. This is where a + * given TContainerNode is matched against a query predicate. + * @param tView + * @param tNode + */ + template(tView: TView, tNode: TNode): void; + /** + * A query-related method called when an embedded TView is created based on the content of a + * element. We call this method to determine if a given query should be propagated + * to the embedded view and if so - return a cloned TQuery for this embedded view. + * @param tNode + * @param childQueryIndex + */ + embeddedTView(tNode: TNode, childQueryIndex: number): TQuery | null; +} +/** + * TQueries represent a collection of individual TQuery objects tracked in a given view. Most of the + * methods on this interface are simple proxy methods to the corresponding functionality on TQuery. + */ +interface TQueries { + /** + * Adds a new TQuery to a collection of queries tracked in a given view. + * @param tQuery + */ + track(tQuery: TQuery): void; + /** + * Returns a TQuery instance for at the given index in the queries array. + * @param index + */ + getByIndex(index: number): TQuery; + /** + * Returns the number of queries tracked in a given view. + */ + length: number; + /** + * A proxy method that iterates over all the TQueries in a given TView and calls the corresponding + * `elementStart` on each and every TQuery. + * @param tView + * @param tNode + */ + elementStart(tView: TView, tNode: TNode): void; + /** + * A proxy method that iterates over all the TQueries in a given TView and calls the corresponding + * `elementEnd` on each and every TQuery. + * @param tNode + */ + elementEnd(tNode: TNode): void; + /** + * A proxy method that iterates over all the TQueries in a given TView and calls the corresponding + * `template` on each and every TQuery. + * @param tView + * @param tNode + */ + template(tView: TView, tNode: TNode): void; + /** + * A proxy method that iterates over all the TQueries in a given TView and calls the corresponding + * `embeddedTView` on each and every TQuery. + * @param tNode + */ + embeddedTView(tNode: TNode): TQueries | null; +} +/** + * An interface that represents query-related information specific to a view instance. Most notably + * it contains: + * - materialized query matches; + * - a pointer to a QueryList where materialized query results should be reported. + */ +interface LQuery { + /** + * Materialized query matches for a given view only (!). Results are initialized lazily so the + * array of matches is set to `null` initially. + */ + matches: (T | null)[] | null; + /** + * A QueryList where materialized query results should be reported. + */ + queryList: QueryList; + /** + * Clones an LQuery for an embedded view. A cloned query shares the same `QueryList` but has a + * separate collection of materialized matches. + */ + clone(): LQuery; + /** + * Called when an embedded view, impacting results of this query, is inserted or removed. + */ + setDirty(): void; +} +/** + * lQueries represent a collection of individual LQuery objects tracked in a given view. + */ +interface LQueries { + /** + * A collection of queries tracked in a given view. + */ + queries: LQuery[]; + /** + * A method called when a new embedded view is created. As a result a set of LQueries applicable + * for a new embedded view is instantiated (cloned) from the declaration view. + * @param tView + */ + createEmbeddedView(tView: TView): LQueries | null; + /** + * A method called when an embedded view is inserted into a container. As a result all impacted + * `LQuery` objects (and associated `QueryList`) are marked as dirty. + * @param tView + */ + insertView(tView: TView): void; + /** + * A method called when an embedded view is detached from a container. As a result all impacted + * `LQuery` objects (and associated `QueryList`) are marked as dirty. + * @param tView + */ + detachView(tView: TView): void; + /** + * A method called when a view finishes its creation pass. As a result all impacted + * `LQuery` objects (and associated `QueryList`) are marked as dirty. This additional dirty + * marking gives us a precise point in time where we can collect results for a given view in an + * atomic way. + * @param tView + */ + finishViewCreation(tView: TView): void; +} + +/** + * Used by `RendererFactory2` to associate custom rendering data and styles + * with a rendering implementation. + * @publicApi + */ +interface RendererType2 { + /** + * A unique identifying string for the new renderer, used when creating + * unique styles for encapsulation. + */ + id: string; + /** + * The view encapsulation type, which determines how styles are applied to + * DOM elements. One of + * - `Emulated` (default): Emulate native scoping of styles. + * - `Native`: Use the native encapsulation mechanism of the renderer. + * - `ShadowDom`: Use modern [Shadow + * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and + * create a ShadowRoot for component's host element. + * - `None`: Do not provide any template or style encapsulation. + */ + encapsulation: ViewEncapsulation; + /** + * Defines CSS styles to be stored on a renderer instance. + */ + styles: string[]; + /** + * Defines arbitrary developer-defined data to be stored on a renderer instance. + * This is useful for renderers that delegate to other renderers. + */ + data: { + [kind: string]: any; + }; + /** + * A function used by the framework to create the list of external runtime style URLs. + */ + getExternalStyles?: ((encapsulationId?: string) => string[]) | null; +} +/** + * Flags for renderer-specific style modifiers. + * @publicApi + */ +declare enum RendererStyleFlags2 { + /** + * Marks a style as important. + */ + Important = 1, + /** + * Marks a style as using dash case naming (this-is-dash-case). + */ + DashCase = 2 +} + +/** + * Creates and initializes a custom renderer that implements the `Renderer2` base class. + * + * @publicApi + */ +declare abstract class RendererFactory2 { + /** + * Creates and initializes a custom renderer for a host DOM element. + * @param hostElement The element to render. + * @param type The base class to implement. + * @returns The new custom renderer instance. + */ + abstract createRenderer(hostElement: any, type: RendererType2 | null): Renderer2; + /** + * A callback invoked when rendering has begun. + */ + abstract begin?(): void; + /** + * A callback invoked when rendering has completed. + */ + abstract end?(): void; + /** + * Use with animations test-only mode. Notifies the test when rendering has completed. + * @returns The asynchronous result of the developer-defined function. + */ + abstract whenRenderingDone?(): Promise; +} +/** + * Extend this base class to implement custom rendering. By default, Angular + * renders a template into DOM. You can use custom rendering to intercept + * rendering calls, or to render to something other than DOM. + * + *
+ *

+ * Please be aware that usage of `Renderer2`, in context of accessing DOM elements, provides no + * extra security which makes it equivalent to + * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls Security vulnerabilities}. + *

+ *
+ * + * Create your custom renderer using `RendererFactory2`. + * + * Use a custom renderer to bypass Angular's templating and + * make custom UI changes that can't be expressed declaratively. + * For example if you need to set a property or an attribute whose name is + * not statically known, use the `setProperty()` or + * `setAttribute()` method. + * + * @publicApi + */ +declare abstract class Renderer2 { + /** + * Use to store arbitrary developer-defined data on a renderer instance, + * as an object containing key-value pairs. + * This is useful for renderers that delegate to other renderers. + */ + abstract get data(): { + [key: string]: any; + }; + /** + * Implement this callback to destroy the renderer or the host element. + */ + abstract destroy(): void; + /** + * Implement this callback to create an instance of the host element. + * @param name An identifying name for the new element, unique within the namespace. + * @param namespace The namespace for the new element. + * @returns The new element. + */ + abstract createElement(name: string, namespace?: string | null): any; + /** + * Implement this callback to add a comment to the DOM of the host element. + * @param value The comment text. + * @returns The modified element. + */ + abstract createComment(value: string): any; + /** + * Implement this callback to add text to the DOM of the host element. + * @param value The text string. + * @returns The modified element. + */ + abstract createText(value: string): any; + /** + * If null or undefined, the view engine won't call it. + * This is used as a performance optimization for production mode. + */ + destroyNode: ((node: any) => void) | null; + /** + * Appends a child to a given parent node in the host element DOM. + * @param parent The parent node. + * @param newChild The new child node. + */ + abstract appendChild(parent: any, newChild: any): void; + /** + * Implement this callback to insert a child node at a given position in a parent node + * in the host element DOM. + * @param parent The parent node. + * @param newChild The new child nodes. + * @param refChild The existing child node before which `newChild` is inserted. + * @param isMove Optional argument which signifies if the current `insertBefore` is a result of a + * move. Animation uses this information to trigger move animations. In the past the Animation + * would always assume that any `insertBefore` is a move. This is not strictly true because + * with runtime i18n it is possible to invoke `insertBefore` as a result of i18n and it should + * not trigger an animation move. + */ + abstract insertBefore(parent: any, newChild: any, refChild: any, isMove?: boolean): void; + /** + * Implement this callback to remove a child node from the host element's DOM. + * @param parent The parent node. + * @param oldChild The child node to remove. + * @param isHostElement Optionally signal to the renderer whether this element is a host element + * @param requireSynchronousElementRemoval Optionally signal to the renderer whether this element + * needs synchronous removal + */ + abstract removeChild(parent: any, oldChild: any, isHostElement?: boolean, requireSynchronousElementRemoval?: boolean): void; + /** + * Implement this callback to prepare an element to be bootstrapped + * as a root element, and return the element instance. + * @param selectorOrNode The DOM element. + * @param preserveContent Whether the contents of the root element + * should be preserved, or cleared upon bootstrap (default behavior). + * Use with `ViewEncapsulation.ShadowDom` to allow simple native + * content projection via `` elements. + * @returns The root element. + */ + abstract selectRootElement(selectorOrNode: string | any, preserveContent?: boolean): any; + /** + * Implement this callback to get the parent of a given node + * in the host element's DOM. + * @param node The child node to query. + * @returns The parent node, or null if there is no parent. + * This is because the check is synchronous, + * and the caller can't rely on checking for null. + */ + abstract parentNode(node: any): any; + /** + * Implement this callback to get the next sibling node of a given node + * in the host element's DOM. + * @returns The sibling node, or null if there is no sibling. + * This is because the check is synchronous, + * and the caller can't rely on checking for null. + */ + abstract nextSibling(node: any): any; + /** + * Implement this callback to set an attribute value for an element in the DOM. + * @param el The element. + * @param name The attribute name. + * @param value The new value. + * @param namespace The namespace. + */ + abstract setAttribute(el: any, name: string, value: string, namespace?: string | null): void; + /** + * Implement this callback to remove an attribute from an element in the DOM. + * @param el The element. + * @param name The attribute name. + * @param namespace The namespace. + */ + abstract removeAttribute(el: any, name: string, namespace?: string | null): void; + /** + * Implement this callback to add a class to an element in the DOM. + * @param el The element. + * @param name The class name. + */ + abstract addClass(el: any, name: string): void; + /** + * Implement this callback to remove a class from an element in the DOM. + * @param el The element. + * @param name The class name. + */ + abstract removeClass(el: any, name: string): void; + /** + * Implement this callback to set a CSS style for an element in the DOM. + * @param el The element. + * @param style The name of the style. + * @param value The new value. + * @param flags Flags for style variations. No flags are set by default. + */ + abstract setStyle(el: any, style: string, value: any, flags?: RendererStyleFlags2): void; + /** + * Implement this callback to remove the value from a CSS style for an element in the DOM. + * @param el The element. + * @param style The name of the style. + * @param flags Flags for style variations to remove, if set. ??? + */ + abstract removeStyle(el: any, style: string, flags?: RendererStyleFlags2): void; + /** + * Implement this callback to set the value of a property of an element in the DOM. + * @param el The element. + * @param name The property name. + * @param value The new value. + */ + abstract setProperty(el: any, name: string, value: any): void; + /** + * Implement this callback to set the value of a node in the host element. + * @param node The node. + * @param value The new value. + */ + abstract setValue(node: any, value: string): void; + /** + * Implement this callback to start an event listener. + * @param target The context in which to listen for events. Can be + * the entire window or document, the body of the document, or a specific + * DOM element. + * @param eventName The event to listen for. + * @param callback A handler function to invoke when the event occurs. + * @param options Options that configure how the event listener is bound. + * @returns An "unlisten" function for disposing of this handler. + */ + abstract listen(target: 'window' | 'document' | 'body' | any, eventName: string, callback: (event: any) => boolean | void, options?: ListenerOptions): () => void; +} +/** + * This enum is meant to be used by `ɵtype` properties of the different renderers implemented + * by the framework + * + * We choose to not add `ɵtype` to `Renderer2` to no expose it to the public API. + */ +declare const enum AnimationRendererType { + Regular = 0, + Delegated = 1 +} +/** + * Options that can be used to configure an event listener. + * @publicApi + */ +interface ListenerOptions { + capture?: boolean; + once?: boolean; + passive?: boolean; +} + +/** + * The goal here is to make sure that the browser DOM API is the Renderer. + * We do this by defining a subset of DOM API to be the renderer and then + * use that at runtime for rendering. + * + * At runtime we can then use the DOM api directly, in server or web-worker + * it will be easy to implement such API. + */ +type GlobalTargetName = 'document' | 'window' | 'body'; +type GlobalTargetResolver = (element: any) => EventTarget; +/** + * Procedural style of API needed to create elements and text nodes. + * + * In non-native browser environments (e.g. platforms such as web-workers), this is the + * facade that enables element manipulation. In practice, this is implemented by `Renderer2`. + */ +interface Renderer { + destroy(): void; + createComment(value: string): RComment; + createElement(name: string, namespace?: string | null): RElement; + createText(value: string): RText; + /** + * This property is allowed to be null / undefined, + * in which case the view engine won't call it. + * This is used as a performance optimization for production mode. + */ + destroyNode?: ((node: RNode) => void) | null; + appendChild(parent: RElement, newChild: RNode): void; + insertBefore(parent: RNode, newChild: RNode, refChild: RNode | null, isMove?: boolean): void; + removeChild(parent: RElement | null, oldChild: RNode, isHostElement?: boolean, requireSynchronousElementRemoval?: boolean): void; + selectRootElement(selectorOrNode: string | any, preserveContent?: boolean): RElement; + parentNode(node: RNode): RElement | null; + nextSibling(node: RNode): RNode | null; + setAttribute(el: RElement, name: string, value: string | TrustedHTML | TrustedScript | TrustedScriptURL, namespace?: string | null): void; + removeAttribute(el: RElement, name: string, namespace?: string | null): void; + addClass(el: RElement, name: string): void; + removeClass(el: RElement, name: string): void; + setStyle(el: RElement, style: string, value: any, flags?: RendererStyleFlags2): void; + removeStyle(el: RElement, style: string, flags?: RendererStyleFlags2): void; + setProperty(el: RElement, name: string, value: any): void; + setValue(node: RText | RComment, value: string): void; + listen(target: GlobalTargetName | RNode, eventName: string, callback: (event: any) => boolean | void, options?: ListenerOptions): () => void; +} +interface RendererFactory { + createRenderer(hostElement: RElement | null, rendererType: RendererType2 | null): Renderer; + begin?(): void; + end?(): void; +} + +declare const HOST = 0; +declare const TVIEW = 1; +declare const FLAGS = 2; +declare const PARENT = 3; +declare const NEXT = 4; +declare const T_HOST = 5; +declare const HYDRATION = 6; +declare const CLEANUP = 7; +declare const CONTEXT = 8; +declare const INJECTOR = 9; +declare const ENVIRONMENT = 10; +declare const RENDERER = 11; +declare const CHILD_HEAD = 12; +declare const CHILD_TAIL = 13; +declare const DECLARATION_VIEW = 14; +declare const DECLARATION_COMPONENT_VIEW = 15; +declare const DECLARATION_LCONTAINER = 16; +declare const PREORDER_HOOK_FLAGS = 17; +declare const QUERIES = 18; +declare const ID = 19; +declare const EMBEDDED_VIEW_INJECTOR = 20; +declare const ON_DESTROY_HOOKS = 21; +declare const EFFECTS_TO_SCHEDULE = 22; +declare const EFFECTS = 23; +declare const REACTIVE_TEMPLATE_CONSUMER = 24; +declare const AFTER_RENDER_SEQUENCES_TO_ADD = 25; +declare const ANIMATIONS = 26; +declare const ON_ERROR = 27; +interface OpaqueViewState { + '__brand__': 'Brand for OpaqueViewState that nothing will match'; +} +/** + * `LView` stores all of the information needed to process the instructions as + * they are invoked from the template. Each embedded view and component view has its + * own `LView`. When processing a particular view, we set the `viewData` to that + * `LView`. When that view is done processing, the `viewData` is set back to + * whatever the original `viewData` was before (the parent `LView`). + * + * Keeping separate state for each view facilities view insertion / deletion, so we + * don't have to edit the data array based on which views are present. + */ +interface LView extends Array { + /** + * The node into which this `LView` is inserted. + */ + [HOST]: RElement | null; + /** + * The static data for this view. We need a reference to this so we can easily walk up the + * node tree in DI and get the TView.data array associated with a node (where the + * directive defs are stored). + */ + readonly [TVIEW]: TView; + /** Flags for this view. See LViewFlags for more info. */ + [FLAGS]: LViewFlags; + /** + * This may store an {@link LView} or {@link LContainer}. + * + * `LView` - The parent view. This is needed when we exit the view and must restore the previous + * LView. Without this, the render method would have to keep a stack of + * views as it is recursively rendering templates. + * + * `LContainer` - The current view is part of a container, and is an embedded view. + */ + [PARENT]: LView | LContainer | null; + /** + * + * The next sibling LView or LContainer. + * + * Allows us to propagate between sibling view states that aren't in the same + * container. Embedded views already have a node.next, but it is only set for + * views in the same container. We need a way to link component views and views + * across containers as well. + */ + [NEXT]: LView | LContainer | null; + /** Queries active for this view - nodes from a view are reported to those queries. */ + [QUERIES]: LQueries | null; + /** + * Store the `TNode` of the location where the current `LView` is inserted into. + * + * Given: + * ```html + *
+ * + *
+ * ``` + * + * We end up with two `TView`s. + * - `parent` `TView` which contains `
` + * - `child` `TView` which contains `` + * + * Typically the `child` is inserted into the declaration location of the `parent`, but it can be + * inserted anywhere. Because it can be inserted anywhere it is not possible to store the + * insertion information in the `TView` and instead we must store it in the `LView[T_HOST]`. + * + * So to determine where is our insertion parent we would execute: + * ```ts + * const parentLView = lView[PARENT]; + * const parentTNode = lView[T_HOST]; + * const insertionParent = parentLView[parentTNode.index]; + * ``` + * + * + * If `null`, this is the root view of an application (root component is in this view) and it has + * no parents. + */ + [T_HOST]: TNode | null; + /** + * When a view is destroyed, listeners need to be released and outputs need to be + * unsubscribed. This context array stores both listener functions wrapped with + * their context and output subscription instances for a particular view. + * + * These change per LView instance, so they cannot be stored on TView. Instead, + * TView.cleanup saves an index to the necessary context in this array. + * + * After `LView` is created it is possible to attach additional instance specific functions at the + * end of the `lView[CLEANUP]` because we know that no more `T` level cleanup functions will be + * added here. + */ + [CLEANUP]: any[] | null; + /** + * - For dynamic views, this is the context with which to render the template (e.g. + * `NgForContext`), or `{}` if not defined explicitly. + * - For root view of the root component it's a reference to the component instance itself. + * - For components, the context is a reference to the component instance itself. + * - For inline views, the context is null. + */ + [CONTEXT]: T; + /** A Module Injector to be used as fall back after Element Injectors are consulted. */ + readonly [INJECTOR]: Injector; + /** + * Contextual data that is shared across multiple instances of `LView` in the same application. + */ + [ENVIRONMENT]: LViewEnvironment; + /** Renderer to be used for this view. */ + [RENDERER]: Renderer; + /** + * Reference to the first LView or LContainer beneath this LView in + * the hierarchy. + * + * Necessary to store this so views can traverse through their nested views + * to remove listeners and call onDestroy callbacks. + */ + [CHILD_HEAD]: LView | LContainer | null; + /** + * The last LView or LContainer beneath this LView in the hierarchy. + * + * The tail allows us to quickly add a new state to the end of the view list + * without having to propagate starting from the first child. + */ + [CHILD_TAIL]: LView | LContainer | null; + /** + * View where this view's template was declared. + * + * The template for a dynamically created view may be declared in a different view than + * it is inserted. We already track the "insertion view" (view where the template was + * inserted) in LView[PARENT], but we also need access to the "declaration view" + * (view where the template was declared). Otherwise, we wouldn't be able to call the + * view's template function with the proper contexts. Context should be inherited from + * the declaration view tree, not the insertion view tree. + * + * Example (AppComponent template): + * + * <-- declared here --> + * <-- inserted inside this component --> + * + * The above is declared in the AppComponent template, but it will be passed into + * SomeComp and inserted there. In this case, the declaration view would be the AppComponent, + * but the insertion view would be SomeComp. When we are removing views, we would want to + * traverse through the insertion view to clean up listeners. When we are calling the + * template function during change detection, we need the declaration view to get inherited + * context. + */ + [DECLARATION_VIEW]: LView | null; + /** + * Points to the declaration component view, used to track transplanted `LView`s. + * + * See: `DECLARATION_VIEW` which points to the actual `LView` where it was declared, whereas + * `DECLARATION_COMPONENT_VIEW` points to the component which may not be same as + * `DECLARATION_VIEW`. + * + * Example: + * ```html + * <#VIEW #myComp> + *
+ * ... + *
+ * + * ``` + * In the above case `DECLARATION_VIEW` for `myTmpl` points to the `LView` of `ngIf` whereas + * `DECLARATION_COMPONENT_VIEW` points to `LView` of the `myComp` which owns the template. + * + * The reason for this is that all embedded views are always check-always whereas the component + * view can be check-always or on-push. When we have a transplanted view it is important to + * determine if we have transplanted a view from check-always declaration to on-push insertion + * point. In such a case the transplanted view needs to be added to the `LContainer` in the + * declared `LView` and CD during the declared view CD (in addition to the CD at the insertion + * point.) (Any transplanted views which are intra Component are of no interest because the CD + * strategy of declaration and insertion will always be the same, because it is the same + * component.) + * + * Queries already track moved views in `LView[DECLARATION_LCONTAINER]` and + * `LContainer[MOVED_VIEWS]`. However the queries also track `LView`s which moved within the same + * component `LView`. Transplanted views are a subset of moved views, and we use + * `DECLARATION_COMPONENT_VIEW` to differentiate them. As in this example. + * + * Example showing intra component `LView` movement. + * ```html + * <#VIEW #myComp> + *
+ * Content to render when condition is true. + * Content to render when condition is false. + * + * ``` + * The `thenBlock` and `elseBlock` is moved but not transplanted. + * + * Example showing inter component `LView` movement (transplanted view). + * ```html + * <#VIEW #myComp> + * ... + * + * + * ``` + * In the above example `myTmpl` is passed into a different component. If `insertion-component` + * instantiates `myTmpl` and `insertion-component` is on-push then the `LContainer` needs to be + * marked as containing transplanted views and those views need to be CD as part of the + * declaration CD. + * + * + * When change detection runs, it iterates over `[MOVED_VIEWS]` and CDs any child `LView`s where + * the `DECLARATION_COMPONENT_VIEW` of the current component and the child `LView` does not match + * (it has been transplanted across components.) + * + * Note: `[DECLARATION_COMPONENT_VIEW]` points to itself if the LView is a component view (the + * simplest / most common case). + * + * see also: + * - https://hackmd.io/@mhevery/rJUJsvv9H write up of the problem + * - `LContainer[HAS_TRANSPLANTED_VIEWS]` which marks which `LContainer` has transplanted views. + * - `LContainer[TRANSPLANT_HEAD]` and `LContainer[TRANSPLANT_TAIL]` storage for transplanted + * - `LView[DECLARATION_LCONTAINER]` similar problem for queries + * - `LContainer[MOVED_VIEWS]` similar problem for queries + */ + [DECLARATION_COMPONENT_VIEW]: LView; + /** + * A declaration point of embedded views (ones instantiated based on the content of a + * ), null for other types of views. + * + * We need to track all embedded views created from a given declaration point so we can prepare + * query matches in a proper order (query matches are ordered based on their declaration point and + * _not_ the insertion point). + */ + [DECLARATION_LCONTAINER]: LContainer | null; + /** + * More flags for this view. See PreOrderHookFlags for more info. + */ + [PREORDER_HOOK_FLAGS]: PreOrderHookFlags; + /** Unique ID of the view. Used for `__ngContext__` lookups in the `LView` registry. */ + [ID]: number; + /** + * A container related to hydration annotation information that's associated with this LView. + */ + [HYDRATION]: DehydratedView | null; + /** + * Optional injector assigned to embedded views that takes + * precedence over the element and module injectors. + */ + readonly [EMBEDDED_VIEW_INJECTOR]: Injector | null; + /** + * Effect scheduling operations that need to run during this views's update pass. + */ + [EFFECTS_TO_SCHEDULE]: Array<() => void> | null; + [EFFECTS]: Set | null; + /** + * A collection of callbacks functions that are executed when a given LView is destroyed. Those + * are user defined, LView-specific destroy callbacks that don't have any corresponding TView + * entries. + */ + [ON_DESTROY_HOOKS]: Array<() => void> | null; + /** + * The `Consumer` for this `LView`'s template so that signal reads can be tracked. + * + * This is initially `null` and gets assigned a consumer after template execution + * if any signals were read. + */ + [REACTIVE_TEMPLATE_CONSUMER]: ReactiveLViewConsumer | null; + [AFTER_RENDER_SEQUENCES_TO_ADD]: AfterRenderSequence[] | null; + [ANIMATIONS]: AnimationLViewData | null; + /** + * Function to be called when an error occurs during change detection or lifecycle hooks + * in this view or any of its descendants. The error is always encapsulated in an `Error` instance. + */ + [ON_ERROR]: ((error: Error, details: ErrorDetails) => void) | null; +} +/** + * Contextual data that is shared across multiple instances of `LView` in the same application. + */ +interface LViewEnvironment { + /** Factory to be used for creating Renderer. */ + rendererFactory: RendererFactory; + /** An optional custom sanitizer. */ + sanitizer: Sanitizer | null; + /** Scheduler for change detection to notify when application state changes. */ + changeDetectionScheduler: ChangeDetectionScheduler | null; + /** Service used for tracing different parts of the application. */ + tracingService: TracingService | null; + /** + * Whether `ng-reflect-*` attributes should be produced in dev mode + * (always disabled in prod mode). + */ + ngReflect: boolean; +} +/** Flags associated with an LView (saved in LView[FLAGS]) */ +declare const enum LViewFlags { + /** The state of the init phase on the first 2 bits */ + InitPhaseStateIncrementer = 1, + InitPhaseStateMask = 3, + /** + * Whether or not the view is in creationMode. + * + * This must be stored in the view rather than using `data` as a marker so that + * we can properly support embedded views. Otherwise, when exiting a child view + * back into the parent view, `data` will be defined and `creationMode` will be + * improperly reported as false. + */ + CreationMode = 4, + /** + * Whether or not this LView instance is on its first processing pass. + * + * An LView instance is considered to be on its "first pass" until it + * has completed one creation mode run and one update mode run. At this + * time, the flag is turned off. + */ + FirstLViewPass = 8, + /** Whether this view has default change detection strategy (checks always) or onPush */ + CheckAlways = 16, + /** Whether there are any i18n blocks inside this LView. */ + HasI18n = 32, + /** Whether or not this view is currently dirty (needing check) */ + Dirty = 64, + /** Whether or not this view is currently attached to change detection tree. */ + Attached = 128, + /** Whether or not this view is destroyed. */ + Destroyed = 256, + /** Whether or not this view is the root view */ + IsRoot = 512, + /** + * Whether this moved LView needs to be refreshed. Similar to the Dirty flag, but used for + * transplanted and signal views where the parent/ancestor views are not marked dirty as well. + * i.e. "Refresh just this view". Used in conjunction with the HAS_CHILD_VIEWS_TO_REFRESH + * flag. + */ + RefreshView = 1024, + /** Indicates that the view **or any of its ancestors** have an embedded view injector. */ + HasEmbeddedViewInjector = 2048, + /** Indicates that the view was created with `signals: true`. */ + SignalView = 4096, + /** + * Indicates that this LView has a view underneath it that needs to be refreshed during change + * detection. This flag indicates that even if this view is not dirty itself, we still need to + * traverse its children during change detection. + */ + HasChildViewsToRefresh = 8192, + /** + * This is the count of the bits the 1 was shifted above (base 10) + */ + IndexWithinInitPhaseShift = 14, + /** + * Index of the current init phase on last 21 bits + */ + IndexWithinInitPhaseIncrementer = 16384, + IndexWithinInitPhaseReset = 16383 +} +/** More flags associated with an LView (saved in LView[PREORDER_HOOK_FLAGS]) */ +declare const enum PreOrderHookFlags { + /** + The index of the next pre-order hook to be called in the hooks array, on the first 16 + bits + */ + IndexOfTheNextPreOrderHookMaskMask = 65535, + /** + * The number of init hooks that have already been called, on the last 16 bits + */ + NumberOfInitHooksCalledIncrementer = 65536, + NumberOfInitHooksCalledShift = 16, + NumberOfInitHooksCalledMask = 4294901760 +} +/** + * Stores a set of OpCodes to process `HostBindingsFunction` associated with a current view. + * + * In order to invoke `HostBindingsFunction` we need: + * 1. 'elementIdx`: Index to the element associated with the `HostBindingsFunction`. + * 2. 'directiveIdx`: Index to the directive associated with the `HostBindingsFunction`. (This will + * become the context for the `HostBindingsFunction` invocation.) + * 3. `bindingRootIdx`: Location where the bindings for the `HostBindingsFunction` start. Internally + * `HostBindingsFunction` binding indexes start from `0` so we need to add `bindingRootIdx` to + * it. + * 4. `HostBindingsFunction`: A host binding function to execute. + * + * The above information needs to be encoded into the `HostBindingOpCodes` in an efficient manner. + * + * 1. `elementIdx` is encoded into the `HostBindingOpCodes` as `~elementIdx` (so a negative number); + * 2. `directiveIdx` + * 3. `bindingRootIdx` + * 4. `HostBindingsFunction` is passed in as is. + * + * The `HostBindingOpCodes` array contains: + * - negative number to select the element index. + * - followed by 1 or more of: + * - a number to select the directive index + * - a number to select the bindingRoot index + * - and a function to invoke. + * + * ## Example + * + * ```ts + * const hostBindingOpCodes = [ + * ~30, // Select element 30 + * 40, 45, MyDir.ɵdir.hostBindings // Invoke host bindings on MyDir on element 30; + * // directiveIdx = 40; bindingRootIdx = 45; + * 50, 55, OtherDir.ɵdir.hostBindings // Invoke host bindings on OtherDire on element 30 + * // directiveIdx = 50; bindingRootIdx = 55; + * ] + * ``` + * + * ## Pseudocode + * ```ts + * const hostBindingOpCodes = tView.hostBindingOpCodes; + * if (hostBindingOpCodes === null) return; + * for (let i = 0; i < hostBindingOpCodes.length; i++) { + * const opCode = hostBindingOpCodes[i] as number; + * if (opCode < 0) { + * // Negative numbers are element indexes. + * setSelectedIndex(~opCode); + * } else { + * // Positive numbers are NumberTuple which store bindingRootIndex and directiveIndex. + * const directiveIdx = opCode; + * const bindingRootIndx = hostBindingOpCodes[++i] as number; + * const hostBindingFn = hostBindingOpCodes[++i] as HostBindingsFunction; + * setBindingRootForHostBindings(bindingRootIndx, directiveIdx); + * const context = lView[directiveIdx]; + * hostBindingFn(RenderFlags.Update, context); + * } + * } + * ``` + * + */ +interface HostBindingOpCodes extends Array> { + __brand__: 'HostBindingOpCodes'; + debug?: string[]; +} +/** + * Explicitly marks `TView` as a specific type in `ngDevMode` + * + * It is useful to know conceptually what time of `TView` we are dealing with when + * debugging an application (even if the runtime does not need it.) For this reason + * we store this information in the `ngDevMode` `TView` and than use it for + * better debugging experience. + */ +declare const enum TViewType { + /** + * Root `TView` is the used to bootstrap components into. It is used in conjunction with + * `LView` which takes an existing DOM node not owned by Angular and wraps it in `TView`/`LView` + * so that other components can be loaded into it. + */ + Root = 0, + /** + * `TView` associated with a Component. This would be the `TView` directly associated with the + * component view (as opposed an `Embedded` `TView` which would be a child of `Component` `TView`) + */ + Component = 1, + /** + * `TView` associated with a template. Such as `*ngIf`, `` etc... A `Component` + * can have zero or more `Embedded` `TView`s. + */ + Embedded = 2, + /** + * Foreign `TView` associated with a range of nodes between `head` and `tail` comment nodes. + */ + Foreign = 3 +} +/** + * The static data for an LView (shared between all templates of a + * given type). + * + * Stored on the `ComponentDef.tView`. + */ +interface TView { + /** + * Type of `TView` (`Root`|`Component`|`Embedded`). + */ + type: TViewType; + /** + * This is a blueprint used to generate LView instances for this TView. Copying this + * blueprint is faster than creating a new LView from scratch. + */ + blueprint: LView; + /** + * The template function used to refresh the view of dynamically created views + * and components. Will be null for inline views. + */ + template: ComponentTemplate<{}> | null; + /** + * A function containing query-related instructions. + */ + viewQuery: ViewQueriesFunction<{}> | null; + /** + * A `TNode` representing the declaration location of this `TView` (not part of this TView). + */ + declTNode: TNode | null; + /** Whether or not this template has been processed in creation mode. */ + firstCreatePass: boolean; + /** + * Whether or not this template has been processed in update mode (e.g. change detected) + * + * `firstUpdatePass` is used by styling to set up `TData` to contain metadata about the styling + * instructions. (Mainly to build up a linked list of styling priority order.) + * + * Typically this function gets cleared after first execution. If exception is thrown then this + * flag can remain turned un until there is first successful (no exception) pass. This means that + * individual styling instructions keep track of if they have already been added to the linked + * list to prevent double adding. + */ + firstUpdatePass: boolean; + /** Static data equivalent of LView.data[]. Contains TNodes, PipeDefInternal or TI18n. */ + data: TData; + /** + * The binding start index is the index at which the data array + * starts to store bindings only. Saving this value ensures that we + * will begin reading bindings at the correct point in the array when + * we are in update mode. + * + * -1 means that it has not been initialized. + */ + bindingStartIndex: number; + /** + * The index where the "expando" section of `LView` begins. The expando + * section contains injectors, directive instances, and host binding values. + * Unlike the "decls" and "vars" sections of `LView`, the length of this + * section cannot be calculated at compile-time because directives are matched + * at runtime to preserve locality. + * + * We store this start index so we know where to start checking host bindings + * in `setHostBindings`. + */ + expandoStartIndex: number; + /** + * Whether or not there are any static view queries tracked on this view. + * + * We store this so we know whether or not we should do a view query + * refresh after creation mode to collect static query results. + */ + staticViewQueries: boolean; + /** + * Whether or not there are any static content queries tracked on this view. + * + * We store this so we know whether or not we should do a content query + * refresh after creation mode to collect static query results. + */ + staticContentQueries: boolean; + /** + * A reference to the first child node located in the view. + */ + firstChild: TNode | null; + /** + * Stores the OpCodes to be replayed during change-detection to process the `HostBindings` + * + * See `HostBindingOpCodes` for encoding details. + */ + hostBindingOpCodes: HostBindingOpCodes | null; + /** + * Full registry of directives and components that may be found in this view. + * + * It's necessary to keep a copy of the full def list on the TView so it's possible + * to render template functions without a host component. + */ + directiveRegistry: DirectiveDefList | null; + /** + * Full registry of pipes that may be found in this view. + * + * The property is either an array of `PipeDefs`s or a function which returns the array of + * `PipeDefs`s. The function is necessary to be able to support forward declarations. + * + * It's necessary to keep a copy of the full def list on the TView so it's possible + * to render template functions without a host component. + */ + pipeRegistry: PipeDefList | null; + /** + * Array of ngOnInit, ngOnChanges and ngDoCheck hooks that should be executed for this view in + * creation mode. + * + * This array has a flat structure and contains TNode indices, directive indices (where an + * instance can be found in `LView`) and hook functions. TNode index is followed by the directive + * index and a hook function. If there are multiple hooks for a given TNode, the TNode index is + * not repeated and the next lifecycle hook information is stored right after the previous hook + * function. This is done so that at runtime the system can efficiently iterate over all of the + * functions to invoke without having to make any decisions/lookups. + */ + preOrderHooks: HookData | null; + /** + * Array of ngOnChanges and ngDoCheck hooks that should be executed for this view in update mode. + * + * This array has the same structure as the `preOrderHooks` one. + */ + preOrderCheckHooks: HookData | null; + /** + * Array of ngAfterContentInit and ngAfterContentChecked hooks that should be executed + * for this view in creation mode. + * + * Even indices: Directive index + * Odd indices: Hook function + */ + contentHooks: HookData | null; + /** + * Array of ngAfterContentChecked hooks that should be executed for this view in update + * mode. + * + * Even indices: Directive index + * Odd indices: Hook function + */ + contentCheckHooks: HookData | null; + /** + * Array of ngAfterViewInit and ngAfterViewChecked hooks that should be executed for + * this view in creation mode. + * + * Even indices: Directive index + * Odd indices: Hook function + */ + viewHooks: HookData | null; + /** + * Array of ngAfterViewChecked hooks that should be executed for this view in + * update mode. + * + * Even indices: Directive index + * Odd indices: Hook function + */ + viewCheckHooks: HookData | null; + /** + * Array of ngOnDestroy hooks that should be executed when this view is destroyed. + * + * Even indices: Directive index + * Odd indices: Hook function + */ + destroyHooks: DestroyHookData | null; + /** + * When a view is destroyed, listeners need to be released and outputs need to be + * unsubscribed. This cleanup array stores both listener data (in chunks of 4) + * and output data (in chunks of 2) for a particular view. Combining the arrays + * saves on memory (70 bytes per array) and on a few bytes of code size (for two + * separate for loops). + * + * If it's a native DOM listener or output subscription being stored: + * 1st index is: event name `name = tView.cleanup[i+0]` + * 2nd index is: index of native element or a function that retrieves global target (window, + * document or body) reference based on the native element: + * `typeof idxOrTargetGetter === 'function'`: global target getter function + * `typeof idxOrTargetGetter === 'number'`: index of native element + * + * 3rd index is: index of listener function `listener = lView[CLEANUP][tView.cleanup[i+2]]` + * 4th index is: `useCaptureOrIndx = tView.cleanup[i+3]` + * `typeof useCaptureOrIndx == 'boolean' : useCapture boolean + * `typeof useCaptureOrIndx == 'number': + * `useCaptureOrIndx >= 0` `removeListener = LView[CLEANUP][useCaptureOrIndx]` + * `useCaptureOrIndx < 0` `subscription = LView[CLEANUP][-useCaptureOrIndx]` + * + * If it's an output subscription or query list destroy hook: + * 1st index is: output unsubscribe function / query list destroy function + * 2nd index is: index of function context in LView.cleanupInstances[] + * `tView.cleanup[i+0].call(lView[CLEANUP][tView.cleanup[i+1]])` + */ + cleanup: any[] | null; + /** + * A list of element indices for child components that will need to be + * refreshed when the current view has finished its check. These indices have + * already been adjusted for the HEADER_OFFSET. + * + */ + components: number[] | null; + /** + * A collection of queries tracked in a given view. + */ + queries: TQueries | null; + /** + * An array of indices pointing to directives with content queries alongside with the + * corresponding query index. Each entry in this array is a tuple of: + * - index of the first content query index declared by a given directive; + * - index of a directive. + * + * We are storing those indexes so we can refresh content queries as part of a view refresh + * process. + */ + contentQueries: number[] | null; + /** + * Set of schemas that declare elements to be allowed inside the view. + */ + schemas: SchemaMetadata[] | null; + /** + * Array of constants for the view. Includes attribute arrays, local definition arrays etc. + * Used for directive matching, attribute bindings, local definitions and more. + */ + consts: TConstants | null; + /** + * Indicates that there was an error before we managed to complete the first create pass of the + * view. This means that the view is likely corrupted and we should try to recover it. + */ + incompleteFirstPass: boolean; + /** + * Unique id of this TView for hydration purposes: + * - TViewType.Embedded: a unique id generated during serialization on the server + * - TViewType.Component: an id generated based on component properties + * (see `getComponentId` function for details) + */ + ssrId: string | null; +} +/** Single hook callback function. */ +type HookFn = () => void; +/** + * Information necessary to call a hook. E.g. the callback that + * needs to invoked and the index at which to find its context. + */ +type HookEntry = number | HookFn; +/** + * Array of hooks that should be executed for a view and their directive indices. + * + * For each node of the view, the following data is stored: + * 1) Node index (optional) + * 2) A series of number/function pairs where: + * - even indices are directive indices + * - odd indices are hook functions + * + * Special cases: + * - a negative directive index flags an init hook (ngOnInit, ngAfterContentInit, ngAfterViewInit) + */ +type HookData = HookEntry[]; +/** + * Array of destroy hooks that should be executed for a view and their directive indices. + * + * The array is set up as a series of number/function or number/(number|function)[]: + * - Even indices represent the context with which hooks should be called. + * - Odd indices are the hook functions themselves. If a value at an odd index is an array, + * it represents the destroy hooks of a `multi` provider where: + * - Even indices represent the index of the provider for which we've registered a destroy hook, + * inside of the `multi` provider array. + * - Odd indices are the destroy hook functions. + * For example: + * LView: `[0, 1, 2, AService, 4, [BService, CService, DService]]` + * destroyHooks: `[3, AService.ngOnDestroy, 5, [0, BService.ngOnDestroy, 2, DService.ngOnDestroy]]` + * + * In the example above `AService` is a type provider with an `ngOnDestroy`, whereas `BService`, + * `CService` and `DService` are part of a `multi` provider where only `BService` and `DService` + * have an `ngOnDestroy` hook. + */ +type DestroyHookData = (HookEntry | HookData)[]; +/** + * Static data that corresponds to the instance-specific data array on an LView. + * + * Each node's static data is stored in tData at the same index that it's stored + * in the data array. Any nodes that do not have static data store a null value in + * tData to avoid a sparse array. + * + * Each pipe's definition is stored here at the same index as its pipe instance in + * the data array. + * + * Each host property's name is stored here at the same index as its value in the + * data array. + * + * Each property binding name is stored here at the same index as its value in + * the data array. If the binding is an interpolation, the static string values + * are stored parallel to the dynamic values. Example: + * + * id="prefix {{ v0 }} a {{ v1 }} b {{ v2 }} suffix" + * + * LView | TView.data + *------------------------ + * v0 value | 'a' + * v1 value | 'b' + * v2 value | id � prefix � suffix + * + * Injector bloom filters are also stored here. + */ +type TData = (TNode | PipeDef | DirectiveDef | ComponentDef | number | TStylingRange | TStylingKey | ProviderToken | TI18n | I18nUpdateOpCodes | TIcu | null | string | TDeferBlockDetails)[]; + +/** + * An interface implemented by all Angular type decorators, which allows them to be used as + * decorators as well as Angular syntax. + * + * ```ts + * @ng.Component({...}) + * class MyClass {...} + * ``` + * + * @publicApi + */ +interface TypeDecorator { + /** + * Invoke as decorator. + */ + >(type: T): T; + (target: Object, propertyKey?: string | symbol, parameterIndex?: number): void; + (target: unknown, context: unknown): void; +} + +/** + * The strategy that the default change detector uses to detect changes. + * When set, takes effect the next time change detection is triggered. + * + * @see {@link /api/core/ChangeDetectorRef?tab=usage-notes Change detection usage} + * @see {@link /best-practices/skipping-subtrees Skipping component subtrees} + * + * @publicApi + */ +declare enum ChangeDetectionStrategy { + /** + * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated + * until reactivated by setting the strategy to `Default` (`CheckAlways`). + * Change detection can still be explicitly invoked. + * This strategy applies to all child directives and cannot be overridden. + * + * NOTE: OnPush is enabled by default. + */ + OnPush = 0, + /** + * Use the `Eager` strategy, meaning that the component is checked eagerly when the change + * detection traversal reaches it, rather than only checking under certain circumstances (e.g. + * `markForCheck`, a signal in the template changed, etc). + */ + Eager = 1, + /** + * This value is equivalent to setting `Eager` and is due to be removed. + * @deprecated Use `Eager` instead. + */ + Default = 1 +} + +/** + * @publicApi + */ +type ɵɵDirectiveDeclaration = unknown; +/** + * @publicApi + */ +type ɵɵComponentDeclaration = unknown; +/** + * @publicApi + */ +type ɵɵNgModuleDeclaration = unknown; +/** + * @publicApi + */ +type ɵɵPipeDeclaration = unknown; +/** + * @publicApi + */ +type ɵɵInjectorDeclaration = unknown; +/** + * @publicApi + */ +type ɵɵFactoryDeclaration = (parent?: Type) => any; +/** + * An object literal of this type is used to represent the metadata of a constructor dependency. + * The type itself is never referred to from generated code. + * + * @publicApi + */ +type CtorDependency = { + /** + * If an `@Attribute` decorator is used, this represents the injected attribute's name. If the + * attribute name is a dynamic expression instead of a string literal, this will be the unknown + * type. + */ + attribute?: string | unknown; + /** + * If `@Optional()` is used, this key is set to true. + */ + optional?: true; + /** + * If `@Host` is used, this key is set to true. + */ + host?: true; + /** + * If `@Self` is used, this key is set to true. + */ + self?: true; + /** + * If `@SkipSelf` is used, this key is set to true. + */ + skipSelf?: true; +} | null; + +/** + * Represents an instance of an `NgModule` created by an `NgModuleFactory`. + * Provides access to the `NgModule` instance and related objects. + * + * @publicApi + */ +declare abstract class NgModuleRef { + /** + * The injector that contains all of the providers of the `NgModule`. + */ + abstract get injector(): EnvironmentInjector; + /** + * The `NgModule` instance. + */ + abstract get instance(): T; + /** + * Destroys the module instance and all of the data structures associated with it. + */ + abstract destroy(): void; + /** + * Registers a callback to be executed when the module is destroyed. + */ + abstract onDestroy(callback: () => void): void; +} +interface InternalNgModuleRef extends NgModuleRef { + _bootstrapComponents: Type[]; + resolveInjectorInitializers(): void; +} +/** + * @publicApi + * + * @deprecated + * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy + * JIT mode. Angular provides APIs that accept NgModule classes directly (such as + * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and + * [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of + * using factory-based ones. + */ +declare abstract class NgModuleFactory { + abstract get moduleType(): Type; + abstract create(parentInjector: Injector | null): NgModuleRef; +} + +/** + * Base class that provides change detection functionality. + * A change-detection tree collects all views that are to be checked for changes. + * Use the methods to add and remove views from the tree, initiate change-detection, + * and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered. + * + * @see [Using change detection hooks](guide/components/lifecycle) + * + * @usageNotes + * + * The following examples demonstrate how to modify default change-detection behavior + * to perform explicit detection when needed. + * + * ### Use `markForCheck()` with `CheckOnce` strategy + * + * The following example sets the `OnPush` change-detection strategy for a component + * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check + * after an interval. + * + * {@example core/ts/change_detect/change-detection.ts region='mark-for-check'} + * + * ### Detach change detector to limit how often check occurs + * + * The following example defines a component with a large list of read-only data + * that is expected to change constantly, many times per second. + * To improve performance, we want to check and update the list + * less often than the changes actually occur. To do that, we detach + * the component's change detector and perform an explicit local check every five seconds. + * + * {@example core/ts/change_detect/change-detection.ts region='detach'} + * + * + * ### Reattaching a detached component + * + * The following example creates a component displaying live data. + * The component detaches its change detector from the main change detector tree + * when the `live` property is set to false, and reattaches it when the property + * becomes true. + * + * {@example core/ts/change_detect/change-detection.ts region='reattach'} + * + * @publicApi + */ +declare abstract class ChangeDetectorRef { + /** + * When a view uses the {@link ChangeDetectionStrategy#OnPush} (checkOnce) + * change detection strategy, explicitly marks the view as changed so that + * it can be checked again. + * + * Components are normally marked as dirty (in need of rerendering) when inputs + * have changed or events have fired in the view. Call this method to ensure that + * a component is checked even if these triggers have not occurred. + * + * + * + */ + abstract markForCheck(): void; + /** + * Detaches this view from the change-detection tree. + * A detached view is not checked until it is reattached. + * Use in combination with `detectChanges()` to implement local change detection checks. + * + * Detached views are not checked during change detection runs until they are + * re-attached, even if they are marked as dirty. + * + * + * + * + */ + abstract detach(): void; + /** + * Checks this view and its children. Use in combination with {@link ChangeDetectorRef#detach} + * to implement local change detection checks. + * + * + * + * + */ + abstract detectChanges(): void; + /** + * Re-attaches the previously detached view to the change detection tree. + * Views are attached to the tree by default. + * + * + * + */ + abstract reattach(): void; +} +/** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */ +declare function injectChangeDetectorRef(flags: InternalInjectFlags): ChangeDetectorRef; + +/** + * A wrapper around a native element inside of a View. + * + * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM + * element. + * + * @security Permitting direct access to the DOM can make your application more vulnerable to + * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the + * [Security Guide](https://g.co/ng/security). + * + * @see [Using DOM APIs](guide/components/dom-apis) + * + * @publicApi + */ +declare class ElementRef { + /** + *
+ *
Use with caution
+ *

+ * Use this API as the last resort when direct access to DOM is needed. Use templating and + * data-binding provided by Angular instead. If used, it is recommended in combination with + * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls DomSanitizer} + * for maxiumum security; + *

+ *
+ */ + nativeElement: T; + constructor(nativeElement: T); +} + +/** + * Represents an Angular view. + * + * @see {@link /api/core/ChangeDetectorRef#usage-notes Change detection usage} + * + * @publicApi + */ +declare abstract class ViewRef extends ChangeDetectorRef { + /** + * Destroys this view and all of the data structures associated with it. + */ + abstract destroy(): void; + /** + * Reports whether this view has been destroyed. + * @returns True after the `destroy()` method has been called, false otherwise. + */ + abstract get destroyed(): boolean; + /** + * A lifecycle hook that provides additional developer-defined cleanup + * functionality for views. + * @param callback A handler function that cleans up developer-defined data + * associated with a view. Called when the `destroy()` method is invoked. + */ + abstract onDestroy(callback: Function): void; +} +/** + * Represents an Angular view in a view container. + * An embedded view can be referenced from a component + * other than the hosting component whose template defines it, or it can be defined + * independently by a `TemplateRef`. + * + * Properties of elements in a view can change, but the structure (number and order) of elements in + * a view cannot. Change the structure of elements by inserting, moving, or + * removing nested views in a view container. + * + * @see {@link ViewContainerRef} + * + * @usageNotes + * + * The following template breaks down into two separate `TemplateRef` instances, + * an outer one and an inner one. + * + * ```html + * Count: {{items.length}} + *
    + *
  • {{item}}
  • + *
+ * ``` + * + * This is the outer `TemplateRef`: + * + * ```html + * Count: {{items.length}} + *
    + * + *
+ * ``` + * + * This is the inner `TemplateRef`: + * + * ```html + *
  • {{item}}
  • + * ``` + * + * The outer and inner `TemplateRef` instances are assembled into views as follows: + * + * ```html + * + * Count: 2 + *
      + * + *
    • first
    • + *
    • second
    • + *
    + * + * ``` + * @publicApi + */ +declare abstract class EmbeddedViewRef extends ViewRef { + /** + * The context for this view, inherited from the anchor element. + */ + abstract context: C; + /** + * The root nodes for this embedded view. + */ + abstract get rootNodes(): any[]; +} + +/** + * Represents a component created by a `ComponentFactory`. + * Provides access to the component instance and related objects, + * and provides the means of destroying the instance. + * + * @see [Programmatically rendering components](guide/components/programmatic-rendering) + * + * @publicApi + */ +declare abstract class ComponentRef { + /** + * Updates a specified input name to a new value. Using this method will properly mark for check + * component using the `OnPush` change detection strategy. It will also assure that the + * `OnChanges` lifecycle hook runs when a dynamically created component is change-detected. + * + * @param name The name of an input. + * @param value The new value of an input. + */ + abstract setInput(name: string, value: unknown): void; + /** + * The host or anchor element for this component instance. + */ + abstract get location(): ElementRef; + /** + * The dependency injector for this component instance. + */ + abstract get injector(): Injector; + /** + * This component instance. + */ + abstract get instance(): C; + /** + * The host view defined by the template + * for this component instance. + */ + abstract get hostView(): ViewRef; + /** + * The change detector for this component instance. + */ + abstract get changeDetectorRef(): ChangeDetectorRef; + /** + * The type of this component (as created by a `ComponentFactory` class). + */ + abstract get componentType(): Type; + /** + * Destroys the component instance and all of the data structures associated with it. + */ + abstract destroy(): void; + /** + * A lifecycle hook that provides additional developer-defined cleanup + * functionality for the component. + * @param callback A handler function that cleans up developer-defined data + * associated with this component. Called when the `destroy()` method is invoked. + */ + abstract onDestroy(callback: Function): void; +} + +/** Symbol used to store and retrieve metadata about a binding. */ +declare const BINDING: unique symbol; +/** + * A dynamically-defined binding targeting. + * For example, `inputBinding('value', () => 123)` creates an input binding. + * + * @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation) + */ +interface Binding { + readonly [BINDING]: unknown; +} +/** + * Represents a dynamically-created directive with bindings targeting it specifically. + * + * @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation) + */ +interface DirectiveWithBindings { + /** Directive type that should be created. */ + type: Type; + /** Bindings that should be applied to the specific directive. */ + bindings: Binding[]; +} +/** + * Creates an input binding. + * @param publicName Public name of the input to bind to. + * @param value Callback that returns the current value for the binding. Can be either a signal or + * a plain getter function. + * + * ### Usage Example + * In this example we create an instance of the `MyButton` component and bind the value of + * the `isDisabled` signal to its `disabled` input. + * + * ```ts + * const isDisabled = signal(false); + * + * createComponent(MyButton, { + * bindings: [inputBinding('disabled', isDisabled)] + * }); + * ``` + * @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation) + */ +declare function inputBinding(publicName: string, value: () => unknown): Binding; +/** + * Creates an output binding. + * @param eventName Public name of the output to listen to. + * @param listener Function to be called when the output emits. + * + * ### Usage example + * In this example we create an instance of the `MyCheckbox` component and listen + * to its `onChange` event. + * + * ```ts + * interface CheckboxChange { + * value: string; + * } + * + * createComponent(MyCheckbox, { + * bindings: [ + * outputBinding('onChange', event => console.log(event.value)) + * ], + * }); + * ``` + * @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation) + */ +declare function outputBinding(eventName: string, listener: (event: T) => unknown): Binding; +/** + * Creates a two-way binding. + * @param eventName Public name of the two-way compatible input. + * @param value Writable signal from which to get the current value and to which to write new + * values. + * + * ### Usage example + * In this example we create an instance of the `MyCheckbox` component and bind to its `value` + * input using a two-way binding. + * + * ```ts + * const checkboxValue = signal(''); + * + * createComponent(MyCheckbox, { + * bindings: [ + * twoWayBinding('value', checkboxValue), + * ], + * }); + * ``` + * @see [Binding inputs, outputs and setting host directives at creation](guide/components/programmatic-rendering#binding-inputs-outputs-and-setting-host-directives-at-creation) + */ +declare function twoWayBinding(publicName: string, value: WritableSignal): Binding; + +/** + * Use in components with the `@Output` directive to emit custom events + * synchronously or asynchronously, and register handlers for those events + * by subscribing to an instance. + * + * @usageNotes + * + * Extends + * [RxJS `Subject`](https://rxjs.dev/api/index/class/Subject) + * for Angular by adding the `emit()` method. + * + * In the following example, a component defines two output properties + * that create event emitters. When the title is clicked, the emitter + * emits an open or close event to toggle the current visibility state. + * + * ```angular-ts + * @Component({ + * selector: 'zippy', + * template: ` + *
    + *
    Toggle
    + *
    + * + *
    + *
    `}) + * export class Zippy { + * visible: boolean = true; + * @Output() open: EventEmitter = new EventEmitter(); + * @Output() close: EventEmitter = new EventEmitter(); + * + * toggle() { + * this.visible = !this.visible; + * if (this.visible) { + * this.open.emit(null); + * } else { + * this.close.emit(null); + * } + * } + * } + * ``` + * + * Access the event object with the `$event` argument passed to the output event + * handler: + * + * ```html + * + * ``` + * + * @see [Declaring outputs with the @Output decorator](guide/components/outputs#declaring-outputs-with-the-output-decorator) + * + * @publicApi + */ +interface EventEmitter extends Subject, OutputRef { + /** + * Creates an instance of this class that can + * deliver events synchronously or asynchronously. + * + * @param [isAsync=false] When true, deliver events asynchronously. + * + */ + new (isAsync?: boolean): EventEmitter; + /** + * Emits an event containing a given value. + * @param value The value to emit. + */ + emit(value?: T): void; + /** + * Registers handlers for events emitted by this instance. + * @param next When supplied, a custom handler for emitted events. + * @param error When supplied, a custom handler for an error notification from this emitter. + * @param complete When supplied, a custom handler for a completion notification from this + * emitter. + */ + subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription; + /** + * Registers handlers for events emitted by this instance. + * @param observerOrNext When supplied, a custom handler for emitted events, or an observer + * object. + * @param error When supplied, a custom handler for an error notification from this emitter. + * @param complete When supplied, a custom handler for a completion notification from this + * emitter. + */ + subscribe(observerOrNext?: any, error?: any, complete?: any): Subscription; +} +/** + * @publicApi + */ +declare const EventEmitter: { + new (isAsync?: boolean): EventEmitter; + new (isAsync?: boolean): EventEmitter; + readonly prototype: EventEmitter; +}; + +/** + * An injectable service for executing work inside or outside of the Angular zone. + * + * The most common use of this service is to optimize performance when starting a work consisting of + * one or more asynchronous tasks that don't require UI updates or error handling to be handled by + * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks + * can reenter the Angular zone via {@link #run}. + * + * + * + * @usageNotes + * ### Example + * + * ```ts + * import {Component, NgZone} from '@angular/core'; + * + * @Component({ + * selector: 'ng-zone-demo', + * template: ` + *

    Demo: NgZone

    + * + *

    Progress: {{progress}}%

    + * @if(progress >= 100) { + *

    Done processing {{label}} of Angular zone!

    + * } + * + * + * + * `, + * }) + * export class NgZoneDemo { + * progress: number = 0; + * label: string; + * + * constructor(private _ngZone: NgZone) {} + * + * // Loop inside the Angular zone + * // so the UI DOES refresh after each setTimeout cycle + * processWithinAngularZone() { + * this.label = 'inside'; + * this.progress = 0; + * this._increaseProgress(() => console.log('Inside Done!')); + * } + * + * // Loop outside of the Angular zone + * // so the UI DOES NOT refresh after each setTimeout cycle + * processOutsideOfAngularZone() { + * this.label = 'outside'; + * this.progress = 0; + * this._ngZone.runOutsideAngular(() => { + * this._increaseProgress(() => { + * // reenter the Angular zone and display done + * this._ngZone.run(() => { console.log('Outside Done!'); }); + * }); + * }); + * } + * + * _increaseProgress(doneCallback: () => void) { + * this.progress += 1; + * console.log(`Current progress: ${this.progress}%`); + * + * if (this.progress < 100) { + * window.setTimeout(() => this._increaseProgress(doneCallback), 10); + * } else { + * doneCallback(); + * } + * } + * } + * ``` + * + * @see [Resolving zone pollution](best-practices/zone-pollution#run-tasks-outside-ngzone) + * + * @publicApi + */ +declare class NgZone { + readonly hasPendingMacrotasks: boolean; + readonly hasPendingMicrotasks: boolean; + /** + * Whether there are no outstanding microtasks or macrotasks. + */ + readonly isStable: boolean; + /** + * Notifies when code enters Angular Zone. This gets fired first on VM Turn. + */ + readonly onUnstable: EventEmitter; + /** + * Notifies when there is no more microtasks enqueued in the current VM Turn. + * This is a hint for Angular to do change detection, which may enqueue more microtasks. + * For this reason this event can fire multiple times per VM Turn. + */ + readonly onMicrotaskEmpty: EventEmitter; + /** + * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which + * implies we are about to relinquish VM turn. + * This event gets called just once. + */ + readonly onStable: EventEmitter; + /** + * Notifies that an error has been delivered. + */ + readonly onError: EventEmitter; + constructor(options: { + enableLongStackTrace?: boolean; + shouldCoalesceEventChangeDetection?: boolean; + shouldCoalesceRunChangeDetection?: boolean; + }); + /** + This method checks whether the method call happens within an Angular Zone instance. + */ + static isInAngularZone(): boolean; + /** + Assures that the method is called within the Angular Zone, otherwise throws an error. + */ + static assertInAngularZone(): void; + /** + Assures that the method is called outside of the Angular Zone, otherwise throws an error. + */ + static assertNotInAngularZone(): void; + /** + * Executes the `fn` function synchronously within the Angular zone and returns value returned by + * the function. + * + * Running functions via `run` allows you to reenter Angular zone from a task that was executed + * outside of the Angular zone (typically started via {@link #runOutsideAngular}). + * + * Any future tasks or microtasks scheduled from within this function will continue executing from + * within the Angular zone. + * + * If a synchronous error happens it will be rethrown and not reported via `onError`. + */ + run(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; + /** + * Executes the `fn` function synchronously within the Angular zone as a task and returns value + * returned by the function. + * + * Running functions via `runTask` allows you to reenter Angular zone from a task that was executed + * outside of the Angular zone (typically started via {@link #runOutsideAngular}). + * + * Any future tasks or microtasks scheduled from within this function will continue executing from + * within the Angular zone. + * + * If a synchronous error happens it will be rethrown and not reported via `onError`. + */ + runTask(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[], name?: string): T; + /** + * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not + * rethrown. + */ + runGuarded(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; + /** + * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by + * the function. + * + * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do + * work that + * doesn't trigger Angular change-detection or is subject to Angular's error handling. + * + * Any future tasks or microtasks scheduled from within this function will continue executing from + * outside of the Angular zone. + * + * Use {@link #run} to reenter the Angular zone and do work that updates the application model. + */ + runOutsideAngular(fn: (...args: any[]) => T): T; +} +/** + * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls + * to framework to perform rendering. + */ +declare class NoopNgZone implements NgZone { + readonly hasPendingMicrotasks = false; + readonly hasPendingMacrotasks = false; + readonly isStable = true; + readonly onUnstable: EventEmitter; + readonly onMicrotaskEmpty: EventEmitter; + readonly onStable: EventEmitter; + readonly onError: EventEmitter; + run(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any): T; + runGuarded(fn: (...args: any[]) => any, applyThis?: any, applyArgs?: any): T; + runOutsideAngular(fn: (...args: any[]) => T): T; + runTask(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any, name?: string): T; +} + +/** + * A DI token that provides a set of callbacks to + * be called for every component that is bootstrapped. + * + * Each callback must take a `ComponentRef` instance and return nothing. + * + * `(componentRef: ComponentRef) => void` + * + * @publicApi + */ +declare const APP_BOOTSTRAP_LISTENER: InjectionToken) => void)[]>; +/** + * Provides additional options to the bootstrapping process. + * + * @publicApi + * @deprecated 20.2 Configure `NgZone` in the `providers` array of the application module instead. + */ +interface BootstrapOptions { + /** + * Optionally specify which `NgZone` should be used when not configured in the providers. + * + * - Provide your own `NgZone` instance. + * - `zone.js` - Use default `NgZone` which requires `Zone.js`. + * - `noop` - Use `NoopNgZone` which does nothing. + * + * @deprecated BootstrapOptions is deprecated. Provide `NgZone` in the `providers` array of the module instead. + */ + ngZone?: NgZone | 'zone.js' | 'noop'; + /** + * Optionally specify coalescing event change detections or not. + * Consider the following case. + * + * ```html + *
    + * + *
    + * ``` + * + * When button is clicked, because of the event bubbling, both + * event handlers will be called and 2 change detections will be + * triggered. We can coalesce such kind of events to only trigger + * change detection only once. + * + * By default, this option will be false. So the events will not be + * coalesced and the change detection will be triggered multiple times. + * And if this option be set to true, the change detection will be + * triggered async by scheduling a animation frame. So in the case above, + * the change detection will only be triggered once. + * + * @deprecated BootstrapOptions is deprecated. Use `provideZoneChangeDetection` instead to configure coalescing. + */ + ngZoneEventCoalescing?: boolean; + /** + * Optionally specify if `NgZone#run()` method invocations should be coalesced + * into a single change detection. + * + * Consider the following case. + * ```ts + * for (let i = 0; i < 10; i ++) { + * ngZone.run(() => { + * // do something + * }); + * } + * ``` + * + * This case triggers the change detection multiple times. + * With ngZoneRunCoalescing options, all change detections in an event loop trigger only once. + * In addition, the change detection executes in requestAnimation. + * + * @deprecated BootstrapOptions is deprecated. Use `provideZoneChangeDetection` instead to configure coalescing. + */ + ngZoneRunCoalescing?: boolean; +} +/** + * A reference to an Angular application running on a page. + * + * @usageNotes + * ### isStable examples and caveats + * + * Note two important points about `isStable`, demonstrated in the examples below: + * - the application will never be stable if you start any kind + * of recurrent asynchronous task when the application starts + * (for example for a polling process, started with a `setInterval`, a `setTimeout` + * or using RxJS operators like `interval`); + * - the `isStable` Observable runs outside of the Angular zone. + * + * Let's imagine that you start a recurrent task + * (here incrementing a counter, using RxJS `interval`), + * and at the same time subscribe to `isStable`. + * + * ```ts + * constructor(appRef: ApplicationRef) { + * appRef.isStable.pipe( + * filter(stable => stable) + * ).subscribe(() => console.log('App is stable now'); + * interval(1000).subscribe(counter => console.log(counter)); + * } + * ``` + * In this example, `isStable` will never emit `true`, + * and the trace "App is stable now" will never get logged. + * + * If you want to execute something when the app is stable, + * you have to wait for the application to be stable + * before starting your polling process. + * + * ```ts + * constructor(appRef: ApplicationRef) { + * appRef.isStable.pipe( + * first(stable => stable), + * tap(stable => console.log('App is stable now')), + * switchMap(() => interval(1000)) + * ).subscribe(counter => console.log(counter)); + * } + * ``` + * In this example, the trace "App is stable now" will be logged + * and then the counter starts incrementing every second. + * + * Note also that this Observable runs outside of the Angular zone, + * which means that the code in the subscription + * to this Observable will not trigger the change detection. + * + * Let's imagine that instead of logging the counter value, + * you update a field of your component + * and display it in its template. + * + * ```ts + * constructor(appRef: ApplicationRef) { + * appRef.isStable.pipe( + * first(stable => stable), + * switchMap(() => interval(1000)) + * ).subscribe(counter => this.value = counter); + * } + * ``` + * As the `isStable` Observable runs outside the zone, + * the `value` field will be updated properly, + * but the template will not be refreshed! + * + * You'll have to manually trigger the change detection to update the template. + * + * ```ts + * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) { + * appRef.isStable.pipe( + * first(stable => stable), + * switchMap(() => interval(1000)) + * ).subscribe(counter => { + * this.value = counter; + * cd.detectChanges(); + * }); + * } + * ``` + * + * Or make the subscription callback run inside the zone. + * + * ```ts + * constructor(appRef: ApplicationRef, zone: NgZone) { + * appRef.isStable.pipe( + * first(stable => stable), + * switchMap(() => interval(1000)) + * ).subscribe(counter => zone.run(() => this.value = counter)); + * } + * ``` + * + * @publicApi + */ +declare class ApplicationRef { + private _destroyed; + private _destroyListeners; + private readonly internalErrorHandler; + private readonly afterRenderManager; + private readonly zonelessEnabled; + private readonly rootEffectScheduler; + private allTestViews; + private autoDetectTestViews; + /** + * Indicates whether this instance was destroyed. + */ + get destroyed(): boolean; + /** + * Get a list of component types registered to this application. + * This list is populated even before the component is created. + */ + readonly componentTypes: Type[]; + /** + * Get a list of components registered to this application. + */ + readonly components: ComponentRef[]; + private internalPendingTask; + /** + * Returns an Observable that indicates when the application is stable or unstable. + */ + get isStable(): Observable; + constructor(); + /** + * @returns A promise that resolves when the application becomes stable + */ + whenStable(): Promise; + private readonly _injector; + private _rendererFactory; + /** + * The `EnvironmentInjector` used to create this application. + */ + get injector(): EnvironmentInjector; + /** + * Bootstrap a component onto the element identified by its selector or, optionally, to a + * specified element. + * + * @usageNotes + * ### Bootstrap process + * + * When bootstrapping a component, Angular mounts it onto a target DOM element + * and kicks off automatic change detection. The target DOM element can be + * provided using the `hostElement` argument. + * + * If the target DOM element is not provided, Angular tries to find one on a page + * using the `selector` of the component that is being bootstrapped + * (first matched element is used). + * + * ### Example + * + * Generally, we define the component to bootstrap in the `bootstrap` array of `NgModule`, + * but it requires us to know the component while writing the application code. + * + * Imagine a situation where we have to wait for an API call to decide about the component to + * bootstrap. We can use the `ngDoBootstrap` hook of the `NgModule` and call this method to + * dynamically bootstrap a component. + * + * {@example core/ts/platform/platform.ts region='componentSelector'} + * + * Optionally, a component can be mounted onto a DOM element that does not match the + * selector of the bootstrapped component. + * + * In the following example, we are providing a CSS selector to match the target element. + * + * {@example core/ts/platform/platform.ts region='cssSelector'} + * + * While in this example, we are providing reference to a DOM node. + * + * {@example core/ts/platform/platform.ts region='domNode'} + */ + bootstrap(component: Type, options?: { + hostElement?: Element | string; + directives?: (Type | DirectiveWithBindings)[]; + bindings?: Binding[]; + }): ComponentRef; + bootstrap(component: Type, hostElement?: Element | string): ComponentRef; + private bootstrapImpl; + /** + * Invoke this method to explicitly process change detection and its side-effects. + * + * In development mode, `tick()` also performs a second change detection cycle to ensure that no + * further changes are detected. If additional changes are picked up during this second cycle, + * bindings in the app have side-effects that cannot be resolved in a single change detection + * pass. + * In this case, Angular throws an error, since an Angular application can only have one change + * detection pass during which all change detection must complete. + */ + tick(): void; + private tickImpl; + /** + * Performs the core work of synchronizing the application state with the UI, resolving any + * pending dirtiness (potentially in a loop). + */ + private synchronize; + /** + * Perform a single synchronization pass. + */ + private synchronizeOnce; + /** + * Checks `allViews` for views which require refresh/traversal, and updates `dirtyFlags` + * accordingly, with two potential behaviors: + * + * 1. If any of our views require updating, then this adds the `ViewTreeTraversal` dirty flag. + * This _should_ be a no-op, since the scheduler should've added the flag at the same time the + * view was marked as needing updating. + * + * TODO(alxhub): figure out if this behavior is still needed for edge cases. + * + * 2. If none of our views require updating, then clear the view-related `dirtyFlag`s. This + * happens when the scheduler is notified of a view becoming dirty, but the view itself isn't + * reachable through traversal from our roots (e.g. it's detached from the CD tree). + */ + private syncDirtyFlagsWithViews; + /** + * Attaches a view so that it will be dirty checked. + * The view will be automatically detached when it is destroyed. + * This will throw if the view is already attached to a ViewContainer. + */ + attachView(viewRef: ViewRef): void; + /** + * Detaches a view from dirty checking again. + */ + detachView(viewRef: ViewRef): void; + private _loadComponent; + /** + * Registers a listener to be called when an instance is destroyed. + * + * @param callback A callback function to add as a listener. + * @returns A function which unregisters a listener. + */ + onDestroy(callback: () => void): VoidFunction; + /** + * Destroys an Angular application represented by this `ApplicationRef`. Calling this function + * will destroy the associated environment injectors as well as all the bootstrapped components + * with their views. + */ + destroy(): void; + /** + * Returns the number of attached views. + */ + get viewCount(): number; + static ɵfac: ɵɵFactoryDeclaration; + static ɵprov: ɵɵInjectableDeclaration; +} + +interface NavigationEventMap { + navigate: NavigateEvent; + navigatesuccess: Event; + navigateerror: ErrorEvent; + currententrychange: NavigationCurrentEntryChangeEvent; +} +interface NavigationResult { + committed: Promise; + finished: Promise; +} +declare class Navigation extends EventTarget { + entries(): NavigationHistoryEntry[]; + readonly currentEntry: NavigationHistoryEntry | null; + updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void; + readonly transition: NavigationTransition | null; + readonly canGoBack: boolean; + readonly canGoForward: boolean; + navigate(url: string, options?: NavigationNavigateOptions): NavigationResult; + reload(options?: NavigationReloadOptions): NavigationResult; + traverseTo(key: string, options?: NavigationOptions): NavigationResult; + back(options?: NavigationOptions): NavigationResult; + forward(options?: NavigationOptions): NavigationResult; + onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null; + onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null; + onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null; + oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null; + addEventListener(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} +declare class NavigationTransition { + readonly navigationType: NavigationType; + readonly from: NavigationHistoryEntry; + readonly to: NavigationDestination; + readonly finished: Promise; + readonly committed: Promise; +} +interface NavigationHistoryEntryEventMap { + dispose: Event; +} +declare class NavigationHistoryEntry extends EventTarget { + readonly key: string; + readonly id: string; + readonly url: string | null; + readonly index: number; + readonly sameDocument: boolean; + getState(): unknown; + ondispose: ((this: NavigationHistoryEntry, ev: Event) => any) | null; + addEventListener(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} +type NavigationType = 'push' | 'reload' | 'replace' | 'traverse'; +interface NavigationUpdateCurrentEntryOptions { + state: unknown; +} +interface NavigationOptions { + info?: unknown; +} +interface NavigationNavigateOptions extends NavigationOptions { + state?: unknown; + history?: 'auto' | 'push' | 'replace'; +} +interface NavigationReloadOptions extends NavigationOptions { + state?: unknown; +} +declare class NavigationCurrentEntryChangeEvent extends Event { + constructor(type: string, eventInit?: NavigationCurrentEntryChangeEventInit); + readonly navigationType: NavigationType | null; + readonly from: NavigationHistoryEntry; +} +interface NavigationCurrentEntryChangeEventInit extends EventInit { + navigationType?: NavigationType | null; + from: NavigationHistoryEntry; +} +declare class NavigateEvent extends Event { + constructor(type: string, eventInit?: NavigateEventInit); + readonly navigationType: NavigationType; + readonly canIntercept: boolean; + readonly userInitiated: boolean; + readonly hashChange: boolean; + readonly hasUAVisualTransition: boolean; + readonly destination: NavigationDestination; + readonly signal: AbortSignal; + readonly formData: FormData | null; + readonly downloadRequest: string | null; + readonly info?: unknown; + readonly sourceElement: Element | null; + intercept(options?: NavigationInterceptOptions): void; + scroll(): void; +} +interface NavigateEventInit extends EventInit { + navigationType?: NavigationType; + canIntercept?: boolean; + userInitiated?: boolean; + hashChange?: boolean; + hasUAVisualTransition?: boolean; + destination: NavigationDestination; + signal: AbortSignal; + formData?: FormData | null; + downloadRequest?: string | null; + info?: unknown; + sourceElement?: Element | null; +} +type NavigationInterceptHandler = () => PromiseLike | void; +type NavigationPrecommitHandler = (controller: NavigationPrecommitController) => PromiseLike | void; +interface NavigationPrecommitController { + redirect: (url: string, options?: NavigationNavigateOptions) => void; + addHandler: (handler: NavigationInterceptHandler) => void; +} +interface NavigationInterceptOptions { + precommitHandler?: NavigationPrecommitHandler; + handler?: NavigationInterceptHandler; + focusReset?: 'after-transition' | 'manual'; + scroll?: 'after-transition' | 'manual'; +} +declare class NavigationDestination { + readonly url: string; + readonly key: string; + readonly id: string; + readonly index: number; + readonly sameDocument: boolean; + getState(): unknown; +} + +/** + * Low-level service for running the angular compiler during runtime + * to create {@link NgModuleFactory} instances, which + * can later be used to create and render a Component instance. + * + * Each `@NgModule` provides an own `Compiler` to its injector, + * that will use the directives/pipes of the ng module for compilation + * of components. + * + * @publicApi + * + * @deprecated + * Ivy JIT mode doesn't require accessing this symbol. + */ +declare class Compiler { + /** + * Compiles the given NgModule and all of its components. All templates of the components + * have to be inlined. + */ + compileModuleSync(moduleType: Type): NgModuleFactory; + /** + * Compiles the given NgModule and all of its components + */ + compileModuleAsync(moduleType: Type): Promise>; + /** + * Clears all caches. + */ + clearCache(): void; + /** + * Clears the cache for the given component/ngModule. + */ + clearCacheFor(type: Type): void; + /** + * Returns the id for a given NgModule, if one is defined and known to the compiler. + */ + getModuleId(moduleType: Type): string | undefined; + static ɵfac: ɵɵFactoryDeclaration; + static ɵprov: ɵɵInjectableDeclaration; +} +/** + * Options for creating a compiler. + * + * @publicApi + */ +type CompilerOptions = { + defaultEncapsulation?: ViewEncapsulation; + providers?: StaticProvider[]; + preserveWhitespaces?: boolean; +}; +/** + * Token to provide CompilerOptions in the platform injector. + * + * @publicApi + */ +declare const COMPILER_OPTIONS: InjectionToken; +/** + * A factory for creating a Compiler + * + * @publicApi + * + * @deprecated + * Ivy JIT mode doesn't require accessing this symbol. + */ +declare abstract class CompilerFactory { + abstract createCompiler(options?: CompilerOptions[]): Compiler; +} + +/** + * The Angular platform is the entry point for Angular on a web page. + * Each page has exactly one platform. Services (such as reflection) which are common + * to every Angular application running on the page are bound in its scope. + * A page's platform is initialized implicitly when a platform is created using a platform + * factory such as `PlatformBrowser`, or explicitly by calling the `createPlatform()` function. + * + * @publicApi + */ +declare class PlatformRef { + private _injector; + private _modules; + private _destroyListeners; + private _destroyed; + /** + * Creates an instance of an `@NgModule` for the given platform. + * + * @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function + * argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead. + */ + bootstrapModuleFactory(moduleFactory: NgModuleFactory, options?: BootstrapOptions & { + applicationProviders?: Array; + }): Promise>; + /** + * Creates an instance of an `@NgModule` for a given platform. + * + * @usageNotes + * ### Simple Example + * + * ```ts + * @NgModule({ + * imports: [BrowserModule] + * }) + * class MyModule {} + * + * let moduleRef = platformBrowser().bootstrapModule(MyModule); + * ``` + * + */ + bootstrapModule(moduleType: Type, compilerOptions?: (CompilerOptions & BootstrapOptions & { + applicationProviders?: Array; + }) | Array; + }>): Promise>; + /** + * Registers a listener to be called when the platform is destroyed. + */ + onDestroy(callback: () => void): void; + /** + * Retrieves the platform {@link Injector}, which is the parent injector for + * every Angular application on the page and provides singleton providers. + */ + get injector(): Injector; + /** + * Destroys the current Angular platform and all Angular applications on the page. + * Destroys all modules and listeners registered with the platform. + */ + destroy(): void; + /** + * Indicates whether this instance was destroyed. + */ + get destroyed(): boolean; + static ɵfac: ɵɵFactoryDeclaration; + static ɵprov: ɵɵInjectableDeclaration; +} + +/** + * Defer block instance for testing. + */ +interface DeferBlockDetails extends DehydratedDeferBlock { + tDetails: TDeferBlockDetails; +} +/** + * Retrieves all defer blocks in a given LView. + * + * @param lView lView with defer blocks + * @param deferBlocks defer block aggregator array + */ +declare function getDeferBlocks(lView: LView, deferBlocks: DeferBlockDetails[]): void; + +/** + * Type of the Directive decorator / constructor function. + * @publicApi + */ +interface DirectiveDecorator { + /** + * Decorator that marks a class as an Angular directive. + * You can define your own directives to attach custom behavior to elements in the DOM. + * + * The options provide configuration metadata that determines + * how the directive should be processed, instantiated and used at + * runtime. + * + * Directive classes, like component classes, can implement + * [life-cycle hooks](guide/components/lifecycle) to influence their configuration and behavior. + * + * + * @usageNotes + * To define a directive, mark the class with the decorator and provide metadata. + * + * ```ts + * import {Directive} from '@angular/core'; + * + * @Directive({ + * selector: 'my-directive', + * }) + * export class MyDirective { + * ... + * } + * ``` + * + * ### Declaring directives + * + * By default, directives are marked as standalone, which makes + * them available to other components in your application. + * + * ```ts + * @Directive({ + * selector: 'my-directive', + * }) + * ``` + * + * Please make sure that directives marked as standalone are not already declared in an NgModule. + * + * ** Declaring a directive in an NgModule ** + * If you want to declare a directive in an ngModule, add the `standalone: false` flag to the + * Directive decorator metadata and add the directive to the `declarations` and `exports` + * fields of your ngModule. + * + * ```ts + * @Directive({ + * standalone: false, + * selector: 'my-directive', + * }) + * class MyDirective {} + * + * @NgModule({ + * declarations: [MyDirective, SomeComponent], + * exports: [MyDirective], // making it available outside of this module + * }) + * class SomeNgModule {} + * ``` + * + * When declaring a directive in an NgModule, please make sure that: + * - the directive is declared in exactly one NgModule. + * - the directive is not standalone. + * - you do not re-declare a directive imported from another module. + * - the directive is included into the `exports` field as well if you want this directive to be + * accessible for components outside of the NgModule. + * + * + * @Annotation + */ + (obj?: Directive): TypeDecorator; + /** + * See the `Directive` decorator. + */ + new (obj?: Directive): Directive; +} +/** + * Directive decorator and metadata. + * + * @see [Built-in directives](guide/directives) + * @see [Including inputs and outputs](guide/directives/directive-composition-api#including-inputs-and-outputs) + * @see [Assigning a reference to an Angular directive](guide/templates/variables#assigning-a-reference-to-an-angular-directive) + * @see [Referencing component children with queries](guide/components/queries) + * @see [Binding to the host element](guide/components/host-elements#binding-to-the-host-element) + * @see [Host directive semantics](guide/directives/directive-composition-api#host-directive-semantics) + * @Annotation + * @publicApi + */ +interface Directive { + /** + * The CSS selector that identifies this directive in a template + * and triggers instantiation of the directive. + * + * Declare as one of the following: + * + * - `element-name`: Select by element name. + * - `.class`: Select by class name. + * - `[attribute]`: Select by attribute name. + * - `[attribute=value]`: Select by attribute name and value. + * - `:not(sub_selector)`: Select only if the element does not match the `sub_selector`. + * - `selector1, selector2`: Select if either `selector1` or `selector2` matches. + * + * Angular only allows directives to apply on CSS selectors that do not cross + * element boundaries. + * + * For the following template HTML, a directive with an `input[type=text]` selector, + * would be instantiated only on the `` element. + * + * ```html + *
    + * + * + * + * ``` + * + */ + selector?: string; + /** + * Enumerates the set of data-bound input properties for a directive + * + * Angular automatically updates input properties during change detection. + * The `inputs` property accepts either strings or object literals that configure the directive + * properties that should be exposed as inputs. + * + * When an object literal is passed in, the `name` property indicates which property on the + * class the input should write to, while the `alias` determines the name under + * which the input will be available in template bindings. The `required` property indicates that + * the input is required which will trigger a compile-time error if it isn't passed in when the + * directive is used. + * + * When a string is passed into the `inputs` array, it can have a format of `'name'` or + * `'name: alias'` where `name` is the property on the class that the directive should write + * to, while the `alias` determines the name under which the input will be available in + * template bindings. String-based input definitions are assumed to be optional. + * + * @usageNotes + * + * The following example creates a component with two data-bound properties. + * + * ```ts + * @Component({ + * selector: 'bank-account', + * inputs: ['bankName', {name: 'id', alias: 'account-id'}], + * template: ` + * Bank Name: {{bankName}} + * Account Id: {{id}} + * ` + * }) + * class BankAccount { + * bankName: string; + * id: string; + * } + * ``` + * + */ + inputs?: ({ + name: string; + alias?: string; + required?: boolean; + transform?: (value: any) => any; + } | string)[]; + /** + * Enumerates the set of event-bound output properties. + * + * When an output property emits an event, an event handler attached to that event + * in the template is invoked. + * + * The `outputs` property defines a set of `directiveProperty` to `alias` + * configuration: + * + * - `directiveProperty` specifies the component property that emits events. + * - `alias` specifies the DOM property the event handler is attached to. + * + * @usageNotes + * + * ```ts + * @Component({ + * selector: 'child-dir', + * outputs: [ 'bankNameChange' ], + * template: `` + * }) + * class ChildDir { + * bankNameChange: EventEmitter = new EventEmitter(); + * } + * + * @Component({ + * selector: 'main', + * template: ` + * {{ bankName }} + * ` + * }) + * class MainComponent { + * bankName: string; + * + * onBankNameChange(bankName: string) { + * this.bankName = bankName; + * } + * } + * ``` + * + */ + outputs?: string[]; + /** + * Configures the injector of this + * directive or component with a token + * that maps to a provider of a dependency. + */ + providers?: Provider[]; + /** + * Defines the name that can be used in the template to assign this directive to a variable. + * + * @usageNotes + * + * ```ts + * @Directive({ + * selector: 'child-dir', + * exportAs: 'child' + * }) + * class ChildDir { + * } + * + * @Component({ + * selector: 'main', + * template: `` + * }) + * class MainComponent { + * } + * ``` + * + */ + exportAs?: string; + /** + * Configures the queries that will be injected into the directive. + * + * Content queries are set before the `ngAfterContentInit` callback is called. + * View queries are set before the `ngAfterViewInit` callback is called. + * + * @usageNotes + * + * The following example shows how queries are defined + * and when their results are available in lifecycle hooks: + * + * ```ts + * @Component({ + * selector: 'someDir', + * queries: { + * contentChildren: new ContentChildren(ChildDirective), + * viewChildren: new ViewChildren(ChildDirective) + * }, + * template: '' + * }) + * class SomeDir { + * contentChildren: QueryList, + * viewChildren: QueryList + * + * ngAfterContentInit() { + * // contentChildren is set + * } + * + * ngAfterViewInit() { + * // viewChildren is set + * } + * } + * ``` + * + * @Annotation + */ + queries?: { + [key: string]: any; + }; + /** + * Maps class properties to host element bindings for properties, + * attributes, and events, using a set of key-value pairs. + * + * Angular automatically checks host property bindings during change detection. + * If a binding changes, Angular updates the directive's host element. + * + * When the key is a property of the host element, the property value is + * propagated to the specified DOM property. + * + * When the key is a static attribute in the DOM, the attribute value + * is propagated to the specified property in the host element. + * + * For event handling: + * - The key is the DOM event that the directive listens to. + * The global target names that can be used to prefix an event name are + * `document:`, `window:` and `body:`. + * + * - The value is the statement to execute when the event occurs. If the + * statement evaluates to `false`, then `preventDefault` is applied on the DOM + * event. A handler method can refer to the `$event` local variable. + * + */ + host?: { + [key: string]: string; + }; + /** + * When present, this directive/component is ignored by the AOT compiler. + * It remains in distributed code, and the JIT compiler attempts to compile it + * at run time, in the browser. + * To ensure the correct behavior, the app must import `@angular/compiler`. + */ + jit?: true; + /** + * Set `standalone` to `false` if you want to import the directive into an NgModule. + */ + standalone?: boolean; + /** + * Standalone directives that should be applied to the host whenever the directive is matched. + * By default, none of the inputs or outputs of the host directives will be available on the host, + * unless they are specified in the `inputs` or `outputs` properties. + * + * You can additionally alias inputs and outputs by putting a colon and the alias after the + * original input or output name. For example, if a directive applied via `hostDirectives` + * defines an input named `menuDisabled`, you can alias this to `disabled` by adding + * `'menuDisabled: disabled'` as an entry to `inputs`. + */ + hostDirectives?: (Type | { + directive: Type; + inputs?: string[]; + outputs?: string[]; + })[]; +} +/** + * Type of the Directive metadata. + * + * @publicApi + */ +declare const Directive: DirectiveDecorator; +/** + * Component decorator interface + * + * @publicApi + */ +interface ComponentDecorator { + /** + * Decorator that marks a class as an Angular component and provides configuration + * metadata that determines how the component should be processed, + * instantiated, and used at runtime. + * + * Components are the most basic UI building block of an Angular app. + * An Angular app contains a tree of Angular components. + * + * Angular components are a subset of directives, always associated with a template. + * Unlike other directives, only one component can be instantiated for a given element in a + * template. + * + * Standalone components can be directly imported in any other standalone component or NgModule. + * NgModule based apps on the other hand require components to belong to an NgModule in + * order for them to be available to another component or application. To make a component a + * member of an NgModule, list it in the `declarations` field of the `NgModule` metadata. + * + * Note that, in addition to these options for configuring a directive, + * you can control a component's runtime behavior by implementing + * life-cycle hooks. For more information, see the + * [Lifecycle Hooks](guide/components/lifecycle) guide. + * + * HELPFUL: You may not use this interface to describe a class that is a component. Decorators do not affect the typing of the decorated classes. + * Use `Type` instead of `Type`. + * + * @usageNotes + * + * ### Setting component inputs + * + * The following example creates a component with two data-bound properties, + * specified by the `inputs` value. + * + * {@example core/ts/metadata/directives.ts region='component-input'} + * + * + * ### Setting component outputs + * + * The following example shows two output function that emit on an interval. One + * emits an output every second, while the other emits every five seconds. + * + * {@example core/ts/metadata/directives.ts region='component-output-interval'} + * + * ### Injecting a class with a view provider + * + * The following simple example injects a class into a component + * using the view provider specified in component metadata: + * + * ```ts + * class Greeter { + * greet(name:string) { + * return 'Hello ' + name + '!'; + * } + * } + * + * @Directive({ + * selector: 'needs-greeter' + * }) + * class NeedsGreeter { + * greeter:Greeter; + * + * constructor(greeter:Greeter) { + * this.greeter = greeter; + * } + * } + * + * @Component({ + * selector: 'greet', + * viewProviders: [ + * Greeter + * ], + * template: `` + * }) + * class HelloWorld { + * } + * + * ``` + * + * ### Preserving whitespace + * + * Removing whitespace can greatly reduce AOT-generated code size and speed up view creation. + * As of Angular 6, the default for `preserveWhitespaces` is false (whitespace is removed). + * To change the default setting for all components in your application, set + * the `preserveWhitespaces` option of the AOT compiler. + * + * By default, the AOT compiler removes whitespace characters as follows: + * * Trims all whitespaces at the beginning and the end of a template. + * * Removes whitespace-only text nodes. For example, + * + * ```html + * + * ``` + * + * becomes: + * + * ```html + * + * ``` + * + * * Replaces a series of whitespace characters in text nodes with a single space. + * For example, `\n some text\n` becomes ` some text `. + * * Does NOT alter text nodes inside HTML tags such as `
    ` or `