Bootstrap geth Rust workspace
This commit is contained in:
commit
26f81ff1ef
73 changed files with 4835 additions and 0 deletions
15
crates/geth-db/src/lib.rs
Normal file
15
crates/geth-db/src/lib.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use geth_types::{DbId, ResourceId};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub struct DbResource {
|
||||
pub id: DbId,
|
||||
pub resource: ResourceId,
|
||||
pub path: String,
|
||||
pub sync_status: String,
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn crsqlite_sync_roadmap() -> &'static str {
|
||||
"future db sync reads crsql_changes, exchanges changes over Iroh, and applies through crsql_changes"
|
||||
}
|
||||
Loading…
Reference in a new issue