entity-sled

Crates.ioentity-sled
lib.rsentity-sled
version0.3.2
sourcesrc
created_at2021-04-23 04:45:18.539457
updated_at2021-04-24 06:38:58.779942
descriptionSled database support for entity crate.
homepagehttps://github.com/chipsenkbeil/entity-rs
repositoryhttps://github.com/chipsenkbeil/entity-rs
max_upload_size
id388436
size51,745
Chip Senkbeil (chipsenkbeil)

documentation

README

entity-sled

Provides a wrapper database around sled to support and maintain entity objects.

Example

use entity_sled::SledDatabase;

// Make our temporary sled::db
let config = sled::Config::new().temporary(true);
let db = config.open().expect("Database created successfully");

// Define our wrapper (SledDatabase) around a tradition sled::db
let db = SledDatabase::new(db);

Special Notes

Requires that entity have the serde-1 flag enabled as all objects must be serializable & deserializable as well as support typetag.

Commit count: 155

cargo fmt