diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8004e1b83..b8c44a8bc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -216,6 +216,35 @@ jobs: - name: Clang run: nix develop .#clang --command bash -c 'export CC=gcc; just ffi test cpp && just ffi moq-cpp' + # The pinned corpus of popular crates, each censused, exported through a facade, and + # bound in every language: a panic, an error, or a binding that does not build fails it. + # Their build scripts run here, on a runner of its own holding no secret. + ffi-corpus: + name: Export the crate corpus (${{ matrix.shard }}/4) + runs-on: ubuntu-24.04-arm + timeout-minutes: 120 + strategy: + fail-fast: false + matrix: + shard: [1, 2, 3, 4] + + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - uses: ./.github/actions/nix + + - name: Corpus + run: nix develop --command just ffi corpus + env: + CORPUS_SHARD: ${{ matrix.shard }}/4 + + - name: Summarize + if: ${{ !cancelled() }} + run: cat ffi/target/tmp/corpus-${{ matrix.shard }}-of-4/report.md >> "$GITHUB_STEP_SUMMARY" + # The api fixture's web test in headless Chromium and Firefox, which only the bench shell # carries: a job of its own, so a browser's failure hides no other result. ffi-web: @@ -447,7 +476,7 @@ jobs: # schedule, which runs main, gets the write token: a dispatch can run any branch. report: name: Report - needs: [bindings, gate, ts, bench, ffi-api, ffi, ffi-web, ffi-sanitize, ffi-cpp, ffi-android, ffi-bench, census] + needs: [bindings, gate, ts, bench, ffi-api, ffi, ffi-corpus, ffi-web, ffi-sanitize, ffi-cpp, ffi-android, ffi-bench, census] if: ${{ !cancelled() && github.event_name == 'schedule' }} runs-on: ubuntu-24.04 timeout-minutes: 5 diff --git a/ffi/README.md b/ffi/README.md index e10722bb7..f58368a0c 100644 --- a/ffi/README.md +++ b/ffi/README.md @@ -106,7 +106,7 @@ public path names, or an error taken by value, is held by value as an opaque han | `fn` and inherent `pub` methods | functions named through their type | | an object's `Deref` to an exported type, followed as far as the chain reaches | the target's `pub` methods and fields, a record's too, on the object, as auto-deref finds them: a method the object or a nearer target has, exported or not, hides a method, and a field a field; a `&mut self` method or a setter only while every `Deref` on the way is a `DerefMut`; and the config names each by the object's path | | a `()` parameter of a function, not of a callback's method | nothing: C passes no argument for it | -| `Result` | `bool f(..., T *out, E *err)`; an `E` of another crate that implements `Display`, such as `anyhow::Error` or `io::Error`, is `String`, its message | +| `Result` | `bool f(..., T *out, E *err)`; an `E` of another crate that implements `Display`, such as `anyhow::Error` or `io::Error`, is `String`, its message; a `()` error, as once_cell's `race::OnceBool::set` returns, is refused, having no value to raise | | a returned tuple `(A, B)` | one out pointer each: `void f(..., A *out0, B *out1)` | | a tuple inside another type, or as a field or parameter | `_tuple__`: a struct of fields `_0`, `_1`, and so on; of references only returned | | `async fn`, or a return that implements `Future` | a future: `f` makes it, `f_poll` polls it, `f_future_free` drops it, and `f_start` makes it and polls it once, returning a handle only if it pends; a function that is not `async` runs at the call, as in Rust, and when its future borrows the arguments, the future owns them as an `async fn`'s does, holding each in place until it drops | @@ -1315,6 +1315,8 @@ runtime package and each crate's include [`runtime/rt.go`](runtime/rt.go) and `--census dir` exports nothing. It writes `.md` for the facade, which counts what exports and ranks every refusal by construct and by the type it names, lists each refused item at its span, then the `exclude` list that exports the rest, and what else it left out, such as what C can never hold and the traits C cannot implement, and why. +That list is checked by collecting again with it: it holds what Swift alone refuses, and +not an instance only refused items named, which nothing names once they are left out. It ignores the config's `exclude`, but lists each exclude that leaves out an item that would export, and fails on it, so the list holds only what the export refuses. It also fails on an `instance not inferred` refusal, which is a bug in the exporter's inference @@ -1443,6 +1445,8 @@ just ffi moq-swift # the same export, running only moq/moq.swift just ffi moq-api # stage moq's API on another target into target/moq-api, which the exports above merge just ffi census # census each into target/census just ffi shapes # round-trip every sampled type shape in every language but KNOWN's, as the nightly does +just ffi corpus # census, export, and bind each crate of corpus/crates.txt through a facade, as the nightly does; it runs their build scripts +just ffi corpus-update # take corpus/crates.txt afresh from crates.io's top crates, and resolve corpus/Cargo.lock just ffi protocol # run longer protocol scripts from more seeds through the C ABI and every binding, as the nightly does nix develop .#bench --command just ffi browsers # api's TypeScript in headless Chromium and Firefox, as the nightly runs it nix develop .#android --command just ffi android # the Kotlin test, shrunk by R8, on the Android device adb reaches @@ -1502,6 +1506,16 @@ the nightly does. `KNOWN` lists what a binding still gets wrong, each with the q fixes it; the driver skips those shapes, so the fix deletes its entry, and the nightly fails on an entry that matches no exported shape. A new IR `Type` variant fails `ir_covered` until the sampler covers it. +The corpus (`tests/fixtures/corpus.rs`) exports stock crates as a consumer would: each +crate of `corpus/crates.txt`, the top crates on crates.io by downloads that are libraries +building as they are, pinned by `corpus/Cargo.lock`, through a facade of its own, `pub use +::*;`. Each is censused, then exported with the `exclude` its census writes, and +its glue, C and C++ programs including its headers (compiled, not linked, since a crate +may call a platform library the host lacks), its Kotlin, Python, Swift, Go, and Dart +built; a panic, an error, or a binding that does not build fails it, a refusal not. +Its `KNOWN` lists the crates it fails on today, each with the quest that fixes it or why +none can, which it skips. The nightly runs it in four shards, `CORPUS_SHARD=i/4`, and each writes a report +of every crate's refusals and failures. The protocol tests run random sequences of borrows, exclusive lends, moves, drops, frees, polls, and cancels over the api fixture's checked types, on the thread that made a value and another, against `tests/protocol/model.rs`: an executable model of what this README diff --git a/ffi/corpus/Cargo.lock b/ffi/corpus/Cargo.lock new file mode 100644 index 000000000..d21fe0ef9 --- /dev/null +++ b/ffi/corpus/Cargo.lock @@ -0,0 +1,5729 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "addr2line" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e567177890eb1617b1f774005b66b26b2377afd138a2ca37aae7d8f0c81429d4" +dependencies = [ + "cpp_demangle", + "fallible-iterator", + "gimli", + "memmap2", + "object 0.40.0", + "rustc-demangle", + "smallvec", + "typed-arena", +] + +[[package]] +name = "adler2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "getrandom 0.3.4", + "once_cell", + "version_check", + "zerocopy", +] + +[[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 = "allocator-api2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c880a97d28a3681c0267bd29cff89621202715b065127cd445fa0f0fe0aa2880" + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "aws-lc-rs" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048006790404103c488e6c5616b3e7e702a71292aadda08e8f7698a9e0d2eb53" +dependencies = [ + "aws-lc-sys", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bfbe32ac36b3c428696ce315464181bc4029d689fd58e3f2a4e58c252242f52" +dependencies = [ + "cc", + "cmake", + "dunce", + "fs_extra", + "pkg-config", +] + +[[package]] +name = "axum" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" +dependencies = [ + "axum-core", + "bytes", + "form_urlencoded", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "itoa", + "matchit 0.8.4", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "serde_core", + "serde_json", + "serde_path_to_error", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "axum-core" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "http-body-util", + "mime", + "pin-project-lite", + "sync_wrapper", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "backtrace" +version = "0.3.77" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f4220217f3288537b83684130f42fad43320b1c3b805f1910d683d52ded24f" +dependencies = [ + "addr2line", + "cfg-if", + "libc", + "miniz_oxide", + "object 0.40.0", + "rustc-demangle", + "windows-link 0.2.1", +] + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "bit-set" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72503af1e72be411d74ca45cd6b309878fcb35354e252fc2a3a8bda3a97082a0" +dependencies = [ + "borsh", + "serde", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "borsh" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a" +dependencies = [ + "borsh-derive", + "bytes", + "cfg_aliases", +] + +[[package]] +name = "borsh-derive" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12cdfe656708a01f89b451a7d36466e6fe6c414de0aa18fc54f864f6f9ca9f56" +dependencies = [ + "once_cell", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "bstr" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a680398c10c7bc0488067c4612226ea905a85f607134b69f3068d505d58c4214" +dependencies = [ + "memchr", + "regex-automata", + "serde_core", +] + +[[package]] +name = "bumpalo" +version = "3.20.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c" + +[[package]] +name = "cc" +version = "1.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures", + "rand_core", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "js-sys", + "num-traits", + "wasm-bindgen", + "windows-link 0.2.1", +] + +[[package]] +name = "clap" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac230478587d0269d8d6998b82ae69ea51509d55df66d9e92edd1f986904cd4a" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "clap_builder" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_lex" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79" + +[[package]] +name = "cmake" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" +dependencies = [ + "cc", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const-oid" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a" + +[[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 = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "core_detect" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" + +[[package]] +name = "corpus-addr2line" +version = "0.0.0" +dependencies = [ + "addr2line", +] + +[[package]] +name = "corpus-adler2" +version = "0.0.0" +dependencies = [ + "adler2", +] + +[[package]] +name = "corpus-ahash" +version = "0.0.0" +dependencies = [ + "ahash", +] + +[[package]] +name = "corpus-aho-corasick" +version = "0.0.0" +dependencies = [ + "aho-corasick", +] + +[[package]] +name = "corpus-allocator-api2" +version = "0.0.0" +dependencies = [ + "allocator-api2 0.4.0", +] + +[[package]] +name = "corpus-anstream" +version = "0.0.0" +dependencies = [ + "anstream", +] + +[[package]] +name = "corpus-anstyle" +version = "0.0.0" +dependencies = [ + "anstyle", +] + +[[package]] +name = "corpus-anstyle-parse" +version = "0.0.0" +dependencies = [ + "anstyle-parse", +] + +[[package]] +name = "corpus-anstyle-query" +version = "0.0.0" +dependencies = [ + "anstyle-query", +] + +[[package]] +name = "corpus-anyhow" +version = "0.0.0" +dependencies = [ + "anyhow", +] + +[[package]] +name = "corpus-arrayvec" +version = "0.0.0" +dependencies = [ + "arrayvec", +] + +[[package]] +name = "corpus-atomic-waker" +version = "0.0.0" +dependencies = [ + "atomic-waker", +] + +[[package]] +name = "corpus-autocfg" +version = "0.0.0" +dependencies = [ + "autocfg", +] + +[[package]] +name = "corpus-axum" +version = "0.0.0" +dependencies = [ + "axum", +] + +[[package]] +name = "corpus-axum-core" +version = "0.0.0" +dependencies = [ + "axum-core", +] + +[[package]] +name = "corpus-backtrace" +version = "0.0.0" +dependencies = [ + "backtrace", +] + +[[package]] +name = "corpus-base64" +version = "0.0.0" +dependencies = [ + "base64", +] + +[[package]] +name = "corpus-bit-set" +version = "0.0.0" +dependencies = [ + "bit-set", +] + +[[package]] +name = "corpus-bit-vec" +version = "0.0.0" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "corpus-bitflags" +version = "0.0.0" +dependencies = [ + "bitflags", +] + +[[package]] +name = "corpus-block-buffer" +version = "0.0.0" +dependencies = [ + "block-buffer", +] + +[[package]] +name = "corpus-bstr" +version = "0.0.0" +dependencies = [ + "bstr", +] + +[[package]] +name = "corpus-bumpalo" +version = "0.0.0" +dependencies = [ + "bumpalo", +] + +[[package]] +name = "corpus-byteorder" +version = "0.0.0" +dependencies = [ + "byteorder", +] + +[[package]] +name = "corpus-bytes" +version = "0.0.0" +dependencies = [ + "bytes", +] + +[[package]] +name = "corpus-cc" +version = "0.0.0" +dependencies = [ + "cc", +] + +[[package]] +name = "corpus-cfg-if" +version = "0.0.0" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "corpus-cfg_aliases" +version = "0.0.0" +dependencies = [ + "cfg_aliases", +] + +[[package]] +name = "corpus-chrono" +version = "0.0.0" +dependencies = [ + "chrono", +] + +[[package]] +name = "corpus-clap" +version = "0.0.0" +dependencies = [ + "clap", +] + +[[package]] +name = "corpus-clap_builder" +version = "0.0.0" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "corpus-clap_lex" +version = "0.0.0" +dependencies = [ + "clap_lex", +] + +[[package]] +name = "corpus-colorchoice" +version = "0.0.0" +dependencies = [ + "colorchoice", +] + +[[package]] +name = "corpus-const-oid" +version = "0.0.0" +dependencies = [ + "const-oid", +] + +[[package]] +name = "corpus-convert_case" +version = "0.0.0" +dependencies = [ + "convert_case", +] + +[[package]] +name = "corpus-core-foundation" +version = "0.0.0" +dependencies = [ + "core-foundation 0.10.1", +] + +[[package]] +name = "corpus-cpufeatures" +version = "0.0.0" +dependencies = [ + "cpufeatures", +] + +[[package]] +name = "corpus-crc32fast" +version = "0.0.0" +dependencies = [ + "crc32fast", +] + +[[package]] +name = "corpus-crossbeam-channel" +version = "0.0.0" +dependencies = [ + "crossbeam-channel", +] + +[[package]] +name = "corpus-crossbeam-deque" +version = "0.0.0" +dependencies = [ + "crossbeam-deque", +] + +[[package]] +name = "corpus-crossbeam-epoch" +version = "0.0.0" +dependencies = [ + "crossbeam-epoch", +] + +[[package]] +name = "corpus-crossbeam-utils" +version = "0.0.0" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "corpus-crypto-common" +version = "0.0.0" +dependencies = [ + "crypto-common", +] + +[[package]] +name = "corpus-darling" +version = "0.0.0" +dependencies = [ + "darling", +] + +[[package]] +name = "corpus-darling_core" +version = "0.0.0" +dependencies = [ + "darling_core", +] + +[[package]] +name = "corpus-data-encoding" +version = "0.0.0" +dependencies = [ + "data-encoding", +] + +[[package]] +name = "corpus-der" +version = "0.0.0" +dependencies = [ + "der", +] + +[[package]] +name = "corpus-deranged" +version = "0.0.0" +dependencies = [ + "deranged", +] + +[[package]] +name = "corpus-digest" +version = "0.0.0" +dependencies = [ + "digest", +] + +[[package]] +name = "corpus-either" +version = "0.0.0" +dependencies = [ + "either", +] + +[[package]] +name = "corpus-encoding_rs" +version = "0.0.0" +dependencies = [ + "encoding_rs", +] + +[[package]] +name = "corpus-env_logger" +version = "0.0.0" +dependencies = [ + "env_logger", +] + +[[package]] +name = "corpus-equivalent" +version = "0.0.0" +dependencies = [ + "equivalent", +] + +[[package]] +name = "corpus-errno" +version = "0.0.0" +dependencies = [ + "errno", +] + +[[package]] +name = "corpus-event-listener" +version = "0.0.0" +dependencies = [ + "event-listener", +] + +[[package]] +name = "corpus-fastrand" +version = "0.0.0" +dependencies = [ + "fastrand", +] + +[[package]] +name = "corpus-find-msvc-tools" +version = "0.0.0" +dependencies = [ + "find-msvc-tools", +] + +[[package]] +name = "corpus-fixedbitset" +version = "0.0.0" +dependencies = [ + "fixedbitset", +] + +[[package]] +name = "corpus-flate2" +version = "0.0.0" +dependencies = [ + "flate2", +] + +[[package]] +name = "corpus-fnv" +version = "0.0.0" +dependencies = [ + "fnv", +] + +[[package]] +name = "corpus-foldhash" +version = "0.0.0" +dependencies = [ + "foldhash 0.2.0", +] + +[[package]] +name = "corpus-foreign-types" +version = "0.0.0" +dependencies = [ + "foreign-types", +] + +[[package]] +name = "corpus-form_urlencoded" +version = "0.0.0" +dependencies = [ + "form_urlencoded", +] + +[[package]] +name = "corpus-futures" +version = "0.0.0" +dependencies = [ + "futures", +] + +[[package]] +name = "corpus-futures-channel" +version = "0.0.0" +dependencies = [ + "futures-channel", +] + +[[package]] +name = "corpus-futures-core" +version = "0.0.0" +dependencies = [ + "futures-core", +] + +[[package]] +name = "corpus-futures-executor" +version = "0.0.0" +dependencies = [ + "futures-executor", +] + +[[package]] +name = "corpus-futures-io" +version = "0.0.0" +dependencies = [ + "futures-io", +] + +[[package]] +name = "corpus-futures-sink" +version = "0.0.0" +dependencies = [ + "futures-sink", +] + +[[package]] +name = "corpus-futures-task" +version = "0.0.0" +dependencies = [ + "futures-task", +] + +[[package]] +name = "corpus-futures-util" +version = "0.0.0" +dependencies = [ + "futures-util", +] + +[[package]] +name = "corpus-generic-array" +version = "0.0.0" +dependencies = [ + "generic-array", +] + +[[package]] +name = "corpus-getrandom" +version = "0.0.0" +dependencies = [ + "getrandom 0.4.3", +] + +[[package]] +name = "corpus-gimli" +version = "0.0.0" +dependencies = [ + "gimli", +] + +[[package]] +name = "corpus-glob" +version = "0.0.0" +dependencies = [ + "glob", +] + +[[package]] +name = "corpus-h2" +version = "0.0.0" +dependencies = [ + "h2", +] + +[[package]] +name = "corpus-half" +version = "0.0.0" +dependencies = [ + "half", +] + +[[package]] +name = "corpus-hashbrown" +version = "0.0.0" +dependencies = [ + "hashbrown 0.17.1", +] + +[[package]] +name = "corpus-heck" +version = "0.0.0" +dependencies = [ + "heck", +] + +[[package]] +name = "corpus-hermit-abi" +version = "0.0.0" +dependencies = [ + "hermit-abi", +] + +[[package]] +name = "corpus-hex" +version = "0.0.0" +dependencies = [ + "hex", +] + +[[package]] +name = "corpus-hmac" +version = "0.0.0" +dependencies = [ + "hmac", +] + +[[package]] +name = "corpus-http" +version = "0.0.0" +dependencies = [ + "http", +] + +[[package]] +name = "corpus-http-body" +version = "0.0.0" +dependencies = [ + "http-body", +] + +[[package]] +name = "corpus-http-body-util" +version = "0.0.0" +dependencies = [ + "http-body-util", +] + +[[package]] +name = "corpus-httparse" +version = "0.0.0" +dependencies = [ + "httparse", +] + +[[package]] +name = "corpus-httpdate" +version = "0.0.0" +dependencies = [ + "httpdate", +] + +[[package]] +name = "corpus-hyper" +version = "0.0.0" +dependencies = [ + "hyper", +] + +[[package]] +name = "corpus-hyper-rustls" +version = "0.0.0" +dependencies = [ + "hyper-rustls", +] + +[[package]] +name = "corpus-hyper-util" +version = "0.0.0" +dependencies = [ + "hyper-util", +] + +[[package]] +name = "corpus-iana-time-zone" +version = "0.0.0" +dependencies = [ + "iana-time-zone", +] + +[[package]] +name = "corpus-icu_collections" +version = "0.0.0" +dependencies = [ + "icu_collections", +] + +[[package]] +name = "corpus-icu_locale_core" +version = "0.0.0" +dependencies = [ + "icu_locale_core", +] + +[[package]] +name = "corpus-icu_normalizer" +version = "0.0.0" +dependencies = [ + "icu_normalizer", +] + +[[package]] +name = "corpus-icu_normalizer_data" +version = "0.0.0" +dependencies = [ + "icu_normalizer_data", +] + +[[package]] +name = "corpus-icu_properties" +version = "0.0.0" +dependencies = [ + "icu_properties", +] + +[[package]] +name = "corpus-icu_properties_data" +version = "0.0.0" +dependencies = [ + "icu_properties_data", +] + +[[package]] +name = "corpus-icu_provider" +version = "0.0.0" +dependencies = [ + "icu_provider", +] + +[[package]] +name = "corpus-ident_case" +version = "0.0.0" +dependencies = [ + "ident_case", +] + +[[package]] +name = "corpus-idna" +version = "0.0.0" +dependencies = [ + "idna", +] + +[[package]] +name = "corpus-idna_adapter" +version = "0.0.0" +dependencies = [ + "idna_adapter", +] + +[[package]] +name = "corpus-indexmap" +version = "0.0.0" +dependencies = [ + "indexmap", +] + +[[package]] +name = "corpus-ipnet" +version = "0.0.0" +dependencies = [ + "ipnet", +] + +[[package]] +name = "corpus-is_terminal_polyfill" +version = "0.0.0" +dependencies = [ + "is_terminal_polyfill", +] + +[[package]] +name = "corpus-itertools" +version = "0.0.0" +dependencies = [ + "itertools", +] + +[[package]] +name = "corpus-itoa" +version = "0.0.0" +dependencies = [ + "itoa", +] + +[[package]] +name = "corpus-jobserver" +version = "0.0.0" +dependencies = [ + "jobserver", +] + +[[package]] +name = "corpus-js-sys" +version = "0.0.0" +dependencies = [ + "js-sys", +] + +[[package]] +name = "corpus-lazy_static" +version = "0.0.0" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "corpus-libc" +version = "0.0.0" +dependencies = [ + "libc", +] + +[[package]] +name = "corpus-libloading" +version = "0.0.0" +dependencies = [ + "libloading", +] + +[[package]] +name = "corpus-libm" +version = "0.0.0" +dependencies = [ + "libm", +] + +[[package]] +name = "corpus-linux-raw-sys" +version = "0.0.0" +dependencies = [ + "linux-raw-sys", +] + +[[package]] +name = "corpus-litemap" +version = "0.0.0" +dependencies = [ + "litemap", +] + +[[package]] +name = "corpus-lock_api" +version = "0.0.0" +dependencies = [ + "lock_api 0.5.0", +] + +[[package]] +name = "corpus-log" +version = "0.0.0" +dependencies = [ + "log", +] + +[[package]] +name = "corpus-matchers" +version = "0.0.0" +dependencies = [ + "matchers", +] + +[[package]] +name = "corpus-matchit" +version = "0.0.0" +dependencies = [ + "matchit 0.9.2", +] + +[[package]] +name = "corpus-memchr" +version = "0.0.0" +dependencies = [ + "memchr", +] + +[[package]] +name = "corpus-memoffset" +version = "0.0.0" +dependencies = [ + "memoffset", +] + +[[package]] +name = "corpus-mime" +version = "0.0.0" +dependencies = [ + "mime", +] + +[[package]] +name = "corpus-minimal-lexical" +version = "0.0.0" +dependencies = [ + "minimal-lexical", +] + +[[package]] +name = "corpus-miniz_oxide" +version = "0.0.0" +dependencies = [ + "miniz_oxide", +] + +[[package]] +name = "corpus-mio" +version = "0.0.0" +dependencies = [ + "mio", +] + +[[package]] +name = "corpus-nix" +version = "0.0.0" +dependencies = [ + "nix", +] + +[[package]] +name = "corpus-nom" +version = "0.0.0" +dependencies = [ + "nom", +] + +[[package]] +name = "corpus-nu-ansi-term" +version = "0.0.0" +dependencies = [ + "nu-ansi-term", +] + +[[package]] +name = "corpus-num-bigint" +version = "0.0.0" +dependencies = [ + "num-bigint", +] + +[[package]] +name = "corpus-num-conv" +version = "0.0.0" +dependencies = [ + "num-conv", +] + +[[package]] +name = "corpus-num-integer" +version = "0.0.0" +dependencies = [ + "num-integer", +] + +[[package]] +name = "corpus-num-traits" +version = "0.0.0" +dependencies = [ + "num-traits", +] + +[[package]] +name = "corpus-num_cpus" +version = "0.0.0" +dependencies = [ + "num_cpus", +] + +[[package]] +name = "corpus-object" +version = "0.0.0" +dependencies = [ + "object 0.41.0", +] + +[[package]] +name = "corpus-once_cell" +version = "0.0.0" +dependencies = [ + "once_cell", +] + +[[package]] +name = "corpus-openssl-probe" +version = "0.0.0" +dependencies = [ + "openssl-probe", +] + +[[package]] +name = "corpus-ordered-float" +version = "0.0.0" +dependencies = [ + "ordered-float", +] + +[[package]] +name = "corpus-parking_lot" +version = "0.0.0" +dependencies = [ + "parking_lot", +] + +[[package]] +name = "corpus-parking_lot_core" +version = "0.0.0" +dependencies = [ + "parking_lot_core", +] + +[[package]] +name = "corpus-percent-encoding" +version = "0.0.0" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "corpus-petgraph" +version = "0.0.0" +dependencies = [ + "petgraph", +] + +[[package]] +name = "corpus-phf" +version = "0.0.0" +dependencies = [ + "phf", +] + +[[package]] +name = "corpus-phf_generator" +version = "0.0.0" +dependencies = [ + "phf_generator", +] + +[[package]] +name = "corpus-phf_shared" +version = "0.0.0" +dependencies = [ + "phf_shared", +] + +[[package]] +name = "corpus-pin-project" +version = "0.0.0" +dependencies = [ + "pin-project", +] + +[[package]] +name = "corpus-pin-project-lite" +version = "0.0.0" +dependencies = [ + "pin-project-lite", +] + +[[package]] +name = "corpus-pin-utils" +version = "0.0.0" +dependencies = [ + "pin-utils", +] + +[[package]] +name = "corpus-pkg-config" +version = "0.0.0" +dependencies = [ + "pkg-config", +] + +[[package]] +name = "corpus-portable-atomic" +version = "0.0.0" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "corpus-potential_utf" +version = "0.0.0" +dependencies = [ + "potential_utf", +] + +[[package]] +name = "corpus-powerfmt" +version = "0.0.0" +dependencies = [ + "powerfmt", +] + +[[package]] +name = "corpus-ppv-lite86" +version = "0.0.0" +dependencies = [ + "ppv-lite86", +] + +[[package]] +name = "corpus-prettyplease" +version = "0.0.0" +dependencies = [ + "prettyplease", +] + +[[package]] +name = "corpus-proc-macro-crate" +version = "0.0.0" +dependencies = [ + "proc-macro-crate", +] + +[[package]] +name = "corpus-proc-macro2" +version = "0.0.0" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "corpus-prost" +version = "0.0.0" +dependencies = [ + "prost", +] + +[[package]] +name = "corpus-prost-types" +version = "0.0.0" +dependencies = [ + "prost-types", +] + +[[package]] +name = "corpus-quick-xml" +version = "0.0.0" +dependencies = [ + "quick-xml", +] + +[[package]] +name = "corpus-quote" +version = "0.0.0" +dependencies = [ + "quote", +] + +[[package]] +name = "corpus-r-efi" +version = "0.0.0" +dependencies = [ + "r-efi 7.2.0", +] + +[[package]] +name = "corpus-rand" +version = "0.0.0" +dependencies = [ + "rand", +] + +[[package]] +name = "corpus-rand_chacha" +version = "0.0.0" +dependencies = [ + "rand_chacha", +] + +[[package]] +name = "corpus-rand_core" +version = "0.0.0" +dependencies = [ + "rand_core", +] + +[[package]] +name = "corpus-rayon" +version = "0.0.0" +dependencies = [ + "rayon", +] + +[[package]] +name = "corpus-rayon-core" +version = "0.0.0" +dependencies = [ + "rayon-core", +] + +[[package]] +name = "corpus-redox_syscall" +version = "0.0.0" +dependencies = [ + "redox_syscall", +] + +[[package]] +name = "corpus-regex" +version = "0.0.0" +dependencies = [ + "regex", +] + +[[package]] +name = "corpus-regex-automata" +version = "0.0.0" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "corpus-regex-syntax" +version = "0.0.0" +dependencies = [ + "regex-syntax", +] + +[[package]] +name = "corpus-reqwest" +version = "0.0.0" +dependencies = [ + "reqwest", +] + +[[package]] +name = "corpus-ring" +version = "0.0.0" +dependencies = [ + "ring", +] + +[[package]] +name = "corpus-rustc-demangle" +version = "0.0.0" +dependencies = [ + "rustc-demangle", +] + +[[package]] +name = "corpus-rustc-hash" +version = "0.0.0" +dependencies = [ + "rustc-hash", +] + +[[package]] +name = "corpus-rustc_version" +version = "0.0.0" +dependencies = [ + "rustc_version", +] + +[[package]] +name = "corpus-rustix" +version = "0.0.0" +dependencies = [ + "rustix", +] + +[[package]] +name = "corpus-rustls" +version = "0.0.0" +dependencies = [ + "rustls", +] + +[[package]] +name = "corpus-rustls-native-certs" +version = "0.0.0" +dependencies = [ + "rustls-native-certs", +] + +[[package]] +name = "corpus-rustls-pemfile" +version = "0.0.0" +dependencies = [ + "rustls-pemfile", +] + +[[package]] +name = "corpus-rustls-pki-types" +version = "0.0.0" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "corpus-rustls-webpki" +version = "0.0.0" +dependencies = [ + "rustls-webpki", +] + +[[package]] +name = "corpus-ryu" +version = "0.0.0" +dependencies = [ + "ryu", +] + +[[package]] +name = "corpus-same-file" +version = "0.0.0" +dependencies = [ + "same-file", +] + +[[package]] +name = "corpus-schemars" +version = "0.0.0" +dependencies = [ + "schemars", +] + +[[package]] +name = "corpus-scopeguard" +version = "0.0.0" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "corpus-semver" +version = "0.0.0" +dependencies = [ + "semver", +] + +[[package]] +name = "corpus-serde" +version = "0.0.0" +dependencies = [ + "serde", +] + +[[package]] +name = "corpus-serde_core" +version = "0.0.0" +dependencies = [ + "serde_core", +] + +[[package]] +name = "corpus-serde_json" +version = "0.0.0" +dependencies = [ + "serde_json", +] + +[[package]] +name = "corpus-serde_spanned" +version = "0.0.0" +dependencies = [ + "serde_spanned", +] + +[[package]] +name = "corpus-serde_urlencoded" +version = "0.0.0" +dependencies = [ + "serde_urlencoded", +] + +[[package]] +name = "corpus-sha1" +version = "0.0.0" +dependencies = [ + "sha1", +] + +[[package]] +name = "corpus-sha2" +version = "0.0.0" +dependencies = [ + "sha2", +] + +[[package]] +name = "corpus-sharded-slab" +version = "0.0.0" +dependencies = [ + "sharded-slab", +] + +[[package]] +name = "corpus-shlex" +version = "0.0.0" +dependencies = [ + "shlex", +] + +[[package]] +name = "corpus-signal-hook-registry" +version = "0.0.0" +dependencies = [ + "signal-hook-registry", +] + +[[package]] +name = "corpus-signature" +version = "0.0.0" +dependencies = [ + "signature", +] + +[[package]] +name = "corpus-simd-adler32" +version = "0.0.0" +dependencies = [ + "simd-adler32", +] + +[[package]] +name = "corpus-siphasher" +version = "0.0.0" +dependencies = [ + "siphasher", +] + +[[package]] +name = "corpus-slab" +version = "0.0.0" +dependencies = [ + "slab", +] + +[[package]] +name = "corpus-smallvec" +version = "0.0.0" +dependencies = [ + "smallvec", +] + +[[package]] +name = "corpus-socket2" +version = "0.0.0" +dependencies = [ + "socket2", +] + +[[package]] +name = "corpus-spin" +version = "0.0.0" +dependencies = [ + "spin", +] + +[[package]] +name = "corpus-spki" +version = "0.0.0" +dependencies = [ + "spki", +] + +[[package]] +name = "corpus-stable_deref_trait" +version = "0.0.0" +dependencies = [ + "stable_deref_trait", +] + +[[package]] +name = "corpus-static_assertions" +version = "0.0.0" +dependencies = [ + "static_assertions", +] + +[[package]] +name = "corpus-strsim" +version = "0.0.0" +dependencies = [ + "strsim", +] + +[[package]] +name = "corpus-strum" +version = "0.0.0" +dependencies = [ + "strum", +] + +[[package]] +name = "corpus-subtle" +version = "0.0.0" +dependencies = [ + "subtle", +] + +[[package]] +name = "corpus-syn" +version = "0.0.0" +dependencies = [ + "syn 3.0.10", +] + +[[package]] +name = "corpus-sync_wrapper" +version = "0.0.0" +dependencies = [ + "sync_wrapper", +] + +[[package]] +name = "corpus-synstructure" +version = "0.0.0" +dependencies = [ + "synstructure", +] + +[[package]] +name = "corpus-tempfile" +version = "0.0.0" +dependencies = [ + "tempfile", +] + +[[package]] +name = "corpus-termcolor" +version = "0.0.0" +dependencies = [ + "termcolor", +] + +[[package]] +name = "corpus-thiserror" +version = "0.0.0" +dependencies = [ + "thiserror", +] + +[[package]] +name = "corpus-thread_local" +version = "0.0.0" +dependencies = [ + "thread_local", +] + +[[package]] +name = "corpus-time" +version = "0.0.0" +dependencies = [ + "time", +] + +[[package]] +name = "corpus-time-core" +version = "0.0.0" +dependencies = [ + "time-core", +] + +[[package]] +name = "corpus-tinystr" +version = "0.0.0" +dependencies = [ + "tinystr", +] + +[[package]] +name = "corpus-tinyvec" +version = "0.0.0" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "corpus-tinyvec_macros" +version = "0.0.0" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "corpus-tokio" +version = "0.0.0" +dependencies = [ + "tokio", +] + +[[package]] +name = "corpus-tokio-rustls" +version = "0.0.0" +dependencies = [ + "tokio-rustls", +] + +[[package]] +name = "corpus-tokio-stream" +version = "0.0.0" +dependencies = [ + "tokio-stream", +] + +[[package]] +name = "corpus-tokio-util" +version = "0.0.0" +dependencies = [ + "tokio-util", +] + +[[package]] +name = "corpus-toml" +version = "0.0.0" +dependencies = [ + "toml", +] + +[[package]] +name = "corpus-toml_datetime" +version = "0.0.0" +dependencies = [ + "toml_datetime", +] + +[[package]] +name = "corpus-toml_edit" +version = "0.0.0" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "corpus-tower" +version = "0.0.0" +dependencies = [ + "tower", +] + +[[package]] +name = "corpus-tower-http" +version = "0.0.0" +dependencies = [ + "tower-http 0.7.1", +] + +[[package]] +name = "corpus-tower-layer" +version = "0.0.0" +dependencies = [ + "tower-layer", +] + +[[package]] +name = "corpus-tower-service" +version = "0.0.0" +dependencies = [ + "tower-service", +] + +[[package]] +name = "corpus-tracing" +version = "0.0.0" +dependencies = [ + "tracing", +] + +[[package]] +name = "corpus-tracing-core" +version = "0.0.0" +dependencies = [ + "tracing-core", +] + +[[package]] +name = "corpus-tracing-log" +version = "0.0.0" +dependencies = [ + "tracing-log", +] + +[[package]] +name = "corpus-tracing-subscriber" +version = "0.0.0" +dependencies = [ + "tracing-subscriber", +] + +[[package]] +name = "corpus-try-lock" +version = "0.0.0" +dependencies = [ + "try-lock", +] + +[[package]] +name = "corpus-typenum" +version = "0.0.0" +dependencies = [ + "typenum", +] + +[[package]] +name = "corpus-unicode-bidi" +version = "0.0.0" +dependencies = [ + "unicode-bidi", +] + +[[package]] +name = "corpus-unicode-ident" +version = "0.0.0" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "corpus-unicode-normalization" +version = "0.0.0" +dependencies = [ + "unicode-normalization", +] + +[[package]] +name = "corpus-unicode-segmentation" +version = "0.0.0" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "corpus-unicode-width" +version = "0.0.0" +dependencies = [ + "unicode-width", +] + +[[package]] +name = "corpus-unicode-xid" +version = "0.0.0" +dependencies = [ + "unicode-xid", +] + +[[package]] +name = "corpus-untrusted" +version = "0.0.0" +dependencies = [ + "untrusted", +] + +[[package]] +name = "corpus-url" +version = "0.0.0" +dependencies = [ + "url", +] + +[[package]] +name = "corpus-utf8_iter" +version = "0.0.0" +dependencies = [ + "utf8_iter", +] + +[[package]] +name = "corpus-utf8parse" +version = "0.0.0" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "corpus-uuid" +version = "0.0.0" +dependencies = [ + "uuid", +] + +[[package]] +name = "corpus-vcpkg" +version = "0.0.0" +dependencies = [ + "vcpkg", +] + +[[package]] +name = "corpus-version_check" +version = "0.0.0" +dependencies = [ + "version_check", +] + +[[package]] +name = "corpus-walkdir" +version = "0.0.0" +dependencies = [ + "walkdir", +] + +[[package]] +name = "corpus-want" +version = "0.0.0" +dependencies = [ + "want", +] + +[[package]] +name = "corpus-wasi" +version = "0.0.0" +dependencies = [ + "wasi 0.14.7+wasi-0.2.4", +] + +[[package]] +name = "corpus-wasm-bindgen" +version = "0.0.0" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "corpus-wasm-bindgen-macro-support" +version = "0.0.0" +dependencies = [ + "wasm-bindgen-macro-support", +] + +[[package]] +name = "corpus-wasm-bindgen-shared" +version = "0.0.0" +dependencies = [ + "wasm-bindgen-shared", +] + +[[package]] +name = "corpus-webpki-roots" +version = "0.0.0" +dependencies = [ + "webpki-roots", +] + +[[package]] +name = "corpus-winapi" +version = "0.0.0" +dependencies = [ + "winapi", +] + +[[package]] +name = "corpus-windows-core" +version = "0.0.0" +dependencies = [ + "windows-core 0.100.0", +] + +[[package]] +name = "corpus-windows-link" +version = "0.0.0" +dependencies = [ + "windows-link 0.100.0", +] + +[[package]] +name = "corpus-windows-sys" +version = "0.0.0" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "corpus-windows-targets" +version = "0.0.0" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "corpus-windows_aarch64_gnullvm" +version = "0.0.0" +dependencies = [ + "windows_aarch64_gnullvm 0.53.1", +] + +[[package]] +name = "corpus-windows_aarch64_msvc" +version = "0.0.0" +dependencies = [ + "windows_aarch64_msvc 0.53.1", +] + +[[package]] +name = "corpus-windows_i686_gnu" +version = "0.0.0" +dependencies = [ + "windows_i686_gnu 0.53.1", +] + +[[package]] +name = "corpus-windows_i686_gnullvm" +version = "0.0.0" +dependencies = [ + "windows_i686_gnullvm 0.53.1", +] + +[[package]] +name = "corpus-windows_i686_msvc" +version = "0.0.0" +dependencies = [ + "windows_i686_msvc 0.53.1", +] + +[[package]] +name = "corpus-windows_x86_64_gnu" +version = "0.0.0" +dependencies = [ + "windows_x86_64_gnu 0.53.1", +] + +[[package]] +name = "corpus-windows_x86_64_gnullvm" +version = "0.0.0" +dependencies = [ + "windows_x86_64_gnullvm 0.53.1", +] + +[[package]] +name = "corpus-windows_x86_64_msvc" +version = "0.0.0" +dependencies = [ + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "corpus-winnow" +version = "0.0.0" +dependencies = [ + "winnow", +] + +[[package]] +name = "corpus-writeable" +version = "0.0.0" +dependencies = [ + "writeable", +] + +[[package]] +name = "corpus-yoke" +version = "0.0.0" +dependencies = [ + "yoke", +] + +[[package]] +name = "corpus-zerocopy" +version = "0.0.0" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "corpus-zerofrom" +version = "0.0.0" +dependencies = [ + "zerofrom", +] + +[[package]] +name = "corpus-zeroize" +version = "0.0.0" +dependencies = [ + "zeroize", +] + +[[package]] +name = "corpus-zerotrie" +version = "0.0.0" +dependencies = [ + "zerotrie", +] + +[[package]] +name = "corpus-zerovec" +version = "0.0.0" +dependencies = [ + "zerovec", +] + +[[package]] +name = "corpus-zmij" +version = "0.0.0" +dependencies = [ + "zmij", +] + +[[package]] +name = "cpp_demangle" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0667304c32ea56cb4cd6d2d7c0cfe9a2f8041229db8c033af7f8d69492429def" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32fast" +version = "1.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctutils" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261af4dc7a06ea8a527a8717d8cbba3417530d6ea14e1edb3de6b67806be474f" +dependencies = [ + "cmov", +] + +[[package]] +name = "darling" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 3.0.10", +] + +[[package]] +name = "darling_macro" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785" +dependencies = [ + "darling_core", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "der" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a996a108feb8b427a6e12fcf6af4aa83409b79d72c15337d7741368131ee004" +dependencies = [ + "const-oid", +] + +[[package]] +name = "deranged" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common", + "ctutils", +] + +[[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.10", +] + +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "encoding_rs" +version = "0.8.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89253175e704ab869b04f9db224d38630e0211a53841a79181deae0889e169f5" +dependencies = [ + "cfg-if", + "core_detect", + "multiversion_no_op", + "rustversion", + "scopeguard", + "simdutf8", +] + +[[package]] +name = "env_filter" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900d271a03799a1ee8d1ca9b19893b48ca674a9284fefcfb85f05e74ed314217" +dependencies = [ + "log", + "regex", +] + +[[package]] +name = "env_logger" +version = "0.11.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de671bd27a75a797dc9ae289ba1e77276e75e2026408aab65185384e2d5cd3f6" +dependencies = [ + "anstream", + "anstyle", + "env_filter", + "jiff", + "log", +] + +[[package]] +name = "equivalent" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" + +[[package]] +name = "errno" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "event-listener" +version = "5.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +dependencies = [ + "parking", + "pin-project-lite", +] + +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "find-msvc-tools" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" + +[[package]] +name = "fixedbitset" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5905ec755cc8386d7928353e4d356d2be3e89e81e5ca01fe630a1ca4d08dc175" + +[[package]] +name = "flate2" +version = "1.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4" +dependencies = [ + "crc32fast", + "miniz_oxide", + "zlib-rs", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + +[[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.10", +] + +[[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 = "generic-array" +version = "1.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "337d46834ee672ab3e48caca2cb0c78cc174fb12b3a68d0d88f99a0519a5e36e" +dependencies = [ + "rustversion", + "typenum", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 6.0.0", + "rand_core", + "wasm-bindgen", +] + +[[package]] +name = "gimli" +version = "0.34.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1033caf0b349c518623b5396bfb2cf0bddf44f0306d543a250e5743297aafd10" +dependencies = [ + "fnv", + "hashbrown 0.17.1", + "indexmap", + "stable_deref_trait", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "h2" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "zerocopy", +] + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "allocator-api2 0.2.21", + "equivalent", + "foldhash 0.2.0", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest", +] + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "log", + "rustls", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "system-configuration", + "tokio", + "tower-service", + "tracing", + "windows-registry", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core 0.62.2", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "utf16_iter", + "utf8_iter", + "write16", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc" + +[[package]] +name = "icu_properties" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf" + +[[package]] +name = "icu_provider" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[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", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[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.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" + +[[package]] +name = "jiff" +version = "0.2.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175dc66334db3b9ab9985bf8b61cfed50dc16d20964bb47f9e479adcae984a7f" +dependencies = [ + "jiff-core", + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-core" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e599b80292e597019b8b3e392de3f4bea2959ddfb8c7dff60e035e9e311a2c1b" +dependencies = [ + "log", +] + +[[package]] +name = "jiff-static" +version = "0.2.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7b1af7547d47354bc438d797e3854601bde8f8d185780c5ba4ab27afa54f1ba" +dependencies = [ + "jiff-core", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys", + "log", + "simd_cesu8", + "thiserror", + "walkdir", + "windows-link 0.2.1", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jobserver" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +dependencies = [ + "getrandom 0.4.3", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.191" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" + +[[package]] +name = "libloading" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1832accd5a4ca2795ace4d05d15c4039be15b62d3b950eff99746a990e3cc10" +dependencies = [ + "cfg-if", + "windows-link 0.2.1", +] + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[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 = "lock_api" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65d91b22da179613dcf4d6ec8349563f52a363f6849e03b00dd0a185ec4a59af" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "matchit" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" + +[[package]] +name = "matchit" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8863b587001c1b9a8a4e36008cebc6b3612cb1226fe2de94858e06092687b608" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memmap2" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b0ca1155a9ecc25aa12e8313a119f32edf0255fea2f44839c4ac0a12b2ac157" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "mime" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "miniz_oxide" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +dependencies = [ + "adler2", + "simd-adler32", +] + +[[package]] +name = "mio" +version = "1.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20521a903f02b0a573cd6840e9d0a5a0cc043d361fe924092cd70f8556cc9c4a" +dependencies = [ + "libc", + "log", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.61.2", +] + +[[package]] +name = "multiversion_no_op" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d" + +[[package]] +name = "nix" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77730ed34f01f4990cb2ea67fec715ecebc6fab9a6396cf83c5529b13f581bdc" +dependencies = [ + "bitflags", + "cfg-if", + "cfg_aliases", + "libc", +] + +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[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-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[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 = "num_cpus" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd229a0361b9d0d4396176e02d65897f487eebeab7caa6d443855ee152ca0b9c" +dependencies = [ + "flate2", + "memchr", + "ruzstd", +] + +[[package]] +name = "object" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11dbdb66876026054e4ffc8d757d862bdf5df5aebd5c0b95a41f17832a94f7d2" +dependencies = [ + "flate2", + "memchr", + "ruzstd", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "openssl-probe" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e036b411754132fd6b74e94b74e9a13c5cf606fa93d1885c35860d3060820b1" + +[[package]] +name = "ordered-float" +version = "5.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f59006ce1e204c30956638535b74d317bca99477b9356dfaec54c37f6f600ab" +dependencies = [ + "num-traits", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9cf937ca4e1d0b7578784559063422fc39ae7c5a00f02471f2614d5486fd226" +dependencies = [ + "lock_api 0.5.0", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cfff060068cc18aa7815010fcaf80c68c7fb9e85fc7f5c0f9bf142c21d19826" +dependencies = [ + "libc", + "redox_syscall", + "smallvec", + "windows-link 0.2.1", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "petgraph" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +dependencies = [ + "fixedbitset", + "hashbrown 0.15.5", + "indexmap", + "serde", +] + +[[package]] +name = "phf" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" +dependencies = [ + "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_shared" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pin-utils" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13bee6c73da26345c729282832b60b0363cf3dd9f4bfd81d8551b7a1c889a113" + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + +[[package]] +name = "portable-atomic-util" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715" +dependencies = [ + "portable-atomic", +] + +[[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 = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" +dependencies = [ + "powerfmt-macros", +] + +[[package]] +name = "powerfmt-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6727ea5edd6c75248ca0bbce2f91d6c44b5363973c64dc5ad17835b107bbbf" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "prettyplease" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0" +dependencies = [ + "proc-macro2", + "syn 3.0.10", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[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 = "prost" +version = "0.14.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ef0b569d1d907ab3a28596aee62cf1f61dacb0529a4bedcd8e7460e2d5228b4" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-derive" +version = "0.14.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad9c5423459fa2f729b8d9235fab810aa29628b171467744fc86d21460ad70d" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "prost-types" +version = "0.14.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f29a7c4c7a84cef41a53d338a2d10d4f1b043ea5c3dde26db22ee2c9c1b1c75b" +dependencies = [ + "prost", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quinn" +version = "0.11.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4051e23e9185c255a7e33ef59cdbca87a22d359052eecd22fc6b901fb37d9d11" +dependencies = [ + "bytes", + "cfg_aliases", + "pin-project-lite", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls", + "socket2", + "thiserror", + "tokio", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-proto" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe" +dependencies = [ + "aws-lc-rs", + "bytes", + "getrandom 0.4.3", + "lru-slab", + "rand", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "slab", + "thiserror", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-udp" +version = "0.5.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016" +dependencies = [ + "cfg_aliases", + "libc", + "once_cell", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[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 = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "r-efi" +version = "7.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985ede7b27e96936c369ba18787c9178af0ef38d130792fc88e936242a7071c4" + +[[package]] +name = "rand" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f6fa277c67e6ea590466f04c3fe82cb509f0864fe470643e5570de9514a9b11" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb95882a1e14462c69aea9984bb261293ccfe6022ef8de0eda18bd5afb0052df" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "580c875845b41ecb1564ad1ae4703044cef774145e3d7a94dc2b3fa7c97868fd" +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.10", +] + +[[package]] +name = "regex" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6" + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64", + "bytes", + "encoding_rs", + "futures-core", + "h2", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "mime", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tower", + "tower-http 0.6.11", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" +dependencies = [ + "aws-lc-rs", + "log", + "once_cell", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a073f5dc7469f984c52ad2752b63b0807745133b6de880b7b64c1ac4c48aec4" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "102f35f7de7b06d8c61f1cff6592f5253e0dea431c74867aad5dfd70f44663fb" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation 0.10.1", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5" +dependencies = [ + "aws-lc-rs", + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ruzstd" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e4ce4a039f42bf25920b95667e4d789e98749ab11bbb8d2c2936f788421bb5" +dependencies = [ + "twox-hash", +] + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cb23c424d8ee841bb4d813677ca237e2a610067d594fec130f87d6093495ab5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "schemars" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab508826f74a77ca9d5aba6ff19b522583ee3eaf28a19384ff3d0e5835fadf6e" +dependencies = [ + "dyn-clone", + "ref-cast", + "schemars_derive", + "serde", + "serde_json", +] + +[[package]] +name = "schemars_derive" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1c3a92094fa7d61aa124645844facb6b554dfc797136d0f5fd1f890e2bffc69" +dependencies = [ + "proc-macro2", + "quote", + "serde_derive_internals", + "syn 3.0.10", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation 0.10.1", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[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.10", +] + +[[package]] +name = "serde_derive_internals" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f852137cce035d6a4df67ccce505ff6b3e9fd3a10e3e52b24dc71e650bb1a9bd" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_path_to_error" +version = "0.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" +dependencies = [ + "itoa", + "serde", + "serde_core", +] + +[[package]] +name = "serde_spanned" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sha2" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" + +[[package]] +name = "simd-adler32" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[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.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "spin" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0134f9043ed38b087ac4f7d4af44c79e2c9e5094421fe3164f435ce585953b10" +dependencies = [ + "lock_api 0.4.14", +] + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "der", +] + +[[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 = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[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.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[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.10", +] + +[[package]] +name = "system-configuration" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" +dependencies = [ + "bitflags", + "core-foundation 0.9.4", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix", + "windows-sys 0.61.2", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[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.10", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "num-conv", + "powerfmt", + "serde_core", + "time-core", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "tinystr" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a" +dependencies = [ + "displaydoc", + "serde_core", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.54.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3" +dependencies = [ + "bytes", + "libc", + "mio", + "pin-project-lite", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.7.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "toml" +version = "1.2.1+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5755c51863cdac711f1956baf8eb9588e060755f7d3c4c979e70ea1e1f32cd7" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_datetime" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.19+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd43688c4858d7264ae1cf9a9f874a67c3feb74a883b1cd7bebd6a4ea8307218" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.2.0+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-http" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08a05a66a4fdd61cbbe0a1d755ffe0ca6aba159dd4820936a0ff8a8278245b9c" +dependencies = [ + "bitflags", + "bytes", + "http", + "percent-encoding", + "pin-project-lite", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "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", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "nu-ansi-term", + "sharded-slab", + "smallvec", + "thread_local", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "twox-hash" +version = "2.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2" + +[[package]] +name = "typed-arena" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-bidi" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" + +[[package]] +name = "unicode-ident" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" + +[[package]] +name = "unicode-normalization" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75cd3fb03d5288b3ba9a1ee103ac7e9cbb59f0b03d64f8ddfcc04dd42758a85d" +dependencies = [ + "tinyvec", +] + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf16_iter" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c7de35d9d8757dbc1f5125dc8b51438c68b4430546a735c3a9b91aaaaf9a18a" +dependencies = [ + "utf_types", +] + +[[package]] +name = "utf8_iter" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0" +dependencies = [ + "utf_types", +] + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "utf_types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6" + +[[package]] +name = "uuid" +version = "1.29.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c14b15dffa2f4bd712103e857140aa04a4f2ff6e955c77d7eb8e53ee02a3b64" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasi" +version = "0.14.7+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c" +dependencies = [ + "wasip2", +] + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" +dependencies = [ + "cfg-if", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e14e0327cb5368ad60ccb22d04a9827a693c95a926d8d125e9fa39e0baec501" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.10", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "web-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "293198dcebfb821155b5092ab94b5a82ff180eddd7241df3bd6e66a4ffd1a585" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7265c9301c16a8711c992c2d8da90ee77ef54b1ed51482d6dfeb00dc756b1297" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement 0.60.2", + "windows-interface 0.59.3", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-core" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "803590c6856f51d15fa2e9fabe4f4703122c8737f72ef2741b4ac09d4c2192f5" +dependencies = [ + "windows-implement 0.100.0", + "windows-interface 0.100.0", + "windows-link 0.100.0", + "windows-result 0.100.0", + "windows-strings 0.100.0", +] + +[[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-implement" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc1bc82e5a1b1a4d7255861b07881a0407b552f50a4d8543c0c7276fa96f6e8" +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-interface" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3f7005c3b757b9b82c2f40c0e71094ff1080adddaf3e8b6ce99b545d3c48796" +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-link" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b39de7c7fe78858b0144c50c3fc000bab3be17d5e9b85b1053871693c7f7415" + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-result" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44873a1ef61c85d5e2991db91fe656cfcf0731097e00dff1ac860f1cb3b752a0" +dependencies = [ + "windows-link 0.100.0", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-strings" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a70b590c684f1d2854f74999896f7c0558f1bdde62f599088599e20ea1d2f60" +dependencies = [ + "windows-link 0.100.0", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm 0.52.6", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + +[[package]] +name = "winnow" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" +dependencies = [ + "memchr", +] + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" +dependencies = [ + "bitflags", +] + +[[package]] +name = "write16" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3" +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.10", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[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.10", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85ccff8a4805aba1eaa4cd4afcd49f7557dd2cf5fd79ffc37f8959466effc5aa" + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40" +dependencies = [ + "serde", + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + +[[package]] +name = "zlib-rs" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/ffi/corpus/crates.txt b/ffi/corpus/crates.txt new file mode 100644 index 000000000..7e06b3eb8 --- /dev/null +++ b/ffi/corpus/crates.txt @@ -0,0 +1,302 @@ +# The top 300 crates on crates.io by all-time downloads on 2026-11-19, at their newest stable +# versions, written by `just ffi corpus-update`. Left out: +# - thiserror-impl: no library but a proc macro +# - serde_derive: no library but a proc macro +# - tokio-macros: no library but a proc macro +# - rustversion: no library but a proc macro +# - futures-macro: no library but a proc macro +# - darling_macro: no library but a proc macro +# - clap_derive: no library but a proc macro +# - tracing-attributes: no library but a proc macro +# - time-macros: no library but a proc macro +# - async-trait: no library but a proc macro +# - displaydoc: no library but a proc macro +# - strum_macros: no library but a proc macro +# - yoke-derive: no library but a proc macro +# - zerocopy-derive: no library but a proc macro +# - zerovec-derive: no library but a proc macro +# - zerofrom-derive: no library but a proc macro +# - prost-derive: no library but a proc macro +# - pin-project-internal: no library but a proc macro +# - wasm-bindgen-macro: no library but a proc macro +# - paste: no library but a proc macro +# - derive_more: does not build as it is +# - openssl-sys: does not build as it is +hashbrown 0.17.1 +syn 3.0.10 +getrandom 0.4.3 +bitflags 2.13.2 +rand_core 0.10.1 +rand 0.10.4 +libc 0.2.191 +base64 0.23.1 +quote 1.0.47 +proc-macro2 1.0.107 +windows-sys 0.61.2 +indexmap 2.14.2 +thiserror 2.0.21 +itertools 0.15.0 +cfg-if 1.0.5 +memchr 2.8.3 +unicode-ident 1.0.27 +serde 1.0.229 +regex-syntax 0.8.12 +rand_chacha 0.10.0 +itoa 1.0.19 +serde_json 1.0.154 +heck 0.5.0 +autocfg 1.5.1 +log 0.4.35 +once_cell 1.21.4 +cc 1.11.2 +regex-automata 0.4.19 +socket2 0.6.5 +smallvec 1.16.6 +rustix 1.1.6 +regex 1.13.2 +digest 0.11.3 +aho-corasick 1.1.5 +block-buffer 0.12.1 +ryu 1.0.23 +clap 4.6.8 +linux-raw-sys 0.12.1 +parking_lot_core 0.10.0 +cpufeatures 0.3.1 +windows_x86_64_msvc 0.53.1 +bytes 1.12.2 +parking_lot 0.13.0 +strsim 0.11.1 +mio 1.2.5 +pin-project-lite 0.2.17 +http 1.5.0 +windows_x86_64_gnu 0.53.1 +windows_aarch64_msvc 0.53.1 +windows-targets 0.53.5 +version_check 0.9.5 +num-traits 0.2.19 +windows_i686_msvc 0.53.1 +sha2 0.11.1 +windows_i686_gnu 0.53.1 +either 1.19.0 +semver 1.0.28 +tokio 1.54.1 +lock_api 0.5.0 +windows_aarch64_gnullvm 0.53.1 +windows_x86_64_gnullvm 0.53.1 +crypto-common 0.2.2 +winnow 1.0.5 +lazy_static 1.5.1 +anyhow 1.0.104 +idna 1.1.0 +futures-core 0.3.34 +zerocopy 0.8.63 +toml 1.2.1 +scopeguard 1.2.0 +slab 0.4.12 +futures-util 0.3.34 +futures-task 0.3.34 +hyper 1.12.0 +fastrand 2.5.0 +typenum 1.20.1 +rustls 0.23.46 +miniz_oxide 0.9.1 +crossbeam-utils 0.8.23 +percent-encoding 2.3.2 +shlex 2.0.1 +generic-array 1.4.5 +http-body 1.1.0 +futures-sink 0.3.34 +futures-channel 0.3.34 +time 0.3.55 +ppv-lite86 0.2.21 +url 2.5.8 +equivalent 1.0.3 +tracing-core 0.1.36 +errno 0.3.15 +clap_lex 1.1.2 +tracing 0.1.44 +toml_datetime 1.1.3 +toml_edit 0.25.19 +rustc-hash 2.1.3 +futures-io 0.3.34 +tempfile 3.27.0 +uuid 1.29.3 +form_urlencoded 1.2.2 +rustls-webpki 0.103.17 +chrono 0.4.45 +nix 0.32.0 +h2 0.4.20 +untrusted 0.9.0 +unicode-width 0.2.3 +fnv 1.0.7 +tokio-util 0.7.20 +byteorder 1.5.0 +pkg-config 0.3.34 +tokio-rustls 0.26.6 +futures 0.3.34 +clap_builder 4.6.7 +webpki-roots 1.0.12 +darling_core 0.24.1 +darling 0.24.1 +synstructure 0.14.0 +reqwest 0.13.5 +anstyle 1.0.14 +rustc_version 0.4.1 +ahash 0.8.12 +futures-executor 0.3.34 +ring 0.17.14 +tinyvec 1.13.3 +signal-hook-registry 1.4.8 +httparse 1.10.1 +nom 8.0.0 +wasi 0.14.7 +zeroize 1.9.2 +subtle 2.6.1 +serde_core 1.0.229 +crc32fast 1.5.5 +redox_syscall 0.9.5 +flate2 1.1.11 +stable_deref_trait 1.2.1 +num-integer 0.1.47 +memoffset 0.9.1 +tower 0.5.3 +anstream 1.0.0 +foldhash 0.2.0 +thread_local 1.1.10 +anstyle-parse 1.0.0 +iana-time-zone 0.1.65 +crossbeam-epoch 0.9.21 +time-core 0.1.9 +hyper-rustls 0.27.10 +colorchoice 1.0.5 +sync_wrapper 1.0.2 +spin 0.12.3 +anstyle-query 1.1.5 +hex 0.4.3 +tower-service 0.3.3 +tinystr 0.8.5 +yoke 0.8.4 +want 0.3.2 +try-lock 0.2.5 +litemap 0.8.3 +zerovec 0.11.9 +pin-utils 0.1.1 +icu_properties_data 2.4.0 +walkdir 2.5.0 +phf_shared 0.14.0 +icu_provider 2.4.0 +strum 0.28.0 +icu_properties 2.4.0 +crossbeam-deque 0.8.8 +icu_collections 2.4.0 +writeable 0.6.4 +utf8parse 0.2.2 +icu_normalizer_data 2.4.0 +deranged 0.5.9 +serde_spanned 1.1.3 +hmac 0.13.0 +mime 0.3.18 +tinyvec_macros 0.1.1 +icu_normalizer 2.4.0 +zerofrom 0.1.8 +same-file 1.0.6 +num-bigint 0.5.1 +tracing-subscriber 0.3.23 +openssl-probe 0.2.2 +ipnet 2.12.2 +httpdate 1.0.3 +bumpalo 3.20.4 +glob 0.3.4 +idna_adapter 1.2.2 +phf 0.14.0 +num-conv 0.2.2 +object 0.41.0 +prost 0.14.6 +crossbeam-channel 0.5.17 +find-msvc-tools 0.1.15 +zmij 1.0.23 +unicode-xid 0.2.6 +siphasher 1.0.4 +serde_urlencoded 0.7.1 +powerfmt 0.2.1 +windows_i686_gnullvm 0.53.1 +arrayvec 0.7.8 +jobserver 0.1.35 +sha1 0.11.0 +utf8_iter 1.1.0 +rustls-native-certs 0.8.5 +rustls-pki-types 1.16.0 +unicode-segmentation 1.13.3 +cfg_aliases 0.2.2 +pin-project 1.1.13 +adler2 2.0.1 +unicode-normalization 0.1.26 +is_terminal_polyfill 1.70.2 +sharded-slab 0.1.7 +tracing-log 0.2.0 +num_cpus 1.17.0 +rayon 1.12.0 +tower-layer 0.3.3 +proc-macro-crate 3.5.0 +wasm-bindgen 0.2.130 +wasm-bindgen-macro-support 0.2.130 +wasm-bindgen-shared 0.2.130 +schemars 1.2.3 +rayon-core 1.13.0 +nu-ansi-term 0.50.3 +convert_case 0.12.0 +const-oid 0.10.3 +event-listener 5.4.2 +encoding_rs 0.8.44 +hyper-util 0.1.21 +libloading 0.9.1 +gimli 0.34.0 +minimal-lexical 0.2.1 +rustc-demangle 0.1.28 +atomic-waker 1.1.2 +tower-http 0.7.1 +http-body-util 0.1.5 +env_logger 0.11.11 +hermit-abi 0.5.3 +js-sys 0.3.107 +petgraph 0.8.3 +allocator-api2 0.4.0 +prettyplease 0.3.0 +static_assertions 1.1.0 +fixedbitset 0.5.9 +matchers 0.2.0 +libm 0.2.16 +axum 0.8.9 +portable-atomic 1.15.0 +vcpkg 0.2.15 +zerotrie 0.2.5 +rustls-pemfile 2.2.0 +axum-core 0.5.6 +icu_locale_core 2.4.0 +potential_utf 0.1.6 +tokio-stream 0.1.19 +bit-vec 0.10.2 +der 0.8.3 +ident_case 1.0.1 +unicode-bidi 0.3.18 +addr2line 0.27.1 +termcolor 1.4.1 +winapi 0.3.9 +windows-link 0.100.0 +half 2.7.1 +phf_generator 0.14.0 +matchit 0.9.2 +core-foundation 0.10.1 +signature 3.0.0 +quick-xml 0.42.0 +prost-types 0.14.6 +backtrace 0.3.77 +windows-core 0.100.0 +ordered-float 5.5.1 +simd-adler32 0.3.10 +data-encoding 2.11.1 +spki 0.8.1 +bit-set 0.11.1 +r-efi 7.2.0 +foreign-types 0.5.0 +bstr 1.14.0 diff --git a/ffi/fixtures/api/src/lib.rs b/ffi/fixtures/api/src/lib.rs index 6b4a27a5b..c882782f9 100644 --- a/ffi/fixtures/api/src/lib.rs +++ b/ffi/fixtures/api/src/lib.rs @@ -4498,6 +4498,95 @@ pub mod clash { } } + /// A message of any type, named as prost-types' is, which Swift reads as a keyword. + #[derive(Clone, Debug, PartialEq, Eq, Hash)] + pub struct Any { + pub type_url: String, + } + + /// An `Any` of `type_url`. + pub fn any(type_url: String) -> Any { + Any { type_url } + } + + /// A candidate, whose variant `None` Python reads as a keyword, as aho-corasick's has. + #[derive(Clone, Copy, Debug, PartialEq)] + pub enum Candidate { + None, + Match(u8), + } + + /// The candidate of `at`, none for zero. + pub fn candidate(at: u8) -> Candidate { + match at { + 0 => Candidate::None, + at => Candidate::Match(at), + } + } + + /// `arg1`, beside a parameter named `_`, which no language can pass a value to, as + /// utf8parse's has; the `_` is named apart from `arg1`. + pub fn ignore(_: u8, arg1: u8, _: u8) -> u8 { + arg1 + } + + /// A seed, whose own `default` C names apart from `Default`'s, as rustc-hash's `FxHasher` + /// has, while C++ escapes both to `default_`. + pub struct Seed { + value: u32, + } + + impl Seed { + /// One. + #[allow(clippy::should_implement_trait, reason = "the clash under test")] + pub const fn default() -> Seed { + Seed { value: 1 } + } + + pub fn value(&self) -> u32 { + self.value + } + + /// Whether it is not zero, by a name Dart's type of the result takes, as fastrand's + /// `bool` is. + pub fn bool(&self) -> bool { + self.value != 0 + } + } + + impl Default for Seed { + /// Two. + fn default() -> Self { + Seed { value: 2 } + } + } + + /// A break, with an alias named as a constant but for case, as icu_properties' + /// `SentenceBreak::SP` is `Sp`'s. + #[derive(Clone, Copy, Debug, PartialEq)] + pub struct Break(pub u8); + + #[allow(non_upper_case_globals, reason = "the clash under test")] + impl Break { + pub const Sp: Break = Break(8); + pub const SP: Break = Break::Sp; + } + + /// Nothing of `T`, as futures-util's `stream::Empty` is. + pub struct Empty(std::marker::PhantomData); + + impl Empty { + pub fn is_empty(&self) -> bool { + true + } + } + + /// An `Empty` of a `T` no argument infers, which the call names, as futures-util's + /// `stream::empty` takes. + pub fn empty() -> Empty { + Empty(std::marker::PhantomData) + } + /// A count, whose methods are named as what C and some languages give every handle. pub struct Store { count: u32, diff --git a/ffi/fixtures/reject/expected.txt b/ffi/fixtures/reject/expected.txt index 81a490da3..300096844 100644 --- a/ffi/fixtures/reject/expected.txt +++ b/ffi/fixtures/reject/expected.txt @@ -65,6 +65,14 @@ fixtures/reject/src/lib.rs:1431:2: rust2-ffi: cannot export method `Slot::ta fixtures/reject/src/lib.rs:1436:2: rust2-ffi: cannot export method `Slot::lens`: returned object that borrows `SlotLens<'_>`; exclude it in the config to leave it out fixtures/reject/src/lib.rs:1441:2: rust2-ffi: cannot export method `Slot::peer`: returned object that borrows `SlotPeer<'_>`; exclude it in the config to leave it out fixtures/reject/src/lib.rs:145:2: rust2-ffi: cannot export method `Link::session`: borrowed return that is not Clone `tls::held::Handoff`; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1477:1: rust2-ffi: cannot export fn `unit_error`: unit error `std::result::Result<(), ()>`; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1482:1: rust2-ffi: cannot export fn `unit_error_later`: unit error `std::result::Result`; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1513:1: rust2-ffi: cannot export fn `race`: instance holding a foreign future `reject::Either<((), std::pin::Pin + std::marker::Send>>), ((), std::pin::Pin + std::marker::Send>>)>`; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1521:1: rust2-ffi: cannot export fn `park`: instance holding a foreign future `reject::Parked + std::marker::Send>>>`; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1527:1: rust2-ffi: cannot export instance `Bits`: union; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1533:1: rust2-ffi: cannot export fn `bits`: refused type `reject::Bits`; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1539:1: rust2-ffi: cannot export instance `Tail`: unsized type; exclude it in the config to leave it out +fixtures/reject/src/lib.rs:1542:1: rust2-ffi: cannot export fn `tail`: 'static borrow `&'static Tail`; refused type `reject::Tail`; exclude it in the config to leave it out fixtures/reject/src/lib.rs:162:1: rust2-ffi: cannot export fn `measure`: foreign type `tls::held::Local`; exclude it in the config to leave it out fixtures/reject/src/lib.rs:167:1: rust2-ffi: cannot export instance `Cell>`: type argument `std::vec::Vec`; exclude it in the config to leave it out fixtures/reject/src/lib.rs:167:1: rust2-ffi: cannot export instance `Cell`: type argument `tls::held::Cert`; exclude it in the config to leave it out diff --git a/ffi/fixtures/reject/src/lib.rs b/ffi/fixtures/reject/src/lib.rs index 49841affc..60d5ca8bc 100644 --- a/ffi/fixtures/reject/src/lib.rs +++ b/ffi/fixtures/reject/src/lib.rs @@ -1472,3 +1472,73 @@ impl SlotPeer<'static> { SlotPeer(SlotView(&0), Box::leak(Box::new(0))) } } + +/// Refused: a `()` error has no value for a language to raise. +pub fn unit_error(ok: bool) -> Result<(), ()> { + if ok { Ok(()) } else { Err(()) } +} + +/// Refused as `unit_error` is, in a future's output. +pub async fn unit_error_later(ok: bool) -> Result { + if ok { Ok(1) } else { Err(()) } +} + +/// Either of two values, which `race` resolves to. +pub enum Either { + Left(A), + Right(B), +} + +/// The first of two futures to finish, as futures-util's `Select` is. +pub struct Race(Option<(A, B)>); + +impl Future for Race { + type Output = Either<(A::Output, B), (B::Output, A)>; + + fn poll(mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> std::task::Poll { + let (mut a, mut b) = self.0.take().expect("polled after it finished"); + if let std::task::Poll::Ready(out) = std::pin::Pin::new(&mut a).poll(cx) { + return std::task::Poll::Ready(Either::Left((out, b))); + } + if let std::task::Poll::Ready(out) = std::pin::Pin::new(&mut b).poll(cx) { + return std::task::Poll::Ready(Either::Right((out, a))); + } + self.0 = Some((a, b)); + std::task::Poll::Pending + } +} + +/// Refused: what it resolves to holds the future C implements, which crosses only as a +/// parameter. +pub fn race(a: A, b: B) -> Race { + Race(Some((a, b))) +} + +/// A future held unpolled, as futures-util's `Abortable` holds one. +pub struct Parked(pub F); + +/// Refused as `race` is, returning the future C implements inside a type of its own. +pub fn park(future: F) -> Parked { + Parked(future) +} + +/// Refused at the instance `bits` names, as any union is, as zerovec's `NichedOptionULE`. +#[derive(Clone, Copy)] +pub union Bits { + pub raw: u32, + pub value: T, +} + +/// Refused: it returns a union. +pub fn bits() -> Bits { + Bits { raw: 0 } +} + +/// Refused: a struct ending in a slice is only ever behind a pointer, as zerovec's +/// `ZeroSlice` is, here at the instance `tail` names. +pub struct Tail(T, [u8]); + +/// Refused: it borrows an unsized type. +pub fn tail(bytes: &'static Tail) -> u8 { + bytes.0 +} diff --git a/ffi/justfile b/ffi/justfile index 59680671d..1dbb1d09e 100644 --- a/ffi/justfile +++ b/ffi/justfile @@ -41,6 +41,14 @@ test *args: shapes: cargo test --locked --test fixtures shapes::nightly -- --ignored +# Census and export each crate of corpus/crates.txt through a facade, and build every language's binding of it, as the nightly does, with the exporter optimized, which the time spent exporting repays: CORPUS_SHARD=i/n runs a slice, CORPUS_CRATES=a,b those crates. It runs their build scripts, so run it where that is safe. The report goes to target/tmp/corpus/report.md, or a shard's directory. +corpus: + cargo test --locked --release --test fixtures corpus::nightly -- --ignored --exact + +# Take corpus/crates.txt afresh from crates.io's top crates by downloads, and resolve corpus/Cargo.lock. It builds them, as `corpus` does. +corpus-update: + cargo test --locked --test fixtures corpus::update -- --ignored --exact + # Run longer protocol scripts from more seeds through the C ABI and every binding, as the nightly does; the gate runs fewer. protocol: cargo test --locked --test fixtures protocol_nightly -- --ignored diff --git a/ffi/src/census.rs b/ffi/src/census.rs index 516dc0555..a8ca436cf 100644 --- a/ffi/src/census.rs +++ b/ffi/src/census.rs @@ -10,11 +10,13 @@ use crate::abi::Clash; use crate::collect::{Refusal, Report}; use crate::ir::{Access, Api, Function}; -/// The census of the facade as Markdown, listing `exporting`, each exclude whose item -/// would export and its paths; `at` locates a span. +/// The census of the facade as Markdown, with `config`, the `exclude` that exports what +/// maps, and listing `exporting`, each exclude whose item would export and its paths; `at` +/// locates a span. pub(crate) fn render( api: &Api, collected: &Report, + config: &[String], exporting: &[(String, Vec)], clashes: &[Clash], at: &dyn Fn(Span) -> String, @@ -144,13 +146,10 @@ pub(crate) fn render( ); } - if !collected.refusals.is_empty() { + if !config.is_empty() { let _ = writeln!(out, "\n## The config that exports what maps\n"); let _ = writeln!(out, "```toml\nexclude = ["); - let mut paths: Vec<&str> = collected.refusals.iter().map(|r| r.path.as_str()).collect(); - paths.sort(); - paths.dedup(); - for path in paths { + for path in config { let _ = writeln!(out, " \"{path}\","); } let _ = writeln!(out, "]\n```"); diff --git a/ffi/src/collect.rs b/ffi/src/collect.rs index dd33beb6b..b4730ee2b 100644 --- a/ffi/src/collect.rs +++ b/ffi/src/collect.rs @@ -23,7 +23,7 @@ use rustc_middle::ty::{ self, CallerBoundsIterator as _, GenericArgKind, Ty, TyCtxt, TypeSuperVisitable, TypeVisitable, TypeVisitableExt, TypeVisitor, TypingEnv, }; -use rustc_span::{DUMMY_SP, Span, sym}; +use rustc_span::{DUMMY_SP, Ident, Span, kw, sym}; use rustc_trait_selection::infer::InferCtxtExt; use rustc_trait_selection::traits::ObligationCtxt; use rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt as _; @@ -1325,7 +1325,8 @@ impl<'tcx> Collector<'tcx> { }; let def_id = adt.did(); let (_, path) = self.items.iter().find(|(item, _)| *item == def_id)?.clone(); - if !matches!(tcx.def_kind(def_id), DefKind::Struct | DefKind::Enum) + // A union's instance is admitted to be refused as any union is. + if !matches!(tcx.def_kind(def_id), DefKind::Struct | DefKind::Enum | DefKind::Union) || !self.typed(def_id) || args.has_non_region_param() { @@ -2029,8 +2030,15 @@ impl<'tcx> Collector<'tcx> { let lifetimes = params .iter() .any(|p| matches!(p.kind, ty::GenericParamDefKind::Lifetime)); + // A struct ending in a slice, as zerovec's `ZeroSlice` is, is only ever behind a + // pointer, which no handle holds. + let unsized_ = || { + let ty = tcx.type_of(def_id).instantiate(tcx, site.args).skip_norm_wip(); + !ty.has_non_region_param() && !ty.is_sized(tcx, TypingEnv::fully_monomorphized()) + }; match tcx.def_kind(def_id) { DefKind::Union => Decl::Refused(why("union", "")), + DefKind::Struct if unsized_() => Decl::Refused(why("unsized type", "")), // Held by a handle that outlives any call, it is the form that borrows nothing. DefKind::Struct | DefKind::Enum if lifetimes && (instance || !self.typed(def_id)) => self.object(site), DefKind::Struct | DefKind::Enum if generic && !instance => { @@ -2928,8 +2936,9 @@ impl<'tcx> Collector<'tcx> { name.strip_prefix("poll_") .is_some_and(|x| futures.iter().any(|f| f == x)) }; - let (twins, kept): (Vec, Vec) = - (methods.into_iter()).partition(|m| m.future && m.task.is_some() && m.instance.is_none() && twin(m.name())); + let (twins, kept): (Vec, Vec) = (methods.into_iter()).partition(|m| { + m.future && m.task.is_some() && m.instance.as_ref().is_none_or(|i| i.named.is_empty()) && twin(m.name()) + }); methods = kept; for function in twins { let (report, rest) = self.report(&function.shown); @@ -3172,8 +3181,8 @@ impl<'tcx> Collector<'tcx> { *self.impls.borrow_mut() = impls; // What the glue names a declared type parameter as, which a call cannot always // infer; an `impl Trait` one cannot be named, and is inferred from its argument. - let mut arg = |arg: ty::GenericArg<'tcx>| { - let mapped = match arg.kind() { + let map_arg = |arg: ty::GenericArg<'tcx>| -> Result { + match arg.kind() { GenericArgKind::Const(ct) => self.const_arg(ct).map(Type::Const), GenericArgKind::Type(ty) => match *ty.kind() { ty::Ref(_, inner, ty::Mutability::Not) => { @@ -3184,20 +3193,39 @@ impl<'tcx> Collector<'tcx> { _ => self.arg(ty), }, GenericArgKind::Lifetime(_) => unreachable!("no lifetime names an instance"), - }; - mapped.map_err(|why| errs.push(why)).ok() + } + }; + let mut arg = |a: ty::GenericArg<'tcx>| map_arg(a).map_err(|why| errs.push(why)).ok(); + let declared: Vec<_> = (tcx.generics_of(def_id).own_params.iter()) + .filter(|p| { + matches!( + p.kind, + ty::GenericParamDefKind::Type { synthetic: false, .. } | ty::GenericParamDefKind::Const { .. } + ) + }) + .collect(); + // One instance alone names nothing, but the call still names each argument that + // maps, as futures-util's `stream::empty::()` takes none that infers `T`; Rust + // infers the rest, as it does every one where none maps. + let lone: Vec> = match instance.named.is_empty() { + true => (declared.iter()) + .map(|p| args[p.index as usize]) + .map(|a| match a.as_type().is_some_and(|ty| instance.kept.contains(&ty)) { + true => None, + false => self.probe(|| map_arg(a)).ok(), + }) + .collect(), + false => Vec::new(), }; let instance = match instance.named.is_empty() { - true => None, + true if lone.iter().all(Option::is_none) => None, + true => Some(crate::ir::Instance { + args: lone, + named: Vec::new(), + }), false => { - let declared = (tcx.generics_of(def_id).own_params.iter()).filter(|p| { - matches!( - p.kind, - ty::GenericParamDefKind::Type { synthetic: false, .. } | ty::GenericParamDefKind::Const { .. } - ) - }); // A kept parameter is left for Rust to infer from its argument. - let args = declared + let args = (declared.iter()) .map(|p| args[p.index as usize]) .filter_map(|a| match a.as_type().is_some_and(|ty| instance.kept.contains(&ty)) { true => Some(None), @@ -3404,11 +3432,19 @@ impl<'tcx> Collector<'tcx> { units.push(i - first); continue; } - let name = names - .get(i) - .copied() - .flatten() - .map_or_else(|| format!("arg{i}"), |ident| ident.to_string()); + // A parameter Rust leaves unnamed, `_`, is named by its place, as no language + // can pass a value to `_`, and apart from every name the others take. + let named = |ident: Option| ident.filter(|ident| ident.name != kw::Underscore); + let name = match named(names.get(i).copied().flatten()) { + Some(ident) => ident.to_string(), + None => { + let mut name = format!("arg{i}"); + while (names.iter()).any(|&other| named(other).is_some_and(|other| other.as_str() == name)) { + name.push('_'); + } + name + } + }; if !callback && let Some(kind) = self.task(ty, polled.is_some()) { if matches!(kind, TaskKind::Made { .. }) { holds_send &= self.is_send(ty.peel_refs(), env); @@ -3618,9 +3654,16 @@ impl<'tcx> Collector<'tcx> { // its message, as an exported error's `Display` already reads, even where a // signature reaches its crate. One a handle holds by value is its message too, // held or not. - self.erring.set(true); - let err = self.ty(error, Pos::Return); - self.erring.set(false); + // A `()` error has no value for a language to raise or return. + let err = match error.is_unit() { + true => Err(why("unit error", output.to_string())), + false => { + self.erring.set(true); + let err = self.ty(error, Pos::Return); + self.erring.set(false); + err + } + }; let foreign = |mapped: &Result| { self.opaque_value(error).is_some() || matches!(mapped, Err(why) if why.construct == "foreign type" || why.construct == BOTH) @@ -6039,6 +6082,14 @@ impl<'tcx> Collector<'tcx> { if args.has_non_region_param() { return Err(why("type parameter", name)); } + // Inference names no instance holding a future C implements, which + // crosses only as a parameter, as futures-util's `select` returns. + if ty + .walk() + .any(|arg| arg.as_type().is_some_and(|ty| self.is_foreign_future(ty))) + { + return Err(why("instance holding a foreign future", name)); + } // Inference admits or rejects each instance a signature names, so one // it did not is a gap in inference, which even a census fails on. if key.args.is_some() && self.items.iter().any(|(item, _)| *item == did) { diff --git a/ffi/src/cpp.rs b/ffi/src/cpp.rs index fafadd244..e13d760c1 100644 --- a/ffi/src/cpp.rs +++ b/ffi/src/cpp.rs @@ -751,15 +751,19 @@ impl<'a> Header<'a> { name: abi.object(i), constant: false, }; - let taken = vec![self.name(&abi.object(i))]; + let name = self.name(&abi.object(i)); + let mut taken = Self::made(object.traits, &name); + taken.push(name); for method in object.methods.iter().filter(|m| home(&m.home)) { self.function(method, Some(&owner), Some((&taken, Owner::Member))); } } for (i, record) in api.records.iter().enumerate().filter(|(_, r)| !home(&r.home)) { let owner = Ty::Struct(abi.record(i)); + let name = self.name(&abi.record(i)); let mut taken: Vec = record.fields.iter().map(|f| escape(&f.name)).collect(); - taken.push(self.name(&abi.record(i))); + taken.extend(Self::made(record.traits, &name)); + taken.push(name); for method in record.methods.iter().filter(|m| home(&m.home)) { self.function(method, Some(&owner), Some((&taken, Owner::Member))); } @@ -877,10 +881,24 @@ impl<'a> Header<'a> { Some(rest) => escape(rest), None => self.name(c), }; - match taken.contains(&bare) { - true => format!("{bare}_"), - false => bare, - } + kept_apart(bare, taken) + } + + /// The members `traits` exports on the class `class`, which a method's name keeps apart + /// from: an inherent `default`, which C renames `default_` beside the trait's, is + /// otherwise the trait's `default_` too, as C++ escapes the keyword. + fn made(traits: Traits, class: &str) -> Vec { + let names = [ + (traits.clone, "clone"), + (traits.hash, "hash"), + (traits.display, "to_string"), + (traits.debug, "debug"), + (traits.default, "default_"), + ]; + (names.into_iter()) + .filter(|(made, _)| *made) + .map(|(_, bare)| apart(bare, class)) + .collect() } /// Check that no two members of `class`, the Rust type `rust`, share a name. @@ -970,7 +988,8 @@ impl<'a> Header<'a> { name: c.clone(), constant: false, }; - let taken = vec![name.clone()]; + let mut taken = Self::made(t, &name); + taken.push(name.clone()); for method in &object.methods { let (decl, member) = self.function(method, Some(&owner), Some((&taken, Owner::Member))); body.push(decl); @@ -1188,6 +1207,7 @@ impl<'a> Header<'a> { self.traits(&name, &c, t, Err(ty), &mut body, &mut members); let owner = Ty::Struct(c.clone()); let mut taken = fields.clone(); + taken.extend(Self::made(t, &name)); taken.push(name.clone()); // An opaque value's bytes are its private member `c_`. if record.opaque.is_some() { @@ -1914,6 +1934,14 @@ fn apart(bare: &str, class: &str) -> String { } } +/// `name`, with `_` appended while `taken` holds it. +fn kept_apart(mut name: String, taken: &[String]) -> String { + while taken.contains(&name) { + name.push('_'); + } + name +} + /// The C++ name of the parameter `rust`, with `_` appended while `taken` holds it or it is /// a name the header gives its own locals and members. fn parameter(rust: &str, taken: impl Fn(&str) -> bool) -> String { @@ -2007,8 +2035,20 @@ fn init(ty: &Type) -> &'static str { } } -/// C++ comments holding `docs`, each line indented by `indent`, or nothing for none. +/// C++ comments holding `docs`, each line indented by `indent`, or nothing for none. A line +/// ending in a backslash, as a string continued in clap's examples does, would continue a +/// `///` comment onto the next line, so such docs are a block comment instead. fn docs(docs: &str, indent: &str) -> String { + if docs.lines().any(|line| line.ends_with('\\')) { + let docs = docs.replace("*/", "* /").replace("/*", "/ *"); + let body: String = (docs.lines()) + .map(|line| match line.is_empty() { + true => format!("{indent} *\n"), + false => format!("{indent} * {line}\n"), + }) + .collect(); + return format!("{indent}/**\n{body}{indent} */\n"); + } docs.lines() .map(|line| match line.is_empty() { true => format!("{indent}///\n"), @@ -2142,7 +2182,28 @@ pub(crate) fn escape(name: &str) -> String { #[cfg(test)] mod tests { - use super::parameter; + use super::{Header, escape, kept_apart, parameter}; + use crate::ir::Traits; + + #[test] + fn a_trailing_backslash_ends_no_line_comment() { + assert_eq!(super::docs("a\nb", "\t"), "\t/// a\n\t/// b\n"); + assert_eq!(super::docs("x \\\n\ny */", ""), "/**\n * x \\\n *\n * y * /\n */\n"); + } + + #[test] + fn methods_keep_apart_from_trait_members() { + let traits = Traits { + default: true, + ..Traits::default() + }; + let taken = Header::made(traits, "Hasher"); + // rustc-hash's `FxHasher::default`, which C renames `_default_` beside `Default`'s + // `_default`, while C++ escapes the keyword of both to `default_`. + assert_eq!(kept_apart(escape("default_"), &taken), "default__"); + assert_eq!(kept_apart(escape("default"), &taken), "default__"); + assert_eq!(kept_apart(escape("seed"), &taken), "seed"); + } #[test] fn parameters_keep_apart_from_what_they_would_hide() { diff --git a/ffi/src/dart.rs b/ffi/src/dart.rs index bfd73610f..bae56e631 100644 --- a/ffi/src/dart.rs +++ b/ffi/src/dart.rs @@ -385,6 +385,8 @@ const RESERVED: &[&str] = &[ "assert", "await", "break", "case", "catch", "class", "const", "continue", "default", "do", "else", "enum", "extends", "false", "final", "finally", "for", "if", "in", "is", "new", "null", "rethrow", "return", "super", "switch", "this", "throw", "true", "try", "var", "void", "while", "with", "yield", + // The core types the binding names unqualified, which a member of the class would hide. + "bool", "double", "dynamic", "int", "num", ]; const BUILT_IN: &[&str] = &[ diff --git a/ffi/src/driver.rs b/ffi/src/driver.rs index 04eb7ccd9..d0a157a65 100644 --- a/ffi/src/driver.rs +++ b/ffi/src/driver.rs @@ -203,7 +203,10 @@ impl Callbacks for Export { .map(|(f, _)| f.shown.clone()) .collect(); let exporting = exporting(&collected.api, &report.audited, &swift); - let text = census::render(&collected.api, report, &exporting, &abi.clashes, &|span| at(tcx, span)); + let config = census_config(tcx, &facade, &self.facade.lib, report, &swift); + let text = census::render(&collected.api, report, &config, &exporting, &abi.clashes, &|span| { + at(tcx, span) + }); // A census reports what a crate uses, but a missed instance is the exporter's bug. for refusal in &report.refusals { if refusal.why.iter().any(|why| why.construct == collect::NOT_INFERRED) { @@ -258,6 +261,71 @@ impl Callbacks for Export { } } +/// The `exclude` that exports what maps: each item collection or Swift refuses, checked by +/// collecting again with it. One naming only an instance a refused item alone named names +/// nothing once that item is left out, and the export would fail on it, so it is dropped; +/// what that collection refuses besides is added, until the config holds. +fn census_config( + tcx: TyCtxt<'_>, + facade: &collect::Facade, + lib: &str, + report: &collect::Report, + swift: &FxHashSet, +) -> Vec { + let refused = |report: &collect::Report, swift: &FxHashSet| -> Vec { + (report.refusals.iter().map(|r| r.path.clone())) + .chain(swift.iter().map(|path| path[1..].join("::"))) + .collect() + }; + let mut config = refused(report, swift); + let mut seen = Vec::new(); + loop { + config.sort(); + config.dedup(); + // A config the last round checked and left as it was holds. + if config.is_empty() || seen.last() == Some(&config) { + return config; + } + // A round drops a dead exclude as well as adding a refusal, so rounds may cycle, + // which no config ends: a bug of the collector's, as a refusal must not come and go. + if let Some(earlier) = seen.iter().find(|earlier| **earlier == config) { + let last = seen.last().expect("a repeat follows a round"); + let moving: Vec<&String> = (earlier.iter().filter(|p| !last.contains(p))) + .chain(last.iter().filter(|p| !earlier.contains(p))) + .collect(); + tcx.dcx().err(format!( + "rust2-ffi: the census's exclude never settles, as rounds of it cycle on {}", + moving.iter().map(|p| format!("`{p}`")).collect::>().join(", ") + )); + return config; + } + seen.push(config.clone()); + let checked = collect::collect( + tcx, + &collect::Facade { + root: facade.root.clone(), + package: facade.package, + exclude: &config, + crates: facade.crates, + audit: &[], + }, + ); + let abi = Abi::new(&checked.api, lib); + let rest = checked.api.without_jni(); + let swift: FxHashSet<_> = crate::swift::refusals(&abi.without_jni(&rest)) + .into_iter() + .map(|(f, _)| f.shown.clone()) + .collect(); + let more = refused(&checked.report, &swift); + let dead: Vec<&String> = (checked.report.excluded.iter()) + .filter(|(path, count)| *count == 0 && !configured_out(tcx, path)) + .map(|(path, _)| path) + .collect(); + config.retain(|path| !dead.contains(&path)); + config.extend(more); + } +} + /// Each exclude whose item would export without it, and that item's paths: what an /// exclude checked, from [`collect::Report::audited`], that the census's API holds by the /// same path, except a function `refused` names by its shown path, since a generic's diff --git a/ffi/src/glue.rs b/ffi/src/glue.rs index 154de21c0..b29b781ef 100644 --- a/ffi/src/glue.rs +++ b/ffi/src/glue.rs @@ -77,7 +77,21 @@ fn foreign_path(path: &[String]) -> String { "std" => "std".to_string(), krate => foreign(krate), }; - format!("::{krate}") + &path[1..].iter().map(|s| format!("::{s}")).collect::() + format!("::{krate}") + &path[1..].iter().map(|s| format!("::{}", ident(s))).collect::() +} + +/// A Rust name as the glue writes it: a keyword raw, as socket2's `Socket::type` needs. +fn ident(name: &str) -> String { + const KEYWORDS: &[&str] = &[ + "abstract", "as", "async", "await", "become", "box", "break", "const", "continue", "do", "dyn", "else", "enum", + "extern", "false", "final", "fn", "for", "gen", "if", "impl", "in", "let", "loop", "macro", "match", "mod", + "move", "mut", "override", "priv", "pub", "ref", "return", "static", "struct", "trait", "true", "try", "type", + "typeof", "unsafe", "unsized", "use", "virtual", "where", "while", "yield", + ]; + match KEYWORDS.contains(&name) { + true => format!("r#{name}"), + false => name.to_string(), + } } /// The Rust path of a collection, without its arguments. @@ -665,9 +679,13 @@ impl Gen<'_> { fn path(&self, path: &[String]) -> String { match self.abi.api.reached.iter().find(|r| path.get(1) == Some(&r.krate)) { Some(r) => { - format!("::{}", reached(&r.krate)) + &path[2..].iter().map(|s| format!("::{s}")).collect::() + format!("::{}", reached(&r.krate)) + + &path[2..].iter().map(|s| format!("::{}", ident(s))).collect::() + } + None => { + format!("::{}", self.dependency) + + &path[1..].iter().map(|s| format!("::{}", ident(s))).collect::() } - None => format!("::{}", self.dependency) + &path[1..].iter().map(|s| format!("::{s}")).collect::(), } } @@ -890,6 +908,11 @@ impl Gen<'_> { _ => format!("{}<{}>", collection(*c), self.rust(inner)), }, Type::Option(inner) => format!("Option<{}>", self.rust(inner)), + // A trailing comma keeps a tuple of one element a tuple. + Type::Tuple(elements) => format!( + "({},)", + elements.iter().map(|ty| self.rust(ty)).collect::>().join(", ") + ), Type::Ref(Mutability::Not, inner) => format!("&{}", self.rust(inner)), Type::Ref(Mutability::Mut, inner) => format!("&mut {}", self.rust(inner)), Type::Record(i) => match &api.records[*i].opaque { @@ -1317,7 +1340,10 @@ impl Gen<'_> { self.line("#![allow(unused_unsafe, reason = \"every conversion is in its own block\")]"); self.line("#![allow(unused_parens, reason = \"each element is lifted from `(*c)`\")]"); self.line("#![allow(clippy::all, reason = \"generated\")]"); - self.line("#![allow(dead_code, reason = \"the runtime serves every API\")]\n"); + self.line("#![allow(dead_code, reason = \"the runtime serves every API\")]"); + self.line("#![allow(deprecated, reason = \"a deprecated item is still the API's\")]"); + self.line("#![allow(unused_mut, reason = \"a borrow is declared alike for every method\")]"); + self.line("#![allow(unreachable_code, reason = \"a call returning an uninhabited type never returns\")]\n"); self.line("mod rt;\n"); self.line("#[cfg(feature = \"kotlin\")]\nmod jni;\n"); self.line("#[cfg(feature = \"python\")]\nmod python;\n"); @@ -1660,7 +1686,7 @@ impl Gen<'_> { .fields .iter() .zip(&lifted) - .map(|(f, l)| format!("{}: {l}", f.name)) + .map(|(f, l)| format!("{}: {l}", ident(&f.name))) .collect(); format!("{path} {{ {} }}", fields.join(", ")) } @@ -1687,7 +1713,7 @@ impl Gen<'_> { // the lint would ask for. .map(|(f, b)| match f.name == *b { true => b.clone(), - false => format!("{}: {b}", f.name), + false => format!("{}: {b}", ident(&f.name)), }) .collect(); format!("{path} {{ {} }}", fields.join(", ")) @@ -1737,7 +1763,7 @@ impl Gen<'_> { true => format!("{path}({})", lifted.join(", ")), false => { let fields: Vec = (record.fields.iter().zip(&lifted)) - .map(|(f, l)| format!("{}: {l}", f.name)) + .map(|(f, l)| format!("{}: {l}", ident(&f.name))) .collect(); format!("{path} {{ {} }}", fields.join(", ")) } @@ -1805,10 +1831,12 @@ impl Gen<'_> { true => "", false => "\n\t\t_ => unreachable!(\"a variant this export does not know\"),", }; - // A foreign enum's variants are its type's constants. + // A foreign enum's variants are its type's constants. A variant without fields is + // named with its braces, which a unit, tuple, or struct one takes alike, as a tuple + // one whose fields a `cfg` leaves out needs: icu_collections' `StringListNotSorted()`. let variant = |v: &crate::ir::Variant| match e.foreign { true => abi::snake(&v.name).to_uppercase(), - false => v.name.clone(), + false => format!("{} {{}}", v.name), }; if e.plain() { let lift: Vec = (e.variants.iter()) @@ -1872,7 +1900,7 @@ impl Gen<'_> { .fields .iter() .zip(&bindings) - .map(|(f, b)| format!("{}: {b}", f.name)) + .map(|(f, b)| format!("{}: {b}", ident(&f.name))) .collect(); format!("{path}::{} {{ {} }}", variant.name, fields.join(", ")) } @@ -1912,7 +1940,7 @@ impl Gen<'_> { .fields .iter() .zip(&lifted) - .map(|(f, l)| format!("{}: {l}", f.name)) + .map(|(f, l)| format!("{}: {l}", ident(&f.name))) .collect(); format!("{path}::{} {{ {} }}", variant.name, fields.join(", ")) } @@ -1991,7 +2019,7 @@ impl Gen<'_> { (false, true) => format!("{path}::{}({})", variant.name, lifted.join(", ")), (false, false) => { let fields: Vec = (variant.fields.iter().zip(lifted)) - .map(|(f, l)| format!("{}: {l}", f.name)) + .map(|(f, l)| format!("{}: {l}", ident(&f.name))) .collect(); format!("{path}::{} {{ {} }}", variant.name, fields.join(", ")) } @@ -2704,7 +2732,7 @@ impl Gen<'_> { }) .collect::(); let mut callee = match &owner { - Some((_, owner_type)) => format!("<{}>::{}", self.rust(owner_type), function.name()), + Some((_, owner_type)) => format!("<{}>::{}", self.rust(owner_type), ident(function.name())), None => self.path(&function.path), }; let mut turbofish = String::new(); @@ -2719,11 +2747,16 @@ impl Gen<'_> { // A method of the type the receiver derefs to, which the glue need not name: its // receiver is that type's already, whose inherent method a call finds first. Access::Call if function.derefs > 0 => { - format!("({}).{}{turbofish}({})", args[0], function.name(), args[1..].join(", ")) + format!( + "({}).{}{turbofish}({})", + args[0], + ident(function.name()), + args[1..].join(", ") + ) } Access::Call => format!("{callee}({})", args.join(", ")), - Access::Field { set: false, .. } => format!("&({}).{}", args[0], function.name()), - Access::Field { set: true, .. } => format!("({}).{} = {}", args[0], function.name(), args[1]), + Access::Field { set: false, .. } => format!("&({}).{}", args[0], ident(function.name())), + Access::Field { set: true, .. } => format!("({}).{} = {}", args[0], ident(function.name()), args[1]), Access::Const => callee, Access::Parse => format!( "<{} as ::std::str::FromStr>::from_str({}).map_err(|e| ::std::string::ToString::to_string(&e))", diff --git a/ffi/src/python.rs b/ffi/src/python.rs index 66d2a8a9d..de90a8842 100644 --- a/ffi/src/python.rs +++ b/ffi/src/python.rs @@ -1223,7 +1223,7 @@ impl<'a> Gen<'a> { return; } // Each variant's class, and its fields, which on an instance hide the enum's members. - let mut data: Vec = e.variants.iter().map(|v| pascal(&v.name)).collect(); + let mut data: Vec = e.variants.iter().map(|v| kw(&pascal(&v.name))).collect(); let fields: BTreeSet = e .variants .iter() @@ -1234,7 +1234,7 @@ impl<'a> Gen<'a> { self.methods(&e.methods, (&ty, &owner, &rust), &data, &[], &mut body); // Each variant's class is bound on the enum's once made, after the enum's own. for variant in &e.variants { - let vname = pascal(&abi::snake(&variant.name)); + let vname = kw(&pascal(&abi::snake(&variant.name))); body.native .push(format!("\t{vname}: _typing.TypeAlias = \"_{name}_{vname}\"\n")); } @@ -1251,7 +1251,7 @@ impl<'a> Gen<'a> { let mut reads = Vec::new(); let mut writes = Vec::new(); for (n, variant) in e.variants.iter().enumerate() { - let vname = pascal(&variant.name); + let vname = kw(&pascal(&variant.name)); let class = format!("_{name}_{vname}"); let key = abi::payload(&c, &variant.name); let tv = self.register(&key, class.clone()); @@ -1916,7 +1916,9 @@ impl<'a> Gen<'a> { return None; } (Access::Const, Place::Static) if constant => { - let name = member.to_uppercase(); + // Upper case can join two Rust names, as icu_properties' `SentenceBreak::Sp` + // and its alias `SP`, so the later is kept apart again. + let name = self::member(&member.to_uppercase(), reserved); self.natives .push(format!("@_staticmethod\ndef {bare}() -> {ret}: ...\n")); // An `Enum` makes a member of any other value, to a type checker as at run time. diff --git a/ffi/src/swift.rs b/ffi/src/swift.rs index ee8c5ad7d..0a3087c92 100644 --- a/ffi/src/swift.rs +++ b/ffi/src/swift.rs @@ -294,7 +294,7 @@ impl<'a> Gen<'a> { /// The Swift name of the C type `c`. fn class(&self, c: &str) -> String { - self.classes.get(c).cloned().unwrap_or_else(|| pascal(self.bare(c))) + kw(&self.classes.get(c).cloned().unwrap_or_else(|| pascal(self.bare(c)))) } /// The top-level Swift name `what` takes with `labels`: `name`, with a trailing `_` diff --git a/ffi/tests/fixtures.rs b/ffi/tests/fixtures.rs index 1efc53339..5514383f9 100644 --- a/ffi/tests/fixtures.rs +++ b/ffi/tests/fixtures.rs @@ -6,6 +6,8 @@ //! The reject fixture's export must fail at each item it cannot export, and generated //! type shapes round-trip in every language ([`shapes`]). +#[path = "fixtures/corpus.rs"] +mod corpus; #[path = "fixtures/protocol.rs"] mod protocol; #[path = "fixtures/shapes.rs"] @@ -56,6 +58,15 @@ fn cargo() -> Command { cmd } +/// The shared library a crate of the lib `name` builds. +fn shared(name: &str) -> String { + match (cfg!(windows), cfg!(target_os = "macos")) { + (true, _) => format!("{name}.dll"), + (_, true) => format!("lib{name}.dylib"), + _ => format!("lib{name}.so"), + } +} + fn run(cmd: &mut Command) -> Output { let output = output(cmd); check(cmd, &output); @@ -722,10 +733,12 @@ fn cxx(link: &Link, standard: u8, plain: bool, src: &Path, exe: &Path) { reads: &[src, &link.include, &link.staticlib], writes: &[exe], }; - step.run(&mut cxx_command(link, standard, plain, src, exe)); + step.run(&mut cxx_command(link, standard, plain, src, exe, true)); } -fn cxx_command(link: &Link, standard: u8, plain: bool, src: &Path, exe: &Path) -> Command { +/// The C++ compile of `src` against `link` into `exe`, linked or, for a library +/// whose host lacks the symbols it calls, compiled to an object nothing links. +fn cxx_command(link: &Link, standard: u8, plain: bool, src: &Path, exe: &Path, linked: bool) -> Command { let include = &link.include; if cfg!(target_env = "msvc") { // cl from a developer environment. Its C++23 is `c++latest`; its objects go beside `exe`. @@ -748,9 +761,14 @@ fn cxx_command(link: &Link, standard: u8, plain: bool, src: &Path, exe: &Path) - }); let mut obj = OsString::from("-Fo"); obj.push(exe.with_extension("obj")); + cmd.arg("-I").arg(include).arg(src).arg(obj); + if !linked { + cmd.arg("-c"); + return cmd; + } let mut out = OsString::from("-Fe"); out.push(exe); - cmd.arg("-I").arg(include).arg(src).arg(obj).arg(out); + cmd.arg(out); cmd.arg("-link").arg(&link.staticlib).args(link.native); return cmd; } @@ -771,11 +789,13 @@ fn cxx_command(link: &Link, standard: u8, plain: bool, src: &Path, exe: &Path) - "-I", ]) .arg(include) - .arg(src) - .arg(&link.staticlib) - .args(link.native) - .arg("-o") - .arg(exe); + .arg(src); + if linked { + cmd.arg(&link.staticlib).args(link.native); + } else { + cmd.arg("-c"); + } + cmd.arg("-o").arg(exe); cmd } @@ -2031,6 +2051,30 @@ fn api_dart_protocol_nightly() { /// `package` as `package:/.dart`, whose native asset is the shared library /// `lib`: as a package's build hook would bundle it, which `dart compile` has no flag for. fn dart_compile(name: &str, dir: &Path, package: &Path, lib: &Path, main: &Path) -> PathBuf { + let (mut cmd, kernel) = dart_kernel(name, dir, package, lib, main); + // The snapshot names the library by path, so a change to it rebuilds nothing. + let step = Step { + stamp: &step::stamp(&kernel.dill), + reads: &[main, package, &kernel.config, &kernel.assets, &kernel.version], + writes: &[&kernel.dill], + }; + step.run(&mut cmd); + kernel.dill +} + +/// What a Dart kernel compile reads and writes besides its program and package. +struct Kernel { + config: PathBuf, + assets: PathBuf, + /// The SDK's version file, which keys a rebuild on the SDK. + version: PathBuf, + dill: PathBuf, +} + +/// The compile of `main` to a kernel snapshot in `dir`, against the package `name` at +/// `package` and its native library `lib`, with the package config and native assets it +/// reads written. +fn dart_kernel(name: &str, dir: &Path, package: &Path, lib: &Path, main: &Path) -> (Command, Kernel) { let sdk = std::fs::canonicalize(which("dart")) .unwrap() .parent() @@ -2063,26 +2107,24 @@ fn dart_compile(name: &str, dir: &Path, package: &Path, lib: &Path, main: &Path) ), ); let dill = dir.join(format!("{}.dill", main.file_stem().unwrap().to_string_lossy())); - // The snapshot names the library by path, so a change to it rebuilds nothing. - let step = Step { - stamp: &step::stamp(&dill), - reads: &[main, package, &config, &assets, &sdk.join("version")], - writes: &[&dill], + let mut cmd = Command::new(sdk.join("bin").join(format!("dartaotruntime{EXE_SUFFIX}"))); + cmd.arg(sdk.join("bin/snapshots/gen_kernel_aot.dart.snapshot")) + .arg("--platform") + .arg(sdk.join("lib/_internal/vm_platform_strong.dill")) + .arg("--packages") + .arg(&config) + .arg("--native-assets") + .arg(&assets) + .arg("-o") + .arg(&dill) + .arg(main); + let kernel = Kernel { + config, + assets, + version: sdk.join("version"), + dill, }; - step.run( - Command::new(sdk.join("bin").join(format!("dartaotruntime{EXE_SUFFIX}"))) - .arg(sdk.join("bin/snapshots/gen_kernel_aot.dart.snapshot")) - .arg("--platform") - .arg(sdk.join("lib/_internal/vm_platform_strong.dill")) - .arg("--packages") - .arg(&config) - .arg("--native-assets") - .arg(&assets) - .arg("-o") - .arg(&dill) - .arg(main), - ); - dill + (cmd, kernel) } /// The Dart VM running a kernel snapshot, with asserts on. diff --git a/ffi/tests/fixtures/corpus.rs b/ffi/tests/fixtures/corpus.rs new file mode 100644 index 000000000..1d087e6b7 --- /dev/null +++ b/ffi/tests/fixtures/corpus.rs @@ -0,0 +1,589 @@ +//! A pinned corpus of popular crates.io crates, `corpus/crates.txt`, each exported through +//! a facade of its own, `pub use ::*;`, as a consumer would export it. Each is +//! censused, then exported with the `exclude` its census writes, and its glue and every +//! language's binding of it built. A panic, an error with or without a span, or a binding +//! that does not build fails the run; a refusal does not, since the census lists it. +//! +//! The facades are one workspace, resolved by `corpus/Cargo.lock`, so a run builds what the +//! last update resolved. `just ffi corpus-update` takes the top crates by all-time +//! downloads afresh. Building them runs their build scripts: run it where that is safe, as +//! the nightly's runner is. + +use std::collections::BTreeMap; +use std::fmt::Write as _; +use std::path::{Path, PathBuf}; +use std::process::{Command, Output}; + +use super::{cargo, manifest_dir, run, scratch, step}; + +/// The crates a census, an export, or a binding of fails today, each with the quest that +/// fixes it, or else why none can. They are not run; the quest's PR deletes its entry. +const KNOWN: &[(&str, &str)] = &[ + ("anyhow", "/quest/m1/ffi-apart.md"), + ("axum", "/quest/m1/ffi-corpus-bugs.md"), + ("bytes", "/quest/m1/ffi-corpus-bugs.md"), + ( + "core-foundation", + "macOS's CoreFoundation: calls a platform library this host lacks, so no binding loads", + ), + ("crossbeam-utils", "/quest/m1/ffi-apart.md"), + ("darling", "/quest/m1/ffi-apart.md"), + ("der", "/quest/m1/ffi-apart.md"), + ("env_logger", "/quest/m1/ffi-apart.md"), + ("errno", "/quest/m1/ffi-corpus-bugs.md"), + ("hermit-abi", "/quest/m1/ffi-apart.md"), + ("hyper", "/quest/m1/ffi-corpus-bugs.md"), + ("icu_locale_core", "/quest/m1/ffi-apart.md"), + ("itertools", "/quest/m1/ffi-apart.md"), + ("js-sys", "/quest/m1/ffi-inference.md"), + ("libc", "/quest/m1/ffi-apart.md"), + ("log", "/quest/m1/ffi-apart.md"), + ("nu-ansi-term", "/quest/m1/ffi-apart.md"), + ("object", "/quest/m1/ffi-apart.md"), + ("parking_lot", "/quest/m1/ffi-apart.md"), + ("petgraph", "/quest/m1/ffi-apart.md"), + ("prettyplease", "/quest/m1/ffi-apart.md"), + ("redox_syscall", "/quest/m1/ffi-apart.md"), + ("untrusted", "/quest/m1/ffi-apart.md"), + ("wasm-bindgen", "/quest/m1/ffi-apart.md"), + ( + "windows-core", + "Windows's API: calls a platform library this host lacks, so no binding loads", + ), +]; + +/// How many crates the update keeps, by all-time downloads, before dropping those that are +/// no library or do not build as they are. +const TOP: usize = 300; + +/// A crate of the corpus. +struct Krate { + name: String, + version: String, +} + +/// `corpus/crates.txt`: a crate and its version on each line, after `#` comments. +fn list() -> Vec { + let text = std::fs::read_to_string(corpus_dir().join("crates.txt")).unwrap(); + (text.lines()) + .filter(|line| !line.is_empty() && !line.starts_with('#')) + .map(|line| { + let (name, version) = line.split_once(' ').expect("a line is a crate and its version"); + Krate { + name: name.to_string(), + version: version.to_string(), + } + }) + .collect() +} + +fn corpus_dir() -> PathBuf { + manifest_dir().join("corpus") +} + +/// Where a run builds: a shard's own, so shards run side by side. +fn base() -> PathBuf { + match std::env::var("CORPUS_SHARD") { + Ok(shard) => scratch().join(format!("corpus-{}", shard.replace('/', "-of-"))), + Err(_) => scratch().join("corpus"), + } +} + +/// The workspace of facades. +fn workspace() -> PathBuf { + base().join("facades") +} + +/// Write the workspace of a facade for each of `crates`, each `lib.rs` re-exporting the +/// library `libs` names, or nothing until it is known. +fn write_workspace(crates: &[Krate], libs: &BTreeMap) { + let ws = workspace(); + let members: Vec = crates.iter().map(|k| format!("\t{:?},", k.name)).collect(); + step::write( + &ws.join("Cargo.toml"), + format!( + "[workspace]\nresolver = \"3\"\nmembers = [\n{}\n]\n", + members.join("\n") + ), + ); + for krate in crates { + let dir = ws.join(&krate.name); + step::write( + &dir.join("Cargo.toml"), + format!( + "[package]\nname = \"corpus-{name}\"\nversion = \"0.0.0\"\nedition = \"2024\"\npublish = false\n\n[dependencies]\n{name} = \"={version}\"\n", + name = krate.name, + version = krate.version + ), + ); + let lib = match libs.get(&krate.name) { + Some(lib) => format!( + "#[allow(unused_imports, reason = \"a library may be empty on this host\")]\npub use {lib}::*;\n" + ), + None => String::new(), + }; + step::write(&dir.join("src").join("lib.rs"), lib); + } +} + +/// What `cargo metadata` says of the workspace's dependencies: each registry package's +/// name and version, with its library's name if it has one that is no proc macro. +fn libraries() -> BTreeMap<(String, String), Option> { + let output = run(cargo() + .args(["metadata", "--format-version", "1", "--locked", "--offline"]) + .current_dir(workspace())); + let metadata: serde_json::Value = serde_json::from_slice(&output.stdout).unwrap(); + let mut libs = BTreeMap::new(); + for package in metadata["packages"].as_array().unwrap() { + if package["source"].is_null() { + continue; + } + let lib = (package["targets"].as_array().unwrap().iter()) + .find(|target| target["kind"].as_array().unwrap().iter().any(|k| k == "lib")) + .map(|target| target["name"].as_str().unwrap().replace('-', "_")); + // Keyed without build metadata, as the list writes a version. + let version = package["version"].as_str().unwrap(); + let key = ( + package["name"].as_str().unwrap().to_string(), + version.split('+').next().unwrap().to_string(), + ); + libs.insert(key, lib); + } + libs +} + +/// Each crate's library name, from the workspace its lockfile resolves, fetched first. +fn resolve(crates: &[Krate]) -> BTreeMap { + run(cargo().args(["fetch", "--locked"]).current_dir(workspace())); + let libraries = libraries(); + (crates.iter()) + .map(|k| { + let lib = libraries.get(&(k.name.clone(), k.version.clone())); + let lib = lib + .cloned() + .flatten() + .unwrap_or_else(|| panic!("{} {} has no library", k.name, k.version)); + (k.name.clone(), lib) + }) + .collect() +} + +/// Where one stage of a crate failed, and what it printed. +struct Failure { + krate: String, + stage: String, + output: String, +} + +/// What a crate's run reports when it passes: its census's counts. +struct Passed { + krate: String, + refused: usize, +} + +/// Census and export every crate of the corpus, or of `CORPUS_SHARD`'s `i/n`, the `i`th of +/// `n` slices, or those `CORPUS_CRATES` names, and build each binding, writing the report +/// to `target/tmp/corpus/report.md`, or a shard's to `target/tmp/corpus--of-/report.md`. +#[test] +#[ignore = "the nightly's: every crate of the corpus, just ffi corpus"] +fn nightly() { + let crates = list(); + write_workspace(&crates, &BTreeMap::new()); + step::copy(&corpus_dir().join("Cargo.lock"), &workspace().join("Cargo.lock")); + let libs = resolve(&crates); + write_workspace(&crates, &libs); + let mut chosen: Vec<&Krate> = crates.iter().collect(); + if let Ok(shard) = std::env::var("CORPUS_SHARD") { + let (i, n) = shard.split_once('/').expect("CORPUS_SHARD is i/n"); + let (i, n): (usize, usize) = (i.parse().unwrap(), n.parse().unwrap()); + assert!(n > 0 && (1..=n).contains(&i), "CORPUS_SHARD is i/n with 1 <= i <= n"); + chosen = (chosen.into_iter().enumerate()) + .filter(|(k, _)| k % n == i - 1) + .map(|(_, krate)| krate) + .collect(); + } + if let Ok(names) = std::env::var("CORPUS_CRATES") { + let names: Vec<&str> = names.split(',').collect(); + chosen.retain(|k| names.contains(&k.name.as_str())); + } + for (name, quest) in KNOWN { + assert!( + crates.iter().any(|k| k.name == *name), + "KNOWN's {name} ({quest}) is no crate of the corpus: remove it" + ); + } + let mut failures = Vec::new(); + let mut passed = Vec::new(); + let mut skipped = Vec::new(); + for krate in chosen { + if let Some((_, quest)) = KNOWN.iter().find(|(name, _)| *name == krate.name) { + skipped.push(format!("{} ({quest})", krate.name)); + continue; + } + eprintln!("corpus: {} {}", krate.name, krate.version); + match one(krate) { + Ok(pass) => passed.push(pass), + Err(failure) => failures.push(failure), + } + } + let report = report(&passed, &failures, &skipped); + step::write(&base().join("report.md"), &report); + assert!(failures.is_empty(), "{report}"); +} + +/// Census, export, and build one crate's facade. +fn one(krate: &Krate) -> Result { + let name = &krate.name; + let fail = |stage: String, output: &Output| Failure { + krate: name.clone(), + stage, + output: trimmed(output), + }; + let facade = workspace().join(name); + let dir = base().join("crates").join(name); + let build = base().join("build"); + let exporter = |config: &Path, mode: &str, out: &Path| { + let mut cmd = Command::new(env!("CARGO_BIN_EXE_rust2-ffi")); + cmd.arg("--config") + .arg(config) + .arg("--manifest-path") + .arg(facade.join("Cargo.toml")) + .arg(mode) + .arg(out) + .args(["--", "--locked"]) + .env("CARGO_TARGET_DIR", &build); + cmd + }; + // The census ignores the config's `exclude`, so an empty one serves. + let empty = dir.join("census.toml"); + step::write(&empty, "exclude = []\n"); + let census = dir.join("census"); + let output = super::output(&mut exporter(&empty, "--census", &census)); + if !output.status.success() { + return Err(fail(stage(&output, "census"), &output)); + } + let text = std::fs::read_to_string(census.join(format!("corpus-{name}.md"))).unwrap(); + let exclude = excluded(&text); + let config = dir.join("ffi.toml"); + step::write(&config, &exclude); + let out = dir.join("out"); + let output = super::output(&mut exporter(&config, "--out", &out)); + if !output.status.success() { + return Err(fail(stage(&output, "export"), &output)); + } + let lib = format!("corpus_{}", name.replace('-', "_")); + let built = bind(&lib, &out).map_err(|(stage, output)| fail(stage.to_string(), &output))?; + languages(&lib, &out, &dir, &built).map_err(|(stage, output)| fail(stage.to_string(), &output))?; + Ok(Passed { + krate: name.clone(), + refused: exclude + .lines() + .filter(|line| line.trim_start().starts_with('"')) + .count(), + }) +} + +/// The failed stage's name, saying how it failed where that is the exporter's own bug: a +/// panic, or an error of its own with no span. +fn stage(output: &Output, stage: &str) -> String { + let stderr = String::from_utf8_lossy(&output.stderr); + let lines: Vec<&str> = stderr.lines().collect(); + let spanless = (lines.iter().enumerate()).any(|(i, line)| { + line.starts_with("error: rust2-ffi") + && !lines + .get(i + 1) + .is_some_and(|next| next.trim_start().starts_with("-->")) + }); + match (stderr.contains("panicked at"), spanless) { + (true, _) => format!("{stage} panicked"), + (false, true) => format!("{stage} failed with no span"), + (false, false) => format!("{stage} failed"), + } +} + +/// The `exclude` the census writes, which exports what maps: none where it refuses nothing. +fn excluded(census: &str) -> String { + let Some(start) = census.find("```toml\nexclude = [") else { + return "exclude = []\n".to_string(); + }; + let toml = &census[start + "```toml\n".len()..]; + toml[..toml.find("```").expect("the config's block ends")].to_string() +} + +/// The first lines of what a command printed, where its first error is, enough to say why +/// it failed. +fn trimmed(output: &Output) -> String { + let text = format!( + "{}{}", + String::from_utf8_lossy(&output.stderr), + String::from_utf8_lossy(&output.stdout) + ); + let lines: Vec<&str> = text + .lines() + .filter(|line| !line.trim_start().starts_with("Checking")) + .collect(); + match lines.len() > 40 { + true => format!("{}\n... {} more lines", lines[..40].join("\n"), lines.len() - 40), + false => lines.join("\n"), + } +} + +/// The glue's libraries, and what a program linking the static one links besides. +struct Built { + lib: PathBuf, + native: Vec, +} + +/// Build the glue the export at `out` writes, into target directories every crate shares: +/// the CPython extension apart, as the api fixture's, copied beside the Python. +fn bind(lib: &str, out: &Path) -> Result { + let shared = base(); + let build = |target: &Path, feature: &str| { + super::output( + cargo() + .args(["build", "--quiet", "--locked", "--manifest-path"]) + .arg(out.join("Cargo.toml")) + .arg("--target-dir") + .arg(target) + .args(["--features", feature]) + .env("RUSTFLAGS", "-D warnings --print=native-static-libs"), + ) + }; + let python = shared.join("glue-python"); + let output = build(&python, "python"); + if !output.status.success() { + return Err(("glue (python)", output)); + } + let shared_lib = super::shared(lib); + step::copy( + &python.join("debug").join(&shared_lib), + &out.join("python").join(&shared_lib), + ); + let glue = shared.join("glue"); + let output = build(&glue, "kotlin,dart"); + if !output.status.success() { + return Err(("glue", output)); + } + let native = String::from_utf8_lossy(&output.stderr) + .lines() + .find_map(|line| line.strip_prefix("note: native-static-libs: ")) + .expect("rustc prints the static library's native libraries") + .split_whitespace() + .map(str::to_string) + .collect(); + Ok(Built { + lib: glue.join("debug"), + native, + }) +} + +/// Build each language's binding of the export at `out`: C and C++ programs including its +/// headers, compiled but not linked, since a library may call what this host lacks; the Kotlin compiled; the Python imported; +/// the Swift type-checked; the Go vetted; and the Dart compiled to a kernel. +fn languages(lib: &str, out: &Path, dir: &Path, built: &Built) -> Result<(), (&'static str, Output)> { + let checked = |stage: &'static str, cmd: &mut Command| { + let output = super::output(cmd); + match output.status.success() { + true => Ok(()), + false => Err((stage, output)), + } + }; + let staticlib = built.lib.join(format!("lib{lib}.a")); + let include = out.join("include"); + let c = dir.join("main.c"); + step::write( + &c, + format!("#include <{lib}.h>\n\nint main(void) {{\n\treturn 0;\n}}\n"), + ); + let cc = std::env::var_os("CC").unwrap_or_else(|| "cc".into()); + checked( + "C", + Command::new(cc) + .args(["-std=c11", "-pedantic", "-Wall", "-Wextra", "-Werror", "-I"]) + .arg(&include) + .arg(&c) + .arg("-c") + .arg("-o") + .arg(dir.join("c.o")), + )?; + let cpp = dir.join("main.cpp"); + step::write( + &cpp, + format!("#include <{lib}.hpp>\n\nint main() {{\n\treturn 0;\n}}\n"), + ); + let link = super::Link { + include: include.clone(), + staticlib: staticlib.clone(), + native: &built.native, + }; + for (standard, plain) in [(17, true), (20, false)] { + let exe = dir.join(format!("c++{standard}.o")); + checked( + "C++", + &mut super::cxx_command(&link, standard, plain, &cpp, &exe, false), + )?; + } + checked( + "Kotlin", + Command::new("kotlinc") + .args(["-J-Xmx4g", "-Werror", "-cp"]) + .arg(super::coroutines()) + .arg(out.join("kotlin").join(format!("{lib}.kt"))) + .arg("-d") + .arg(dir.join("kotlin")), + )?; + checked( + "Python", + Command::new(std::env::var_os("PYTHON").unwrap_or_else(|| "python3".into())) + .args(["-P", "-X", "dev", "-W", "error", "-c"]) + .arg(format!("import {lib}")) + .env("PYTHONPATH", out.join("python")), + )?; + super::swift_collections(); + checked( + "Swift", + super::swiftc(&out.join("swift"), 15) + .args(["-swift-version", "6", "-typecheck", "-module-name", "Corpus"]) + .arg(out.join("swift").join(format!("{lib}.swift"))), + )?; + let go = out.join("go"); + if go.join("go.mod").exists() { + checked( + "Go", + Command::new("go") + .args(["vet", "./..."]) + .current_dir(&go) + .env("CGO_ENABLED", "1") + .env("GOFLAGS", "-buildvcs=false") + .env("GOTOOLCHAIN", "local"), + )?; + } + let dart = dir.join("dart"); + let main = dart.join("main.dart"); + step::write( + &main, + format!("import 'package:{lib}/{lib}.dart';\n\nvoid main() {{}}\n"), + ); + let shared = built.lib.join(super::shared(lib)); + let (mut kernel, _) = super::dart_kernel(lib, &dart, &out.join("dart"), &shared, &main); + checked("Dart", &mut kernel)?; + Ok(()) +} + +/// The run's report: what passed with its refusal count, what failed and where, and what +/// [`KNOWN`] skipped. +fn report(passed: &[Passed], failures: &[Failure], skipped: &[String]) -> String { + let mut out = String::new(); + let _ = writeln!( + out, + "# Corpus\n\n{} crates passed, {} failed, {} skipped as known.\n", + passed.len(), + failures.len(), + skipped.len() + ); + if !failures.is_empty() { + let _ = writeln!(out, "## Failed\n"); + for failure in failures { + let _ = writeln!( + out, + "### {}: {}\n\n```\n{}\n```\n", + failure.krate, failure.stage, failure.output + ); + } + } + let _ = writeln!(out, "## Passed\n\n| Crate | Refused |\n| --- | ---: |"); + for pass in passed { + let _ = writeln!(out, "| {} | {} |", pass.krate, pass.refused); + } + if !skipped.is_empty() { + let _ = writeln!(out, "\n## Skipped\n"); + for skip in skipped { + let _ = writeln!(out, "- {skip}"); + } + } + out +} + +/// Take the top [`TOP`] crates by all-time downloads from crates.io afresh, at their newest +/// stable versions, and keep each that is a library, not a proc macro, and builds as it is +/// on this host, writing `corpus/crates.txt` and the lockfile resolving them. +#[test] +#[ignore = "fetches from crates.io: just ffi corpus-update"] +fn update() { + let mut crates = Vec::new(); + for page in 1..=TOP.div_ceil(100) { + let url = format!("https://crates.io/api/v1/crates?page={page}&per_page=100&sort=downloads"); + let output = run(Command::new("curl").args([ + "--fail", + "--silent", + "--show-error", + "--user-agent", + "rust2-ffi corpus (https://github.com/kixel-ai/rust2)", + &url, + ])); + let body: serde_json::Value = serde_json::from_slice(&output.stdout).unwrap(); + for krate in body["crates"].as_array().unwrap() { + // Build metadata is no part of a requirement. + let version = krate["max_stable_version"].as_str().unwrap(); + crates.push(Krate { + name: krate["name"].as_str().unwrap().to_string(), + version: version.split('+').next().unwrap().to_string(), + }); + } + } + crates.truncate(TOP); + write_workspace(&crates, &BTreeMap::new()); + let lock = workspace().join("Cargo.lock"); + let _ = std::fs::remove_file(&lock); + run(cargo().arg("generate-lockfile").current_dir(workspace())); + run(cargo().arg("fetch").current_dir(workspace())); + let libraries = libraries(); + let mut dropped = Vec::new(); + crates.retain(|k| { + let lib = libraries.get(&(k.name.clone(), k.version.clone())).cloned().flatten(); + if lib.is_none() { + dropped.push(format!("{}: no library but a proc macro", k.name)); + } + lib.is_some() + }); + // What does not build as it is, needing a feature or a system library, is no test + // of the exporter. + prune(&crates); + write_workspace(&crates, &resolve(&crates)); + crates.retain(|k| { + let output = super::output( + cargo() + .args(["check", "--quiet", "--locked", "--offline", "--package"]) + .arg(format!("corpus-{}", k.name)) + .current_dir(workspace()), + ); + if !output.status.success() { + dropped.push(format!("{}: does not build as it is", k.name)); + } + output.status.success() + }); + let date = String::from_utf8_lossy(&run(Command::new("date").args(["-u", "+%Y-%m-%d"])).stdout) + .trim() + .to_string(); + let mut text = format!( + "# The top {TOP} crates on crates.io by all-time downloads on {date}, at their newest stable\n# versions, written by `just ffi corpus-update`. Left out:\n" + ); + for drop in &dropped { + let _ = writeln!(text, "# - {drop}"); + } + for krate in &crates { + let _ = writeln!(text, "{} {}", krate.name, krate.version); + } + std::fs::write(corpus_dir().join("crates.txt"), text).unwrap(); + prune(&crates); + std::fs::copy(&lock, corpus_dir().join("Cargo.lock")).unwrap(); +} + +/// Write the workspace of `crates` and drop from its lockfile what only a crate no longer +/// among them locked, which a `--locked` command refuses; Cargo moves nothing else. +fn prune(crates: &[Krate]) { + write_workspace(crates, &BTreeMap::new()); + run(cargo() + .args(["metadata", "--format-version", "1", "--offline"]) + .current_dir(workspace())); +} diff --git a/ffi/tests/fixtures/shapes.rs b/ffi/tests/fixtures/shapes.rs index c595bc9df..8b6e2fe64 100644 --- a/ffi/tests/fixtures/shapes.rs +++ b/ffi/tests/fixtures/shapes.rs @@ -770,15 +770,6 @@ struct Built { native: Vec, } -/// The shared library of the crate `name`, which Python, Kotlin, and Dart load. -fn shared(name: &str) -> String { - match (cfg!(windows), cfg!(target_os = "macos")) { - (true, _) => format!("{name}.dll"), - (_, true) => format!("lib{name}.dylib"), - _ => format!("lib{name}.so"), - } -} - /// Emit, census, export, and build the crate of `shapes` named `name`. fn build(name: &str, shapes: &[Shape]) -> Built { let krate = emit(name, shapes); @@ -803,7 +794,7 @@ fn build(name: &str, shapes: &[Shape]) -> Built { // own, and is copied beside the Python. let python = krate.dir.join("glue-python"); build(&python, "python"); - let lib = shared(name); + let lib = super::shared(name); super::step::copy(&python.join("debug").join(&lib), &out.join("python").join(&lib)); let built = build(&target, "kotlin,dart"); let native = String::from_utf8_lossy(&built.stderr) @@ -1563,7 +1554,7 @@ fn round_trip(built: &Built, language: &str) { "dart" => { let main = dir.join("main.dart"); step::write(&main, dart(built, calls)); - let lib = built.lib.join(shared(&name)); + let lib = built.lib.join(super::shared(&name)); let dill = super::dart_compile(&name, &dir, &built.out.join("dart"), &lib, &main); run(&mut super::dart_run(&dill, &[])) } diff --git a/quest/m1/ffi-apart.md b/quest/m1/ffi-apart.md new file mode 100644 index 000000000..92162db16 --- /dev/null +++ b/quest/m1/ffi-apart.md @@ -0,0 +1,34 @@ +# [M] Keep apart the names each language and platform takes + +## Goal + +Every member a generator names is apart from what its language, runtime, or platform +headers already take, so the corpus's crates below bind and leave `KNOWN` in +`ffi/tests/fixtures/corpus.rs`. Each clash a check like `distinct` catches is renamed +rather than reported, since that check's error has no span. + +## Plan + +Kept by the maintainer on 2026-11-19, in the pick of [#878](https://github.com/kixel-ai/rust2/pull/878). + +Found by [the corpus](/ffi/tests/fixtures/corpus.rs) on 2026-11-19, after its PR named apart +C++'s `default` and trait members, Python's keyword variants, Dart's core types, and +Kotlin's `_` parameter. What remains, by generator: + +- Dart: a plain enum's value and a trait member, both `debug` (log, env_logger, object, + redox_syscall); a method `index`, which every Dart enum inherits (petgraph). +- Swift: an inherent `default` and `Default`'s, both `static default` (darling, + prettyplease, icu_locale_core, nu-ansi-term). +- Go: a variant's field and its method, both `Number` (der); a method go vet reads as a + standard one, `Is` or `ReadByte`, of another signature (anyhow, untrusted). +- Kotlin: a method of the JVM signature `Object.wait()` (parking_lot, crossbeam-utils), or + of a Kotlin property's getter, `isFirst` (itertools). +- C++: a name a system header defines as a macro, such as `WEXITSTATUS`, + `PTHREAD_COND_INITIALIZER`, or `NULL`'s `__null` (libc, hermit-abi, wasm-bindgen). + +Recommended: give each generator the `taken` set C++'s `kept_apart` uses, holding every +member the generator itself writes, so the rename happens where the name is made, and add +each case to the api fixture's `clash` module. For macros, rename every name a C or C++ +standard or POSIX header may define, from a list, rather than `#undef` the user's macro. + +Public API: the renamed members of those crates' bindings. diff --git a/quest/m1/ffi-corpus-bugs.md b/quest/m1/ffi-corpus-bugs.md new file mode 100644 index 000000000..7ded7550c --- /dev/null +++ b/quest/m1/ffi-corpus-bugs.md @@ -0,0 +1,23 @@ +# [S] Fix the corpus's binding bugs + +## Goal + +errno, bytes, axum, and hyper bind and leave `KNOWN` in `ffi/tests/fixtures/corpus.rs`. + +## Plan + +Kept by the maintainer on 2026-11-19, in the pick of [#878](https://github.com/kixel-ai/rust2/pull/878). + +Found by [the corpus](/ffi/tests/fixtures/corpus.rs) on 2026-11-19: + +- errno: C++ lifts `__errno_location`'s result as an `Errno` where its declaration returns + a function pointer. +- bytes: Kotlin's `Bytes.splitOff` reads `this.handle`, which an object of `Bytes`'s + shape lacks. +- axum and hyper: the glue crate depends on `bytes` twice, at the facade's version and at + another, which cargo refuses. + +Recommended: reduce each to a case in the api fixture first, since each is a generator bug +the fixtures do not reach yet. + +Public API: none. diff --git a/quest/m1/ffi-guide.md b/quest/m1/ffi-guide.md index 60b9e1edb..911392e37 100644 --- a/quest/m1/ffi-guide.md +++ b/quest/m1/ffi-guide.md @@ -11,8 +11,8 @@ read the census. Found by the 2026-11-18 language audit: refusals are rustc diagnostics at their spans but say only what is refused; the README's scope note says a stock crate needs a facade, and -nothing shows how to write one. The [corpus](/quest/m1/ffi-proofs/corpus.md)'s failures -are the examples to write the notes against. The "exclude it in the config" suffix goes +nothing shows how to write one. The nightly corpus's refusals (`just ffi corpus`, whose +report lists each crate's) are the examples to write the notes against. The "exclude it in the config" suffix goes with [the config](/quest/m1/ffi-refusals/no-config.md), not here. Public API: refusal messages. diff --git a/quest/m1/ffi-inference.md b/quest/m1/ffi-inference.md new file mode 100644 index 000000000..9e3ab69ab --- /dev/null +++ b/quest/m1/ffi-inference.md @@ -0,0 +1,28 @@ +# [L] Bound instance inference by design + +## Goal + +`rust2-ffi --census` and `--out` on js-sys 0.3.107's facade finish, as they do on every +other crate of the corpus, and js-sys leaves `KNOWN` in `ffi/tests/fixtures/corpus.rs`. + +## Plan + +Kept by the maintainer on 2026-11-19, in the pick of [#878](https://github.com/kixel-ai/rust2/pull/878). + +Found by [the corpus](/ffi/tests/fixtures/corpus.rs) on 2026-11-19: js-sys's census ran +two hours without finishing. `Collector::infer` repeats until no round adds an instance, +and each round names every instance's members anew. js-sys's generic types (`Array`, +`Promise`, and the like) are bounded by a trait every JS type implements, so each round +nests one more generic type inside another: 0, 909, 1579, then 2478 instances, naming 0.4M, +5M, 30M, then 94M types, the last round taking four minutes. Nothing bounds the depth but +the count of distinct generic types, since only an instance holding its own type is +refused. + +Recommended: bound what a round may add by what the API names rather than by a constant, +such as inferring an instance only where an export's own signature, a type's default, or +a bound's implementor names it, and not where only another inferred instance's member +does; measure moq's census before and after, since its instances must not change. Also +worth measuring: `held_forms` walks every named type on every round, which a set of the +types it has seen would cut. + +Public API: none, unless the bound leaves out instances some export names today. diff --git a/quest/m1/ffi-proofs/corpus.md b/quest/m1/ffi-proofs/corpus.md deleted file mode 100644 index a3548d8b8..000000000 --- a/quest/m1/ffi-proofs/corpus.md +++ /dev/null @@ -1,26 +0,0 @@ -# [M] Export a corpus of stock crates nightly - -## Goal - -A nightly job censuses and exports a pinned corpus of popular crates.io crates through a -facade each. A panic in rust2-ffi, an error with no span, or a binding of a crate with no -refusals that does not compile fails the run. The two crashes reproduced on 2026-11-18 -are fixed: once_cell's `race::OnceBool::set -> Result<(), ()>` hits `unreachable!("Unit is -never returned")` at `ffi/src/cpp.rs:489`, and rustc-hash fails with no span ("two members -of FxHasher are both FxHasher::default_ in C++"). - -## Plan - -Found by the 2026-11-18 language audit. [#762](https://github.com/kixel-ai/rust2/pull/762) -censused the top 300 crates on 2026-11-13 and only its scope note landed: 68 crates that -build natively failed in the exporter (44 on an `owned_box` lang-item error, 23 on an -ambiguous package selector, 1 on a missed instance in futures-util), and 3 with no -refusals failed to generate. Both break AGENTS.md's rule that an unsupported construct is -an error with a span. - -Recommended: start from #762's corpus and harness, pinned by version so the nightly is -reproducible, and triage each failure class into a fix in this PR or a refusal with a -span. A class too large for this PR becomes a follow-up quest. Keep the job out of the -merge gate. - -Public API: none, beyond the fixes. diff --git a/quest/m1/ffi-proofs/shapes.md b/quest/m1/ffi-proofs/shapes.md index ad92ab142..51a678d8a 100644 --- a/quest/m1/ffi-proofs/shapes.md +++ b/quest/m1/ffi-proofs/shapes.md @@ -17,8 +17,8 @@ The shape tests (`ffi/tests/fixtures/shapes.rs`) cover: Found by the 2026-11-18 language audit: `languages!(c, cpp, kotlin, python, swift, go, dart)` at `shapes.rs:1623` predates the web target ([#847](https://github.com/kixel-ai/rust2/pull/847)), and JavaScript is where lossless `u64` and `f32` are hardest; floats exclude NaN today, -so "every value crosses exactly" is untested for them; `Result<(), ()>` is what crashes -once_cell ([corpus](/quest/m1/ffi-proofs/corpus.md)). +so "every value crosses exactly" is untested for them; a `Result` whose error is `()`, +which crashed once_cell's export, is refused since the corpus found it. A shape refused by design stays left out by the census, as today. Each new mismatch found goes into `KNOWN` with a fix quest, or is fixed here.