2 releases

Uses new Rust 2024

0.1.1 Mar 29, 2026
0.1.0 Mar 28, 2026

#13 in #data-persistence

Download history 24/week @ 2026-03-25 41/week @ 2026-04-08 46/week @ 2026-04-15 31/week @ 2026-04-22 23/week @ 2026-04-29 20/week @ 2026-05-06

142 downloads per month
Used in 17 crates (13 directly)

MIT license

140KB
4K SLoC

coil-data

coil-data provides data access and persistence primitives for Coil.

It owns shared database-facing abstractions used by higher-level modules and operational crates.

Install

[dependencies]
coil-data = "0.1.0"

When to use this crate directly

  • You are composing Coil manually and need the shared data layer.
  • You are building framework code that needs direct persistence primitives.
  • You are contributing to the way Coil integrates with PostgreSQL and related storage concerns.
  • coil-config: database and platform configuration models.
  • coil-runtime: consumes the data layer during live request handling.
  • coil-jobs: uses the data layer for queue state and coordination.

Learn more

Dependencies

~20–37MB
~503K SLoC