1 unstable release
new 0.1.0 | Apr 9, 2025 |
---|
#14 in #sled
53KB
1K
SLoC
willow-store-simple-sled
Simple persistent storage for Willow data.
- Implements
willow_data_model::Store
. - Simple, hence it has a straightforward implementation without the use of fancy data structures.
- Uses sled under the hood.
let db = sled::open("my_db").unwrap();
let namespace = willow_25::NamespaceId25::new_communal();
let store = StoreSimpleSled::new(namespace, db).unwrap();
Performance considerations
- Read and write performance should be adequate.
- Loads entire payloads into memory all at once.
Dependencies
~4MB
~62K SLoC