keyvaluedb
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user