char/avril

(wip) why'd you have to go and make things so complicaaaaated?

git clone https://git.t4t.associates/char/avril

Charlotte Somadd `avril:kv` module78f4748

main
638 B18 linesraw
1//! Synchronous byte-oriented redb backend for `avril:kv` and future adapters.
2//!
3//! [`Store`] owns one database file: keyspaces of opaque byte keys mapping
4//! to opaque byte values plus per-entry versionstamps. It knows nothing
5//! about guests, JavaScript, or capabilities; authority checks live in the
6//! adapters (such as `exts/kv`), which re-authorize before delegating here.
7
8mod atomic;
9mod store;
10
11#[cfg(test)]
12mod tests;
13
14pub use atomic::{BatchOp, MAX_BATCH_BYTES, MAX_BATCH_OPS};
15pub use store::{
16    Access, Decision, ListedEntry, ReadTx, Store, StoredEntry, WriteTx, check_keyspace_name,
17    parse_stamp, stamp_string,
18};