From ae1709dafd22ac3c64441472e90df8799253292e Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 14 Jun 2023 21:18:24 +0100 Subject: Key values (#1038) * wip * Start testing * Store host IDs, not hostnames Why? Hostnames can change a lot, and therefore host filtering can be funky. Really, all we want is a unique ID per machine + do not care what it might be. * Mostly just write a fuckload of tests * Add a v0 kv store I can push to * Appending works * Add next() and iterate, test the pointer chain * Fix sig * Make clippy happy and thaw the ICE * Fix tests' * Fix tests * typed builder and cleaner db trait --------- Co-authored-by: Conrad Ludgate --- atuin-common/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'atuin-common/Cargo.toml') diff --git a/atuin-common/Cargo.toml b/atuin-common/Cargo.toml index 94225e6f..918b5b5f 100644 --- a/atuin-common/Cargo.toml +++ b/atuin-common/Cargo.toml @@ -16,3 +16,4 @@ chrono = { workspace = true } serde = { workspace = true } uuid = { workspace = true } rand = { workspace = true } +typed-builder = { workspace = true } -- cgit v1.3.1