Skip to main content

puerto_nucleo/
lib.rs

1//! Puerto's runtime core: the domain types every project generated by
2//! [Puerto](https://github.com/Guuri11/Puerto) shares, whatever its entities and adapters — paged
3//! lists, the repository error, domain events with the ports their transports implement, and the
4//! mail ports, and the auth port.
5//!
6//! No driver, no runtime, no I/O: a project's domain layer depends on it (ADR-0017, ADR-0018).
7
8pub mod auth;
9pub mod correo;
10pub mod error_repositorio;
11pub mod eventos;
12pub mod paginacion;
13
14pub use auth::{Autenticador, ErrorAuth, Principal};
15pub use error_repositorio::ErrorRepositorio;
16pub use eventos::{
17    ErrorDecodificacion, EventoDominio, ManejadorEvento, ResultadoManejo, SobreEvento,
18};
19pub use paginacion::{LIMITE_PAGINA_MAXIMO, LIMITE_PAGINA_POR_DEFECTO, Pagina, PeticionPagina};