| Crates.io | ents |
| lib.rs | ents |
| version | 0.4.0 |
| created_at | 2026-01-01 05:01:42.453777+00 |
| updated_at | 2026-01-17 05:17:56.025162+00 |
| description | Minimal entity framework |
| homepage | |
| repository | https://github.com/blmarket/ents |
| max_upload_size | |
| id | 2015764 |
| size | 16,204 |
A minimal, type-safe entity framework for Rust that provides a simple and extensible way to work with entities and their relationships.
ents is the core crate that defines the foundational traits and types for
building entity-based applications. It provides the abstractions needed to work
with entities, edges (relationships), and database operations without being
tied to any specific storage backend.
Ent: Core entity trait with serialization support via typetagEntWithEdges: Define relationships between entitiesTransactional traitEnt trait)An entity is any type that implements the Ent trait. Each entity has:
Id)last_updated)Edges represent relationships between entities. The framework provides:
EdgeProvider: Interface for managing edgesEdgeQuery: Flexible querying of relationshipsEdgeDraft: Transactional edge mutations