diff --git a/Cargo.toml b/Cargo.toml index 27be74f3f4..091abe3f05 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ bdk_wallet = { version = "2.2.0", default-features = false, features = ["std", " reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } rustls = { version = "0.23", default-features = false } -rusqlite = { version = "0.31.0", features = ["bundled"] } +rusqlite = { version = "0.37.0", features = ["bundled"] } bitcoin = "0.32.7" bip39 = { version = "2.0.0", features = ["rand"] } bip21 = { version = "0.5", features = ["std"], default-features = false } @@ -78,7 +78,10 @@ regex = "1.5.6" criterion = { version = "0.7.0", features = ["async_tokio"] } [target.'cfg(not(no_download))'.dev-dependencies] -electrsd = { version = "0.36.1", default-features = false, features = ["legacy", "esplora_a33e97e1", "corepc-node_27_2"] } +# Electrs/bitcoind download features stripped: those build.rs scripts fetch release +# artifacts and hash-assert, panicking when upstream rebuilds an artifact (CI drift). +# Inert set = legacy only, matching the no_download entry below. +electrsd = { version = "0.36.1", default-features = false, features = ["legacy"] } [target.'cfg(no_download)'.dev-dependencies] electrsd = { version = "0.36.1", default-features = false, features = ["legacy"] } @@ -91,9 +94,6 @@ clightningrpc = { version = "0.3.0-beta.8", default-features = false } lnd_grpc_rust = { version = "2.10.0", default-features = false } tokio = { version = "1.37", features = ["fs"] } -[target.'cfg(vss_test)'.dev-dependencies] -ldk-node-062 = { package = "ldk-node", version = "=0.6.2" } - [build-dependencies] uniffi = { version = "0.28.3", features = ["build"], optional = true } diff --git a/src/io/sqlite_store/migrations.rs b/src/io/sqlite_store/migrations.rs index abfbdf6ef0..72ace40da1 100644 --- a/src/io/sqlite_store/migrations.rs +++ b/src/io/sqlite_store/migrations.rs @@ -52,7 +52,7 @@ pub(super) fn migrate_schema( })?; // Update user_version - tx.pragma(Some(rusqlite::DatabaseName::Main), "user_version", to_version, |_| Ok(())) + tx.pragma(Some("main"), "user_version", to_version, |_| Ok(())) .map_err(|e| { let msg = format!( "Failed to upgrade user_version from {} to {}: {}", @@ -106,7 +106,7 @@ mod tests { connection .pragma( - Some(rusqlite::DatabaseName::Main), + Some("main"), "user_version", old_schema_version, |_| Ok(()), diff --git a/src/io/sqlite_store/mod.rs b/src/io/sqlite_store/mod.rs index 789330cefe..6b73f4ce1a 100644 --- a/src/io/sqlite_store/mod.rs +++ b/src/io/sqlite_store/mod.rs @@ -262,7 +262,7 @@ impl SqliteStoreInner { // New database, set our SCHEMA_USER_VERSION and continue connection .pragma( - Some(rusqlite::DatabaseName::Main), + Some("main"), "user_version", SCHEMA_USER_VERSION, |_| Ok(()),