12 releases (breaking)

new 0.9.1 Apr 23, 2025
0.8.1 Mar 25, 2025
0.6.0 Dec 17, 2024
0.5.0 Nov 19, 2024
0.2.0 Jul 11, 2024

#1843 in Database interfaces

Download history 3/week @ 2025-01-09 2/week @ 2025-01-30 147/week @ 2025-02-06 156/week @ 2025-02-13 8/week @ 2025-02-20 27/week @ 2025-02-27 203/week @ 2025-03-20 67/week @ 2025-03-27 100/week @ 2025-04-03 98/week @ 2025-04-10 58/week @ 2025-04-17

359 downloads per month
Used in 3 crates

MIT license

235KB
5.5K SLoC

Cashu Development Kit SQLite Storage Backend

ALPHA This library is in early development, the api will change and should be used with caution.

cdk-sqlite is the sqlite storage backend for cdk.

Crate Feature Flags

The following crate feature flags are available:

Feature Default Description
wallet Yes Enable cashu wallet features
mint Yes Enable cashu mint wallet features
sqlcipher No Enable encrypted database

Implemented NUTs:

See https://github.com/cashubtc/cdk/blob/main/README.md

Minimum Supported Rust Version (MSRV)

The cdk library should always compile with any combination of features on Rust 1.63.0.

To build and test with the MSRV you will need to pin the below dependency versions:

cargo update -p half --precise 2.2.1
cargo update -p home --precise 0.5.5
cargo update -p tokio --precise 1.38.1
cargo update -p serde_with --precise 3.1.0
cargo update -p reqwest --precise 0.12.4

License

This project is distributed under the MIT software license - see the LICENSE file for details.

Dependencies

~63MB
~1M SLoC