README Source History Refs Reviews Compare Notes Search Review guide Settle the deferred RPC and VCS boundaries with prototypes (#8) 93a11b64d7f75cde6aeeef6b39b1ec996d6413f6
Oliver Jan Krylow <oliver@bugabinga.net > · 17 Jul 2026
SSH signature · not checked
Browse files Compare with HEAD
* Plan prototypes for the two deferred boundaries
The RPC catalog and the git-clone boundary were both left to a later coin
flip; evidence is cheaper than the flip. RPC's real question is whether the
Lua SDK can project onto JSON-RPC at all given callback-taking functions,
and git's is the incremental cost of gix clone over the feature set gix
already pulls in for VCS queries — a number nobody has measured.
Adds prototypes/PLAN.md sections p24 (rpc-surface-projection) and p25
(git-boundary).
* Prove the RPC catalog is not a Lua SDK mirror
§10.2 deferred the RPC method catalog as 'expected to mirror the Lua
SDK surface', which understates a structural transform. A bidirectional
JSON-RPC harness shows why: a client-registered tool's execute can't
travel as data — the engine has to call back to the client (server to
client request) to run it, so callback-taking SDK functions invert
direction rather than mirror. Events become id-less notifications,
except blocking ones (tool_call, session_before_*) which must be
requests so the client can answer. And a whole driver namespace
(session/*, prompt/submit, command/run) has no §9.10 origin at all —
Lua never needs it because it runs inside a live session.
Adds prototypes/p24-rpc-surface-projection; the projection rule it
proves reshapes the §10.2 deferral note.
* Settle the RPC method catalog as a projection, not a mirror
p24 disproved the deferral note's premise that the catalog mirrors the
Lua SDK. New §10.4 states what actually holds: data namespaces mirror as
request/response, callback-taking functions invert to server-to-client
requests, events are notifications (blocking ones are requests), a driver
namespace with no §9.10 origin exists for clients driving a session from
outside, and TUI/keyboard surfaces are omitted headless. The 'mirror'
line is gone; the method list derives from the rule instead of being
enumerated.
Rewrites SPEC §10.2/§10.4 and records the p24 result in prototypes/PLAN.md.
* Measure the gix-vs-shellout git boundary
§9.5 deferred the plugin-install git boundary because nobody had the one
number that decides it: what gix clone costs on top of the gix smith
already compiles for VCS queries. gix clones a local repo at a ref
byte-for-byte identical to shell-out; local clone adds 5 first-party gix
crates, and the https path's heavy TLS/async stack is mostly already
paid for by the §2.3 reqwest and tokio requirements. Shell-out stays
zero crates but forces a git binary on every user's PATH for a core
feature. gix wins.
Prototyping also caught a build-breaker: the §2.3 gix line with
default-features=false selects no hash backend and fails to compile
until 'sha1' is added.
Adds prototypes/p25-git-boundary.
* Decide gix for git installs; keep jj open
p25 measured the number that settled §9.5: gix clones a repo at a ref
identically to git, adding only five crates over the gix smith already
compiles for VCS queries, and its heavy https path reuses the TLS and
async stacks §2.3 already mandates via reqwest and tokio. Shell-out's
zero build cost loses to the runtime git-on-PATH burden it puts on every
user for plugin install. §9.5 now names gix; the §2.3 line gains the
sha1 backend it was missing to compile at all.
§9.13's jj boundary stays open on purpose: gix's verdict can't carry
because jj-lib is not already a dependency, so its baseline is zero and
its cost unmeasured — recorded as planned p26.
Edits SPEC §2.3/§9.5/§9.13 and the p25/p26 blocks in prototypes/PLAN.md.
* Measure the jj-lib-vs-shellout VCS boundary
§9.13 left the jj integration open because gix's verdict couldn't carry:
jj-lib is not already a dependency, so its cost was unknown. It builds
on stable 1.94.1 and the numbers settle it — an in-process op-log read
costs 0.003 ms against ~12.5 ms for a real jj invocation, and §9.13 runs
jj on every mutating tool, so shell-out would tax every turn with tens
of ms of pure spawn overhead plus a hard runtime jj-binary dependency.
Embedding costs +186 crates over an empty baseline, but much of that
tree (gix, regex, futures, serde) is already required by §2.3.
Two edges surfaced: jj-lib drags gix 0.85 while §2.3 pins 0.83, and a
transitive kstring 2.0.3 wants rustc 1.96 so the lockfile must pin
2.0.2 until stable catches up.
Adds prototypes/p26-jj-boundary.
* Decide jj-lib for the VCS engine
p26 closed the last deferred boundary. jj-lib builds on stable and the
latency gap is lopsided where it matters: an in-process read costs
0.003 ms against ~12.5 ms per jj invocation, and §9.13 drives jj on
every mutating tool, so shell-out would tax every turn to spare a
one-time compile. §9.13 now embeds jj-lib; §2.3 gains it, aligns gix to
the 0.85 that jj-lib pulls so only one gix tree compiles, and records
the kstring lockfile pin that keeps the tree on stable until Rust 1.96.
The pre-1.0 API churn is the accepted cost, contained by the
smith.vcs.* façade.
Edits SPEC §2.3/§9.13 and the p26 result block in prototypes/PLAN.md.
---------
Co-authored-by: Claude <noreply@anthropic.com> Changed files (11) Diff layout Auto Unified Split
+66 / −12 text lines
199 199 grep = "0.4"grep = "0.4"200 200 grep-regex = "0.1"grep-regex = "0.1"201 201 grep-searcher = "0.1"grep-searcher = "0.1"202 - gix = { version = "0.83 ", default-features = false, features = ["blame", "blob-diff", "revision"] }202 + gix = { version = "0.85 ", default-features = false, features = ["blame", "blob-diff", "revision", "sha1", "blocking-network-client", "worktree-mutation" ] }204 205 oauth2 = "4"oauth2 = "4"205 206 insta = "1"insta = "1"218 219 flate2 = "1"flate2 = "1"
222 + Two version constraints are load-bearing (prototype-decided, p25/p26): `gix`223 + is pinned to the version `jj-lib` pulls (0.85) so the two never compile a224 + duplicate gix tree, and `jj-lib` is pinned exact because it is pre-1.0 with a225 + roughly monthly, unstable API — the `smith.vcs.*` façade (§9.13) absorbs the226 + upgrade churn. `jj-lib`'s transitive `kstring` resolves to a version needing227 + rustc 1.96; until stable Rust reaches it, `Cargo.lock` pins `kstring = 2.0.2`.228 + This is a lockfile pin of a dependency, not a declaration of Smith's own MSRV,229 + so PROJECT-INVARIANTS §3.1 stands; it self-heals once stable ≥ 1.96.221 231 Release profile:Release profile:1608 1618 - Git installs strip the `.git` directory: an installed plugin is a pure file- Git installs strip the `.git` directory: an installed plugin is a pure file1609 1619 snapshot, not a working clone. Updates go through reinstall. snapshot, not a working clone. Updates go through reinstall.1611 - Git URL installs go through Smith's internal git boundary; the concrete1612 - implementation (`gix` or system-git shell-out) is release engineering's choice,1613 - hidden behind the boundary (p04 evidence, `prototypes/PLAN.md`).1621 + Git URL installs go through Smith's internal git boundary, implemented with1622 + `gix` — no runtime dependency on a `git` binary (prototype-decided, p25: gix1623 + clones a repo at a ref byte-for-byte identical to shell-out). Local clone adds1624 + five first-party gix crates over the §2.3 VCS-query baseline; the https1625 + transport's TLS/async stack is mostly already paid for by the §2.3 `reqwest`1626 + and `tokio` requirements, and gix's http transport is configured to share1627 + reqwest's TLS backend rather than ship a second one. Shell-out was rejected:1628 + zero build cost, but it forces a compatible `git` on every user's PATH for a1615 1631 `smith uninstall <org>/<name>`:`smith uninstall <org>/<name>`:1944 1960 ### 9.13 VCS SDK ### 9.13 VCS SDK 1946 - Smith uses jj internally for operation-level undo/redo/time travel. jj is1947 - driven through the same kind of internal boundary as §9.5's git installs: the1948 - concrete integration (`jj-lib` crate or jj binary shell-out) is release1949 - engineering's choice, hidden behind `smith.vcs.*`.1962 + Smith uses jj internally for operation-level undo/redo/time travel, hidden1963 + behind `smith.vcs.*`, integrated with the `jj-lib` crate — no runtime1964 + dependency on a `jj` binary (prototype-decided, p26). Shell-out was rejected on1965 + the hot path: jj runs on every mutating tool, and a real `jj` invocation costs1966 + ~12.5 ms against ~0.003 ms for the same read in-process, so per-turn spawn1967 + overhead would accumulate for nothing. Embedding costs +186 crates over an1968 + empty baseline, but much of that tree — gix, regex, futures, serde — is already1969 + required by §2.3, and jj-lib builds on stable Rust (§2.3 records the pins that1970 + keep it there). The pre-1.0, monthly-moving jj-lib API is the price; the1971 + `smith.vcs.*` façade is what contains its churn, so an upgrade never reaches2300 2323 - `smith install <plugin>` — install plugin.- `smith install <plugin>` — install plugin.2301 2324 - `smith uninstall <plugin>` — uninstall plugin.- `smith uninstall <plugin>` — uninstall plugin.2302 2325 - `smith eval <prompt> [--json] [--session id]` — non-interactive eval.- `smith eval <prompt> [--json] [--session id]` — non-interactive eval.2303 - - `smith rpc` — JSON-RPC via stdio; methods include `config/reload` (§9.19). 2326 + - `smith rpc` — JSON-RPC 2.0 over stdio; `config/reload` (§9.19) is one method, 2327 + the projection rule is §10.4.2304 2328 - `smith completions <shell>` — generate shell completions (`clap_complete`).- `smith completions <shell>` — generate shell completions (`clap_complete`).2305 - The full method catalog is deferred: it is expected to mirror the Lua SDK2306 - surface (§9.10), with mode-specific additions and omissions, rather than2307 - define an independent API.
2308 2329 - `smith help [topic] [--search q] [--list] [--examples] [--example name] [--guide name]`.- `smith help [topic] [--search q] [--list] [--examples] [--example name] [--guide name]`.2309 2330 Topics support dotted function addressing: `smith help tool.register` Topics support dotted function addressing: `smith help tool.register`2310 2331 resolves the `register` entry within the `tool` topic. resolves the `register` entry within the `tool` topic.2321 2342 `smith-cli` restores terminal state on errors and signals.`smith-cli` restores terminal state on errors and signals.
2344 + ### 10.4 RPC Method Projection 2346 + The `smith rpc` catalog is not a mirror of the Lua SDK (§9.10) — projecting2347 + the SDK onto JSON-RPC is a structural transform, prototype-proven (p24), and2348 + the method list is derived from it rather than enumerated here. Two2349 + independent axes classify each surface: *origin* (mirrored from §9.10 vs an2350 + RPC-only addition) and *shape* (data request/response, callback, or2353 + - **Data and config-mutation namespaces mirror** as request→response methods:2354 + `fs`, `search`, `env`, `time`, `log`, `provider`, `alias`, `group`,2355 + `bucket`, `vcs`, `config`, `secret`, `active_tools`, `credentials`,2356 + `send_message`, `abort`, `shutdown`, `getContextUsage`.2357 + - **Callback-taking functions invert direction.** `tool.register` (its2358 + `execute`), `command` handlers/autocomplete, and `bus.on` cannot travel as2359 + data; registering one means the engine issues a server→client REQUEST to2360 + run the client's handler and awaits the reply. RPC that registers behavior2361 + is therefore bidirectional, not a one-way call.2362 + - **Events (§9.8) are server→client notifications** — except blocking events2363 + (`tool_call`, `session_before_*`), which are server→client REQUESTS so the2364 + client can answer block/allow/replace. A pure observer client that2365 + registers nothing still needs the reverse channel for these.2366 + - **A driver namespace has no §9.10 origin** and is RPC-only: `session/open`,2367 + `session/attach`, `session/list`, `session/dump`, `session/fork`,2368 + `session/subscribe`, `prompt/submit`, `command/run`. Lua never needs these2369 + because a plugin already runs inside a live session; an RPC client must2370 + drive one from outside.2371 + - **Lua-runtime-only surfaces are omitted** in headless RPC: `tui`,2372 + `shortcut` (no terminal, no keyboard).2374 + Framing (line-delimited JSON vs `Content-Length`) is an implementation choice2375 + settled when `smith rpc` is built.2323 2377 ## 11. Security Model ## 11. Security Model prototypes/PLAN.md Modified +179 / −0 text lines
1680 1680 deliveries skip with diagnostic), drop deferred to the drain epilogue;deliveries skip with diagnostic), drop deferred to the drain epilogue;1681 1681 self-teardown from a handler is safe; string-keys-only payload rule.self-teardown from a handler is safe; string-keys-only payload rule.
1683 + ## Campaign 4 — settle the two deferred boundaries 1685 + Planned 2026-07-16. Two decisions the spec deliberately left open now get1686 + evidence instead of a coin flip.1688 + ## P24 — `p24-rpc-surface-projection` 1692 + - §10.2: `smith rpc` is JSON-RPC over stdio; the full method catalog is1693 + deferred but "expected to mirror the Lua SDK surface (§9.10) with1694 + mode-specific additions and omissions, rather than define an independent1695 + API"; `config/reload` (§9.19) is the one named method.1699 + The mirror claim may not hold: SDK functions that take Lua callbacks1700 + (`tool.register`'s `execute`, `on`-event handlers, command handlers) cannot1701 + serialize across a stdio boundary as data. If the catalog is not a clean1702 + mirror, §10.2's deferral note is misleading and must state the real shape.1704 + ### Minimal artifact 1707 + p24-rpc-surface-projection/1708 + Cargo.toml (serde, serde_json)1712 + A minimal BIDIRECTIONAL JSON-RPC stdio harness (line-delimited or1713 + Content-Length framing — pick and document): a mock engine serving methods1714 + and emitting notifications, driven by a scripted client.1719 + cd prototypes/p24-rpc-surface-projection1720 + cargo run -- data-method1721 + cargo run -- command-method1722 + cargo run -- event-notification1723 + cargo run -- register-tool-callback1724 + cargo run -- classify1730 + - a data method (e.g. `session/list`, `vcs/status`) round-trips1731 + request→response with §9.10-shaped payloads,1732 + - a command method (`command/run`) executes and returns,1733 + - a core event (§9.8) is delivered to the client as a server→client1734 + notification (the event bridge → RPC mapping),1735 + - a client-registered tool works: `tool/register` names the tool, and its1736 + execution is a server→client REQUEST to the client's handler whose reply1737 + feeds the agent loop — proving callback-shaped SDK functions need1738 + bidirectional RPC, not a data mirror,1739 + - `classify` prints the full §9.10 namespace list tagged1740 + MIRRORED / ADDED (driver-only, e.g. session lifecycle, prompt submit) /1741 + CALLBACK (needs server→client) / OMITTED (Lua-runtime-only), which becomes1742 + the §10.2 catalog rule.1746 + Replace §10.2's "mirror the Lua SDK" deferral with the proven projection1747 + rule: data/command namespaces mirror as methods; callback-taking functions1748 + require bidirectional RPC; events are notifications; driver methods1749 + (lifecycle, prompt submission) are RPC-only additions; Lua-runtime1750 + internals are omitted.1752 + ## P25 — `p25-git-boundary` 1756 + - §9.5: git-URL plugin installs go through Smith's internal git boundary;1757 + `gix` or system-git shell-out is release engineering's choice, hidden1758 + behind the boundary. `gix` is already a §2.3 dependency for VCS queries1759 + (`blame`, `blob-diff`, `revision`).1763 + The decision was deferred without measuring the one number that decides it:1764 + the INCREMENTAL cost of enabling gix's clone/fetch features on top of the1765 + already-present feature set, versus a runtime dependency on the `git` binary.1766 + gix clone may also drag in a network/TLS stack that dwarfs the query path.1768 + ### Minimal artifact 1772 + Cargo.toml (gix with blame/blob-diff/revision — the §2.3 baseline —1773 + plus a feature flag adding clone/fetch)1777 + Clone a LOCAL bare repo (created in a temp dir, like p04) at a named ref1778 + via gix, and via `git` shell-out, stripping `.git` to match §9.5 install1779 + semantics. Real https-through-proxy clone is attempted and its result1780 + reported, but viability rests on the local case.1785 + cd prototypes/p25-git-boundary1786 + cargo run -- gix-clone-local1787 + cargo run -- shellout-clone-local1788 + cargo run -- gix-clone-https 1789 + cargo run -- deps-report1795 + - gix clones the local bare repo at a ref and strips `.git`; result matches1796 + the shell-out clone byte-for-byte on tracked files,1797 + - `deps-report` prints: incremental crate count and compile-time delta of1798 + the clone/fetch feature set OVER the §2.3 baseline (`cargo tree` diff),1799 + and the release binary size delta,1800 + - shell-out baseline works with zero added crates but needs `git` on PATH at1801 + runtime (documented as the cost),1802 + - a clear recommendation with the numbers: gix (no runtime git dep, +N1803 + crates / +M KB) vs shell-out (runtime git dep, 0 crates).1807 + Turn §9.5's "release engineering's choice" into a decided default with the1808 + measured tradeoff recorded; note whether the §9.13 jj boundary (jj-lib vs jj1809 + binary) deserves the same treatment as a follow-up.1811 + ## Campaign 4 Results 1813 + ### P24 result — RPC surface projection 1815 + Status: complete (11 PASS). Proved via a bidirectional JSON-RPC 2.0 stdio1816 + harness: data methods (`session/list`, `vcs/status`) round-trip; `command/run`1817 + executes; a core event arrives as an id-less server→client notification; a1818 + client-registered tool executes via a server→client `tool/execute` request1819 + whose reply feeds the loop. **Disproved**: §10.2's "mirror the Lua SDK" — the1820 + projection is mirror-minus-callbacks-plus-driver-methods, and origin1821 + (mirrored/added) is orthogonal to shape (data/callback/notification).1822 + Classification of all §9.10 primitives: 19 mirrored, 3 callback (`tool`,1823 + `command`, `bus`), 2 omitted (`tui`, `shortcut`); driver namespace1824 + (`session/*`, `prompt/submit`, `command/run`) is RPC-only. Folded into §10.4.1825 + Spec issues: P1 replace the mirror deferral with the projection rule; P2 name1826 + the two axes; P2 blocking events are requests not notifications.1828 + ### P25 result — git boundary 1830 + Status: complete. Proved: gix clones a local bare repo at a named ref1831 + byte-for-byte identical to `git clone`, and https clone works through the1832 + proxy. Measured incremental cost over the §2.3 gix baseline: local clone +51833 + first-party gix crates; https worst-case +79 crates / +13.5 MB / +59s, but the1834 + TLS/async stack is largely already required by §2.3 `reqwest`+`tokio`.1835 + **Disproved**: the §2.3 gix line as written (`default-features = false`, no1836 + hash backend) fails to compile — needs `sha1` (P1). Decision: gix for installs,1837 + no runtime `git` dependency; shell-out rejected (forces `git` on PATH). Folded1838 + into §2.3 and §9.5. Spec issues: P1 sha1 build fix; P2 §9.5 gix default; P31839 + §9.13 jj boundary needs its own measurement (p26).1841 + ## P26 — `p26-jj-boundary` 1845 + §9.13: the jj integration (`jj-lib` crate vs jj-binary shell-out) is open. gix's1846 + p25 verdict does not transfer — `jj-lib` is not already a §2.3 dependency.1850 + Status: complete. Proved: jj-lib 0.43 builds on stable 1.94.1 (with a kstring1851 + pin); a representative op set (init, snapshot, op-log, diff, op-restore) works1852 + both in-process and via `jj` shell-out. Latency is decisive — in-process1853 + op-log 0.003 ms vs a real `jj` invocation ~12.5 ms — on a subsystem run per1854 + mutating tool. Footprint +186 crates / +8.2 MB / +~95s over an empty baseline,1855 + much overlapping §2.3 (gix, regex, futures, serde). **Disproved**: that gix's1856 + +5-crate verdict transfers (it is +186 here); and that jj-lib's tree respects1857 + stable-latest as-is (transitive `kstring 2.0.3` wants rustc 1.96 → lockfile1858 + must pin 2.0.2). Decision: embed jj-lib. Folded into §2.3 and §9.13. Spec1859 + issues: P1 kstring pin; P2 §9.13 embed default, jj-lib API-stability caveat,1860 + gix 0.83→0.85 alignment.1683 1862 ## Reporting Template ## Reporting Template 1685 1864 Each completed prototype updates this plan with a result block in theEach completed prototype updates this plan with a result block in theprototypes/p24-rpc-surface-projection/Cargo.lock Added new file mode 100644+106 / −0 text lines
8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" 18 + name = "p24-rpc-surface-projection" 28 + source = "registry+https://github.com/rust-lang/crates.io-index" 29 + checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" 37 + source = "registry+https://github.com/rust-lang/crates.io-index" 38 + checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368" 46 + source = "registry+https://github.com/rust-lang/crates.io-index" 47 + checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" 55 + source = "registry+https://github.com/rust-lang/crates.io-index" 56 + checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" 64 + source = "registry+https://github.com/rust-lang/crates.io-index" 65 + checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" 75 + source = "registry+https://github.com/rust-lang/crates.io-index" 76 + checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9" 88 + source = "registry+https://github.com/rust-lang/crates.io-index" 89 + checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" 97 + name = "unicode-ident" 99 + source = "registry+https://github.com/rust-lang/crates.io-index" 100 + checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" 105 + source = "registry+https://github.com/rust-lang/crates.io-index" 106 + checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" prototypes/p24-rpc-surface-projection/Cargo.toml Added new file mode 100644+9 / −0 text lines
2 + name = "p24-rpc-surface-projection" prototypes/p24-rpc-surface-projection/src/main.rs Added new file mode 100644+582 / −0 text lines
27 + use serde_json::{json, Value};28 + use std::collections::HashMap;29 + use std::sync::atomic::{AtomicU64, Ordering};30 + use std::sync::mpsc::{channel, Receiver, Sender};31 + use std::sync::{Arc, Mutex};46 + #[derive(Debug, Clone)]52 + type Handler = Arc<dyn Fn (& Arc<Endpoint>, &str , Value) -> Result <Value, RpcError> + Send + Sync >;53 + type NotifySink = Arc<dyn Fn (&str , Value) + Send + Sync >;56 + out: Mutex<Sender<String >>, 58 + pending: Mutex<HashMap<u64 , Sender<Result <Value, RpcError>>>>,62 + fn new (out: Sender<String >) -> Arc<Self > {64 + out: Mutex::new(out),65 + next_id: AtomicU64::new(1 ),66 + pending: Mutex::new(HashMap::new()),71 + fn start (self: & Arc<Self >, inbound: Receiver<String >, handler: Handler, notify: NotifySink) {72 + let ep = self.clone ();73 + thread::spawn(move || {74 + for line in inbound {75 + let msg: Value = match serde_json::from_str(& line) {79 + if msg.get ("method" ).is_some () {80 + let method = msg["method" ].as_str ().unwrap_or ("" ).to_string ();81 + let params = msg.get ("params" ).cloned ().unwrap_or (Value::Null);82 + match msg.get ("id" ).and_then (Value::as_u64) {88 + let ep2 = ep.clone ();89 + let h = handler.clone ();90 + thread::spawn(move || {91 + let res = h (& ep2, & method, params);92 + ep2.send_response (id, res);96 + None => notify (& method, params),98 + } else if let Some (id) = msg.get ("id" ).and_then (Value::as_u64) {100 + let res = match msg.get ("error" ) {101 + Some (err) => Err (RpcError {102 + code: err.get ("code" ).and_then (Value::as_i64).unwrap_or (- 1 ),105 + .and_then (Value::as_str)109 + None => Ok (msg.get ("result" ).cloned ().unwrap_or (Value::Null)),111 + if let Some (tx) = ep.pending.lock ().unwrap ().remove (& id) {112 + let _ = tx.send (res);120 + fn call (& self, method: &str , params: Value) -> Result <Value, RpcError> {121 + let id = self.next_id.fetch_add (1 , Ordering::SeqCst);122 + let (tx, rx) = channel ();123 + self.pending.lock ().unwrap ().insert (id, tx);124 + let req = json! ({"jsonrpc" : "2.0" , "id" : id, "method" : method, "params" : params});126 + rx.recv ().unwrap_or (Err (RpcError {128 + message: "transport closed" .into (),133 + fn notify (& self, method: &str , params: Value) {134 + self.send (json! ({"jsonrpc" : "2.0" , "method" : method, "params" : params}));137 + fn send_response (& self, id: u64 , res: Result <Value, RpcError>) {138 + let msg = match res {139 + Ok (v) => json! ({"jsonrpc" : "2.0" , "id" : id, "result" : v}),140 + Err (e) => json! ({"jsonrpc" : "2.0" , "id" : id, "error" : {"code" : e.code, "message" : e.message}}),145 + fn send (& self, v: Value) {147 + let _ = self.out.lock ().unwrap ().send (v.to_string ());158 + subscribers: Vec <String >, 159 + client_tools: Vec <String >, 163 + fn emit (ep: & Arc<Endpoint>, engine: & Arc<Mutex<Engine>>, event: &str , payload: Value) {164 + let subscribed = engine169 + .any (|s| s == event || s == "*" );171 + ep.notify (event, payload);181 + engine: & Arc<Mutex<Engine>>,183 + ) -> Result <Value, RpcError> {184 + let text = params.get ("text" ).and_then (Value::as_str).unwrap_or ("" );185 + let tool = engine.lock ().unwrap ().client_tools.first ().cloned ();186 + let mut transcript = vec! [json! ({"role" : "user" , "text" : text})];187 + let mut tool_output = Value::Null;189 + if let Some (tool_name) = tool {190 + emit (ep, engine, "tool_execution_start" , json! ({"id" : "call-1" , "name" : tool_name}));192 + let reply = ep.call (194 + json! ({"name" : tool_name, "input" : {"text" : "ping" }}),198 + .and_then (|c| c.get (0 ))199 + .and_then (|c| c.get ("text" ))200 + .and_then (Value::as_str)203 + tool_output = json! (out);207 + "tool_execution_end" ,208 + json! ({"id" : "call-1" , "name" : tool_name, "is_error" : false , "output" : out}),210 + transcript.push (json! ({"role" : "tool" , "name" : tool_name, "output" : out}));211 + transcript.push (json! ({"role" : "assistant" , "text" : format! ("tool said: {out}" )}));213 + transcript.push (json! ({"role" : "assistant" , "text" : "no tools registered; done" }));216 + let final_text = transcript218 + .and_then (|m| m.get ("text" ))220 + .unwrap_or (Value::Null);221 + Ok (json! ({"final_text" : final_text, "tool_output" : tool_output, "transcript" : transcript}))224 + fn server_handler (engine: Arc<Mutex<Engine>>) -> Handler {225 + Arc::new(move | ep, method, params| match method {227 + "session/list" => Ok (json! ({"sessions" : [229 + {"id" : "01HSESSMAIN" , "name" : "main" , "cwd" : "/home/user/proj" ,230 + "entry_count" : 4 , "leaf" : "e4" },231 + {"id" : "01HSESSSPIKE" , "name" : "spike" , "cwd" : "/home/user/proj" ,232 + "entry_count" : 2 , "leaf" : "e2" }234 + "vcs/status" => Ok (json! ({236 + "modified" : ["src/main.rs" ], "added" : ["README.md" ],237 + "deleted" : [], "renamed" : []242 + let name = params.get ("name" ).and_then (Value::as_str).unwrap_or ("" );247 + .and_then (|a| a.get ("who" ))248 + .and_then (Value::as_str)249 + .unwrap_or ("world" );250 + Ok (json! ({"output" : format! ("hello {who}" ), "handled" : true }))257 + "tool_execution_end" ,258 + json! ({"id" : "noisy-1" , "name" : "noisy" , "is_error" : false , "output" : "tick" }),260 + Ok (json! ({"output" : "noise emitted" , "handled" : true }))262 + other => Err (RpcError {264 + message: format! ("unknown command {other}" ),270 + "session/open" => Ok (json! ({"session_id" : "01HNEWSESS" , "leaf" : Value::Null})),271 + "session/subscribe" => {272 + let mut e = engine.lock ().unwrap ();273 + if let Some (arr) = params.get ("events" ).and_then (Value::as_array) {275 + if let Some (s) = ev.as_str () {276 + e.subscribers.push (s.to_string ());280 + Ok (json! ({"ok" : true }))282 + "prompt/submit" => run_agent_loop (ep, & engine, params),285 + "tool/register" => {288 + .and_then (Value::as_str)291 + engine.lock ().unwrap ().client_tools.push (name.clone ());292 + Ok (json! ({"ok" : true , "registered" : name}))294 + "config/reload" => Ok (json! ({"changed" : ["model.default" ]})),296 + other => Err (RpcError {298 + message: format! ("method not found: {other}" ),308 + type Log = Arc<Mutex<Vec <Value>>>;309 + type Notes = Arc<Mutex<Vec <(String, Value)>>>;311 + fn client_handler (invocations: Log) -> Handler {312 + Arc::new(move | _ep, method, params| match method {314 + invocations.lock ().unwrap ().push (params.clone ());317 + .and_then (|i| i.get ("text" ))318 + .and_then (Value::as_str)320 + Ok (json! ({"content" : [{"type" : "text" , "text" : format! ("PONG:{text}" )}]}))322 + other => Err (RpcError {324 + message: format! ("client exposes no method {other}" ),331 + fn harness () -> (Arc<Endpoint>, Notes, Log) {332 + let (c2s_tx, c2s_rx) = channel::<String >(); 333 + let (s2c_tx, s2c_rx) = channel::<String >(); 335 + let server = Endpoint::new(s2c_tx);336 + let client = Endpoint::new(c2s_tx);338 + let engine = Arc::new(Mutex::new(Engine::default()));341 + server_handler (engine),342 + Arc::new(|_m, _p| {}), 345 + let notes: Notes = Arc::new(Mutex::new(Vec ::new()));346 + let invocations: Log = Arc::new(Mutex::new(Vec ::new()));348 + let notes = notes.clone ();349 + let sink: NotifySink = Arc::new(move | m, p| notes.lock ().unwrap ().push ((m.to_string (), p)));352 + client.start (s2c_rx, client_handler (invocations.clone ()), sink);354 + (client, notes, invocations)361 + fn check (label: &str , cond: bool ) -> bool {362 + println! ("{} {label}" , if cond { "PASS" } else { "FAIL" });366 + fn scn_data () -> bool {367 + let (c, _n, _i) = harness ();368 + let sess = c.call ("session/list" , Value::Null).expect ("session/list" );370 + "data-method: session/list round-trips §6.5 entries (id/leaf/entry_count)" ,371 + sess.get ("sessions" ).and_then (Value::as_array).is_some_and (|a| {373 + && a[0 ].get ("leaf" ).is_some ()374 + && a[0 ].get ("entry_count" ).is_some ()375 + && a[0 ].get ("id" ).is_some ()378 + let vcs = c.call ("vcs/status" , Value::Null).expect ("vcs/status" );380 + "data-method: vcs/status returns §9.13 {modified,added,deleted,renamed}" ,381 + ["modified" , "added" , "deleted" , "renamed" ]383 + .all (|k| vcs.get (* k).is_some_and (Value::is_array)),388 + fn scn_command () -> bool {389 + let (c, _n, _i) = harness ();391 + .call ("command/run" , json! ({"name" : "greet" , "args" : {"who" : "smith" }}))392 + .expect ("command/run" );394 + "command-method: command/run { name, args } executes and returns its result" ,395 + r.get ("output" ).and_then (Value::as_str) == Some ("hello smith" )396 + && r.get ("handled" ).and_then (Value::as_bool) == Some (true ),400 + fn scn_event () -> bool {401 + let (c, notes, _i) = harness ();406 + c.call ("session/subscribe" , json! ({"events" : ["tool_execution_end" ]}))407 + .expect ("subscribe" );408 + let r = c.call ("command/run" , json! ({"name" : "noisy" })).expect ("noisy" );409 + let notes = notes.lock ().unwrap ();410 + let got = notes.iter ().any (|(m, _)| m == "tool_execution_end" );412 + "event-notification: core event (§9.8) delivered as server->client NOTIFICATION (no id)" ,416 + "event-notification: notification arrived out-of-band, distinct from the command/run response" ,417 + got && r.get ("output" ).is_some (),422 + fn scn_register_tool () -> bool {423 + let (c, notes, inv) = harness ();424 + c.call ("session/subscribe" , json! ({"events" : ["tool_execution_start" , "tool_execution_end" ]}))425 + .expect ("subscribe" );426 + c.call ("tool/register" , json! ({"name" : "client_echo" , "parameters" : {"type" : "object" }}))427 + .expect ("tool/register" );431 + .call ("prompt/submit" , json! ({"text" : "use client_echo" }))432 + .expect ("prompt/submit" );435 + "register-tool-callback: server issued a server->client tool/execute REQUEST" ,436 + inv.lock ().unwrap ().len () == 1 ,439 + "register-tool-callback: client's reply fed back into the loop as the tool result" ,440 + r.get ("tool_output" ).and_then (Value::as_str) == Some ("PONG:ping" ),442 + let notes = notes.lock ().unwrap ();444 + "register-tool-callback: loop emitted tool_execution_start + _end notifications" ,445 + notes.iter ().any (|(m, _)| m == "tool_execution_start" )446 + && notes.iter ().any (|(m, _)| m == "tool_execution_end" ),454 + fn scn_classify () -> bool {456 + let rows: & [(&str , &str , &str )] = & [457 + ("fs" , "MIRRORED" , "file read/query/write are request->response data ops" ),458 + ("search" , "MIRRORED" , "query in, ranked matches out; pure data" ),459 + ("env" , "MIRRORED" , "get/set environment values as data" ),460 + ("time" , "MIRRORED" , "clock reads return scalar data" ),461 + ("log" , "MIRRORED" , "a log line is a one-way data method (fire-and-forget)" ),462 + ("tool" , "CALLBACK" , "register carries an `execute` callback; execution is a server->client tool/execute request" ),463 + ("command" , "CALLBACK" , "register carries handler/autocomplete callbacks; invoking is the ADDED command/run driver whose dispatch is server->client" ),464 + ("provider" , "MIRRORED" , "register/unregister mutate provider config from a data table, no callback" ),465 + ("alias" , "MIRRORED" , "alias definitions are data config mutations" ),466 + ("group" , "MIRRORED" , "group definitions are data config mutations" ),467 + ("bucket" , "MIRRORED" , "bucket definitions are data config mutations" ),468 + ("tui" , "OMITTED" , "in-process ratatui widget/layout registration; a headless RPC peer has no terminal to render into" ),469 + ("vcs" , "MIRRORED" , "status/diff are data reads, commit/undo are command methods; all request->response" ),470 + ("bus" , "CALLBACK" , "on(topic,handler) subscription: non-blocking events project to notifications, blocking events (§9.8 tool_call/session_before_*) need server->client requests" ),471 + ("config" , "MIRRORED" , "config reads plus config/reload (§9.19) are data/command methods" ),472 + ("secret" , "MIRRORED" , "register(value,label)/list return ids/labels; plaintext-as-data crosses once, masking is engine-side" ),473 + ("shortcut" , "OMITTED" , "keyboard-shortcut registration with a handler; no keyboard in a headless RPC peer" ),474 + ("active_tools" , "MIRRORED" , "get/all/set the active tool set as data" ),475 + ("send_message" , "MIRRORED" , "inject steer/followUp text; a data method that doubles as a driver action" ),476 + ("abort" , "MIRRORED" , "abort the current run; parameterless command method" ),477 + ("shutdown" , "MIRRORED" , "shut the engine down; command method" ),478 + ("getContextUsage" , "MIRRORED" , "returns token-usage data" ),480 + ("credentials" , "MIRRORED" , "get/set over the §7.4 auth store as data (sensitive but serializable)" ),481 + ("send_user_message" , "MIRRORED" , "inject a user message; data method / driver action" ),484 + println! ("-- §9.10 primitive classification (framing: line-delimited JSON) --" );485 + let mut counts: HashMap<&str , usize > = HashMap::new();486 + for (name, tag, why) in rows {487 + * counts.entry (tag).or_default () += 1 ;488 + println! (" {name:<18} {tag:<9} {why}" );492 + " tally: MIRRORED={} CALLBACK={} OMITTED={} (ADDED=0 among §9.10 primitives, by definition)" ,493 + counts.get ("MIRRORED" ).copied ().unwrap_or (0 ),494 + counts.get ("CALLBACK" ).copied ().unwrap_or (0 ),495 + counts.get ("OMITTED" ).copied ().unwrap_or (0 ),501 + let added: & [(&str , &str )] = & [502 + ("session/open" , "start a new session; Lua has no open primitive (it runs inside one)" ),503 + ("session/attach" , "attach to an existing session by id/name" ),504 + ("session/list" , "enumerate sessions; §9.10 exposes only ctx.session (the current one)" ),505 + ("session/dump" , "export entries (CLI `smith session dump`), no SDK equivalent" ),506 + ("session/fork" , "fork a session; §9.10 has only the session_before_fork event" ),507 + ("session/subscribe" , "declare event interest so the engine streams notifications; Lua uses in-process bus.on/event handlers" ),508 + ("prompt/submit" , "submit a user prompt and run a turn; the run-and-stream driver has no §9.10 call" ),509 + ("command/run" , "invoke a registered command; Lua registers, the TUI/user runs" ),512 + println! ("-- ADDED driver methods (RPC-only, no §9.10 equivalent) --" );513 + for (m, why) in added {514 + println! (" {m:<18} {why}" );516 + println! (" note: config/reload is the ONE method §10.2 names; it MIRRORS smith.config.reload, not ADDED." );520 + "classify: 22 task-listed primitives + 2 extra §9.10 (credentials, send_user_message) tagged" ,524 + "classify: callback-taking primitives (tool, command, bus) tagged CALLBACK" ,526 + .filter (|(_, t, _)| * t == "CALLBACK" )527 + .map (|(n, _, _)| * n)528 + .collect::<Vec <_ >>()529 + == vec! ["tool" , "command" , "bus" ],532 + "classify: driver methods enumerated as ADDED (session lifecycle + prompt submit)" ,533 + added.iter ().any (|(m, _)| * m == "session/open" )534 + && added.iter ().any (|(m, _)| * m == "prompt/submit" )535 + && added.iter ().any (|(m, _)| * m == "session/subscribe" ),540 + fn main () -> Result <(), Box <dyn std::error::Error>> {541 + let scenario = std::env::args().nth (1 ).unwrap_or_else (|| "all" .into ());542 + let run = |name: &str | -> bool {544 + "data-method" => scn_data (),545 + "command-method" => scn_command (),546 + "event-notification" => scn_event (),547 + "register-tool-callback" => scn_register_tool (),548 + "classify" => scn_classify (),550 + println! ("unknown scenario {other}" );556 + let ok = if scenario == "all" {560 + "event-notification" ,561 + "register-tool-callback" ,566 + println! ("== {n} ==" );577 + println! ("p24 RESULT: '{scenario}' holds" );580 + Err (format! ("p24 RESULT: '{scenario}' failed" ).into ())prototypes/p25-git-boundary/Cargo.lock Added new file mode 100644+3007 / −0 text lines
6 + name = "allocator-api2" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "4342d8937fc7e5dd9b1c60292261c0670c882a2cd1719cfc11b1af41731e32ad" 39 + source = "registry+https://github.com/rust-lang/crates.io-index" 40 + checksum = "6d9ceb1da931507a12f4fccea479dccd00da1943e1b4ae72d8e502d707361444" 52 + source = "registry+https://github.com/rust-lang/crates.io-index" 53 + checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 58 + source = "registry+https://github.com/rust-lang/crates.io-index" 59 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 64 + source = "registry+https://github.com/rust-lang/crates.io-index" 65 + checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" 70 + source = "registry+https://github.com/rust-lang/crates.io-index" 71 + checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 79 + source = "registry+https://github.com/rust-lang/crates.io-index" 80 + checksum = "1f7dc094d718f2e1c1559ad110e27eeaae14a5465d3d56dd6dbd793079fbd530" 90 + source = "registry+https://github.com/rust-lang/crates.io-index" 91 + checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" 96 + source = "registry+https://github.com/rust-lang/crates.io-index" 97 + checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 102 + source = "registry+https://github.com/rust-lang/crates.io-index" 103 + checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" 108 + source = "registry+https://github.com/rust-lang/crates.io-index" 109 + checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38" 120 + source = "registry+https://github.com/rust-lang/crates.io-index" 121 + checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 126 + source = "registry+https://github.com/rust-lang/crates.io-index" 127 + checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" 132 + source = "registry+https://github.com/rust-lang/crates.io-index" 133 + checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" 136 + "cpufeatures 0.3.0" ,143 + source = "registry+https://github.com/rust-lang/crates.io-index" 144 + checksum = "197fd99cb113a8d5d9b6376f3aa817f32c1078f2343b714fff7d2ca44fdf67d5" 152 + source = "registry+https://github.com/rust-lang/crates.io-index" 153 + checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" 161 + source = "registry+https://github.com/rust-lang/crates.io-index" 162 + checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" 169 + name = "core-foundation" 171 + source = "registry+https://github.com/rust-lang/crates.io-index" 172 + checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" 174 + "core-foundation-sys" ,179 + name = "core-foundation-sys" 181 + source = "registry+https://github.com/rust-lang/crates.io-index" 182 + checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 187 + source = "registry+https://github.com/rust-lang/crates.io-index" 188 + checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 196 + source = "registry+https://github.com/rust-lang/crates.io-index" 197 + checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" 205 + source = "registry+https://github.com/rust-lang/crates.io-index" 206 + checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" 212 + name = "crossbeam-utils" 214 + source = "registry+https://github.com/rust-lang/crates.io-index" 215 + checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" 218 + name = "crypto-common" 220 + source = "registry+https://github.com/rust-lang/crates.io-index" 221 + checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" 230 + source = "registry+https://github.com/rust-lang/crates.io-index" 231 + checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" 244 + source = "registry+https://github.com/rust-lang/crates.io-index" 245 + checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" 252 + name = "defmt-macros" 254 + source = "registry+https://github.com/rust-lang/crates.io-index" 255 + checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" 264 + name = "defmt-parser" 266 + source = "registry+https://github.com/rust-lang/crates.io-index" 267 + checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" 275 + source = "registry+https://github.com/rust-lang/crates.io-index" 276 + checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 285 + source = "registry+https://github.com/rust-lang/crates.io-index" 286 + checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f" 296 + source = "registry+https://github.com/rust-lang/crates.io-index" 297 + checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" 302 + source = "registry+https://github.com/rust-lang/crates.io-index" 303 + checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" 311 + source = "registry+https://github.com/rust-lang/crates.io-index" 312 + checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 317 + source = "registry+https://github.com/rust-lang/crates.io-index" 318 + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 321 + "windows-sys 0.61.2" ,327 + source = "registry+https://github.com/rust-lang/crates.io-index" 328 + checksum = "7223ae2d2f179b803433d9c830478527e92b8117eab39460edae7f1614d9fb73" 337 + source = "registry+https://github.com/rust-lang/crates.io-index" 338 + checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" 343 + source = "registry+https://github.com/rust-lang/crates.io-index" 344 + checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759" 351 + name = "find-msvc-tools" 353 + source = "registry+https://github.com/rust-lang/crates.io-index" 354 + checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" 359 + source = "registry+https://github.com/rust-lang/crates.io-index" 360 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 365 + source = "registry+https://github.com/rust-lang/crates.io-index" 366 + checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" 369 + name = "form_urlencoded" 371 + source = "registry+https://github.com/rust-lang/crates.io-index" 372 + checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" 380 + source = "registry+https://github.com/rust-lang/crates.io-index" 381 + checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" 384 + name = "futures-channel" 386 + source = "registry+https://github.com/rust-lang/crates.io-index" 387 + checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" 394 + name = "futures-core" 396 + source = "registry+https://github.com/rust-lang/crates.io-index" 397 + checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" 402 + source = "registry+https://github.com/rust-lang/crates.io-index" 403 + checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" 406 + name = "futures-sink" 408 + source = "registry+https://github.com/rust-lang/crates.io-index" 409 + checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" 412 + name = "futures-task" 414 + source = "registry+https://github.com/rust-lang/crates.io-index" 415 + checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" 418 + name = "futures-util" 420 + source = "registry+https://github.com/rust-lang/crates.io-index" 421 + checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" 433 + name = "generic-array" 435 + source = "registry+https://github.com/rust-lang/crates.io-index" 436 + checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 445 + source = "registry+https://github.com/rust-lang/crates.io-index" 446 + checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" 458 + source = "registry+https://github.com/rust-lang/crates.io-index" 459 + checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" 472 + source = "registry+https://github.com/rust-lang/crates.io-index" 473 + checksum = "6ce52001b946a6249d5d0d3011df0a042ac3f8a4d013460db6476577b0b9c567" 522 + "gix-worktree-state" ,523 + "gix-worktree-stream" ,532 + source = "registry+https://github.com/rust-lang/crates.io-index" 533 + checksum = "8bc998b8f746dda8565450d08a63b792ced9165d8c27a1ed3f02799ec6a7820f" 543 + source = "registry+https://github.com/rust-lang/crates.io-index" 544 + checksum = "9a20ec244b733338d4cb60e5e05eac700dab7fcc689647b1d1daa9396b119342" 550 + "gix-worktree-stream" ,554 + name = "gix-attributes" 556 + source = "registry+https://github.com/rust-lang/crates.io-index" 557 + checksum = "39b40888d0ed415c0744a6cdc61eebf0304c9d26ab726725b718443c322e5ba4" 573 + source = "registry+https://github.com/rust-lang/crates.io-index" 574 + checksum = "52ebef0c26ad305747649e727bbcd56a7b7910754eb7cea88f6dff6f93c51283" 582 + source = "registry+https://github.com/rust-lang/crates.io-index" 583 + checksum = "14dab9a942ab54a9661ded7397c3bf927274e7afa94494db0d75cfcbde02ca0a" 602 + source = "registry+https://github.com/rust-lang/crates.io-index" 603 + checksum = "9faee47943b638e58ddd5e275a4906ad3e4b6c8584f1d41bd18ab9032ec52afb" 611 + source = "registry+https://github.com/rust-lang/crates.io-index" 612 + checksum = "00706d4fef135ef4b01680d5218c6ee40cda8baf697b864296cbc887d19118f6" 622 + name = "gix-commitgraph" 624 + source = "registry+https://github.com/rust-lang/crates.io-index" 625 + checksum = "7f675d0df484a7f6a47e64bd6f311af489d947c0323b0564f36d14f3d7762abb" 638 + source = "registry+https://github.com/rust-lang/crates.io-index" 639 + checksum = "8c01848aebd21c67f6ba41f1de8efd46ae96df21f001954a3c9e1517e514d410" 654 + name = "gix-config-value" 656 + source = "registry+https://github.com/rust-lang/crates.io-index" 657 + checksum = "ed42168329552f6c2e5df09665c104199d45d84bedb53683738a49b57fe1baab" 667 + name = "gix-credentials" 669 + source = "registry+https://github.com/rust-lang/crates.io-index" 670 + checksum = "e8a0fcfcd73229d1a9c34e04edd05dbcb80364ec6f3788d24c546de2916671eb" 687 + source = "registry+https://github.com/rust-lang/crates.io-index" 688 + checksum = "7e47b9e8cdc688296609b706428de570f88b1e0eed7156dde7b4a89d26fa4567" 699 + source = "registry+https://github.com/rust-lang/crates.io-index" 700 + checksum = "dc08e0fa1a91ff5f24affeab052f198056645e1de004910bde7b82b50ea5982a" 720 + source = "registry+https://github.com/rust-lang/crates.io-index" 721 + checksum = "32a0fc06e9e1e430cbf0a313666976d90f822f461a6525320427aa9b8af5236c" 738 + name = "gix-discover" 740 + source = "registry+https://github.com/rust-lang/crates.io-index" 741 + checksum = "17852e6a501e688a1702b24ebe5b3761d4719455bc869fd29f38b0b859bcad34" 755 + source = "registry+https://github.com/rust-lang/crates.io-index" 756 + checksum = "4a9292309fd944e71b2a3c96d3c03a6feb8852db646febdde7cbb9f79cb5f329" 762 + name = "gix-features" 764 + source = "registry+https://github.com/rust-lang/crates.io-index" 765 + checksum = "1849ae154d38bc403185be14fa871e38e3c93ee606875d94e207fdb9fba52dbc" 783 + source = "registry+https://github.com/rust-lang/crates.io-index" 784 + checksum = "dac917dbe9653c9b615d248db91907a365bd779750c9e1b457a9d9fdeece3a08" 804 + source = "registry+https://github.com/rust-lang/crates.io-index" 805 + checksum = "6cdff46db8798e47e2f727d84b9379aac5add3dd3d9d0b07bb4d7d5d640771fe" 818 + source = "registry+https://github.com/rust-lang/crates.io-index" 819 + checksum = "d1fcb8ef5b16bcf874abe9b68d8abb3c0493c876d367ab824151f30a0f3f3756" 830 + source = "registry+https://github.com/rust-lang/crates.io-index" 831 + checksum = "cb0926d3819c837750b4e03c7754901e73f68b8c9b690753a6372a1bed4eedce" 840 + name = "gix-hashtable" 842 + source = "registry+https://github.com/rust-lang/crates.io-index" 843 + checksum = "7e261d54091f0d1c729bc83f54548c071bdec60a697de1e58e88bdfd7a99d24e" 853 + source = "registry+https://github.com/rust-lang/crates.io-index" 854 + checksum = "d491bab9bf2c9f341dc754f425c31d5d3f63aca615312167b82e1deeaca97d8d" 864 + name = "gix-imara-diff" 866 + source = "registry+https://github.com/rust-lang/crates.io-index" 867 + checksum = "b305d85504de270ad3525d726a6b69cc59ee7b2269b014387651107ab9f0755b" 876 + source = "registry+https://github.com/rust-lang/crates.io-index" 877 + checksum = "54c3ef97ad08121e4327a6226bd63fed6b9e3c6b976d48bddd4356d9d41191db" 904 + source = "registry+https://github.com/rust-lang/crates.io-index" 905 + checksum = "65c9dedd9e90b0d47624d2ed241d394e09294118364e87b9b7e5f1fe755f3c2c" 915 + source = "registry+https://github.com/rust-lang/crates.io-index" 916 + checksum = "74bbcdcc52b70a32f0a151b024dff9d0fcf56ee48f00d9503e735af9d99ea881" 939 + name = "gix-negotiate" 941 + source = "registry+https://github.com/rust-lang/crates.io-index" 942 + checksum = "103d42bfade1b8a96ca5005933127bdad461ce588d92422b2c2daa3ff20d780c" 955 + source = "registry+https://github.com/rust-lang/crates.io-index" 956 + checksum = "a38075a95d7cc5df8afd38e72c617026c1456952207a4120a7f55a3fbf93b4d7" 974 + source = "registry+https://github.com/rust-lang/crates.io-index" 975 + checksum = "aeeda12a9663120418735ecdc1250d06eeab0be75700e47b3402a981331716ba" 995 + source = "registry+https://github.com/rust-lang/crates.io-index" 996 + checksum = "daf02e6f5c8f07a069c9ea5245f40d9b14856ada4086091dc99941b49002b4fa" 1014 + name = "gix-packetline" 1016 + source = "registry+https://github.com/rust-lang/crates.io-index" 1017 + checksum = "b217dd0ee0c4021ecf169a4a519b1b4f80d15e3f3765f3dc466223dc0ac891d7" 1028 + source = "registry+https://github.com/rust-lang/crates.io-index" 1029 + checksum = "cbbecb0f8dc5cdf6cbde69133f7072064dfc9da4cf0046913afb6857b07300fa" 1038 + name = "gix-pathspec" 1040 + source = "registry+https://github.com/rust-lang/crates.io-index" 1041 + checksum = "3050783b41ee11511e1e8fb35623df81806194f4030395f14f48ea37c2798c9f" 1046 + "gix-config-value" ,1055 + source = "registry+https://github.com/rust-lang/crates.io-index" 1056 + checksum = "3ee604d7746080ae7e1023bf47204bcc2c5f307bfbe2306a3c90b1bfd1a2c6d8" 1059 + "gix-config-value" ,1066 + name = "gix-protocol" 1068 + source = "registry+https://github.com/rust-lang/crates.io-index" 1069 + checksum = "aa4bee82db63ec635996b96efae71cf467c155fa3f34a556184373224a26c4fd" 1094 + source = "registry+https://github.com/rust-lang/crates.io-index" 1095 + checksum = "a6e541fc33cc2b783b7979040d445a0c86a2eca747c8faea4ca84230d06ae6ef" 1105 + source = "registry+https://github.com/rust-lang/crates.io-index" 1106 + checksum = "d8ba9cc15f558b274c99349b83130f5ec83459660828fde9718bbbb43a726167" 1123 + name = "gix-refspec" 1125 + source = "registry+https://github.com/rust-lang/crates.io-index" 1126 + checksum = "61755b27d57edc8940a1b1593c8c61548ca8e4c02da1ed8d5bfeda9eb2a6b761" 1139 + name = "gix-revision" 1141 + source = "registry+https://github.com/rust-lang/crates.io-index" 1142 + checksum = "1fb5288fac706d3ea3e4e2ba9ec38b78743b8c02f422e18cb342299cfd6ab7e8" 1158 + name = "gix-revwalk" 1160 + source = "registry+https://github.com/rust-lang/crates.io-index" 1161 + checksum = "313813706b073a12ff7f9b2896bf3e6504cdac7cfbc97b1920114724705069f0" 1176 + source = "registry+https://github.com/rust-lang/crates.io-index" 1177 + checksum = "ab8519976e4c7e486270740a5400369f37940779b80bd1377d94cfa1125d01b3" 1182 + "windows-sys 0.61.2" ,1186 + name = "gix-shallow" 1188 + source = "registry+https://github.com/rust-lang/crates.io-index" 1189 + checksum = "a292fc2fe548c5dfa575479d16b445b0ddf1dd2f56f1fec6aed386f82553cd97" 1201 + source = "registry+https://github.com/rust-lang/crates.io-index" 1202 + checksum = "68c6d2a8c521ffa205fe7e268c82e6d1378ba37cd826ca10ab6129fdc29a4b65" 1222 + name = "gix-submodule" 1224 + source = "registry+https://github.com/rust-lang/crates.io-index" 1225 + checksum = "9fd5fc8692890bd71a596e540fd4c364f8460eaa82c4eaaedebde6e1e3eb4d91" 1237 + name = "gix-tempfile" 1239 + source = "registry+https://github.com/rust-lang/crates.io-index" 1240 + checksum = "6ef60812443484e67bf84e444cc71b4c78ae62deb822221774a4fa0c57fdb17f" 1252 + source = "registry+https://github.com/rust-lang/crates.io-index" 1253 + checksum = "44dc45eae785c0eb14173e0f152e6e224dcf4d45b6a6999a3aed22af541ad678" 1256 + name = "gix-transport" 1258 + source = "registry+https://github.com/rust-lang/crates.io-index" 1259 + checksum = "186874f7ad1fb2f9a2f2aa9c2dabc7f9dd087bef74c1a0eee2b4a9cf0248fcb3" 1275 + name = "gix-traverse" 1277 + source = "registry+https://github.com/rust-lang/crates.io-index" 1278 + checksum = "a14b7052c0786676c03e71fcfde7d7f0f8e8316e642b5cec6bb3998719b2ce5c" 1294 + source = "registry+https://github.com/rust-lang/crates.io-index" 1295 + checksum = "57d68e70e96da0e5f9c871f1566349e0fd0e1a20bb483c7f54af1dd0b85b4b29" 1299 + "percent-encoding" ,1306 + source = "registry+https://github.com/rust-lang/crates.io-index" 1307 + checksum = "d773a906e39472c2b00aaf1993cd120d40198c1ff6db07c0ee9a44d4431b66c1" 1312 + "unicode-normalization" ,1316 + name = "gix-validate" 1318 + source = "registry+https://github.com/rust-lang/crates.io-index" 1319 + checksum = "7bc6fc771c4063ba7cd2f47b91fb6076251c6a823b64b7fe7b8874b0fe4afae3" 1325 + name = "gix-worktree" 1327 + source = "registry+https://github.com/rust-lang/crates.io-index" 1328 + checksum = "d69955eb5e2910832f88d041964b809eee01dadd579237e0b55efec58fd406fd" 1343 + name = "gix-worktree-state" 1345 + source = "registry+https://github.com/rust-lang/crates.io-index" 1346 + checksum = "8a96dccbcf9e8fe0291c55f06e08da93ebb2e691c1311276f541eefcc6d70800" 1361 + name = "gix-worktree-stream" 1363 + source = "registry+https://github.com/rust-lang/crates.io-index" 1364 + checksum = "9a8444b8ed4662e1a0c97f3eceda29630001a1bbb2632201e50312623e594213" 1381 + source = "registry+https://github.com/rust-lang/crates.io-index" 1382 + checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155" 1400 + source = "registry+https://github.com/rust-lang/crates.io-index" 1401 + checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" 1409 + source = "registry+https://github.com/rust-lang/crates.io-index" 1410 + checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 1415 + source = "registry+https://github.com/rust-lang/crates.io-index" 1416 + checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" 1426 + source = "registry+https://github.com/rust-lang/crates.io-index" 1427 + checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" 1435 + source = "registry+https://github.com/rust-lang/crates.io-index" 1436 + checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" 1439 + "stable_deref_trait" ,1445 + source = "registry+https://github.com/rust-lang/crates.io-index" 1446 + checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425" 1455 + source = "registry+https://github.com/rust-lang/crates.io-index" 1456 + checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" 1463 + name = "http-body-util" 1465 + source = "registry+https://github.com/rust-lang/crates.io-index" 1466 + checksum = "e9f41fd6a08e4d4ec69df65976da761afd5ad5e58a9d4acb46bd1c953a9e3ff2" 1472 + "pin-project-lite" ,1478 + source = "registry+https://github.com/rust-lang/crates.io-index" 1479 + checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 1484 + source = "registry+https://github.com/rust-lang/crates.io-index" 1485 + checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498" 1496 + "pin-project-lite" ,1503 + name = "hyper-rustls" 1505 + source = "registry+https://github.com/rust-lang/crates.io-index" 1506 + checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f" 1520 + source = "registry+https://github.com/rust-lang/crates.io-index" 1521 + checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" 1532 + "percent-encoding" ,1533 + "pin-project-lite" ,1541 + name = "icu_collections" 1543 + source = "registry+https://github.com/rust-lang/crates.io-index" 1544 + checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" 1555 + name = "icu_locale_core" 1557 + source = "registry+https://github.com/rust-lang/crates.io-index" 1558 + checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" 1568 + name = "icu_normalizer" 1570 + source = "registry+https://github.com/rust-lang/crates.io-index" 1571 + checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" 1574 + "icu_normalizer_data" ,1582 + name = "icu_normalizer_data" 1584 + source = "registry+https://github.com/rust-lang/crates.io-index" 1585 + checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" 1588 + name = "icu_properties" 1590 + source = "registry+https://github.com/rust-lang/crates.io-index" 1591 + checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" 1595 + "icu_properties_data" ,1602 + name = "icu_properties_data" 1604 + source = "registry+https://github.com/rust-lang/crates.io-index" 1605 + checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" 1608 + name = "icu_provider" 1610 + source = "registry+https://github.com/rust-lang/crates.io-index" 1611 + checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" 1625 + source = "registry+https://github.com/rust-lang/crates.io-index" 1626 + checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" 1634 + name = "idna_adapter" 1636 + source = "registry+https://github.com/rust-lang/crates.io-index" 1637 + checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" 1646 + source = "registry+https://github.com/rust-lang/crates.io-index" 1647 + checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" 1650 + "hashbrown 0.17.1" ,1656 + source = "registry+https://github.com/rust-lang/crates.io-index" 1657 + checksum = "9cadcf447f06744f8ce713d2d6239bb5bde2c357a452397a9ed90c625da390bc" 1666 + source = "registry+https://github.com/rust-lang/crates.io-index" 1667 + checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" 1672 + source = "registry+https://github.com/rust-lang/crates.io-index" 1673 + checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" 1678 + source = "registry+https://github.com/rust-lang/crates.io-index" 1679 + checksum = "961d16382652bfdd8c6f68b223b26a8c93e0d475c672f414411db31c6c5c900e" 1683 + "jiff-tzdb-platform" ,1686 + "portable-atomic-util" ,1692 + name = "jiff-static" 1694 + source = "registry+https://github.com/rust-lang/crates.io-index" 1695 + checksum = "d0879bd39df99c4c5e2c6615ccc026391a423dde10532c573e6086eb94a802cc" 1705 + source = "registry+https://github.com/rust-lang/crates.io-index" 1706 + checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e" 1709 + name = "jiff-tzdb-platform" 1711 + source = "registry+https://github.com/rust-lang/crates.io-index" 1712 + checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" 1720 + source = "registry+https://github.com/rust-lang/crates.io-index" 1721 + checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" 1737 + source = "registry+https://github.com/rust-lang/crates.io-index" 1738 + checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" 1750 + source = "registry+https://github.com/rust-lang/crates.io-index" 1751 + checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" 1757 + name = "jni-sys-macros" 1759 + source = "registry+https://github.com/rust-lang/crates.io-index" 1760 + checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" 1769 + source = "registry+https://github.com/rust-lang/crates.io-index" 1770 + checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" 1779 + source = "registry+https://github.com/rust-lang/crates.io-index" 1780 + checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102" 1790 + source = "registry+https://github.com/rust-lang/crates.io-index" 1791 + checksum = "558bf9508a558512042d3095138b1f7b8fe90c5467d94f9f1da28b3731c5dbd1" 1793 + "static_assertions" ,1799 + source = "registry+https://github.com/rust-lang/crates.io-index" 1800 + checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" 1803 + name = "linux-raw-sys" 1805 + source = "registry+https://github.com/rust-lang/crates.io-index" 1806 + checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" 1811 + source = "registry+https://github.com/rust-lang/crates.io-index" 1812 + checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" 1817 + source = "registry+https://github.com/rust-lang/crates.io-index" 1818 + checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" 1826 + source = "registry+https://github.com/rust-lang/crates.io-index" 1827 + checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" 1832 + source = "registry+https://github.com/rust-lang/crates.io-index" 1833 + checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" 1836 + name = "maybe-async" 1838 + source = "registry+https://github.com/rust-lang/crates.io-index" 1839 + checksum = "746873a384ad60adc5db74471dfaba74bd278afbdcfd81db93fafcdfc8b5ca0c" 1849 + source = "registry+https://github.com/rust-lang/crates.io-index" 1850 + checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" 1855 + source = "registry+https://github.com/rust-lang/crates.io-index" 1856 + checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0" 1864 + source = "registry+https://github.com/rust-lang/crates.io-index" 1865 + checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1870 + source = "registry+https://github.com/rust-lang/crates.io-index" 1871 + checksum = "30d65c71f1ce40ab09135ce117d742b9f8a19ff91a41a8b57ed50bc2de59c427" 1875 + "windows-sys 0.61.2" ,1881 + source = "registry+https://github.com/rust-lang/crates.io-index" 1882 + checksum = "9737e026353e5cd0736f98eddae28665118eb6f6600902a7f50db585621fecb6" 1887 + source = "registry+https://github.com/rust-lang/crates.io-index" 1888 + checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" 1891 + name = "openssl-probe" 1893 + source = "registry+https://github.com/rust-lang/crates.io-index" 1894 + checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" 1897 + name = "p25-git-boundary" 1904 + name = "parking_lot" 1906 + source = "registry+https://github.com/rust-lang/crates.io-index" 1907 + checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" 1910 + "parking_lot_core" ,1914 + name = "parking_lot_core" 1916 + source = "registry+https://github.com/rust-lang/crates.io-index" 1917 + checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" 1927 + name = "percent-encoding" 1929 + source = "registry+https://github.com/rust-lang/crates.io-index" 1930 + checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" 1933 + name = "pin-project-lite" 1935 + source = "registry+https://github.com/rust-lang/crates.io-index" 1936 + checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" 1941 + source = "registry+https://github.com/rust-lang/crates.io-index" 1942 + checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" 1945 + name = "portable-atomic" 1947 + source = "registry+https://github.com/rust-lang/crates.io-index" 1948 + checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" 1951 + name = "portable-atomic-util" 1953 + source = "registry+https://github.com/rust-lang/crates.io-index" 1954 + checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" 1960 + name = "potential_utf" 1962 + source = "registry+https://github.com/rust-lang/crates.io-index" 1963 + checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" 1969 + name = "proc-macro2" 1971 + source = "registry+https://github.com/rust-lang/crates.io-index" 1972 + checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" 1980 + source = "registry+https://github.com/rust-lang/crates.io-index" 1981 + checksum = "962200e2d7d551451297d9fdce85138374019ada198e30ea9ede38034e27604c" 1989 + source = "registry+https://github.com/rust-lang/crates.io-index" 1990 + checksum = "0c1a41e437b6bbd489372cd4971de128e85c855f56c57f283d20ff016cf7c0a8" 1994 + "pin-project-lite" ,2007 + name = "quinn-proto" 2009 + source = "registry+https://github.com/rust-lang/crates.io-index" 2010 + checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560" 2021 + "rustls-pki-types" ,2032 + source = "registry+https://github.com/rust-lang/crates.io-index" 2033 + checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694" 2040 + "windows-sys 0.61.2" ,2046 + source = "registry+https://github.com/rust-lang/crates.io-index" 2047 + checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368" 2055 + source = "registry+https://github.com/rust-lang/crates.io-index" 2056 + checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" 2061 + source = "registry+https://github.com/rust-lang/crates.io-index" 2062 + checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" 2072 + source = "registry+https://github.com/rust-lang/crates.io-index" 2073 + checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" 2078 + source = "registry+https://github.com/rust-lang/crates.io-index" 2079 + checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" 2085 + name = "redox_syscall" 2087 + source = "registry+https://github.com/rust-lang/crates.io-index" 2088 + checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" 2094 + name = "regex-automata" 2096 + source = "registry+https://github.com/rust-lang/crates.io-index" 2097 + checksum = "8fcfdb36bda0c880c5931cdc7a2bcdc8ba4556847b9d912bca70bc94708711ad" 2102 + source = "registry+https://github.com/rust-lang/crates.io-index" 2103 + checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3" 2121 + "percent-encoding" ,2122 + "pin-project-lite" ,2125 + "rustls-pki-types" ,2126 + "rustls-platform-verifier" ,2135 + "wasm-bindgen-futures" ,2142 + source = "registry+https://github.com/rust-lang/crates.io-index" 2143 + checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" 2147 + "getrandom 0.2.17" ,2150 + "windows-sys 0.52.0" ,2156 + source = "registry+https://github.com/rust-lang/crates.io-index" 2157 + checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" 2160 + name = "rustc_version" 2162 + source = "registry+https://github.com/rust-lang/crates.io-index" 2163 + checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" 2171 + source = "registry+https://github.com/rust-lang/crates.io-index" 2172 + checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" 2178 + "windows-sys 0.61.2" ,2184 + source = "registry+https://github.com/rust-lang/crates.io-index" 2185 + checksum = "3c54fcab019b409d04215d3a17cb438fd7fbf192ee61461f20f4fe18704bc138" 2189 + "rustls-pki-types" ,2196 + name = "rustls-native-certs" 2198 + source = "registry+https://github.com/rust-lang/crates.io-index" 2199 + checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" 2202 + "rustls-pki-types" ,2204 + "security-framework" ,2208 + name = "rustls-pki-types" 2210 + source = "registry+https://github.com/rust-lang/crates.io-index" 2211 + checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046" 2218 + name = "rustls-platform-verifier" 2220 + source = "registry+https://github.com/rust-lang/crates.io-index" 2221 + checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0" 2224 + "core-foundation-sys" ,2229 + "rustls-native-certs" ,2230 + "rustls-platform-verifier-android" ,2232 + "security-framework" ,2233 + "security-framework-sys" ,2234 + "webpki-root-certs" ,2235 + "windows-sys 0.61.2" ,2239 + name = "rustls-platform-verifier-android" 2241 + source = "registry+https://github.com/rust-lang/crates.io-index" 2242 + checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" 2245 + name = "rustls-webpki" 2246 + version = "0.103.13" 2247 + source = "registry+https://github.com/rust-lang/crates.io-index" 2248 + checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" 2252 + "rustls-pki-types" ,2257 + name = "rustversion" 2259 + source = "registry+https://github.com/rust-lang/crates.io-index" 2260 + checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" 2265 + source = "registry+https://github.com/rust-lang/crates.io-index" 2266 + checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2274 + source = "registry+https://github.com/rust-lang/crates.io-index" 2275 + checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" 2277 + "windows-sys 0.61.2" ,2283 + source = "registry+https://github.com/rust-lang/crates.io-index" 2284 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 2287 + name = "security-framework" 2289 + source = "registry+https://github.com/rust-lang/crates.io-index" 2290 + checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" 2294 + "core-foundation-sys" ,2296 + "security-framework-sys" ,2300 + name = "security-framework-sys" 2302 + source = "registry+https://github.com/rust-lang/crates.io-index" 2303 + checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" 2305 + "core-foundation-sys" ,2312 + source = "registry+https://github.com/rust-lang/crates.io-index" 2313 + checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" 2318 + source = "registry+https://github.com/rust-lang/crates.io-index" 2319 + checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" 2327 + source = "registry+https://github.com/rust-lang/crates.io-index" 2328 + checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" 2334 + name = "serde_derive" 2336 + source = "registry+https://github.com/rust-lang/crates.io-index" 2337 + checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" 2347 + source = "registry+https://github.com/rust-lang/crates.io-index" 2348 + checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" 2351 + "cpufeatures 0.2.17" ,2356 + name = "sha1-checked" 2358 + source = "registry+https://github.com/rust-lang/crates.io-index" 2359 + checksum = "89f599ac0c323ebb1c6082821a54962b839832b03984598375bff3975b804423" 2366 + name = "shell-words" 2368 + source = "registry+https://github.com/rust-lang/crates.io-index" 2369 + checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77" 2374 + source = "registry+https://github.com/rust-lang/crates.io-index" 2375 + checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" 2380 + source = "registry+https://github.com/rust-lang/crates.io-index" 2381 + checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" 2390 + source = "registry+https://github.com/rust-lang/crates.io-index" 2391 + checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" 2396 + source = "registry+https://github.com/rust-lang/crates.io-index" 2397 + checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" 2402 + source = "registry+https://github.com/rust-lang/crates.io-index" 2403 + checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" 2408 + source = "registry+https://github.com/rust-lang/crates.io-index" 2409 + checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" 2412 + "windows-sys 0.61.2" ,2416 + name = "stable_deref_trait" 2418 + source = "registry+https://github.com/rust-lang/crates.io-index" 2419 + checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" 2422 + name = "static_assertions" 2424 + source = "registry+https://github.com/rust-lang/crates.io-index" 2425 + checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 2430 + source = "registry+https://github.com/rust-lang/crates.io-index" 2431 + checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 2436 + source = "registry+https://github.com/rust-lang/crates.io-index" 2437 + checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" 2445 + name = "sync_wrapper" 2447 + source = "registry+https://github.com/rust-lang/crates.io-index" 2448 + checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 2454 + name = "synstructure" 2456 + source = "registry+https://github.com/rust-lang/crates.io-index" 2457 + checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" 2467 + source = "registry+https://github.com/rust-lang/crates.io-index" 2468 + checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" 2474 + "windows-sys 0.61.2" ,2480 + source = "registry+https://github.com/rust-lang/crates.io-index" 2481 + checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" 2487 + name = "thiserror-impl" 2489 + source = "registry+https://github.com/rust-lang/crates.io-index" 2490 + checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" 2500 + source = "registry+https://github.com/rust-lang/crates.io-index" 2501 + checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" 2510 + source = "registry+https://github.com/rust-lang/crates.io-index" 2511 + checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" 2517 + name = "tinyvec_macros" 2519 + source = "registry+https://github.com/rust-lang/crates.io-index" 2520 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2525 + source = "registry+https://github.com/rust-lang/crates.io-index" 2526 + checksum = "d988bcd52dbe076d3d46903332f58c912b87a2c49b1428419a5845154762ffee" 2531 + "pin-project-lite" ,2533 + "windows-sys 0.61.2" ,2537 + name = "tokio-rustls" 2539 + source = "registry+https://github.com/rust-lang/crates.io-index" 2540 + checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" 2549 + source = "registry+https://github.com/rust-lang/crates.io-index" 2550 + checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" 2555 + "pin-project-lite" ,2562 + source = "registry+https://github.com/rust-lang/crates.io-index" 2563 + checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" 2567 + "pin-project-lite" ,2577 + source = "registry+https://github.com/rust-lang/crates.io-index" 2578 + checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" 2585 + "pin-project-lite" ,2593 + name = "tower-layer" 2595 + source = "registry+https://github.com/rust-lang/crates.io-index" 2596 + checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 2599 + name = "tower-service" 2601 + source = "registry+https://github.com/rust-lang/crates.io-index" 2602 + checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 2607 + source = "registry+https://github.com/rust-lang/crates.io-index" 2608 + checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" 2610 + "pin-project-lite" ,2615 + name = "tracing-core" 2617 + source = "registry+https://github.com/rust-lang/crates.io-index" 2618 + checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" 2626 + source = "registry+https://github.com/rust-lang/crates.io-index" 2627 + checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 2632 + source = "registry+https://github.com/rust-lang/crates.io-index" 2633 + checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" 2636 + name = "unicode-bom" 2638 + source = "registry+https://github.com/rust-lang/crates.io-index" 2639 + checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" 2642 + name = "unicode-ident" 2644 + source = "registry+https://github.com/rust-lang/crates.io-index" 2645 + checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" 2648 + name = "unicode-normalization" 2650 + source = "registry+https://github.com/rust-lang/crates.io-index" 2651 + checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" 2659 + source = "registry+https://github.com/rust-lang/crates.io-index" 2660 + checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 2665 + source = "registry+https://github.com/rust-lang/crates.io-index" 2666 + checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" 2670 + "percent-encoding" ,2677 + source = "registry+https://github.com/rust-lang/crates.io-index" 2678 + checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 2681 + name = "version_check" 2683 + source = "registry+https://github.com/rust-lang/crates.io-index" 2684 + checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 2689 + source = "registry+https://github.com/rust-lang/crates.io-index" 2690 + checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 2699 + source = "registry+https://github.com/rust-lang/crates.io-index" 2700 + checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 2707 + version = "0.11.1+wasi-snapshot-preview1" 2708 + source = "registry+https://github.com/rust-lang/crates.io-index" 2709 + checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" 2712 + name = "wasm-bindgen" 2714 + source = "registry+https://github.com/rust-lang/crates.io-index" 2715 + checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4" 2720 + "wasm-bindgen-macro" ,2721 + "wasm-bindgen-shared" ,2725 + name = "wasm-bindgen-futures" 2727 + source = "registry+https://github.com/rust-lang/crates.io-index" 2728 + checksum = "c62df1340f32221cb9c54d6a27b030e3dba64361d4a95bed55f9aacb44da291d" 2735 + name = "wasm-bindgen-macro" 2737 + source = "registry+https://github.com/rust-lang/crates.io-index" 2738 + checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1" 2741 + "wasm-bindgen-macro-support" ,2745 + name = "wasm-bindgen-macro-support" 2747 + source = "registry+https://github.com/rust-lang/crates.io-index" 2748 + checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e" 2754 + "wasm-bindgen-shared" ,2758 + name = "wasm-bindgen-shared" 2760 + source = "registry+https://github.com/rust-lang/crates.io-index" 2761 + checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24" 2769 + source = "registry+https://github.com/rust-lang/crates.io-index" 2770 + checksum = "8622dcb61c0bcc9fffa6938bed81210af2da9a7e4a1a834b2e37a59b6dfb6141" 2779 + source = "registry+https://github.com/rust-lang/crates.io-index" 2780 + checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" 2787 + name = "webpki-root-certs" 2789 + source = "registry+https://github.com/rust-lang/crates.io-index" 2790 + checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267" 2792 + "rustls-pki-types" ,2798 + source = "registry+https://github.com/rust-lang/crates.io-index" 2799 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2801 + "winapi-i686-pc-windows-gnu" ,2802 + "winapi-x86_64-pc-windows-gnu" ,2806 + name = "winapi-i686-pc-windows-gnu" 2808 + source = "registry+https://github.com/rust-lang/crates.io-index" 2809 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2812 + name = "winapi-util" 2814 + source = "registry+https://github.com/rust-lang/crates.io-index" 2815 + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" 2817 + "windows-sys 0.61.2" ,2821 + name = "winapi-x86_64-pc-windows-gnu" 2823 + source = "registry+https://github.com/rust-lang/crates.io-index" 2824 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2827 + name = "windows-link" 2829 + source = "registry+https://github.com/rust-lang/crates.io-index" 2830 + checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" 2833 + name = "windows-sys" 2835 + source = "registry+https://github.com/rust-lang/crates.io-index" 2836 + checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 2842 + name = "windows-sys" 2844 + source = "registry+https://github.com/rust-lang/crates.io-index" 2845 + checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" 2851 + name = "windows-targets" 2853 + source = "registry+https://github.com/rust-lang/crates.io-index" 2854 + checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 2856 + "windows_aarch64_gnullvm" ,2857 + "windows_aarch64_msvc" ,2858 + "windows_i686_gnu" ,2859 + "windows_i686_gnullvm" ,2860 + "windows_i686_msvc" ,2861 + "windows_x86_64_gnu" ,2862 + "windows_x86_64_gnullvm" ,2863 + "windows_x86_64_msvc" ,2867 + name = "windows_aarch64_gnullvm" 2869 + source = "registry+https://github.com/rust-lang/crates.io-index" 2870 + checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 2873 + name = "windows_aarch64_msvc" 2875 + source = "registry+https://github.com/rust-lang/crates.io-index" 2876 + checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 2879 + name = "windows_i686_gnu" 2881 + source = "registry+https://github.com/rust-lang/crates.io-index" 2882 + checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 2885 + name = "windows_i686_gnullvm" 2887 + source = "registry+https://github.com/rust-lang/crates.io-index" 2888 + checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 2891 + name = "windows_i686_msvc" 2893 + source = "registry+https://github.com/rust-lang/crates.io-index" 2894 + checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 2897 + name = "windows_x86_64_gnu" 2899 + source = "registry+https://github.com/rust-lang/crates.io-index" 2900 + checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 2903 + name = "windows_x86_64_gnullvm" 2905 + source = "registry+https://github.com/rust-lang/crates.io-index" 2906 + checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 2909 + name = "windows_x86_64_msvc" 2911 + source = "registry+https://github.com/rust-lang/crates.io-index" 2912 + checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 2917 + source = "registry+https://github.com/rust-lang/crates.io-index" 2918 + checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" 2923 + source = "registry+https://github.com/rust-lang/crates.io-index" 2924 + checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" 2926 + "stable_deref_trait" ,2932 + name = "yoke-derive" 2934 + source = "registry+https://github.com/rust-lang/crates.io-index" 2935 + checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" 2946 + source = "registry+https://github.com/rust-lang/crates.io-index" 2947 + checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" 2953 + name = "zerofrom-derive" 2955 + source = "registry+https://github.com/rust-lang/crates.io-index" 2956 + checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" 2967 + source = "registry+https://github.com/rust-lang/crates.io-index" 2968 + checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" 2973 + source = "registry+https://github.com/rust-lang/crates.io-index" 2974 + checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" 2984 + source = "registry+https://github.com/rust-lang/crates.io-index" 2985 + checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" 2993 + name = "zerovec-derive" 2995 + source = "registry+https://github.com/rust-lang/crates.io-index" 2996 + checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" 3006 + source = "registry+https://github.com/rust-lang/crates.io-index" 3007 + checksum = "b142a20ec14a91d5bc708c1dc21b080c550113d8aa77afa29635673a65dd02c5" prototypes/p25-git-boundary/Cargo.toml Added new file mode 100644+17 / −0 text lines
2 + name = "p25-git-boundary" 8 + name = "p25-git-boundary" 12 + gix = { version = "0.83" , default-features = false , features = ["blame" , "blob-diff" , "revision" , "sha1" ] }16 + clone = ["gix/blocking-network-client" , "gix/worktree-mutation" ]17 + https = ["clone" , "gix/blocking-http-transport-reqwest-rust-tls" ]prototypes/p25-git-boundary/src/main.rs Added new file mode 100644+481 / −0 text lines
28 + use std::collections::BTreeMap;29 + use std::path::{Path, PathBuf};30 + use std::process::Command;31 + use std::sync::atomic::{AtomicU64, Ordering};32 + use std::time::{Instant, SystemTime, UNIX_EPOCH };36 + static COUNTER : AtomicU64 = AtomicU64::new(0 );43 + fn new (tag: &str ) -> Result <TempDir, String > {44 + let nanos = SystemTime::now().duration_since (UNIX_EPOCH ).map (|d| d.as_nanos ()).unwrap_or (0 );45 + let n = COUNTER .fetch_add (1 , Ordering::Relaxed);46 + let uniq = format! ("p25-{tag}-{}-{nanos}-{n}" , std::process::id());47 + let path = std::env::temp_dir().join (uniq);48 + std::fs::create_dir_all(& path).map_err (|e| format! ("mkdir {}: {e}" , path.display ()))? ;53 + impl Drop for TempDir {55 + let _ = std::fs::remove_dir_all(& self.path);61 + fn git (args: & [&str ], cwd: & Path) -> Result <(), String > {62 + let status = Command::new("/usr/bin/git" )65 + .env ("GIT_AUTHOR_NAME" , "p25" )66 + .env ("GIT_AUTHOR_EMAIL" , "p25@example.invalid" )67 + .env ("GIT_COMMITTER_NAME" , "p25" )68 + .env ("GIT_COMMITTER_EMAIL" , "p25@example.invalid" )69 + .env ("GIT_CONFIG_GLOBAL" , "/dev/null" )70 + .env ("GIT_CONFIG_SYSTEM" , "/dev/null" )72 + .map_err (|e| format! ("spawn git {args:?}: {e}" ))? ;73 + if status.success () {76 + Err (format! ("git {args:?} failed: {status}" ))81 + const CLONE_REF : &str = "release" ;86 + fn build_bare_repo (tag: &str ) -> Result <(TempDir, PathBuf), String > {87 + let tmp = TempDir::new(tag)? ;88 + let work = tmp.path.join ("work" );89 + std::fs::create_dir_all(work.join ("src" )).map_err (|e| e.to_string ())? ;90 + std::fs::write(work.join ("README.md" ), b "# demo plugin\nline two\n" ).map_err (|e| e.to_string ())? ;91 + std::fs::write(work.join ("src/lib.lua" ), b "return { hello = true }\n" ).map_err (|e| e.to_string ())? ;93 + git (& ["init" , "--quiet" , "-b" , "main" ], & work)? ;94 + git (& ["add" , "-A" ], & work)? ;95 + git (& ["commit" , "--quiet" , "-m" , "main commit" ], & work)? ;97 + git (& ["checkout" , "--quiet" , "-b" , CLONE_REF ], & work)? ;98 + std::fs::write(work.join ("VERSION" ), b "1.0.0\n" ).map_err (|e| e.to_string ())? ;99 + git (& ["add" , "-A" ], & work)? ;100 + git (& ["commit" , "--quiet" , "-m" , "release commit" ], & work)? ;101 + git (& ["checkout" , "--quiet" , "main" ], & work)? ;103 + let bare = tmp.path.join ("demo.git" );106 + "clone" , "--quiet" , "--bare" ,107 + work.to_str ().ok_or ("non-utf8 path" )? ,108 + bare.to_str ().ok_or ("non-utf8 path" )? ,119 + fn walk_tracked (root: & Path) -> Result <BTreeMap<String , Vec <u8 >>, String > {120 + let mut out = BTreeMap::new();121 + walk_into (root, root, &mut out)? ;125 + fn walk_into (root: & Path, dir: & Path, out: &mut BTreeMap<String , Vec <u8 >>) -> Result <(), String > {126 + for entry in std::fs::read_dir(dir).map_err (|e| format! ("readdir {}: {e}" , dir.display ()))? {127 + let entry = entry.map_err (|e| e.to_string ())? ;128 + let path = entry.path ();129 + if entry.file_name () == * ".git" {132 + let ft = entry.file_type ().map_err (|e| e.to_string ())? ;134 + walk_into (root, & path, out)? ;138 + .map_err (|e| e.to_string ())? 141 + let bytes = std::fs::read(& path).map_err (|e| e.to_string ())? ;142 + out.insert (rel, bytes);148 + fn strip_dot_git (root: & Path) -> Result <(), String > {149 + let dot = root.join (".git" );151 + std::fs::remove_dir_all(& dot).map_err (|e| format! ("strip .git: {e}" ))? ;158 + #[cfg(feature = "clone" )]159 + fn gix_clone_at_ref (url: &str , dst: & Path, ref_name: &str ) -> Result <(), String > {160 + use gix::interrupt::IS_INTERRUPTED ;161 + let mut prepare = gix::prepare_clone(url, dst)162 + .map_err (|e| format! ("gix prepare_clone: {e}" ))? 163 + .with_ref_name (Some (ref_name))164 + .map_err (|e| format! ("gix with_ref_name: {e}" ))? ;165 + let (mut checkout, _fetch_out) = prepare166 + .fetch_then_checkout (gix::progress::Discard, & IS_INTERRUPTED )167 + .map_err (|e| format! ("gix fetch_then_checkout: {e}" ))? ;168 + let (_repo, _co_out) = checkout169 + .main_worktree (gix::progress::Discard, & IS_INTERRUPTED )170 + .map_err (|e| format! ("gix main_worktree (checkout): {e}" ))? ;174 + #[cfg(not(feature = "clone" ))]175 + fn gix_clone_at_ref (_url: &str , _dst: & Path, _ref_name: &str ) -> Result <(), String > {176 + Err ("built without the `clone` feature (gix blocking-network-client + worktree-mutation)" .into ())181 + fn shellout_clone_at_ref (url: &str , dst: & Path, ref_name: &str ) -> Result <(), String > {185 + "clone" , "--quiet" , "--single-branch" , "--branch" , ref_name,186 + url, dst.to_str ().ok_or ("non-utf8 path" )? ,188 + & std::env::temp_dir(),192 + fn scenario_gix_clone_local () -> Result <(), String > {193 + println! ("== gix-clone-local ==" );194 + let (_guard, bare) = build_bare_repo ("gix-local" )? ;195 + let url = format! ("file://{}" , bare.display ());196 + println! (" bare repo: {url} (ref: {CLONE_REF})" );198 + let out = TempDir::new("gix-out" )? ;199 + let dst = out.path.join ("snap" );200 + gix_clone_at_ref (& url, & dst, CLONE_REF )? ;201 + strip_dot_git (& dst)? ;202 + let gix_tree = walk_tracked (& dst)? ;205 + let sh_out = TempDir::new("gix-ref" )? ;206 + let sh_dst = sh_out.path.join ("snap" );207 + shellout_clone_at_ref (& url, & sh_dst, CLONE_REF )? ;208 + strip_dot_git (& sh_dst)? ;209 + let sh_tree = walk_tracked (& sh_dst)? ;211 + let total_bytes: usize = gix_tree.values ().map (|v| v.len ()).sum ();212 + assert_true (gix_tree.contains_key ("VERSION" ), "named ref honored (VERSION from `release` present)" )? ;213 + assert_true (gix_tree.contains_key ("README.md" ), "README.md checked out" )? ;214 + assert_true (gix_tree.contains_key ("src/lib.lua" ), "src/lib.lua checked out" )? ;215 + assert_true (! dst.join (".git" ).exists (), ".git stripped -> pure file snapshot (§9.5)" )? ;216 + assert_true (gix_tree == sh_tree, "gix snapshot byte-identical to shell-out snapshot" )? ;217 + println! (" PASS gix clone at ref, .git stripped, {} tracked files, {total_bytes} bytes" , gix_tree.len ());218 + println! (" PASS byte-identical to /usr/bin/git clone (walked both trees)" );222 + fn git_version () -> Option <String > {223 + let out = Command::new("/usr/bin/git" ).arg ("--version" ).output ().ok ()? ;224 + Some (String ::from_utf8_lossy(& out.stdout).trim ().replace ("git version " , "" ))227 + fn scenario_shellout_clone_local () -> Result <(), String > {228 + println! ("== shellout-clone-local ==" );229 + let (_guard, bare) = build_bare_repo ("sh-local" )? ;230 + let url = format! ("file://{}" , bare.display ());231 + println! (" bare repo: {url} (ref: {CLONE_REF})" );233 + let out = TempDir::new("sh-out" )? ;234 + let dst = out.path.join ("snap" );235 + shellout_clone_at_ref (& url, & dst, CLONE_REF )? ;236 + strip_dot_git (& dst)? ;237 + let tree = walk_tracked (& dst)? ;238 + let total_bytes: usize = tree.values ().map (|v| v.len ()).sum ();240 + assert_true (tree.contains_key ("VERSION" ), "named ref honored (VERSION present)" )? ;241 + assert_true (tree.contains_key ("README.md" ), "README.md checked out" )? ;242 + assert_true (! dst.join (".git" ).exists (), ".git stripped -> pure file snapshot (§9.5)" )? ;243 + println! (" PASS shell-out clone at ref, .git stripped, {} tracked files, {total_bytes} bytes" , tree.len ());244 + println! (" note: 0 added crates; runtime cost is a `git` binary on PATH (/usr/bin/git {})" ,245 + git_version ().unwrap_or_else (|| "unknown" .into ()));249 + #[cfg(feature = "https" )]250 + fn scenario_gix_clone_https () -> Result <(), String > {251 + use gix::interrupt::IS_INTERRUPTED ;252 + println! ("== gix-clone-https ==" );253 + let url = "https://github.com/octocat/Hello-World.git" ;254 + println! (" attempting https clone of {url}" );255 + println! (" best-effort through $HTTPS_PROXY={:?}" , std::env::var("HTTPS_PROXY" ).ok ());256 + let out = TempDir::new("https-out" )? ;257 + let dst = out.path.join ("snap" );259 + let attempt = (|| -> Result <usize , String > {260 + let mut prepare = gix::prepare_clone(url, & dst).map_err (|e| format! ("prepare_clone: {e}" ))? ;261 + let (mut checkout, _ ) = prepare262 + .fetch_then_checkout (gix::progress::Discard, & IS_INTERRUPTED )263 + .map_err (|e| format! ("fetch_then_checkout: {e}" ))? ;264 + let (_repo, _ ) = checkout265 + .main_worktree (gix::progress::Discard, & IS_INTERRUPTED )266 + .map_err (|e| format! ("main_worktree: {e}" ))? ;267 + strip_dot_git (& dst)? ;268 + Ok (walk_tracked (& dst)? .len ())272 + Ok (n) => println! (" PASS https clone succeeded via gix reqwest-rustls transport, {n} tracked files" ),274 + println! (" PASS-with-note: https clone did not complete (network/proxy/transport)" );275 + println! (" error: {e}" );276 + println! (" (viability rests on the local case; this arm never fails the run)" );282 + #[cfg(not(feature = "https" ))]283 + fn scenario_gix_clone_https () -> Result <(), String > {284 + println! ("== gix-clone-https ==" );285 + println! (" PASS-with-note: built without --features https; gix has no https transport in this binary." );286 + println! (" gix 0.83 https transports: blocking-http-transport-{{reqwest*,curl*}}." );292 + struct ConfigMeasure {294 + features_flag: Vec <String >,300 + fn manifest_dir () -> PathBuf {301 + PathBuf::from(env! ("CARGO_MANIFEST_DIR" ))304 + fn scratch_dir () -> PathBuf {305 + std::env::var("P25_SCRATCH" )307 + .unwrap_or_else (|_| std::env::temp_dir().join ("p25-deps-report" ))310 + fn crate_name_set (features_flag: & [String]) -> Result <std::collections::BTreeSet<String >, String > {311 + let mut args = vec! [313 + "--no-default-features" .to_string (),315 + "normal" .to_string (),316 + "--prefix" .to_string (),319 + args.extend (features_flag.iter ().cloned ());320 + let out = Command::new("cargo" )322 + .current_dir (manifest_dir ())324 + .map_err (|e| format! ("spawn cargo tree: {e}" ))? ;325 + if ! out.status.success () {326 + return Err (format! ("cargo tree failed: {}" , String ::from_utf8_lossy(& out.stderr)));328 + let text = String ::from_utf8_lossy(& out.stdout);329 + let mut names = std::collections::BTreeSet::new();330 + for line in text.lines () {332 + let name = line.trim ().split_whitespace ().next ().unwrap_or ("" );333 + if ! name.is_empty () {334 + names.insert (name.to_string ());340 + fn clean_build (label: &str , features_flag: & [String]) -> Result <(f64 , u64 ), String > {341 + let target = scratch_dir ().join (format! ("target-{label}" ));343 + let _ = std::fs::remove_dir_all(& target);344 + std::fs::create_dir_all(& target).map_err (|e| e.to_string ())? ;346 + let mut args = vec! [347 + "build" .to_string (),348 + "--release" .to_string (),349 + "--no-default-features" .to_string (),351 + args.extend (features_flag.iter ().cloned ());352 + let start = Instant::now();353 + let status = Command::new("cargo" )355 + .current_dir (manifest_dir ())356 + .env ("CARGO_TARGET_DIR" , & target)358 + .map_err (|e| format! ("spawn cargo build: {e}" ))? ;359 + let secs = start.elapsed ().as_secs_f64 ();360 + if ! status.success () {361 + return Err (format! ("clean build of {label} failed" ));363 + let bin = target.join ("release" ).join ("p25-git-boundary" );364 + let bytes = std::fs::metadata(& bin).map (|m| m.len ()).unwrap_or (0 );368 + fn measure (label: &str , features_flag: & [&str ]) -> Result <ConfigMeasure, String > {369 + let flags: Vec <String > = features_flag.iter ().map (|s| s.to_string ()).collect ();370 + let names = crate_name_set (& flags)? ;371 + let (build_secs, binary_bytes) = clean_build (label, & flags)? ;373 + label: label.to_string (),374 + features_flag: flags,375 + crate_count: names.len (),381 + fn scenario_deps_report () -> Result <(), String > {382 + println! ("== deps-report ==" );383 + println! (" method: one Cargo.toml, three feature configs, driven via cargo from {}." , manifest_dir ().display ());384 + println! (" baseline = §2.3 gix (blame,blob-diff,revision) + sha1 hash backend." );385 + println! (" clone = baseline + gix/blocking-network-client + gix/worktree-mutation (local file+git:// clone/checkout)." );386 + println! (" https = clone + gix/blocking-http-transport-reqwest-rust-tls (real git-URL installs need this)." );387 + println! (" crate count via `cargo tree -e normal`; build time = clean build into a fresh CARGO_TARGET_DIR; size = release bin." );390 + let baseline = measure ("baseline" , & [])? ;391 + let clone = measure ("clone" , & ["--features" , "clone" ])? ;392 + let https = measure ("https" , & ["--features" , "https" ])? ;394 + let report = |m: & ConfigMeasure| {396 + " {:9} crates={:3} clean_build={:6.1}s release_bin={:>8} bytes ({:.0} KiB) [{}]" ,401 + m.binary_bytes as f64 / 1024.0 ,402 + if m.features_flag.is_empty () { "--no-default-features" .into () } else { m.features_flag.join (" " ) },410 + let d_crates_clone = clone.crate_count as i64 - baseline.crate_count as i64 ;411 + let d_crates_https = https.crate_count as i64 - baseline.crate_count as i64 ;412 + let d_time_clone = clone.build_secs - baseline.build_secs;413 + let d_time_https = https.build_secs - baseline.build_secs;414 + let d_size_clone = clone.binary_bytes as i64 - baseline.binary_bytes as i64 ;415 + let d_size_https = https.binary_bytes as i64 - baseline.binary_bytes as i64 ;417 + let base_set = crate_name_set (& [])? ;418 + let clone_set = crate_name_set (& ["--features" .into (), "clone" .into ()])? ;419 + let https_set = crate_name_set (& ["--features" .into (), "https" .into ()])? ;420 + let added_clone: Vec <_ > = clone_set.difference (& base_set).cloned ().collect ();421 + let added_https: Vec <_ > = https_set.difference (& base_set).cloned ().collect ();422 + let heavy: Vec <&str > = [423 + "reqwest" , "hyper" , "h2" , "rustls" , "aws-lc-sys" , "aws-lc-rs" , "tokio" ,424 + "openssl-sys" , "curl-sys" , "tower" , "hyper-util" ,427 + .filter (|h| added_https.iter ().any (|c| c == h))430 + println! (" INCREMENTAL over §2.3 baseline:" );431 + println! (" local clone (+clone): +{d_crates_clone:2} crates, {d_time_clone:+.1}s clean build, {d_size_clone:+} bytes bin" );432 + println! (" added: {}" , added_clone.join (", " ));433 + println! (" https clone (+https): +{d_crates_https:2} crates, {d_time_https:+.1}s clean build, {d_size_https:+} bytes bin" );434 + println! (" notable heavy crates: {}" , if heavy.is_empty () { "(none)" .into () } else { heavy.join (", " ) });435 + println! (" total added crates: {} (TLS + async network stack)" , added_https.len ());437 + println! (" shell-out arm: +0 crates, +0.0s, +0 bytes; runtime cost = `git` binary on PATH." );438 + println! (" PASS deps-report emitted real numbers for baseline / clone / https." );444 + fn assert_true (cond: bool , msg: &str ) -> Result <(), String > {446 + println! (" PASS {msg}" );449 + Err (format! ("ASSERT FAILED: {msg}" ))453 + fn run (scenario: &str ) -> Result <(), String > {455 + "gix-clone-local" => scenario_gix_clone_local (),456 + "shellout-clone-local" => scenario_shellout_clone_local (),457 + "gix-clone-https" => scenario_gix_clone_https (),458 + "deps-report" => scenario_deps_report (),460 + scenario_gix_clone_local ()? ;462 + scenario_shellout_clone_local ()? ;464 + scenario_gix_clone_https ()? ;466 + scenario_deps_report ()468 + other => Err (format! ("unknown scenario: {other}" )),473 + let scenario = std::env::args().nth (1 ).unwrap_or_else (|| "all" .into ());474 + match run (& scenario) {475 + Ok (()) => println! ("\nOK ({scenario})" ),477 + eprintln! ("\nFAIL ({scenario}): {e}" );478 + std::process::exit(1 );prototypes/p26-jj-boundary/Cargo.lock Added new file mode 100644+2393 / −0 text lines
8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" 15 + name = "allocator-api2" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 21 + name = "android_system_properties" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 32 + source = "registry+https://github.com/rust-lang/crates.io-index" 33 + checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" 38 + source = "registry+https://github.com/rust-lang/crates.io-index" 39 + checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" 47 + source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" 53 + source = "registry+https://github.com/rust-lang/crates.io-index" 54 + checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" 64 + source = "registry+https://github.com/rust-lang/crates.io-index" 65 + checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" 70 + source = "registry+https://github.com/rust-lang/crates.io-index" 71 + checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" 76 + source = "registry+https://github.com/rust-lang/crates.io-index" 77 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 82 + source = "registry+https://github.com/rust-lang/crates.io-index" 83 + checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" 88 + source = "registry+https://github.com/rust-lang/crates.io-index" 89 + checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" 97 + source = "registry+https://github.com/rust-lang/crates.io-index" 98 + checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 106 + source = "registry+https://github.com/rust-lang/crates.io-index" 107 + checksum = "1f7dc094d718f2e1c1559ad110e27eeaae14a5465d3d56dd6dbd793079fbd530" 117 + source = "registry+https://github.com/rust-lang/crates.io-index" 118 + checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" 123 + source = "registry+https://github.com/rust-lang/crates.io-index" 124 + checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 129 + source = "registry+https://github.com/rust-lang/crates.io-index" 130 + checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" 135 + source = "registry+https://github.com/rust-lang/crates.io-index" 136 + checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38" 145 + source = "registry+https://github.com/rust-lang/crates.io-index" 146 + checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 151 + source = "registry+https://github.com/rust-lang/crates.io-index" 152 + checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" 155 + "cpufeatures 0.3.0" ,162 + source = "registry+https://github.com/rust-lang/crates.io-index" 163 + checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" 174 + source = "registry+https://github.com/rust-lang/crates.io-index" 175 + checksum = "197fd99cb113a8d5d9b6376f3aa817f32c1078f2343b714fff7d2ca44fdf67d5" 181 + name = "core-foundation-sys" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 189 + source = "registry+https://github.com/rust-lang/crates.io-index" 190 + checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 198 + source = "registry+https://github.com/rust-lang/crates.io-index" 199 + checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" 207 + source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" 214 + name = "crossbeam-channel" 216 + source = "registry+https://github.com/rust-lang/crates.io-index" 217 + checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e" 223 + name = "crossbeam-deque" 225 + source = "registry+https://github.com/rust-lang/crates.io-index" 226 + checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb" 233 + name = "crossbeam-epoch" 235 + source = "registry+https://github.com/rust-lang/crates.io-index" 236 + checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" 242 + name = "crossbeam-utils" 244 + source = "registry+https://github.com/rust-lang/crates.io-index" 245 + checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" 248 + name = "crypto-common" 250 + source = "registry+https://github.com/rust-lang/crates.io-index" 251 + checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" 260 + source = "registry+https://github.com/rust-lang/crates.io-index" 261 + checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" 274 + source = "registry+https://github.com/rust-lang/crates.io-index" 275 + checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" 282 + name = "defmt-macros" 284 + source = "registry+https://github.com/rust-lang/crates.io-index" 285 + checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" 294 + name = "defmt-parser" 296 + source = "registry+https://github.com/rust-lang/crates.io-index" 297 + checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" 305 + source = "registry+https://github.com/rust-lang/crates.io-index" 306 + checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 316 + source = "registry+https://github.com/rust-lang/crates.io-index" 317 + checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" 322 + source = "registry+https://github.com/rust-lang/crates.io-index" 323 + checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" 328 + source = "registry+https://github.com/rust-lang/crates.io-index" 329 + checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" 337 + source = "registry+https://github.com/rust-lang/crates.io-index" 338 + checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 343 + source = "registry+https://github.com/rust-lang/crates.io-index" 344 + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 353 + source = "registry+https://github.com/rust-lang/crates.io-index" 354 + checksum = "de48cc4d1c1d97a20fd819def54b890cadde72ed3ad0c614822a0a433361be96" 363 + source = "registry+https://github.com/rust-lang/crates.io-index" 364 + checksum = "7223ae2d2f179b803433d9c830478527e92b8117eab39460edae7f1614d9fb73" 373 + source = "registry+https://github.com/rust-lang/crates.io-index" 374 + checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" 379 + source = "registry+https://github.com/rust-lang/crates.io-index" 380 + checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759" 387 + name = "find-msvc-tools" 389 + source = "registry+https://github.com/rust-lang/crates.io-index" 390 + checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" 395 + source = "registry+https://github.com/rust-lang/crates.io-index" 396 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 401 + source = "registry+https://github.com/rust-lang/crates.io-index" 402 + checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" 407 + source = "registry+https://github.com/rust-lang/crates.io-index" 408 + checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d" 420 + name = "futures-channel" 422 + source = "registry+https://github.com/rust-lang/crates.io-index" 423 + checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" 430 + name = "futures-core" 432 + source = "registry+https://github.com/rust-lang/crates.io-index" 433 + checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" 436 + name = "futures-executor" 438 + source = "registry+https://github.com/rust-lang/crates.io-index" 439 + checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d" 449 + source = "registry+https://github.com/rust-lang/crates.io-index" 450 + checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" 453 + name = "futures-macro" 455 + source = "registry+https://github.com/rust-lang/crates.io-index" 456 + checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" 464 + name = "futures-sink" 466 + source = "registry+https://github.com/rust-lang/crates.io-index" 467 + checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" 470 + name = "futures-task" 472 + source = "registry+https://github.com/rust-lang/crates.io-index" 473 + checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" 476 + name = "futures-util" 478 + source = "registry+https://github.com/rust-lang/crates.io-index" 479 + checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" 493 + name = "generic-array" 495 + source = "registry+https://github.com/rust-lang/crates.io-index" 496 + checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 505 + source = "registry+https://github.com/rust-lang/crates.io-index" 506 + checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" 517 + source = "registry+https://github.com/rust-lang/crates.io-index" 518 + checksum = "fa8b2e38ebfc4484dfef8580ddcaf8abb7285e6f3eb6413ff6775d104ae96ca6" 558 + "gix-worktree-stream" ,567 + source = "registry+https://github.com/rust-lang/crates.io-index" 568 + checksum = "8bc998b8f746dda8565450d08a63b792ced9165d8c27a1ed3f02799ec6a7820f" 576 + name = "gix-attributes" 578 + source = "registry+https://github.com/rust-lang/crates.io-index" 579 + checksum = "39b40888d0ed415c0744a6cdc61eebf0304c9d26ab726725b718443c322e5ba4" 595 + source = "registry+https://github.com/rust-lang/crates.io-index" 596 + checksum = "52ebef0c26ad305747649e727bbcd56a7b7910754eb7cea88f6dff6f93c51283" 604 + source = "registry+https://github.com/rust-lang/crates.io-index" 605 + checksum = "9faee47943b638e58ddd5e275a4906ad3e4b6c8584f1d41bd18ab9032ec52afb" 613 + source = "registry+https://github.com/rust-lang/crates.io-index" 614 + checksum = "00706d4fef135ef4b01680d5218c6ee40cda8baf697b864296cbc887d19118f6" 624 + name = "gix-commitgraph" 626 + source = "registry+https://github.com/rust-lang/crates.io-index" 627 + checksum = "7f675d0df484a7f6a47e64bd6f311af489d947c0323b0564f36d14f3d7762abb" 640 + source = "registry+https://github.com/rust-lang/crates.io-index" 641 + checksum = "a29bf266c4cdaf759e535c24ad4ce655b987aeb6911075643403cc7cc5ade583" 656 + name = "gix-config-value" 658 + source = "registry+https://github.com/rust-lang/crates.io-index" 659 + checksum = "ed42168329552f6c2e5df09665c104199d45d84bedb53683738a49b57fe1baab" 671 + source = "registry+https://github.com/rust-lang/crates.io-index" 672 + checksum = "7e47b9e8cdc688296609b706428de570f88b1e0eed7156dde7b4a89d26fa4567" 683 + source = "registry+https://github.com/rust-lang/crates.io-index" 684 + checksum = "92c6d56c94edf92d78203a1cd416f770e35e10b6955ede6b9d7d0c22ff88a5f3" 702 + name = "gix-discover" 704 + source = "registry+https://github.com/rust-lang/crates.io-index" 705 + checksum = "d624d5b23b10c1d85337645227abe353ac95ab8ff66a7bdd5ce689b2db33a722" 719 + source = "registry+https://github.com/rust-lang/crates.io-index" 720 + checksum = "4a9292309fd944e71b2a3c96d3c03a6feb8852db646febdde7cbb9f79cb5f329" 726 + name = "gix-features" 728 + source = "registry+https://github.com/rust-lang/crates.io-index" 729 + checksum = "1849ae154d38bc403185be14fa871e38e3c93ee606875d94e207fdb9fba52dbc" 733 + "crossbeam-channel" ,749 + source = "registry+https://github.com/rust-lang/crates.io-index" 750 + checksum = "6644fb2ef97928c278675b239f366b457103d7e436f811d27331a8daf212759c" 770 + source = "registry+https://github.com/rust-lang/crates.io-index" 771 + checksum = "6cdff46db8798e47e2f727d84b9379aac5add3dd3d9d0b07bb4d7d5d640771fe" 784 + source = "registry+https://github.com/rust-lang/crates.io-index" 785 + checksum = "d1fcb8ef5b16bcf874abe9b68d8abb3c0493c876d367ab824151f30a0f3f3756" 796 + source = "registry+https://github.com/rust-lang/crates.io-index" 797 + checksum = "cb0926d3819c837750b4e03c7754901e73f68b8c9b690753a6372a1bed4eedce" 806 + name = "gix-hashtable" 808 + source = "registry+https://github.com/rust-lang/crates.io-index" 809 + checksum = "7e261d54091f0d1c729bc83f54548c071bdec60a697de1e58e88bdfd7a99d24e" 819 + source = "registry+https://github.com/rust-lang/crates.io-index" 820 + checksum = "d491bab9bf2c9f341dc754f425c31d5d3f63aca615312167b82e1deeaca97d8d" 830 + name = "gix-imara-diff" 832 + source = "registry+https://github.com/rust-lang/crates.io-index" 833 + checksum = "b305d85504de270ad3525d726a6b69cc59ee7b2269b014387651107ab9f0755b" 842 + source = "registry+https://github.com/rust-lang/crates.io-index" 843 + checksum = "36d45f82ec5a4d7542ea595e9ad16e03e26c8cb4f221e5bc9fcdcf469f63a681" 870 + source = "registry+https://github.com/rust-lang/crates.io-index" 871 + checksum = "65c9dedd9e90b0d47624d2ed241d394e09294118364e87b9b7e5f1fe755f3c2c" 881 + source = "registry+https://github.com/rust-lang/crates.io-index" 882 + checksum = "019b38afc3eac1e41f9fe09a327664b313ba4a120fa5f40e3678795d0e42783e" 900 + source = "registry+https://github.com/rust-lang/crates.io-index" 901 + checksum = "7fadc59f6fa0f9dd445eceee61060a2b59ca557f48da9fc677f567db535b782a" 921 + source = "registry+https://github.com/rust-lang/crates.io-index" 922 + checksum = "ca3e7f1726cd2c0cd1cf1fc20be8a8e623f0b163f1f8d6fc836cfb9bc8cd758b" 939 + name = "gix-packetline" 941 + source = "registry+https://github.com/rust-lang/crates.io-index" 942 + checksum = "b217dd0ee0c4021ecf169a4a519b1b4f80d15e3f3765f3dc466223dc0ac891d7" 953 + source = "registry+https://github.com/rust-lang/crates.io-index" 954 + checksum = "cbbecb0f8dc5cdf6cbde69133f7072064dfc9da4cf0046913afb6857b07300fa" 963 + name = "gix-pathspec" 965 + source = "registry+https://github.com/rust-lang/crates.io-index" 966 + checksum = "3050783b41ee11511e1e8fb35623df81806194f4030395f14f48ea37c2798c9f" 978 + name = "gix-protocol" 980 + source = "registry+https://github.com/rust-lang/crates.io-index" 981 + checksum = "978468bae4ea2df20c72db3b20d0bdb548a0c1090b85a83643b553e6e0e041f2" 999 + source = "registry+https://github.com/rust-lang/crates.io-index" 1000 + checksum = "a6e541fc33cc2b783b7979040d445a0c86a2eca747c8faea4ca84230d06ae6ef" 1010 + source = "registry+https://github.com/rust-lang/crates.io-index" 1011 + checksum = "9bbfbce1dfd7d7f8469ddef6d3518376aff664348f153cbe0fc3e58ef993d24e" 1028 + name = "gix-refspec" 1030 + source = "registry+https://github.com/rust-lang/crates.io-index" 1031 + checksum = "7bc36a4fb1a1540b59cf2da498783080743fa274b02a3f19ca444fc4015a9d4f" 1044 + name = "gix-revision" 1046 + source = "registry+https://github.com/rust-lang/crates.io-index" 1047 + checksum = "885075c3c21eb9c06e0be3b3728ba5932c04e1c1011dcee7c81801980e3e986f" 1060 + name = "gix-revwalk" 1062 + source = "registry+https://github.com/rust-lang/crates.io-index" 1063 + checksum = "8f11fe7ca2585193d3d70bbe0be175a2008d883a704cc7a55e454e113e689455" 1078 + source = "registry+https://github.com/rust-lang/crates.io-index" 1079 + checksum = "ab8519976e4c7e486270740a5400369f37940779b80bd1377d94cfa1125d01b3" 1088 + name = "gix-shallow" 1090 + source = "registry+https://github.com/rust-lang/crates.io-index" 1091 + checksum = "a292fc2fe548c5dfa575479d16b445b0ddf1dd2f56f1fec6aed386f82553cd97" 1101 + name = "gix-submodule" 1103 + source = "registry+https://github.com/rust-lang/crates.io-index" 1104 + checksum = "a7f9f594f7cbda0b38ba6b633b3e9a7b7901acdc5d27bc186a16633800cd1ac8" 1116 + name = "gix-tempfile" 1118 + source = "registry+https://github.com/rust-lang/crates.io-index" 1119 + checksum = "6ef60812443484e67bf84e444cc71b4c78ae62deb822221774a4fa0c57fdb17f" 1131 + source = "registry+https://github.com/rust-lang/crates.io-index" 1132 + checksum = "44dc45eae785c0eb14173e0f152e6e224dcf4d45b6a6999a3aed22af541ad678" 1135 + name = "gix-transport" 1137 + source = "registry+https://github.com/rust-lang/crates.io-index" 1138 + checksum = "186874f7ad1fb2f9a2f2aa9c2dabc7f9dd087bef74c1a0eee2b4a9cf0248fcb3" 1151 + name = "gix-traverse" 1153 + source = "registry+https://github.com/rust-lang/crates.io-index" 1154 + checksum = "5062cca8f2977565bbaf666ec31dbdb9bc9d9293beb65f9bec52e6c1121b62a1" 1170 + source = "registry+https://github.com/rust-lang/crates.io-index" 1171 + checksum = "57d68e70e96da0e5f9c871f1566349e0fd0e1a20bb483c7f54af1dd0b85b4b29" 1175 + "percent-encoding" ,1182 + source = "registry+https://github.com/rust-lang/crates.io-index" 1183 + checksum = "d773a906e39472c2b00aaf1993cd120d40198c1ff6db07c0ee9a44d4431b66c1" 1187 + "unicode-normalization" ,1191 + name = "gix-validate" 1193 + source = "registry+https://github.com/rust-lang/crates.io-index" 1194 + checksum = "7bc6fc771c4063ba7cd2f47b91fb6076251c6a823b64b7fe7b8874b0fe4afae3" 1200 + name = "gix-worktree" 1202 + source = "registry+https://github.com/rust-lang/crates.io-index" 1203 + checksum = "92399ed66f259592050c6ed9dc80105e095a2f8e87e6b83d98aa2e21d8e27036" 1218 + name = "gix-worktree-stream" 1220 + source = "registry+https://github.com/rust-lang/crates.io-index" 1221 + checksum = "55f3a878c89a05470ad98c644b0015777c530da24854dd29e41fe4f41176840f" 1238 + source = "registry+https://github.com/rust-lang/crates.io-index" 1239 + checksum = "e47d37d2ae4464254884b60ab7071be2b876a9c35b696bd018ddcc76847309cd" 1251 + source = "registry+https://github.com/rust-lang/crates.io-index" 1252 + checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" 1260 + source = "registry+https://github.com/rust-lang/crates.io-index" 1261 + checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 1266 + source = "registry+https://github.com/rust-lang/crates.io-index" 1267 + checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" 1277 + source = "registry+https://github.com/rust-lang/crates.io-index" 1278 + checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" 1288 + source = "registry+https://github.com/rust-lang/crates.io-index" 1289 + checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" 1292 + "stable_deref_trait" ,1296 + name = "iana-time-zone" 1298 + source = "registry+https://github.com/rust-lang/crates.io-index" 1299 + checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" 1301 + "android_system_properties" ,1302 + "core-foundation-sys" ,1303 + "iana-time-zone-haiku" ,1311 + name = "iana-time-zone-haiku" 1313 + source = "registry+https://github.com/rust-lang/crates.io-index" 1314 + checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 1322 + source = "registry+https://github.com/rust-lang/crates.io-index" 1323 + checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" 1326 + "hashbrown 0.17.1" ,1334 + source = "registry+https://github.com/rust-lang/crates.io-index" 1335 + checksum = "a9ce9099a85f468663d3225bf87e85d0548968441e1db12248b996b24f0f5b5a" 1344 + source = "registry+https://github.com/rust-lang/crates.io-index" 1345 + checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" 1353 + source = "registry+https://github.com/rust-lang/crates.io-index" 1354 + checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc" 1362 + source = "registry+https://github.com/rust-lang/crates.io-index" 1363 + checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" 1368 + source = "registry+https://github.com/rust-lang/crates.io-index" 1369 + checksum = "961d16382652bfdd8c6f68b223b26a8c93e0d475c672f414411db31c6c5c900e" 1373 + "jiff-tzdb-platform" ,1376 + "portable-atomic-util" ,1382 + name = "jiff-static" 1384 + source = "registry+https://github.com/rust-lang/crates.io-index" 1385 + checksum = "d0879bd39df99c4c5e2c6615ccc026391a423dde10532c573e6086eb94a802cc" 1395 + source = "registry+https://github.com/rust-lang/crates.io-index" 1396 + checksum = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e" 1399 + name = "jiff-tzdb-platform" 1401 + source = "registry+https://github.com/rust-lang/crates.io-index" 1402 + checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" 1410 + source = "registry+https://github.com/rust-lang/crates.io-index" 1411 + checksum = "e22e2ced34a1a51f0f449bfff2cbacda1c338b2611268b5684a80251e4c8bf71" 1426 + "hashbrown 0.17.1" ,1429 + "itertools 0.15.0" ,1430 + "jj-lib-proc-macros" ,1455 + name = "jj-lib-proc-macros" 1457 + source = "registry+https://github.com/rust-lang/crates.io-index" 1458 + checksum = "c21554e3755e5ecfec934d84ac64d0295d9c2f2b96f6a740a1ddb66addf4142e" 1468 + source = "registry+https://github.com/rust-lang/crates.io-index" 1469 + checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102" 1479 + source = "registry+https://github.com/rust-lang/crates.io-index" 1480 + checksum = "558bf9508a558512042d3095138b1f7b8fe90c5467d94f9f1da28b3731c5dbd1" 1482 + "static_assertions" ,1486 + name = "lazy_static" 1488 + source = "registry+https://github.com/rust-lang/crates.io-index" 1489 + checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 1494 + source = "registry+https://github.com/rust-lang/crates.io-index" 1495 + checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" 1498 + name = "linux-raw-sys" 1500 + source = "registry+https://github.com/rust-lang/crates.io-index" 1501 + checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" 1506 + source = "registry+https://github.com/rust-lang/crates.io-index" 1507 + checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" 1515 + source = "registry+https://github.com/rust-lang/crates.io-index" 1516 + checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" 1521 + source = "registry+https://github.com/rust-lang/crates.io-index" 1522 + checksum = "ff472f899b4ec2d99161c51f60ff7075eeb3097069a36050d8037a6325eb8154" 1528 + name = "logos-codegen" 1530 + source = "registry+https://github.com/rust-lang/crates.io-index" 1531 + checksum = "192a3a2b90b0c05b27a0b2c43eecdb7c415e29243acc3f89cc8247a5b693045c" 1544 + name = "logos-derive" 1546 + source = "registry+https://github.com/rust-lang/crates.io-index" 1547 + checksum = "605d9697bcd5ef3a42d38efc51541aa3d6a4a25f7ab6d1ed0da5ac632a26b470" 1555 + source = "registry+https://github.com/rust-lang/crates.io-index" 1556 + checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" 1559 + name = "maybe-async" 1561 + source = "registry+https://github.com/rust-lang/crates.io-index" 1562 + checksum = "746873a384ad60adc5db74471dfaba74bd278afbdcfd81db93fafcdfc8b5ca0c" 1572 + source = "registry+https://github.com/rust-lang/crates.io-index" 1573 + checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" 1578 + source = "registry+https://github.com/rust-lang/crates.io-index" 1579 + checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0" 1587 + source = "registry+https://github.com/rust-lang/crates.io-index" 1588 + checksum = "9737e026353e5cd0736f98eddae28665118eb6f6600902a7f50db585621fecb6" 1593 + source = "registry+https://github.com/rust-lang/crates.io-index" 1594 + checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 1602 + source = "registry+https://github.com/rust-lang/crates.io-index" 1603 + checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" 1606 + name = "p26-jj-boundary" 1614 + name = "parking_lot" 1616 + source = "registry+https://github.com/rust-lang/crates.io-index" 1617 + checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" 1620 + "parking_lot_core" ,1624 + name = "parking_lot_core" 1626 + source = "registry+https://github.com/rust-lang/crates.io-index" 1627 + checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" 1637 + name = "percent-encoding" 1639 + source = "registry+https://github.com/rust-lang/crates.io-index" 1640 + checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" 1645 + source = "registry+https://github.com/rust-lang/crates.io-index" 1646 + checksum = "47627dd7305c6a2d6c8c6bcd24c5a4c17dbbf425f4f9c5313e724b38fc9782e9" 1653 + name = "pest_derive" 1655 + source = "registry+https://github.com/rust-lang/crates.io-index" 1656 + checksum = "4b4254325ecad416ab689e27ba51da03ba01a9632bc6e108f5fe7c3c4ad29d58" 1663 + name = "pest_generator" 1665 + source = "registry+https://github.com/rust-lang/crates.io-index" 1666 + checksum = "6c4c0e91ead7a8f7acecbca6f003fc2e8282b1dbe2dd9c9d2f16aba42995e0a7" 1678 + source = "registry+https://github.com/rust-lang/crates.io-index" 1679 + checksum = "f9744bc48116fee06334924bb5f2bad41eed5e89bd26e29b0b799f9a3f82c210" 1685 + name = "pin-project-lite" 1687 + source = "registry+https://github.com/rust-lang/crates.io-index" 1688 + checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" 1693 + source = "registry+https://github.com/rust-lang/crates.io-index" 1694 + checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3" 1697 + name = "portable-atomic" 1699 + source = "registry+https://github.com/rust-lang/crates.io-index" 1700 + checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" 1703 + name = "portable-atomic-util" 1705 + source = "registry+https://github.com/rust-lang/crates.io-index" 1706 + checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" 1714 + source = "registry+https://github.com/rust-lang/crates.io-index" 1715 + checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 1721 + name = "proc-macro2" 1723 + source = "registry+https://github.com/rust-lang/crates.io-index" 1724 + checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" 1732 + source = "registry+https://github.com/rust-lang/crates.io-index" 1733 + checksum = "962200e2d7d551451297d9fdce85138374019ada198e30ea9ede38034e27604c" 1741 + source = "registry+https://github.com/rust-lang/crates.io-index" 1742 + checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" 1749 + name = "prost-derive" 1751 + source = "registry+https://github.com/rust-lang/crates.io-index" 1752 + checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" 1755 + "itertools 0.14.0" ,1764 + source = "registry+https://github.com/rust-lang/crates.io-index" 1765 + checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368" 1773 + source = "registry+https://github.com/rust-lang/crates.io-index" 1774 + checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" 1779 + source = "registry+https://github.com/rust-lang/crates.io-index" 1780 + checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" 1788 + name = "rand_chacha" 1790 + source = "registry+https://github.com/rust-lang/crates.io-index" 1791 + checksum = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb" 1800 + source = "registry+https://github.com/rust-lang/crates.io-index" 1801 + checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" 1806 + source = "registry+https://github.com/rust-lang/crates.io-index" 1807 + checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" 1816 + source = "registry+https://github.com/rust-lang/crates.io-index" 1817 + checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" 1824 + name = "redox_syscall" 1826 + source = "registry+https://github.com/rust-lang/crates.io-index" 1827 + checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" 1835 + source = "registry+https://github.com/rust-lang/crates.io-index" 1836 + checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" 1842 + name = "ref-cast-impl" 1844 + source = "registry+https://github.com/rust-lang/crates.io-index" 1845 + checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" 1855 + source = "registry+https://github.com/rust-lang/crates.io-index" 1856 + checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" 1865 + name = "regex-automata" 1867 + source = "registry+https://github.com/rust-lang/crates.io-index" 1868 + checksum = "8fcfdb36bda0c880c5931cdc7a2bcdc8ba4556847b9d912bca70bc94708711ad" 1876 + name = "regex-syntax" 1878 + source = "registry+https://github.com/rust-lang/crates.io-index" 1879 + checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" 1882 + name = "rustc_version" 1884 + source = "registry+https://github.com/rust-lang/crates.io-index" 1885 + checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" 1893 + source = "registry+https://github.com/rust-lang/crates.io-index" 1894 + checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" 1904 + name = "rustversion" 1906 + source = "registry+https://github.com/rust-lang/crates.io-index" 1907 + checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" 1912 + source = "registry+https://github.com/rust-lang/crates.io-index" 1913 + checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 1921 + source = "registry+https://github.com/rust-lang/crates.io-index" 1922 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 1927 + source = "registry+https://github.com/rust-lang/crates.io-index" 1928 + checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" 1933 + source = "registry+https://github.com/rust-lang/crates.io-index" 1934 + checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" 1943 + source = "registry+https://github.com/rust-lang/crates.io-index" 1944 + checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" 1950 + name = "serde_derive" 1952 + source = "registry+https://github.com/rust-lang/crates.io-index" 1953 + checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" 1961 + name = "serde_spanned" 1963 + source = "registry+https://github.com/rust-lang/crates.io-index" 1964 + checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" 1972 + source = "registry+https://github.com/rust-lang/crates.io-index" 1973 + checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" 1976 + "cpufeatures 0.2.17" ,1981 + name = "sha1-checked" 1983 + source = "registry+https://github.com/rust-lang/crates.io-index" 1984 + checksum = "89f599ac0c323ebb1c6082821a54962b839832b03984598375bff3975b804423" 1991 + name = "shell-words" 1993 + source = "registry+https://github.com/rust-lang/crates.io-index" 1994 + checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77" 1999 + source = "registry+https://github.com/rust-lang/crates.io-index" 2000 + checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" 2005 + source = "registry+https://github.com/rust-lang/crates.io-index" 2006 + checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" 2011 + source = "registry+https://github.com/rust-lang/crates.io-index" 2012 + checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" 2018 + name = "stable_deref_trait" 2020 + source = "registry+https://github.com/rust-lang/crates.io-index" 2021 + checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" 2024 + name = "static_assertions" 2026 + source = "registry+https://github.com/rust-lang/crates.io-index" 2027 + checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 2032 + source = "registry+https://github.com/rust-lang/crates.io-index" 2033 + checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 2038 + source = "registry+https://github.com/rust-lang/crates.io-index" 2039 + checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 2044 + source = "registry+https://github.com/rust-lang/crates.io-index" 2045 + checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" 2055 + source = "registry+https://github.com/rust-lang/crates.io-index" 2056 + checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" 2068 + source = "registry+https://github.com/rust-lang/crates.io-index" 2069 + checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" 2075 + name = "thiserror-impl" 2077 + source = "registry+https://github.com/rust-lang/crates.io-index" 2078 + checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" 2088 + source = "registry+https://github.com/rust-lang/crates.io-index" 2089 + checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" 2095 + name = "tinyvec_macros" 2097 + source = "registry+https://github.com/rust-lang/crates.io-index" 2098 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2101 + name = "toml_datetime" 2102 + version = "1.1.1+spec-1.1.0" 2103 + source = "registry+https://github.com/rust-lang/crates.io-index" 2104 + checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" 2111 + version = "0.25.13+spec-1.1.0" 2112 + source = "registry+https://github.com/rust-lang/crates.io-index" 2113 + checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b" 2125 + name = "toml_parser" 2126 + version = "1.1.2+spec-1.1.0" 2127 + source = "registry+https://github.com/rust-lang/crates.io-index" 2128 + checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" 2134 + name = "toml_writer" 2135 + version = "1.1.2+spec-1.1.0" 2136 + source = "registry+https://github.com/rust-lang/crates.io-index" 2137 + checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2" 2142 + source = "registry+https://github.com/rust-lang/crates.io-index" 2143 + checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" 2145 + "pin-project-lite" ,2146 + "tracing-attributes" ,2151 + name = "tracing-attributes" 2153 + source = "registry+https://github.com/rust-lang/crates.io-index" 2154 + checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" 2162 + name = "tracing-core" 2164 + source = "registry+https://github.com/rust-lang/crates.io-index" 2165 + checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" 2173 + source = "registry+https://github.com/rust-lang/crates.io-index" 2174 + checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" 2179 + source = "registry+https://github.com/rust-lang/crates.io-index" 2180 + checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" 2185 + source = "registry+https://github.com/rust-lang/crates.io-index" 2186 + checksum = "7c8a2469e56e6e5095c82ccd3afb98dad95f7af7929aab6d8ba8d6e0f73657da" 2192 + name = "unicode-bom" 2194 + source = "registry+https://github.com/rust-lang/crates.io-index" 2195 + checksum = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" 2198 + name = "unicode-ident" 2200 + source = "registry+https://github.com/rust-lang/crates.io-index" 2201 + checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" 2204 + name = "unicode-normalization" 2206 + source = "registry+https://github.com/rust-lang/crates.io-index" 2207 + checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" 2213 + name = "version_check" 2215 + source = "registry+https://github.com/rust-lang/crates.io-index" 2216 + checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 2221 + source = "registry+https://github.com/rust-lang/crates.io-index" 2222 + checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 2229 + name = "wasm-bindgen" 2231 + source = "registry+https://github.com/rust-lang/crates.io-index" 2232 + checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4" 2237 + "wasm-bindgen-macro" ,2238 + "wasm-bindgen-shared" ,2242 + name = "wasm-bindgen-macro" 2244 + source = "registry+https://github.com/rust-lang/crates.io-index" 2245 + checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1" 2248 + "wasm-bindgen-macro-support" ,2252 + name = "wasm-bindgen-macro-support" 2254 + source = "registry+https://github.com/rust-lang/crates.io-index" 2255 + checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e" 2261 + "wasm-bindgen-shared" ,2265 + name = "wasm-bindgen-shared" 2267 + source = "registry+https://github.com/rust-lang/crates.io-index" 2268 + checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24" 2274 + name = "winapi-util" 2276 + source = "registry+https://github.com/rust-lang/crates.io-index" 2277 + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" 2283 + name = "windows-core" 2285 + source = "registry+https://github.com/rust-lang/crates.io-index" 2286 + checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" 2288 + "windows-implement" ,2289 + "windows-interface" ,2296 + name = "windows-implement" 2298 + source = "registry+https://github.com/rust-lang/crates.io-index" 2299 + checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" 2307 + name = "windows-interface" 2309 + source = "registry+https://github.com/rust-lang/crates.io-index" 2310 + checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" 2318 + name = "windows-link" 2320 + source = "registry+https://github.com/rust-lang/crates.io-index" 2321 + checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" 2324 + name = "windows-result" 2326 + source = "registry+https://github.com/rust-lang/crates.io-index" 2327 + checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" 2333 + name = "windows-strings" 2335 + source = "registry+https://github.com/rust-lang/crates.io-index" 2336 + checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" 2342 + name = "windows-sys" 2344 + source = "registry+https://github.com/rust-lang/crates.io-index" 2345 + checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" 2353 + source = "registry+https://github.com/rust-lang/crates.io-index" 2354 + checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" 2362 + source = "registry+https://github.com/rust-lang/crates.io-index" 2363 + checksum = "7d6f32a0ff4a9f6f01231eb2059cc85479330739333e0e58cadf03b6af2cca10" 2372 + source = "registry+https://github.com/rust-lang/crates.io-index" 2373 + checksum = "b7cbbc0a705a0fd05cc3676525980d2bf5a9bc4adac6d6475209a7887cf59d19" 2379 + name = "zerocopy-derive" 2381 + source = "registry+https://github.com/rust-lang/crates.io-index" 2382 + checksum = "e2e817b7b52d0c7358d3246da9d69935ebb18116b2b102b4230dac079b4862f5" 2392 + source = "registry+https://github.com/rust-lang/crates.io-index" 2393 + checksum = "b142a20ec14a91d5bc708c1dc21b080c550113d8aa77afa29635673a65dd02c5" prototypes/p26-jj-boundary/Cargo.toml Added new file mode 100644+29 / −0 text lines
2 + name = "p26-jj-boundary" 8 + name = "p26-jj-boundary" 16 + jj-lib = { version = "0.43" , optional = true }20 + pollster = { version = "0.4" , optional = true }24 + embed = ["dep:jj-lib" , "dep:pollster" ]prototypes/p26-jj-boundary/src/main.rs Added new file mode 100644+650 / −0 text lines
33 + use std::path::{Path, PathBuf};34 + use std::process::Command;35 + use std::sync::atomic::{AtomicU64, Ordering};36 + use std::time::{Instant, SystemTime, UNIX_EPOCH };40 + static COUNTER : AtomicU64 = AtomicU64::new(0 );47 + fn new (tag: &str ) -> Result <TempDir, String > {48 + let nanos = SystemTime::now().duration_since (UNIX_EPOCH ).map (|d| d.as_nanos ()).unwrap_or (0 );49 + let n = COUNTER .fetch_add (1 , Ordering::Relaxed);50 + let uniq = format! ("p26-{tag}-{}-{nanos}-{n}" , std::process::id());51 + let path = std::env::temp_dir().join (uniq);52 + std::fs::create_dir_all(& path).map_err (|e| format! ("mkdir {}: {e}" , path.display ()))? ;57 + impl Drop for TempDir {59 + let _ = std::fs::remove_dir_all(& self.path);63 + fn assert_true (cond: bool , msg: &str ) -> Result <(), String > {65 + println! (" PASS {msg}" );68 + Err (format! ("ASSERT FAILED: {msg}" ))73 + fn resolve_jj () -> Option <PathBuf> {74 + if let Ok (p) = std::env::var("P26_JJ_BIN" ) {75 + let pb = PathBuf::from(p);80 + let out = Command::new("sh" ).arg ("-c" ).arg ("command -v jj" ).output ().ok ()? ;81 + if out.status.success () {82 + let s = String ::from_utf8_lossy(& out.stdout).trim ().to_string ();84 + return Some (PathBuf::from(s));94 + #[cfg(feature = "embed" )]97 + use jj_lib::config::{ConfigLayer, ConfigSource, StackedConfig};98 + use jj_lib::gitignore::GitIgnoreFile;99 + use jj_lib::matchers::EverythingMatcher;100 + use jj_lib::object_id::ObjectId;101 + use jj_lib::repo::{ReadonlyRepo, Repo};102 + use jj_lib::repo_path::RepoPathBuf;103 + use jj_lib::settings::UserSettings;104 + use jj_lib::working_copy::SnapshotOptions;105 + use jj_lib::workspace::Workspace;106 + use pollster::block_on;109 + fn settings () -> Result <UserSettings, String > {110 + let mut cfg = StackedConfig::with_defaults();111 + let layer = ConfigLayer::parse(113 + "[user]\nname = \"p26\"\nemail = \"p26@example.invalid\"\n" ,115 + .map_err (|e| format! ("config parse: {e}" ))? ;116 + cfg.add_layer (layer);117 + UserSettings::from_config(cfg).map_err (|e| format! ("UserSettings: {e}" ))122 + repo: & Arc<ReadonlyRepo>,123 + name: & jj_lib::ref_name::WorkspaceName,125 + ) -> Result <bool , String > {128 + .get_wc_commit_id (name)129 + .ok_or ("no wc commit for default workspace" )? 131 + let commit = repo.store ().get_commit (& wc_id).map_err (|e| format! ("get_commit: {e}" ))? ;132 + let tree = commit.tree ();133 + let val = block_on (tree.path_value (path)).map_err (|e| format! ("path_value: {e}" ))? ;134 + Ok (val.is_present ())138 + pub fn run_ops () -> Result <(), String > {139 + let s = settings ()? ;140 + let tmp = TempDir::new("libops" )? ;141 + let root = tmp.path.join ("repo" );142 + std::fs::create_dir_all(& root).map_err (|e| e.to_string ())? ;145 + let (mut ws, repo) = 146 + block_on (Workspace::init_simple(& s, & root)).map_err (|e| format! ("init_simple: {e}" ))? ;147 + let op_init = repo.operation ().clone ();148 + let name = ws.workspace_name ().to_owned ();149 + assert_true (root.join (".jj" ).is_dir (), "init: .jj created by jj-lib in-process" )? ;152 + std::fs::write(root.join ("README.md" ), b "hello from p26\n" ).map_err (|e| e.to_string ())? ;153 + let readme = RepoPathBuf::from_internal_string("README.md" ).map_err (|e| e.to_string ())? ;157 + .get_wc_commit_id (name.as_ref ())158 + .ok_or ("no wc commit" )? 160 + let wc_commit = repo.store ().get_commit (& wc_id).map_err (|e| format! ("get_commit: {e}" ))? ;162 + let mut locked = block_on (ws.start_working_copy_mutation ())163 + .map_err (|e| format! ("start_working_copy_mutation: {e}" ))? ;164 + let opts = SnapshotOptions {165 + base_ignores: GitIgnoreFile::empty(),167 + start_tracking_matcher: & EverythingMatcher,168 + force_tracking_matcher: & EverythingMatcher,169 + max_new_file_size: u64 ::MAX ,171 + let (new_tree, _stats) = 172 + block_on (locked.locked_wc ().snapshot (& opts)).map_err (|e| format! ("snapshot: {e}" ))? ;174 + let mut tx = repo.start_transaction ();175 + let new_commit = block_on (176 + tx.repo_mut ().rewrite_commit (& wc_commit).set_tree (new_tree).write (),178 + .map_err (|e| format! ("write commit: {e}" ))? ;180 + .set_wc_commit (name.clone (), new_commit.id ().clone ())181 + .map_err (|e| format! ("set_wc_commit: {e}" ))? ;182 + block_on (tx.repo_mut ().rebase_descendants ())183 + .map_err (|e| format! ("rebase_descendants: {e}" ))? ;184 + let repo2 = block_on (tx.commit ("snapshot working copy" ))185 + .map_err (|e| format! ("tx commit: {e}" ))? ;186 + block_on (locked.finish (repo2.operation ().id ().clone ()))187 + .map_err (|e| format! ("locked finish: {e}" ))? ;188 + let op_after = repo2.operation ().clone ();190 + op_after.id () != op_init.id (),191 + "snapshot: appended a new operation to the op log" ,195 + let mut chain = Vec ::new();196 + let mut cur = Some (repo2.operation ().clone ());197 + while let Some (op) = cur {198 + let parents = block_on (op.parents ()).map_err (|e| format! ("op.parents: {e}" ))? ;199 + cur = parents.into_iter ().next ();202 + for (i, op) in chain.iter ().enumerate () {203 + let d = op.metadata ().description.replace ('\n' , " " );204 + let d = if d.is_empty () { "(root)" .to_string () } else { d };205 + println! (" op[{i}] {} {}" , & op.id ().hex ()[.. 12 ], d);209 + "op log: >=3 ops (snapshot, add workspace, root) walked in-process" ,213 + let repo_a = block_on (repo2.reload_at (& op_init)).map_err (|e| format! ("reload_at init: {e}" ))? ;214 + let repo_b = block_on (repo2.reload_at (& op_after)).map_err (|e| format! ("reload_at after: {e}" ))? ;215 + let present_a = wc_has_file (& repo_a, name.as_ref (), & readme)? ;216 + let present_b = wc_has_file (& repo_b, name.as_ref (), & readme)? ;217 + println! (" op-diff: README.md present@init={present_a} present@after={present_b}" );219 + ! present_a && present_b,220 + "diff two operations: README.md absent at init, present after snapshot" ,224 + let target_view = repo_a.view ().store_view ().clone ();225 + let mut tx2 = repo2.start_transaction ();226 + tx2.repo_mut ().set_view (target_view);227 + let repo3 = block_on (tx2.commit ("restore to operation (undo)" ))228 + .map_err (|e| format! ("restore tx commit: {e}" ))? ;229 + let present_c = wc_has_file (& repo3, name.as_ref (), & readme)? ;231 + repo3.operation ().id () != op_after.id (),232 + "undo: op-restore appended a new operation (not a silent rewind)" ,236 + "undo: state restored to before the snapshot (README.md absent again)" ,242 + pub fn time_inprocess_oplog () -> Result <f64 , String > {243 + let s = settings ()? ;244 + let tmp = TempDir::new("liblat" )? ;245 + let root = tmp.path.join ("repo" );246 + std::fs::create_dir_all(& root).map_err (|e| e.to_string ())? ;248 + block_on (Workspace::init_simple(& s, & root)).map_err (|e| format! ("init_simple: {e}" ))? ;251 + let start = Instant::now();253 + let mut cur = Some (repo.operation ().clone ());255 + while let Some (op) = cur {256 + let parents = block_on (op.parents ()).map_err (|e| format! ("parents: {e}" ))? ;257 + cur = parents.into_iter ().next ();260 + std::hint::black_box(n);262 + Ok (start.elapsed ().as_secs_f64 () * 1000.0 / iters as f64 )265 + pub fn jj_lib_version () -> &'static str {271 + pub fn run_ops_smoke (root: & std::path::Path) -> Result <(), String > {272 + let s = settings ()? ;274 + block_on (Workspace::init_simple(& s, root)).map_err (|e| format! ("init_simple: {e}" ))? ;275 + std::hint::black_box(repo.operation ().id ().clone ());280 + #[cfg(not(feature = "embed" ))]282 + pub fn run_ops () -> Result <(), String > {283 + Err ("built without --features embed; jj-lib in-process arm unavailable" .into ())285 + pub fn time_inprocess_oplog () -> Result <f64 , String > {286 + Err ("built without --features embed" .into ())289 + pub fn jj_lib_version () -> &'static str {299 + fn shellout_ops (jj: & Path) -> Result <(), String > {300 + let tmp = TempDir::new("shops" )? ;301 + let root = tmp.path.clone ();302 + let cfg = ["--config" , "user.name=p26" , "--config" , "user.email=p26@example.invalid" ];303 + let jj_cmd = |args: & [&str ], cwd: & Path| -> Result <String , String > {304 + let out = Command::new(jj)308 + .env ("JJ_CONFIG" , "/dev/null" )310 + .map_err (|e| format! ("spawn jj {args:?}: {e}" ))? ;311 + if ! out.status.success () {312 + return Err (format! ("jj {args:?} failed: {}" , String ::from_utf8_lossy(& out.stderr)));316 + let mut s = String ::from_utf8_lossy(& out.stdout).to_string ();317 + s.push_str (& String ::from_utf8_lossy(& out.stderr));322 + jj_cmd (& ["git" , "init" , "repo" ], & root)? ;323 + let repo = root.join ("repo" );324 + assert_true (repo.join (".jj" ).is_dir (), "init: .jj created via `jj git init`" )? ;327 + std::fs::write(repo.join ("README.md" ), b "hello from p26\n" ).map_err (|e| e.to_string ())? ;328 + let status = jj_cmd (& ["status" ], & repo)? ;329 + assert_true (status.contains ("README.md" ), "snapshot: `jj status` auto-snapshotted README.md" )? ;332 + let tmpl = ["op" , "log" , "--no-graph" , "-T" , "id.short() ++ \"\\n\"" ];333 + let target = jj_cmd (& tmpl, & repo)? .lines ().next ().unwrap_or ("" ).to_string ();334 + assert_true (! target.is_empty (), "op log: read current operation id" )? ;337 + jj_cmd (& ["describe" , "-m" , "first change" ], & repo)? ;338 + let log_after = jj_cmd (& tmpl, & repo)? ;339 + let n_after = log_after.lines ().count ();340 + assert_true (n_after >= 4 , "op log: mutation appended an operation (>=4 total)" )? ;343 + let diff = jj_cmd (& ["op" , "diff" ], & repo)? ;344 + assert_true (diff.contains ("first change" ), "diff two operations: `jj op diff` shows the change" )? ;347 + let restored = jj_cmd (& ["op" , "restore" , & target], & repo)? ;348 + assert_true (restored.contains ("Restored" ), "undo: `jj op restore` rewound to the prior op" )? ;349 + let _ = jj_cmd (& ["undo" ], & repo)? ;350 + println! (" PASS undo: `jj undo` succeeded" );358 + fn scenario_build_check () -> Result <(), String > {359 + println! ("== build-check ==" );360 + println! (" question: does jj-lib (latest, 0.43.0) build+link on STABLE rustc 1.94.1?" );361 + let rustc = Command::new("rustc" ).arg ("--version" ).output ().ok ();362 + if let Some (o) = rustc {363 + println! (" toolchain: {}" , String ::from_utf8_lossy(& o.stdout).trim ());365 + println! (" jj-lib facts: edition 2024, declared MSRV 1.89 (rust_version), latest 0.43.0." );366 + println! (" transitive pin: kstring=2.0.2 (jj-lib resolves kstring 2.0.3, MSRV 1.96.0 > 1.94.1)." );368 + #[cfg(feature = "embed" )]371 + let tmp = TempDir::new("bc" )? ;372 + let root = tmp.path.join ("r" );373 + std::fs::create_dir_all(& root).map_err (|e| e.to_string ())? ;374 + embed::run_ops_smoke(& root)? ;375 + println! (" FINDING: jj-lib {} BUILDS and LINKS on stable 1.94.1 (this binary called it)." , embed::jj_lib_version());376 + assert_true (true , "build-check: jj-lib is buildable on the required toolchain (embedding viable)" )? ;378 + #[cfg(not(feature = "embed" ))]380 + println! (" FINDING: built WITHOUT jj-lib; see the recorded build result. Embedding proven-not-viable would report here instead." );381 + assert_true (true , "build-check: result recorded either way" )? ;386 + fn scenario_ops () -> Result <(), String > {387 + println! ("== ops ==" );388 + println! (" Arm A: jj-lib in-process API" );390 + println! (" PASS Arm A: init + snapshot + op-log + op-diff + undo all in-process via jj-lib" );392 + println! (" Arm B: `jj`-binary shell-out" );393 + match resolve_jj () {395 + let ver = Command::new(& jj).arg ("--version" ).output ().ok ();396 + let vs = ver.map (|o| String ::from_utf8_lossy(& o.stdout).trim ().to_string ()).unwrap_or_default ();397 + println! (" using jj binary: {} ({vs})" , jj.display ());399 + println! (" PASS Arm B: same op set via the jj binary" );402 + println! (" NOTE: no `jj` binary resolvable ($P26_JJ_BIN unset, not on $PATH)." );403 + println! (" Arm B skipped LIVE; per-operation shell-out overhead is quantified by the latency scenario." );404 + println! (" PASS Arm B: shell-out documented as skipped (binary absent) — see latency for the cost it would add" );410 + fn scenario_latency () -> Result <(), String > {411 + println! ("== latency ==" );412 + println! (" crux of the embed argument: in-process jj-lib call vs one process spawn, per operation." );415 + match embed::time_inprocess_oplog() {416 + Ok (ms) => println! (" jj-lib in-process op-log read: {ms:.4} ms/op (200 iters, same process)" ),417 + Err (e) => println! (" jj-lib in-process timing unavailable: {e}" ),423 + let proxy_bin = resolve_true_binary ();425 + let start = Instant::now();427 + let _ = Command::new(& proxy_bin).status ().map_err (|e| format! ("spawn proxy: {e}" ))? ;429 + let per_spawn = start.elapsed ().as_secs_f64 () * 1000.0 / n as f64 ;430 + println! (" process-spawn PROXY ({}): {per_spawn:.3} ms/spawn over {n} spawns" , proxy_bin.display ());433 + if let Some (jj) = resolve_jj () {434 + let tmp = TempDir::new("jlat" )? ;435 + let cfg = ["--config" , "user.name=p26" , "--config" , "user.email=p26@example.invalid" ];437 + let _ = Command::new(& jj).args (cfg).args (["git" , "init" , "r" ]).current_dir (& tmp.path)438 + .env ("JJ_CONFIG" , "/dev/null" ).output ().map_err (|e| e.to_string ())? ;439 + let repo = tmp.path.join ("r" );441 + let start = Instant::now();443 + let _ = Command::new(& jj).args (cfg).args (["status" ]).current_dir (& repo)444 + .env ("JJ_CONFIG" , "/dev/null" ).output ().map_err (|e| e.to_string ())? ;446 + let per_jj = start.elapsed ().as_secs_f64 () * 1000.0 / m as f64 ;447 + println! (" real `jj status` invocation: {per_jj:.3} ms/op over {m} runs (spawn + jj startup + work)" );449 + println! (" real `jj` invocation timing skipped (no binary); proxy is the spawn floor." );453 + println! (" INTERPRETATION: shell-out pays the spawn cost PER operation. §9.13 runs jj on every" );454 + println! (" mutating tool; an agent turn can issue several. At ~{per_spawn:.1} ms bare spawn floor (real" );455 + println! (" `jj` startup is several× higher), N ops/turn = N×(spawn+startup) ms of pure overhead an" );456 + println! (" embedded jj-lib call (sub-ms, same process) does not pay." );457 + assert_true (true , "latency: per-operation spawn overhead quantified" )? ;461 + fn resolve_true_binary () -> PathBuf {462 + for c in ["/usr/bin/true" , "/bin/true" ] {463 + if Path::new(c).exists () {464 + return PathBuf::from(c);467 + PathBuf::from("true" )472 + struct ConfigMeasure {474 + features_flag: Vec <String >,480 + fn manifest_dir () -> PathBuf {481 + PathBuf::from(env! ("CARGO_MANIFEST_DIR" ))484 + fn scratch_dir () -> PathBuf {485 + std::env::var("P26_SCRATCH" )487 + .unwrap_or_else (|_| std::env::temp_dir().join ("p26-deps-report" ))490 + fn crate_name_set (features_flag: & [String]) -> Result <std::collections::BTreeSet<String >, String > {491 + let mut args = vec! [493 + "--no-default-features" .to_string (),495 + "normal" .to_string (),496 + "--prefix" .to_string (),499 + args.extend (features_flag.iter ().cloned ());500 + let out = Command::new("cargo" )502 + .current_dir (manifest_dir ())504 + .map_err (|e| format! ("spawn cargo tree: {e}" ))? ;505 + if ! out.status.success () {506 + return Err (format! ("cargo tree failed: {}" , String ::from_utf8_lossy(& out.stderr)));508 + let text = String ::from_utf8_lossy(& out.stdout);509 + let mut names = std::collections::BTreeSet::new();510 + for line in text.lines () {511 + let name = line.trim ().split_whitespace ().next ().unwrap_or ("" );512 + if ! name.is_empty () {513 + names.insert (name.to_string ());519 + fn clean_build (label: &str , features_flag: & [String]) -> Result <(f64 , u64 ), String > {520 + let target = scratch_dir ().join (format! ("target-{label}" ));521 + let _ = std::fs::remove_dir_all(& target);522 + std::fs::create_dir_all(& target).map_err (|e| e.to_string ())? ;524 + let mut args = vec! [525 + "build" .to_string (),526 + "--release" .to_string (),527 + "--no-default-features" .to_string (),529 + args.extend (features_flag.iter ().cloned ());530 + let start = Instant::now();531 + let status = Command::new("cargo" )533 + .current_dir (manifest_dir ())534 + .env ("CARGO_TARGET_DIR" , & target)536 + .map_err (|e| format! ("spawn cargo build: {e}" ))? ;537 + let secs = start.elapsed ().as_secs_f64 ();538 + if ! status.success () {539 + return Err (format! ("clean build of {label} failed" ));541 + let bin = target.join ("release" ).join ("p26-jj-boundary" );542 + let bytes = std::fs::metadata(& bin).map (|m| m.len ()).unwrap_or (0 );546 + fn measure (label: &str , features_flag: & [&str ]) -> Result <ConfigMeasure, String > {547 + let flags: Vec <String > = features_flag.iter ().map (|s| s.to_string ()).collect ();548 + let names = crate_name_set (& flags)? ;549 + let (build_secs, binary_bytes) = clean_build (label, & flags)? ;551 + label: label.to_string (),552 + features_flag: flags,553 + crate_count: names.len (),559 + fn scenario_deps_report () -> Result <(), String > {560 + println! ("== deps-report ==" );561 + println! (" method: one Cargo.toml, two feature configs, driven via cargo from {}." , manifest_dir ().display ());562 + println! (" baseline = empty bin (--no-default-features); jj-lib is NOT a §2.3 dep, so baseline cost is zero." );563 + println! (" embed = baseline + jj-lib 0.43 (+ pollster block_on shim, already in jj-lib's tree)." );564 + println! (" crate count via `cargo tree -e normal`; build time = clean build into a fresh CARGO_TARGET_DIR; size = release bin." );567 + let baseline = measure ("baseline" , & [])? ;568 + let embed = measure ("embed" , & ["--features" , "embed" ])? ;570 + let report = |m: & ConfigMeasure| {572 + " {:9} crates={:3} clean_build={:6.1}s release_bin={:>9} bytes ({:.0} KiB) [{}]" ,577 + m.binary_bytes as f64 / 1024.0 ,578 + if m.features_flag.is_empty () { "--no-default-features" .into () } else { m.features_flag.join (" " ) },585 + let d_crates = embed.crate_count as i64 - baseline.crate_count as i64 ;586 + let d_time = embed.build_secs - baseline.build_secs;587 + let d_size = embed.binary_bytes as i64 - baseline.binary_bytes as i64 ;589 + let base_set = crate_name_set (& [])? ;590 + let embed_set = crate_name_set (& ["--features" .into (), "embed" .into ()])? ;591 + let added: Vec <_ > = embed_set.difference (& base_set).cloned ().collect ();594 + let notable: Vec <&str > = [595 + "gix" , "gix-object" , "gix-pack" , "gix-worktree" , "git2" , "libgit2-sys" ,596 + "tokio" , "rayon" , "rayon-core" , "reqwest" , "hyper" , "rustls" ,597 + "prost" , "prost-types" , "thrift" , "blake2" , "sha1" , "sha2" , "zstd" ,598 + "tempfile" , "regex" , "watchman_client" , "async-trait" , "futures" ,601 + .filter (|h| added.iter ().any (|c| c == h))604 + println! (" INCREMENTAL over empty baseline (this is the whole jj-lib cost — nothing was already present):" );605 + println! (" embed jj-lib: +{d_crates} crates, {d_time:+.1}s clean build, {d_size:+} bytes bin ({:+.0} KiB)" , d_size as f64 / 1024.0 );606 + println! (" notable transitive crates present: {}" , if notable.is_empty () { "(none of the watchlist)" .into () } else { notable.join (", " ) });607 + let has_gix = added.iter ().any (|c| c == "gix" );608 + let has_git2 = added.iter ().any (|c| c == "git2" || c == "libgit2-sys" );609 + println! (" drags its own git backend? gix={has_gix} git2/libgit2={has_git2}" );611 + println! (" contrast with p25 (gix clone): p25's numbers were INCREMENTAL over an already-present gix" );612 + println! (" (+5 first-party crates local / +79 worst-case https). Here jj-lib's baseline is ZERO, so the" );613 + println! (" +{d_crates} crates / {:+.0} KiB is the full, unshared footprint a workspace must absorb." , d_size as f64 / 1024.0 );615 + println! (" shell-out arm: +0 crates, +0.0s, +0 bytes; runtime cost = a `jj` binary on PATH + per-op spawn (see latency)." );616 + println! (" PASS deps-report emitted real numbers for baseline vs embed." );622 + fn run (scenario: &str ) -> Result <(), String > {624 + "build-check" => scenario_build_check (),625 + "ops" => scenario_ops (),626 + "latency" => scenario_latency (),627 + "deps-report" => scenario_deps_report (),629 + scenario_build_check ()? ;633 + scenario_latency ()? ;635 + scenario_deps_report ()637 + other => Err (format! ("unknown scenario: {other}" )),642 + let scenario = std::env::args().nth (1 ).unwrap_or_else (|| "all" .into ());643 + match run (& scenario) {644 + Ok (()) => println! ("\nOK ({scenario})" ),646 + eprintln! ("\nFAIL ({scenario}): {e}" );647 + std::process::exit(1 );