cfsolve 0.1.0-aarch64-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +6 -0
- data/LICENSE +21 -0
- data/README.md +66 -0
- data/THIRD_PARTY_LICENSES/Inflector-0.11.4/LICENSE.md +22 -0
- data/THIRD_PARTY_LICENSES/README.md +761 -0
- data/THIRD_PARTY_LICENSES/adler2-2.0.1/LICENSE-0BSD +12 -0
- data/THIRD_PARTY_LICENSES/adler2-2.0.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/adler2-2.0.1/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/ahash-0.8.12/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/ahash-0.8.12/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/aho-corasick-1.1.4/COPYING +3 -0
- data/THIRD_PARTY_LICENSES/aho-corasick-1.1.4/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/alloc-no-stdlib-2.0.4/LICENSE +12 -0
- data/THIRD_PARTY_LICENSES/alloc-stdlib-0.2.4/LICENSE +12 -0
- data/THIRD_PARTY_LICENSES/allocator-api2-0.2.21/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/allocator-api2-0.2.21/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/android_system_properties-0.1.5/LICENSE-APACHE +13 -0
- data/THIRD_PARTY_LICENSES/android_system_properties-0.1.5/LICENSE-MIT +20 -0
- data/THIRD_PARTY_LICENSES/anyhow-1.0.104/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/anyhow-1.0.104/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/arrayvec-0.7.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/arrayvec-0.7.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/ascii-1.1.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/ascii-1.1.0/LICENSE-MIT +22 -0
- data/THIRD_PARTY_LICENSES/ast_node-5.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/async-compression-0.4.45/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/async-compression-0.4.45/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/atomic-waker-1.1.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/atomic-waker-1.1.2/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/atomic-waker-1.1.2/LICENSE-THIRD-PARTY +45 -0
- data/THIRD_PARTY_LICENSES/autocfg-1.5.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/autocfg-1.5.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/base64-0.22.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/base64-0.22.1/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/base64-simd-0.8.0/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/better_scoped_tls-1.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/bindgen-0.72.1/LICENSE +29 -0
- data/THIRD_PARTY_LICENSES/bitflags-2.13.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/bitflags-2.13.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/bitvec-1.0.1/LICENSE.txt +21 -0
- data/THIRD_PARTY_LICENSES/block-buffer-0.10.4/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/block-buffer-0.10.4/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/brotli-8.0.4/LICENSE.BSD-3-Clause +12 -0
- data/THIRD_PARTY_LICENSES/brotli-8.0.4/LICENSE.MIT +19 -0
- data/THIRD_PARTY_LICENSES/brotli-decompressor-5.0.3/LICENSE +12 -0
- data/THIRD_PARTY_LICENSES/browserslist-data-0.1.4/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/browserslist-rs-0.19.0/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/bstr-1.12.1/COPYING +8 -0
- data/THIRD_PARTY_LICENSES/bstr-1.12.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/bstr-1.12.1/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/btls-0.5.6/LICENSE +17 -0
- data/THIRD_PARTY_LICENSES/btls-sys-0.5.6/BORINGSSL-LICENSE +238 -0
- data/THIRD_PARTY_LICENSES/btls-sys-0.5.6/LICENSE-MIT +27 -0
- data/THIRD_PARTY_LICENSES/bumpalo-3.20.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/bumpalo-3.20.3/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/bytes-1.12.1/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/bytes-str-0.2.7/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/camino-1.2.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/camino-1.2.2/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/cargo-platform-0.1.9/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/cargo-platform-0.1.9/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/cargo_metadata-0.19.2/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/castaway-0.2.4/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/cc-1.2.51/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/cc-1.2.51/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/cexpr-0.6.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/cexpr-0.6.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/cfg-if-1.0.4/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/cfg-if-1.0.4/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/cfsolve/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/cfsolve-0.1.0/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/chrono-0.4.42/LICENSE.txt +240 -0
- data/THIRD_PARTY_LICENSES/clang-sys-1.9.1/LICENSE.txt +202 -0
- data/THIRD_PARTY_LICENSES/cmake-0.1.58/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/cmake-0.1.58/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/compact_str-0.7.1/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/compression-codecs-0.4.40/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/compression-codecs-0.4.40/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/compression-core-0.4.33/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/compression-core-0.4.33/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/cookie-0.18.2/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/cookie-0.18.2/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/core-foundation-sys-0.8.7/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/core-foundation-sys-0.8.7/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/cpufeatures-0.2.17/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/cpufeatures-0.2.17/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/crc32fast-1.5.1/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/crc32fast-1.5.1/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/crypto-common-0.1.7/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/crypto-common-0.1.7/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/cssparser-0.37.0/LICENSE +373 -0
- data/THIRD_PARTY_LICENSES/cssparser-macros-0.7.1/LICENSE +373 -0
- data/THIRD_PARTY_LICENSES/darling-0.20.11/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/darling_core-0.20.11/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/darling_macro-0.20.11/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/dashmap-5.5.3/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/data-encoding-2.9.0/LICENSE +22 -0
- data/THIRD_PARTY_LICENSES/debugid-0.8.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/deranged-0.5.8/LICENSE-Apache +202 -0
- data/THIRD_PARTY_LICENSES/deranged-0.5.8/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/derive_builder-0.20.2/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/derive_builder-0.20.2/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/derive_builder_core-0.20.2/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/derive_builder_core-0.20.2/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/derive_builder_macro-0.20.2/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/derive_builder_macro-0.20.2/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/derive_more-2.1.1/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/derive_more-impl-2.1.1/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/digest-0.10.7/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/digest-0.10.7/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/displaydoc-0.2.5/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/displaydoc-0.2.5/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/dtoa-1.0.11/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/dtoa-1.0.11/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/dtoa-short-0.3.5/LICENSE +373 -0
- data/THIRD_PARTY_LICENSES/ego-tree-0.11.0/LICENSE +14 -0
- data/THIRD_PARTY_LICENSES/either-1.15.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/either-1.15.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/equivalent-1.0.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/equivalent-1.0.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/errno-0.3.14/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/errno-0.3.14/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/fastrand-2.3.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/fastrand-2.3.0/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/find-msvc-tools-0.1.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/find-msvc-tools-0.1.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/fixedbitset-0.5.7/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/fixedbitset-0.5.7/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/flate2-1.1.10/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/flate2-1.1.10/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/fnv-1.0.7/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/fnv-1.0.7/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/foldhash-0.1.5/LICENSE +19 -0
- data/THIRD_PARTY_LICENSES/foldhash-0.2.0/LICENSE +19 -0
- data/THIRD_PARTY_LICENSES/foreign-types-0.5.0/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/foreign-types-0.5.0/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/foreign-types-macros-0.2.4/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/foreign-types-macros-0.2.4/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/foreign-types-shared-0.3.1/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/foreign-types-shared-0.3.1/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/form_urlencoded-1.2.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/form_urlencoded-1.2.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/from_variant-3.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/fs_extra-1.3.0/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/fslock-0.2.1/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/funty-2.0.0/LICENSE.txt +21 -0
- data/THIRD_PARTY_LICENSES/futures-channel-0.3.34/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/futures-channel-0.3.34/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/futures-core-0.3.34/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/futures-core-0.3.34/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/futures-sink-0.3.34/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/futures-sink-0.3.34/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/futures-task-0.3.34/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/futures-task-0.3.34/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/futures-util-0.3.34/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/futures-util-0.3.34/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/generic-array-0.14.7/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/getopts-0.2.24/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/getopts-0.2.24/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/getrandom-0.3.4/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/getrandom-0.3.4/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/getrandom-0.4.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/getrandom-0.4.3/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/glob-0.3.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/glob-0.3.3/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/globset-0.4.18/COPYING +3 -0
- data/THIRD_PARTY_LICENSES/globset-0.4.18/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/hashbrown-0.14.5/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/hashbrown-0.14.5/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/hashbrown-0.16.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/hashbrown-0.16.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/hashbrown-0.17.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/hashbrown-0.17.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/heck-0.5.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/heck-0.5.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/hermit-abi-0.5.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/hermit-abi-0.5.2/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/hstr-3.0.3/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/html5ever-0.39.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/html5ever-0.39.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/http-1.5.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/http-1.5.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/http-body-1.1.0/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/http-body-util-0.1.5/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/http2-0.5.20/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/httparse-1.10.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/httparse-1.10.1/LICENSE-MIT +20 -0
- data/THIRD_PARTY_LICENSES/iana-time-zone-0.1.64/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/iana-time-zone-0.1.64/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/iana-time-zone-haiku-0.1.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/iana-time-zone-haiku-0.1.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/icu_collections-2.1.1/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/icu_locale_core-2.3.0/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/icu_normalizer-2.1.1/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/icu_normalizer_data-2.1.1/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/icu_properties-2.1.2/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/icu_properties_data-2.1.2/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/icu_provider-2.3.1/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/ident_case-1.0.1/LICENSE +19 -0
- data/THIRD_PARTY_LICENSES/idna-1.1.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/idna-1.1.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/idna_adapter-1.2.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/idna_adapter-1.2.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/if_chain-1.0.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/if_chain-1.0.3/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/indexmap-2.14.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/indexmap-2.14.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/ipnet-2.12.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/ipnet-2.12.2/LICENSE-MIT +7 -0
- data/THIRD_PARTY_LICENSES/is-macro-0.3.7/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/itertools-0.13.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/itertools-0.13.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/itoa-1.0.17/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/itoa-1.0.17/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/jobserver-0.1.35/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/jobserver-0.1.35/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/js-sys-0.3.83/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/js-sys-0.3.83/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/jsonc-parser-0.26.3/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/lazy_static-1.5.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/lazy_static-1.5.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/libc-0.2.189/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/libc-0.2.189/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/libloading-0.8.9/LICENSE +12 -0
- data/THIRD_PARTY_LICENSES/litemap-0.8.1/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/lock_api-0.4.14/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/lock_api-0.4.14/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/log-0.4.34/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/log-0.4.34/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/lru-0.16.2/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/lru-0.18.4/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/markup5ever-0.39.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/markup5ever-0.39.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/memchr-2.7.6/COPYING +3 -0
- data/THIRD_PARTY_LICENSES/memchr-2.7.6/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/miette-7.6.0/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/miette-derive-7.6.0/LICENSE +229 -0
- data/THIRD_PARTY_LICENSES/minimal-lexical-0.2.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/minimal-lexical-0.2.1/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/minimal-lexical-0.2.1/LICENSE.md +37 -0
- data/THIRD_PARTY_LICENSES/miniz_oxide-0.9.1/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/miniz_oxide-0.9.1/LICENSE-APACHE.md +177 -0
- data/THIRD_PARTY_LICENSES/miniz_oxide-0.9.1/LICENSE-MIT.md +24 -0
- data/THIRD_PARTY_LICENSES/miniz_oxide-0.9.1/LICENSE-ZLIB.md +14 -0
- data/THIRD_PARTY_LICENSES/mio-1.2.3/LICENSE +19 -0
- data/THIRD_PARTY_LICENSES/new_debug_unreachable-1.0.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/nom-7.1.3/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/normpath-0.2.0/COPYRIGHT +7 -0
- data/THIRD_PARTY_LICENSES/normpath-0.2.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/normpath-0.2.0/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/normpath-0.2.0/LICENSE-THIRD-PARTY +210 -0
- data/THIRD_PARTY_LICENSES/num-bigint-0.4.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/num-bigint-0.4.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/num-conv-0.2.2/LICENSE-Apache +177 -0
- data/THIRD_PARTY_LICENSES/num-conv-0.2.2/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/num-integer-0.1.46/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/num-integer-0.1.46/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/num-traits-0.2.19/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/num-traits-0.2.19/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/num_cpus-1.17.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/num_cpus-1.17.0/LICENSE-MIT +20 -0
- data/THIRD_PARTY_LICENSES/once_cell-1.21.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/once_cell-1.21.3/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/openssl-macros-0.1.1/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/openssl-macros-0.1.1/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/outref-0.5.2/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/owo-colors-4.2.3/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/par-core-2.0.0/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/par-iter-2.0.0/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/parking_lot-0.12.5/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/parking_lot-0.12.5/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/parking_lot_core-0.9.12/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/parking_lot_core-0.9.12/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/path-clean-0.1.0/LICENSE-APACHE +13 -0
- data/THIRD_PARTY_LICENSES/path-clean-0.1.0/LICENSE-MIT +18 -0
- data/THIRD_PARTY_LICENSES/path-clean-1.0.1/LICENSE-APACHE +13 -0
- data/THIRD_PARTY_LICENSES/path-clean-1.0.1/LICENSE-MIT +18 -0
- data/THIRD_PARTY_LICENSES/pathdiff-0.2.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/pathdiff-0.2.3/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/percent-encoding-2.3.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/percent-encoding-2.3.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/petgraph-0.7.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/petgraph-0.7.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/phf-0.11.3/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf-0.13.1/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_codegen-0.13.1/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_generator-0.11.3/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_generator-0.13.1/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_macros-0.11.3/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_macros-0.13.1/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_shared-0.11.3/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/phf_shared-0.13.1/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/pin-project-lite-0.2.17/LICENSE-APACHE +177 -0
- data/THIRD_PARTY_LICENSES/pin-project-lite-0.2.17/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/pkg-config-0.3.34/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/pkg-config-0.3.34/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/potential_utf-0.1.4/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/powerfmt-0.2.0/LICENSE-Apache +202 -0
- data/THIRD_PARTY_LICENSES/powerfmt-0.2.0/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/ppv-lite86-0.2.21/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/ppv-lite86-0.2.21/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/precomputed-hash-0.1.1/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/precomputed-map-0.2.0/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/preset_env_base-6.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/proc-macro2-1.0.107/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/quote-1.0.47/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/quote-1.0.47/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/r-efi-5.3.0/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/r-efi-6.0.0/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/radium-0.7.0/LICENSE.txt +21 -0
- data/THIRD_PARTY_LICENSES/radix_fmt-1.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/rand-0.8.5/COPYRIGHT +12 -0
- data/THIRD_PARTY_LICENSES/rand-0.8.5/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/rand-0.8.5/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/rand-0.9.5/COPYRIGHT +12 -0
- data/THIRD_PARTY_LICENSES/rand-0.9.5/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/rand-0.9.5/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/rand_chacha-0.9.0/COPYRIGHT +12 -0
- data/THIRD_PARTY_LICENSES/rand_chacha-0.9.0/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/rand_chacha-0.9.0/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/rand_core-0.6.4/COPYRIGHT +12 -0
- data/THIRD_PARTY_LICENSES/rand_core-0.6.4/LICENSE-APACHE +187 -0
- data/THIRD_PARTY_LICENSES/rand_core-0.6.4/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/rand_core-0.9.5/COPYRIGHT +12 -0
- data/THIRD_PARTY_LICENSES/rand_core-0.9.5/LICENSE-APACHE +187 -0
- data/THIRD_PARTY_LICENSES/rand_core-0.9.5/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/redox_syscall-0.5.18/LICENSE +22 -0
- data/THIRD_PARTY_LICENSES/regex-1.12.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/regex-1.12.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/regex-automata-0.4.13/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/regex-automata-0.4.13/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/regex-syntax-0.8.8/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/regex-syntax-0.8.8/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/regress-0.10.5/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/regress-0.10.5/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/rustc-hash-2.1.1/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/rustc-hash-2.1.1/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/rustc_version-0.4.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/rustc_version-0.4.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/rustls-pki-types-1.15.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/rustls-pki-types-1.15.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/rustversion-1.0.22/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/rustversion-1.0.22/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/ryu-1.0.22/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/ryu-1.0.22/LICENSE-BOOST +23 -0
- data/THIRD_PARTY_LICENSES/ryu-js-1.0.2/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/ryu-js-1.0.2/LICENSE-BOOST +23 -0
- data/THIRD_PARTY_LICENSES/scoped-tls-1.0.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/scoped-tls-1.0.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/scopeguard-1.2.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/scopeguard-1.2.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/scraper-0.27.0/LICENSE +15 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/LICENSE +373 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/CHANGES.md +1 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/Cargo.lock +513 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/Cargo.toml +88 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/Cargo.toml.orig +37 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/README.md +24 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/attr.rs +196 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/bloom.rs +422 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/build.rs +77 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/builder.rs +455 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/context.rs +525 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/kleene_value.rs +131 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/lib.rs +23 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/matching.rs +1609 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/nth_index_cache.rs +102 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/parser.rs +4857 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/relative_selector/cache.rs +81 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/relative_selector/filter.rs +159 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/relative_selector/mod.rs +6 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/sink.rs +31 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/tree.rs +184 -0
- data/THIRD_PARTY_LICENSES/selectors-0.38.0/source/visitor.rs +137 -0
- data/THIRD_PARTY_LICENSES/semver-1.0.27/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/semver-1.0.27/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/seq-macro-0.3.6/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/seq-macro-0.3.6/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/serde-1.0.228/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/serde-1.0.228/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/serde_core-1.0.228/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/serde_core-1.0.228/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/serde_derive-1.0.228/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/serde_derive-1.0.228/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/serde_json-1.0.151/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/serde_json-1.0.151/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/servo_arc-0.4.3/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/servo_arc-0.4.3/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/sha1-0.10.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/sha1-0.10.6/LICENSE-MIT +27 -0
- data/THIRD_PARTY_LICENSES/sha2-0.10.9/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/sha2-0.10.9/LICENSE-MIT +27 -0
- data/THIRD_PARTY_LICENSES/shlex-1.3.0/LICENSE-APACHE +13 -0
- data/THIRD_PARTY_LICENSES/shlex-1.3.0/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/signal-hook-registry-1.4.8/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/signal-hook-registry-1.4.8/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/simd-adler32-0.3.10/LICENSE.md +21 -0
- data/THIRD_PARTY_LICENSES/siphasher-0.3.11/COPYING +7 -0
- data/THIRD_PARTY_LICENSES/siphasher-1.0.1/COPYING +7 -0
- data/THIRD_PARTY_LICENSES/slab-0.4.12/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/smallvec-1.15.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/smallvec-1.15.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/smartstring-1.0.1/LICENCE.md +355 -0
- data/THIRD_PARTY_LICENSES/socket2-0.6.5/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/socket2-0.6.5/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/st-map-0.2.4/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/stable_deref_trait-1.2.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/stable_deref_trait-1.2.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/static-map-macro-0.3.4/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/static_assertions-1.1.0/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/static_assertions-1.1.0/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/string_cache-0.9.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/string_cache-0.9.0/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/string_cache_codegen-0.6.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/string_cache_codegen-0.6.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/string_enum-1.0.2/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/strsim-0.11.1/LICENSE +23 -0
- data/THIRD_PARTY_LICENSES/swc-52.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_allocator-4.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_atoms-9.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_common-18.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_compiler_base-45.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_config-3.1.2/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_config_macro-1.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_core-54.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_ast-19.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_codegen-21.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_codegen_macros-2.0.2/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_bugfixes-39.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_common-30.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2015-39.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2016-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2017-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2018-36.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2019-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2020-37.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2021-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2022-37.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_compat_es3-26.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_ext_transforms-25.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_hooks-0.3.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_loader-18.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_minifier-42.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_parser-32.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_preset_env-45.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transformer-6.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms-44.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_base-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_classes-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_compat-40.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_macros-1.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_module-38.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_optimization-37.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_proposal-35.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_react-38.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_transforms_typescript-38.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_usage_analyzer-27.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_utils-25.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_ecma_visit-19.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_eq_ignore_macros-1.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_error_reporters-20.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_macros_common-1.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_node_comments-18.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_sourcemap-9.3.4/LICENSE +31 -0
- data/THIRD_PARTY_LICENSES/swc_timer-1.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_trace_macro-2.0.2/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_transform_common-12.0.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/swc_visit-2.0.1/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/syn-2.0.113/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/syn-2.0.113/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/syn-3.0.5/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/syn-3.0.5/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/sync_wrapper-1.0.2/LICENSE +177 -0
- data/THIRD_PARTY_LICENSES/synstructure-0.13.2/LICENSE +7 -0
- data/THIRD_PARTY_LICENSES/synstructure-0.14.0/LICENSE +7 -0
- data/THIRD_PARTY_LICENSES/tap-1.0.1/LICENSE.txt +21 -0
- data/THIRD_PARTY_LICENSES/tendril-0.5.1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/tendril-0.5.1/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/textwrap-0.16.2/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/thiserror-1.0.69/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/thiserror-1.0.69/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/thiserror-2.0.21/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/thiserror-2.0.21/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/thiserror-impl-1.0.69/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/thiserror-impl-1.0.69/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/time-0.3.55/LICENSE-Apache +177 -0
- data/THIRD_PARTY_LICENSES/time-0.3.55/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/time-core-0.1.9/LICENSE-Apache +177 -0
- data/THIRD_PARTY_LICENSES/time-core-0.1.9/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/time-macros-0.2.32/LICENSE-Apache +177 -0
- data/THIRD_PARTY_LICENSES/time-macros-0.2.32/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/tinystr-0.8.4/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/tokio-1.53.1/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/tokio-btls-0.5.6/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/tokio-btls-0.5.6/LICENSE-MIT +27 -0
- data/THIRD_PARTY_LICENSES/tokio-macros-2.7.2/LICENSE +22 -0
- data/THIRD_PARTY_LICENSES/tokio-socks-0.5.3/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/tokio-tungstenite-0.29.0/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/tokio-util-0.7.19/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/tower-0.5.3/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/tower-http-0.6.11/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/tower-layer-0.3.3/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/tower-service-0.3.3/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/tracing-0.1.44/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/tracing-attributes-0.1.31/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/tracing-core-0.1.36/LICENSE +25 -0
- data/THIRD_PARTY_LICENSES/triomphe-0.1.15/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/triomphe-0.1.15/LICENSE-MIT +27 -0
- data/THIRD_PARTY_LICENSES/try-lock-0.2.5/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/tungstenite-0.29.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/tungstenite-0.29.0/LICENSE-MIT +20 -0
- data/THIRD_PARTY_LICENSES/typed-builder-0.23.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/typed-builder-0.23.2/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/typed-builder-macro-0.23.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/typed-builder-macro-0.23.2/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/typenum-1.19.0/LICENSE +1 -0
- data/THIRD_PARTY_LICENSES/typenum-1.19.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/typenum-1.19.0/LICENSE-MIT +21 -0
- data/THIRD_PARTY_LICENSES/unicode-id-start-1.4.0/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/unicode-id-start-1.4.0/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/unicode-id-start-1.4.0/LICENSE-UNICODE +39 -0
- data/THIRD_PARTY_LICENSES/unicode-ident-1.0.22/LICENSE-APACHE +176 -0
- data/THIRD_PARTY_LICENSES/unicode-ident-1.0.22/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/unicode-ident-1.0.22/LICENSE-UNICODE +39 -0
- data/THIRD_PARTY_LICENSES/unicode-linebreak-0.1.5/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/unicode-width-0.1.14/COPYRIGHT +7 -0
- data/THIRD_PARTY_LICENSES/unicode-width-0.1.14/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/unicode-width-0.1.14/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/unicode-width-0.2.2/COPYRIGHT +7 -0
- data/THIRD_PARTY_LICENSES/unicode-width-0.2.2/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/unicode-width-0.2.2/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/url-2.5.8/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/url-2.5.8/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/utf8_iter-1.0.4/COPYRIGHT +42 -0
- data/THIRD_PARTY_LICENSES/utf8_iter-1.0.4/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/utf8_iter-1.0.4/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/uuid-1.19.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/uuid-1.19.0/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/vergen-9.0.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/vergen-9.0.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/vergen-lib-0.1.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/vergen-lib-0.1.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/version_check-0.9.5/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/version_check-0.9.5/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/vsimd-0.8.0/LICENSE +21 -0
- data/THIRD_PARTY_LICENSES/want-0.3.1/LICENSE +20 -0
- data/THIRD_PARTY_LICENSES/wasi-0.11.1+wasi-snapshot-preview1/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wasi-0.11.1+wasi-snapshot-preview1/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
- data/THIRD_PARTY_LICENSES/wasi-0.11.1+wasi-snapshot-preview1/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/wasip2-1.0.1+wasi-0.2.4/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-0.2.106/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-0.2.106/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-macro-0.2.106/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-macro-0.2.106/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-macro-support-0.2.106/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-macro-support-0.2.106/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-shared-0.2.106/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wasm-bindgen-shared-0.2.106/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/web_atoms-0.2.6/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/web_atoms-0.2.6/LICENSE-MIT +25 -0
- data/THIRD_PARTY_LICENSES/webpki-root-certs-1.0.9/LICENSE +61 -0
- data/THIRD_PARTY_LICENSES/winapi-0.3.9/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/winapi-0.3.9/LICENSE-MIT +19 -0
- data/THIRD_PARTY_LICENSES/winapi-i686-pc-windows-gnu-0.4.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/winapi-x86_64-pc-windows-gnu-0.4.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/windows-core-0.62.2/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-core-0.62.2/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/windows-implement-0.60.2/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-implement-0.60.2/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/windows-interface-0.59.3/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-interface-0.59.3/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/windows-link-0.2.1/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-link-0.2.1/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/windows-result-0.4.1/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-result-0.4.1/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/windows-strings-0.5.1/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-strings-0.5.1/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/windows-sys-0.61.2/license-apache-2.0 +201 -0
- data/THIRD_PARTY_LICENSES/windows-sys-0.61.2/license-mit +21 -0
- data/THIRD_PARTY_LICENSES/wit-bindgen-0.46.0/LICENSE-APACHE +201 -0
- data/THIRD_PARTY_LICENSES/wit-bindgen-0.46.0/LICENSE-Apache-2.0_WITH_LLVM-exception +220 -0
- data/THIRD_PARTY_LICENSES/wit-bindgen-0.46.0/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/wreq-0.16.1/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/wreq-proto-0.2.6/LICENSE +202 -0
- data/THIRD_PARTY_LICENSES/wreq-rt-0.2.2-rc.4/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/wreq-util-0.2.0/LICENSE +201 -0
- data/THIRD_PARTY_LICENSES/writeable-0.6.4/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/wyz-0.5.1/LICENSE.txt +21 -0
- data/THIRD_PARTY_LICENSES/yoke-0.8.3/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/yoke-derive-0.8.4/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/zerocopy-0.8.31/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/zerocopy-0.8.31/LICENSE-BSD +24 -0
- data/THIRD_PARTY_LICENSES/zerocopy-0.8.31/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/zerocopy-derive-0.8.31/LICENSE-APACHE +202 -0
- data/THIRD_PARTY_LICENSES/zerocopy-derive-0.8.31/LICENSE-BSD +24 -0
- data/THIRD_PARTY_LICENSES/zerocopy-derive-0.8.31/LICENSE-MIT +26 -0
- data/THIRD_PARTY_LICENSES/zerofrom-0.1.6/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/zerofrom-derive-0.1.6/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/zerotrie-0.2.5/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/zerovec-0.11.8/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/zerovec-derive-0.11.6/LICENSE +46 -0
- data/THIRD_PARTY_LICENSES/zlib-rs-0.6.7/LICENSE +19 -0
- data/THIRD_PARTY_LICENSES/zmij-1.0.11/LICENSE-MIT +23 -0
- data/THIRD_PARTY_LICENSES/zstd-0.13.3/LICENSE +8 -0
- data/THIRD_PARTY_LICENSES/zstd-0.14.0/LICENSE +28 -0
- data/THIRD_PARTY_LICENSES/zstd-safe-7.3.0/LICENSE +28 -0
- data/THIRD_PARTY_LICENSES/zstd-safe-8.0.0/LICENSE +28 -0
- data/THIRD_PARTY_LICENSES/zstd-sys-2.1.0+zstd.1.5.7/LICENSE +28 -0
- data/THIRD_PARTY_LICENSES/zstd-sys-2.1.0+zstd.1.5.7/LICENSE.BSD-3-Clause +32 -0
- data/UPSTREAM.md +11 -0
- data/lib/cfsolve/cfsolve-engine +4 -0
- data/lib/cfsolve/profiles/safari-26-ios/answers.json +3606 -0
- data/lib/cfsolve/profiles/safari-26-ios/challenge-page-answers.json +3608 -0
- data/lib/cfsolve/profiles/safari-26-ios.json +554 -0
- data/lib/cfsolve/version.rb +6 -0
- data/lib/cfsolve.rb +113 -0
- metadata +702 -0
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
+
|
|
5
|
+
//! Helper module to build up a selector safely and efficiently.
|
|
6
|
+
//!
|
|
7
|
+
//! Our selector representation is designed to optimize matching, and has
|
|
8
|
+
//! several requirements:
|
|
9
|
+
//! * All simple selectors and combinators are stored inline in the same buffer as Component
|
|
10
|
+
//! instances.
|
|
11
|
+
//! * We store the top-level compound selectors from right to left, i.e. in matching order.
|
|
12
|
+
//! * We store the simple selectors for each combinator from left to right, so that we match the
|
|
13
|
+
//! cheaper simple selectors first.
|
|
14
|
+
//!
|
|
15
|
+
//! For example, the selector:
|
|
16
|
+
//!
|
|
17
|
+
//! .bar:hover > .baz:nth-child(2) + .qux
|
|
18
|
+
//!
|
|
19
|
+
//! Gets stored as:
|
|
20
|
+
//!
|
|
21
|
+
//! [.qux, + , .baz, :nth-child(2), > , .bar, :hover]
|
|
22
|
+
//!
|
|
23
|
+
//! Meeting all these constraints without extra memmove traffic during parsing is non-trivial. This
|
|
24
|
+
//! module encapsulates those details and presents an easy-to-use API for the parser.
|
|
25
|
+
|
|
26
|
+
use crate::parser::{
|
|
27
|
+
Combinator, Component, ParseRelative, RelativeSelector, Selector, SelectorData, SelectorImpl,
|
|
28
|
+
};
|
|
29
|
+
use crate::sink::Push;
|
|
30
|
+
use bitflags::bitflags;
|
|
31
|
+
use derive_more::{Add, AddAssign};
|
|
32
|
+
use servo_arc::Arc;
|
|
33
|
+
use smallvec::SmallVec;
|
|
34
|
+
use std::cmp;
|
|
35
|
+
use std::slice;
|
|
36
|
+
|
|
37
|
+
#[cfg(feature = "to_shmem")]
|
|
38
|
+
use to_shmem_derive::ToShmem;
|
|
39
|
+
|
|
40
|
+
/// Top-level SelectorBuilder struct. This should be stack-allocated by the consumer and never
|
|
41
|
+
/// moved (because it contains a lot of inline data that would be slow to memmove).
|
|
42
|
+
///
|
|
43
|
+
/// After instantiation, callers may call the push_simple_selector() and push_combinator() methods
|
|
44
|
+
/// to append selector data as it is encountered (from left to right). Once the process is
|
|
45
|
+
/// complete, callers should invoke build(), which transforms the contents of the SelectorBuilder
|
|
46
|
+
/// into a heap- allocated Selector and leaves the builder in a drained state.
|
|
47
|
+
#[derive(Debug)]
|
|
48
|
+
pub struct SelectorBuilder<Impl: SelectorImpl> {
|
|
49
|
+
/// The entire sequence of components. We make this large because the result of parsing a
|
|
50
|
+
/// selector is fed into a new Arc-ed allocation, so any spilled vec would be a wasted
|
|
51
|
+
/// allocation. Also, Components are large enough that we don't have much cache locality
|
|
52
|
+
/// benefit from reserving stack space for fewer of them.
|
|
53
|
+
components: SmallVec<[Component<Impl>; 32]>,
|
|
54
|
+
last_compound_start: Option<usize>,
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
impl<Impl: SelectorImpl> Push<Component<Impl>> for SelectorBuilder<Impl> {
|
|
58
|
+
fn push(&mut self, value: Component<Impl>) {
|
|
59
|
+
self.push_simple_selector(value);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
impl<Impl: SelectorImpl> SelectorBuilder<Impl> {
|
|
64
|
+
/// Pushes a simple selector onto the current compound selector.
|
|
65
|
+
#[inline(always)]
|
|
66
|
+
pub fn push_simple_selector(&mut self, ss: Component<Impl>) {
|
|
67
|
+
debug_assert!(!ss.is_combinator());
|
|
68
|
+
self.components.push(ss);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/// Completes the current compound selector and starts a new one, delimited by the given
|
|
72
|
+
/// combinator.
|
|
73
|
+
#[inline(always)]
|
|
74
|
+
pub fn push_combinator(&mut self, c: Combinator) {
|
|
75
|
+
self.reverse_last_compound();
|
|
76
|
+
self.components.push(Component::Combinator(c));
|
|
77
|
+
self.last_compound_start = Some(self.components.len());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
fn reverse_last_compound(&mut self) {
|
|
81
|
+
let start = self.last_compound_start.unwrap_or(0);
|
|
82
|
+
self.components[start..].reverse();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/// Returns true if combinators have ever been pushed to this builder.
|
|
86
|
+
#[inline(always)]
|
|
87
|
+
pub fn has_combinators(&self) -> bool {
|
|
88
|
+
self.last_compound_start.is_some()
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/// Consumes the builder, producing a Selector.
|
|
92
|
+
#[inline(always)]
|
|
93
|
+
pub fn build(&mut self, parse_relative: ParseRelative) -> SelectorData<Impl> {
|
|
94
|
+
// Compute the specificity and flags.
|
|
95
|
+
let sf = specificity_and_flags(
|
|
96
|
+
self.components.iter(),
|
|
97
|
+
/* for_nesting_parent = */ false,
|
|
98
|
+
);
|
|
99
|
+
self.build_with_specificity_and_flags(sf, parse_relative)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/// Builds with an explicit SpecificityAndFlags. This is separated from build() so that unit
|
|
103
|
+
/// tests can pass an explicit specificity.
|
|
104
|
+
#[inline(always)]
|
|
105
|
+
pub(crate) fn build_with_specificity_and_flags(
|
|
106
|
+
&mut self,
|
|
107
|
+
mut spec: SpecificityAndFlags,
|
|
108
|
+
parse_relative: ParseRelative,
|
|
109
|
+
) -> SelectorData<Impl> {
|
|
110
|
+
let implicit_addition = match parse_relative {
|
|
111
|
+
ParseRelative::ForNesting if !spec.flags.intersects(SelectorFlags::HAS_PARENT) => {
|
|
112
|
+
Some((Component::ParentSelector, SelectorFlags::HAS_PARENT))
|
|
113
|
+
},
|
|
114
|
+
ParseRelative::ForScope
|
|
115
|
+
if !spec
|
|
116
|
+
.flags
|
|
117
|
+
.intersects(SelectorFlags::HAS_SCOPE | SelectorFlags::HAS_PARENT) =>
|
|
118
|
+
{
|
|
119
|
+
Some((Component::ImplicitScope, SelectorFlags::HAS_SCOPE))
|
|
120
|
+
},
|
|
121
|
+
_ => None,
|
|
122
|
+
};
|
|
123
|
+
let implicit_selector_and_combinator;
|
|
124
|
+
let implicit_selector = if let Some((component, flag)) = implicit_addition {
|
|
125
|
+
spec.flags.insert(flag);
|
|
126
|
+
implicit_selector_and_combinator =
|
|
127
|
+
[Component::Combinator(Combinator::Descendant), component];
|
|
128
|
+
&implicit_selector_and_combinator[..]
|
|
129
|
+
} else {
|
|
130
|
+
&[]
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
// As an optimization, for a selector without combinators, we can just keep the order
|
|
134
|
+
// as-is.
|
|
135
|
+
if self.last_compound_start.is_none() {
|
|
136
|
+
return Arc::from_header_and_iter(
|
|
137
|
+
spec,
|
|
138
|
+
ExactChain(self.components.drain(..), implicit_selector.iter().cloned()),
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
self.reverse_last_compound();
|
|
143
|
+
Arc::from_header_and_iter(
|
|
144
|
+
spec,
|
|
145
|
+
ExactChain(
|
|
146
|
+
self.components.drain(..).rev(),
|
|
147
|
+
implicit_selector.iter().cloned(),
|
|
148
|
+
),
|
|
149
|
+
)
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
impl<Impl: SelectorImpl> Default for SelectorBuilder<Impl> {
|
|
154
|
+
#[inline(always)]
|
|
155
|
+
fn default() -> Self {
|
|
156
|
+
SelectorBuilder {
|
|
157
|
+
components: SmallVec::new(),
|
|
158
|
+
last_compound_start: None,
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// This is effectively a Chain<>, but Chain isn't an ExactSizeIterator, see
|
|
164
|
+
// https://github.com/rust-lang/rust/issues/34433
|
|
165
|
+
struct ExactChain<A, B>(A, B);
|
|
166
|
+
|
|
167
|
+
impl<A, B, Item> ExactSizeIterator for ExactChain<A, B>
|
|
168
|
+
where
|
|
169
|
+
A: ExactSizeIterator<Item = Item>,
|
|
170
|
+
B: ExactSizeIterator<Item = Item>,
|
|
171
|
+
{
|
|
172
|
+
fn len(&self) -> usize {
|
|
173
|
+
self.0.len() + self.1.len()
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
impl<A, B, Item> Iterator for ExactChain<A, B>
|
|
178
|
+
where
|
|
179
|
+
A: ExactSizeIterator<Item = Item>,
|
|
180
|
+
B: ExactSizeIterator<Item = Item>,
|
|
181
|
+
{
|
|
182
|
+
type Item = Item;
|
|
183
|
+
|
|
184
|
+
#[inline(always)]
|
|
185
|
+
fn next(&mut self) -> Option<Self::Item> {
|
|
186
|
+
self.0.next().or_else(|| self.1.next())
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
fn size_hint(&self) -> (usize, Option<usize>) {
|
|
190
|
+
let len = self.len();
|
|
191
|
+
(len, Some(len))
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/// Flags that indicate at which point of parsing a selector are we.
|
|
196
|
+
#[derive(Clone, Copy, Default, Eq, PartialEq)]
|
|
197
|
+
#[cfg_attr(feature = "to_shmem", derive(ToShmem))]
|
|
198
|
+
pub(crate) struct SelectorFlags(u8);
|
|
199
|
+
|
|
200
|
+
bitflags! {
|
|
201
|
+
impl SelectorFlags: u8 {
|
|
202
|
+
const HAS_PSEUDO = 1 << 0;
|
|
203
|
+
const HAS_SLOTTED = 1 << 1;
|
|
204
|
+
const HAS_PART = 1 << 2;
|
|
205
|
+
const HAS_PARENT = 1 << 3;
|
|
206
|
+
const HAS_HOST = 1 << 4;
|
|
207
|
+
const HAS_SCOPE = 1 << 5;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
impl core::fmt::Debug for SelectorFlags {
|
|
212
|
+
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
|
|
213
|
+
if self.is_empty() {
|
|
214
|
+
write!(f, "{:#x}", Self::empty().bits())
|
|
215
|
+
} else {
|
|
216
|
+
bitflags::parser::to_writer(self, f)
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
impl SelectorFlags {
|
|
222
|
+
/// When you nest a pseudo-element with something like:
|
|
223
|
+
///
|
|
224
|
+
/// ::before { & { .. } }
|
|
225
|
+
///
|
|
226
|
+
/// It is not supposed to work, because :is(::before) is invalid. We can't propagate the
|
|
227
|
+
/// pseudo-flags from inner to outer selectors, to avoid breaking our invariants.
|
|
228
|
+
pub(crate) fn forbidden_for_nesting() -> Self {
|
|
229
|
+
Self::HAS_PSEUDO | Self::HAS_SLOTTED | Self::HAS_PART
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
|
|
234
|
+
#[cfg_attr(feature = "to_shmem", derive(ToShmem))]
|
|
235
|
+
pub struct SpecificityAndFlags {
|
|
236
|
+
/// There are two free bits here, since we use ten bits for each specificity
|
|
237
|
+
/// kind (id, class, element).
|
|
238
|
+
pub(crate) specificity: u32,
|
|
239
|
+
/// There's padding after this field due to the size of the flags.
|
|
240
|
+
pub(crate) flags: SelectorFlags,
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const MAX_10BIT: u32 = (1u32 << 10) - 1;
|
|
244
|
+
|
|
245
|
+
#[derive(Add, AddAssign, Clone, Copy, Default, Eq, Ord, PartialEq, PartialOrd)]
|
|
246
|
+
pub(crate) struct Specificity {
|
|
247
|
+
id_selectors: u32,
|
|
248
|
+
class_like_selectors: u32,
|
|
249
|
+
element_selectors: u32,
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
impl Specificity {
|
|
253
|
+
// Return the specficity of a single class-like selector.
|
|
254
|
+
#[inline]
|
|
255
|
+
pub fn single_class_like() -> Self {
|
|
256
|
+
Specificity {
|
|
257
|
+
id_selectors: 0,
|
|
258
|
+
class_like_selectors: 1,
|
|
259
|
+
element_selectors: 0,
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
impl From<u32> for Specificity {
|
|
265
|
+
#[inline]
|
|
266
|
+
fn from(value: u32) -> Specificity {
|
|
267
|
+
assert!(value <= MAX_10BIT << 20 | MAX_10BIT << 10 | MAX_10BIT);
|
|
268
|
+
Specificity {
|
|
269
|
+
id_selectors: value >> 20,
|
|
270
|
+
class_like_selectors: (value >> 10) & MAX_10BIT,
|
|
271
|
+
element_selectors: value & MAX_10BIT,
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
impl From<Specificity> for u32 {
|
|
277
|
+
#[inline]
|
|
278
|
+
fn from(specificity: Specificity) -> u32 {
|
|
279
|
+
cmp::min(specificity.id_selectors, MAX_10BIT) << 20
|
|
280
|
+
| cmp::min(specificity.class_like_selectors, MAX_10BIT) << 10
|
|
281
|
+
| cmp::min(specificity.element_selectors, MAX_10BIT)
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
fn specificity_and_flags<Impl>(
|
|
286
|
+
iter: slice::Iter<Component<Impl>>,
|
|
287
|
+
for_nesting_parent: bool,
|
|
288
|
+
) -> SpecificityAndFlags
|
|
289
|
+
where
|
|
290
|
+
Impl: SelectorImpl,
|
|
291
|
+
{
|
|
292
|
+
fn component_specificity<Impl>(
|
|
293
|
+
simple_selector: &Component<Impl>,
|
|
294
|
+
specificity: &mut Specificity,
|
|
295
|
+
flags: &mut SelectorFlags,
|
|
296
|
+
for_nesting_parent: bool,
|
|
297
|
+
) where
|
|
298
|
+
Impl: SelectorImpl,
|
|
299
|
+
{
|
|
300
|
+
match *simple_selector {
|
|
301
|
+
Component::Combinator(..) => {},
|
|
302
|
+
Component::ParentSelector => flags.insert(SelectorFlags::HAS_PARENT),
|
|
303
|
+
Component::Part(..) => {
|
|
304
|
+
flags.insert(SelectorFlags::HAS_PART);
|
|
305
|
+
if !for_nesting_parent {
|
|
306
|
+
specificity.element_selectors += 1
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
Component::PseudoElement(ref pseudo) => {
|
|
310
|
+
use crate::parser::PseudoElement;
|
|
311
|
+
flags.insert(SelectorFlags::HAS_PSEUDO);
|
|
312
|
+
if !for_nesting_parent {
|
|
313
|
+
specificity.element_selectors += pseudo.specificity_count();
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
Component::LocalName(..) => specificity.element_selectors += 1,
|
|
317
|
+
Component::Slotted(ref selector) => {
|
|
318
|
+
flags.insert(SelectorFlags::HAS_SLOTTED);
|
|
319
|
+
if !for_nesting_parent {
|
|
320
|
+
specificity.element_selectors += 1;
|
|
321
|
+
// Note that due to the way ::slotted works we only compete with
|
|
322
|
+
// other ::slotted rules, so the above rule doesn't really
|
|
323
|
+
// matter, but we do it still for consistency with other
|
|
324
|
+
// pseudo-elements.
|
|
325
|
+
//
|
|
326
|
+
// See: https://github.com/w3c/csswg-drafts/issues/1915
|
|
327
|
+
*specificity += Specificity::from(selector.specificity());
|
|
328
|
+
}
|
|
329
|
+
flags.insert(selector.flags());
|
|
330
|
+
},
|
|
331
|
+
Component::Host(ref selector) => {
|
|
332
|
+
flags.insert(SelectorFlags::HAS_HOST);
|
|
333
|
+
specificity.class_like_selectors += 1;
|
|
334
|
+
if let Some(ref selector) = *selector {
|
|
335
|
+
// See: https://github.com/w3c/csswg-drafts/issues/1915
|
|
336
|
+
*specificity += Specificity::from(selector.specificity());
|
|
337
|
+
flags.insert(selector.flags());
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
Component::ID(..) => {
|
|
341
|
+
specificity.id_selectors += 1;
|
|
342
|
+
},
|
|
343
|
+
Component::Class(..)
|
|
344
|
+
| Component::AttributeInNoNamespace { .. }
|
|
345
|
+
| Component::AttributeInNoNamespaceExists { .. }
|
|
346
|
+
| Component::AttributeOther(..)
|
|
347
|
+
| Component::Root
|
|
348
|
+
| Component::Empty
|
|
349
|
+
| Component::Nth(..)
|
|
350
|
+
| Component::NonTSPseudoClass(..) => {
|
|
351
|
+
specificity.class_like_selectors += 1;
|
|
352
|
+
},
|
|
353
|
+
Component::Scope | Component::ImplicitScope => {
|
|
354
|
+
flags.insert(SelectorFlags::HAS_SCOPE);
|
|
355
|
+
if matches!(*simple_selector, Component::Scope) {
|
|
356
|
+
specificity.class_like_selectors += 1;
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
Component::NthOf(ref nth_of_data) => {
|
|
360
|
+
// https://drafts.csswg.org/selectors/#specificity-rules:
|
|
361
|
+
//
|
|
362
|
+
// The specificity of the :nth-last-child() pseudo-class,
|
|
363
|
+
// like the :nth-child() pseudo-class, combines the
|
|
364
|
+
// specificity of a regular pseudo-class with that of its
|
|
365
|
+
// selector argument S.
|
|
366
|
+
specificity.class_like_selectors += 1;
|
|
367
|
+
let sf = selector_list_specificity_and_flags(
|
|
368
|
+
nth_of_data.selectors().iter(),
|
|
369
|
+
for_nesting_parent,
|
|
370
|
+
);
|
|
371
|
+
*specificity += Specificity::from(sf.specificity);
|
|
372
|
+
flags.insert(sf.flags);
|
|
373
|
+
},
|
|
374
|
+
// https://drafts.csswg.org/selectors/#specificity-rules:
|
|
375
|
+
//
|
|
376
|
+
// The specificity of an :is(), :not(), or :has() pseudo-class
|
|
377
|
+
// is replaced by the specificity of the most specific complex
|
|
378
|
+
// selector in its selector list argument.
|
|
379
|
+
Component::Where(ref list)
|
|
380
|
+
| Component::Negation(ref list)
|
|
381
|
+
| Component::Is(ref list) => {
|
|
382
|
+
let sf = selector_list_specificity_and_flags(
|
|
383
|
+
list.slice().iter(),
|
|
384
|
+
/* nested = */ true,
|
|
385
|
+
);
|
|
386
|
+
if !matches!(*simple_selector, Component::Where(..)) {
|
|
387
|
+
*specificity += Specificity::from(sf.specificity);
|
|
388
|
+
}
|
|
389
|
+
flags.insert(sf.flags);
|
|
390
|
+
},
|
|
391
|
+
Component::Has(ref relative_selectors) => {
|
|
392
|
+
let sf = relative_selector_list_specificity_and_flags(
|
|
393
|
+
relative_selectors,
|
|
394
|
+
for_nesting_parent,
|
|
395
|
+
);
|
|
396
|
+
*specificity += Specificity::from(sf.specificity);
|
|
397
|
+
flags.insert(sf.flags);
|
|
398
|
+
},
|
|
399
|
+
Component::ExplicitUniversalType
|
|
400
|
+
| Component::ExplicitAnyNamespace
|
|
401
|
+
| Component::ExplicitNoNamespace
|
|
402
|
+
| Component::DefaultNamespace(..)
|
|
403
|
+
| Component::Namespace(..)
|
|
404
|
+
| Component::RelativeSelectorAnchor
|
|
405
|
+
| Component::Invalid(..) => {
|
|
406
|
+
// Does not affect specificity
|
|
407
|
+
},
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
let mut specificity = Default::default();
|
|
412
|
+
let mut flags = Default::default();
|
|
413
|
+
for simple_selector in iter {
|
|
414
|
+
component_specificity(
|
|
415
|
+
&simple_selector,
|
|
416
|
+
&mut specificity,
|
|
417
|
+
&mut flags,
|
|
418
|
+
for_nesting_parent,
|
|
419
|
+
);
|
|
420
|
+
}
|
|
421
|
+
SpecificityAndFlags {
|
|
422
|
+
specificity: specificity.into(),
|
|
423
|
+
flags,
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/// Finds the maximum specificity of elements in the list and returns it.
|
|
428
|
+
pub(crate) fn selector_list_specificity_and_flags<'a, Impl: SelectorImpl>(
|
|
429
|
+
itr: impl Iterator<Item = &'a Selector<Impl>>,
|
|
430
|
+
for_nesting_parent: bool,
|
|
431
|
+
) -> SpecificityAndFlags {
|
|
432
|
+
let mut specificity = 0;
|
|
433
|
+
let mut flags = SelectorFlags::empty();
|
|
434
|
+
for selector in itr {
|
|
435
|
+
let selector_flags = selector.flags();
|
|
436
|
+
let selector_specificity = if for_nesting_parent
|
|
437
|
+
&& selector_flags.intersects(SelectorFlags::forbidden_for_nesting())
|
|
438
|
+
{
|
|
439
|
+
// In this case we need to re-compute the specificity.
|
|
440
|
+
specificity_and_flags(selector.iter_raw_match_order(), for_nesting_parent).specificity
|
|
441
|
+
} else {
|
|
442
|
+
selector.specificity()
|
|
443
|
+
};
|
|
444
|
+
specificity = std::cmp::max(specificity, selector_specificity);
|
|
445
|
+
flags.insert(selector.flags());
|
|
446
|
+
}
|
|
447
|
+
SpecificityAndFlags { specificity, flags }
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
pub(crate) fn relative_selector_list_specificity_and_flags<Impl: SelectorImpl>(
|
|
451
|
+
list: &[RelativeSelector<Impl>],
|
|
452
|
+
for_nesting_parent: bool,
|
|
453
|
+
) -> SpecificityAndFlags {
|
|
454
|
+
selector_list_specificity_and_flags(list.iter().map(|rel| &rel.selector), for_nesting_parent)
|
|
455
|
+
}
|