corestore
Create and manage collections of related Hypercores, and replicate them all over one connection. The Rust counterpart of JavaScript's corestore, with the same on-disk layout.
Example
use Corestore;
async
Corestore::new_disk(path)keeps the store on disk. Reopening the path restores its primary key, so named cores keep their identity across restarts.get_from_verifying_keyopens someone else's core, read-only.replicate(stream)replicates every core in the store, including ones opened later, over one encrypted connection (ahypercore::hypercore_handshakeCipherTraitstream). Poll the returnedCorestoreConnectionto drive it.
Status
Get and create cores by name or key, in memory or on disk (matching JS's disk output), and replicate them. Not yet implemented: namespaces.
License
MIT OR Apache-2.0