3 releases
| 0.3.2 | Apr 24, 2021 |
|---|---|
| 0.3.1 | Apr 24, 2021 |
| 0.3.0 | Apr 23, 2021 |
#5 in #sled-db
340KB
5.5K
SLoC
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.
Dependencies
~2.7–4MB
~69K SLoC