SQLx SQLite dependency alignment

Sources and dual Apache-2.0/MIT licenses come from the published sqlx-sqlite 0.9.0 crate, revision 003b698e99e024f3621b8043a2426fde5b741171. upstream.json records each original file hash and the full license sources. Three upstream documentation lines in connection/deserialize.rs have trailing whitespace removed for the source hooks.

Two local changes remain:

  • The manifest selects libsqlite3-sys 0.39 to share one SQLite library with rusqlite 0.41. Published SQLx 0.9.0 requires <0.38, which cannot coexist with rusqlite's links="sqlite3" dependency.
  • SqliteConnectOptions::query_planner_stability configures SQLite's Query Planner Stability Guarantee through the original locked handle. The client journal uses it to avoid parameter-sensitive recompilation; schema changes still invalidate statements. It defaults to false, and ordinary connection setup, transaction handling and worker execution follow upstream.

The runtime event store uses rusqlite directly. No local SQLx worker callbacks, executor adapters or split startup/configuration interfaces remain.

中文:保留发布版 SQLx 0.9.0 的原始执行、事务和连接建立路径。仅将 libsqlite3-sys 对齐到 rusqlite 所需的 0.39,并保留客户端 journal 正在使用的查询计划稳定选项。event store 直接使用 rusqlite,不再通过 SQLx 的定制 worker、执行适配器或分阶段启动接口。