Parse rusqlite store URLs exactly as sqlx does, and restate the C dependency invariant#7
Follow-up to #6, closing two findings from the independent grade.
| Change | Before | After |
|---|---|---|
RusqliteProvider URL parsing (src/rusqlite_provider.rs) | path used verbatim; unknown mode= opened read-write | path percent-decoded and unknown mode/cache value or parameter rejected, as sqlx 0.8 does |
AGENTS.md invariant 1 | required Linux-only vendored sections that no longer exist | a C dependency builds from the source it ships (rusqlite bundled) or stays behind an opt-in feature |
Proof on this commit, c62fed25:
| Check | Result |
|---|---|
sqlx and rusqlite providers on sqlite:<dir>/a%41b/x.sqlite?mode=rwc | both create aAb/x.sqlite |
mode=bogus | both reject: unknown value "bogus" for mode |
cargo test --test duroxide_provider_conformance | 234 passed, 0 failed |
| old vs new provider on copies of 184 real stores | 184 identical, 0 errors, 0 changed |
lefthook run pre-commit --all-files and pre-push | pass |
Checks
4 successful