entity-inmemory
Provides a custom inmemory database on top of entity
that leverages a mixture
of std::collections::HashMap
to maintain the entities.
Example
use InmemoryDatabase;
let db = default;
Feature Flags
Entity provides a few feature flags:
serde-1
- Provides serde serialization module and associated functionality for the database. Ents are supported through the use of typetag. This will require that all ents implement Serialize and Deserialize.- Requires
serde-1
be enabled onentity
crate - Requires
serde
andtypetag
to be included in dependencies
- Requires