keyvaluedb

This commit is contained in:
John Smith
2023-05-17 21:51:42 -04:00
parent 24bd401c90
commit 9f22e90fbc
8 changed files with 45 additions and 60 deletions
+14
View File
@@ -1,4 +1,5 @@
mod table_db;
use super::*;
#[cfg(target_arch = "wasm32")]
mod wasm;
@@ -8,3 +9,16 @@ pub use wasm::*;
mod native;
#[cfg(not(target_arch = "wasm32"))]
pub use native::*;
pub static KNOWN_TABLE_NAMES: [&'static str; 7] = [
"crypto_caches",
"RouteSpecStore",
"routing_table",
"local_records",
"local_subkeys",
"remote_records",
"remote_subkeys",
];
pub static KNOWN_PROTECTED_STORE_KEYS: [&'static str; 4] =
["node_id", "node_id_secret", "_test_key", "RouteSpecStore"];