entity-sled 0.3.2

Sled database support for entity crate.
Documentation

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.