Bootstrap geth Rust workspace
This commit is contained in:
commit
26f81ff1ef
73 changed files with 4835 additions and 0 deletions
14
crates/geth-kv/src/lib.rs
Normal file
14
crates/geth-kv/src/lib.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
use geth_types::{KvId, ResourceId};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub struct KvResource {
|
||||
pub id: KvId,
|
||||
pub resource: ResourceId,
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn iroh_docs_roadmap() -> &'static str {
|
||||
"future kv storage uses Iroh Documents namespaces with prefix-scoped authorization"
|
||||
}
|
||||
Loading…
Reference in a new issue