• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cljoly / rusqlite_migration / 24879870001
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/cargo/tokio-1.52.3
DEFAULT BRANCH: master
Ran 24 Apr 2026 08:25AM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Apr 2026 08:19AM UTC coverage: 94.84%. Remained the same
24879870001

Pull #342

github

cljoly
chore: factor out rusqlite version in workspace root

These versions have to be in sync, because rusqlite_migration depends on
it and everything else depends on rusqlite_migration. So if rusqlite
versions don’t match, packages can't compile.

I'm pretty sure this still applies the “no default features” instruction
correctly, even if that has proven hard to test. For instance,
```diff
diff --git a/rusqlite_migration/src/lib.rs b/rusqlite_migration/src/lib.rs
index 8e35501..be88f3d 100644
--- a/rusqlite_migration/src/lib.rs
+++ b/rusqlite_migration/src/lib.rs
@@ -926,6 +926,8 @@ pub fn to_version(&self, conn: &mut Connection, version: usize) -> Result<()> {
     /// Returns [`Error::RusqliteError`] if the underlying sqlite database open call fails.
     pub fn validate(&self) -> Result<()> {
         let mut conn = Connection::open_in_memory()?;
+        conn.prepare_cached("SELECT 1").unwrap();
+        conn.set_prepared_statement_cache_capacity(10);
         self.to_latest(&mut conn)
     }
 }
```

compiles, with or without this change, even if the
[docs](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.prepare_cached)
says it should require the `cache` feature.

See
https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
and
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
Pull Request #342: chore: factor out rusqlite version in workspace root

386 of 407 relevant lines covered (94.84%)

4.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24879870001.1 24 Apr 2026 08:25AM UTC 6
94.84
GitHub Action Run
Source Files on build 24879870001
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #342
  • PR Base - master (#24876855786)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc