Some checks failed
CI / check (push) Failing after 10s
sqlx's query!/query_as! macros only check raw SQL strings against the live schema; Diesel's table!-derived DSL type-checks query structure itself at compile time. SQLite has no native async driver, so diesel-async wraps a blocking SqliteConnection via SyncConnectionWrapper, pooled with bb8. Migrations move from sqlx's single-file-per-migration format to Diesel's up.sql/down.sql pairs, run transactionally via diesel_migrations against a throwaway sync connection at boot (MigrationHarness needs a sync Connection), giving revertable migrations that sqlx::migrate! doesn't support. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
19 lines
443 B
TOML
19 lines
443 B
TOML
[package]
|
|
name = "feedsignal-db"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
feedsignal-core.workspace = true
|
|
diesel.workspace = true
|
|
diesel-async.workspace = true
|
|
diesel_migrations.workspace = true
|
|
bb8.workspace = true
|
|
libsqlite3-sys.workspace = true
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
chrono.workspace = true
|
|
uuid.workspace = true
|
|
anyhow.workspace = true
|