# rusqlite/rusqlite

Ergonomic bindings to SQLite for Rust

Repository: https://github.com/rusqlite/rusqlite
Canonical: https://ross.abutalabs.com/products/rusqlite
Language: Rust
License: MIT
License Family: permissive
Topics: rust, sqlite, bindings, wrapper
Last push: 2026-08-23T11:37:00+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 84, longevity 100
- inputs: {"age_days": 4320, "days_push": 10, "days_rel": 25, "gap_med": 45, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4374, forks 491 (observed 2026-08-28T04:08:46.862842+00:00)

## What it is
Rusqlite is an ergonomic Rust library providing bindings to SQLite, with an optional bundled feature that compiles SQLite from source. It offers a safe, idiomatic API for opening connections, executing statements, and mapping query rows to Rust types.

## Use cases
- use sqlite from rust
- embed a local database in a rust application
- query sqlite and map rows to rust structs
- bundle sqlite with my rust binary
- open an in-memory sqlite database in rust

## When to choose
- you need a local, embedded relational database in a Rust project
- you want safe, ergonomic SQLite bindings with active maintenance
- you want to avoid system SQLite version issues via the bundled feature

## When to avoid
- you need a client-server database like PostgreSQL or MySQL
- you are building a generic library around rusqlite and want to avoid forcing the bundled feature
- you need async-first database access without blocking calls

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, database
- domain: databases, developer-tools
- platform: rust, cross-platform
- tags: sqlite, ffi-bindings, embedded-database

## Member repositories
- rusqlite/rusqlite (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.862842+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:20.596679+00:00, confidence not recorded.
  - readme: https://github.com/rusqlite/rusqlite (fetched 2026-08-28T04:08:46.862842+00:00, sha 77e716362651)
  - registry_crates: https://crates.io/api/v1/crates/rusqlite (fetched 2026-08-29T09:09:34.880294+00:00, sha ebd3ebba5233)
- Data as of 2026-08-30T08:39:29.467469+00:00.
