1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// SPDX-FileCopyrightText: 2025-2026 RAprogramm <andrey.rozanov.vl@gmail.com>
// SPDX-License-Identifier: MIT
//! # entity-derive
//!
//! One crate, all features. Re-exports:
//! - [`Entity`] derive macro from `entity-derive-impl`
//! - All types from `entity-core` ([`Pagination`], [`SortDirection`],
//! [`Repository`])
//!
//! # Quick Start
//!
//! ```rust,ignore
//! use entity_derive::{Entity, Pagination};
//!
//! #[derive(Entity)]
//! #[entity(table = "users")]
//! pub struct User {
//! #[id]
//! pub id: Uuid,
//! #[field(create, update, response)]
//! pub name: String,
//! }
//!
//! // Use pagination
//! let page = Pagination::page(0, 25);
//! ```
// Re-export derive macro
// Re-export all core types
pub use *;
pub use ;
/// Re-export of the error type generated HTTP handlers return.
///
/// Consumers of the `api` feature reach it through this path, so the
/// crate never has to appear in their own dependencies.
pub use masterror;
/// Re-export of the JSON runtime generated code serializes through.
///
/// Used by stream payloads, outbox rows and the examples in the OpenAPI
/// document.
pub use serde_json;