entity-core

Crates.ioentity-core
lib.rsentity-core
version0.3.0
created_at2026-01-06 06:51:39.285853+00
updated_at2026-01-08 03:45:12.036481+00
descriptionCore traits and types for entity-derive
homepage
repositoryhttps://github.com/RAprogramm/entity-derive
max_upload_size
id2025292
size67,584
RA (RAprogramm)

documentation

https://docs.rs/entity-core

README

entity-core

Crates.io Docs.rs License: MIT

Core traits and types for entity-derive.

This is an internal crate. Use entity-derive directly.

Overview

This crate provides the foundational types used by entity-derive:

  • Repository<T> - Base repository trait for CRUD operations
  • Pagination - Type-safe pagination with offset/limit
  • SortDirection - Enum for ASC/DESC ordering

Usage

These types are re-exported from entity-derive, so you typically don't need to depend on this crate directly:

use entity_derive::{Entity, Pagination, SortDirection};

let page = Pagination::page(0, 25);

Documentation

For complete documentation, examples, and usage guide, see:

License

MIT License - see LICENSE

Commit count: 191

cargo fmt