Skip to main content

Crate looprs_core

Crate looprs_core 

Source
Expand description

looprs-core — domain types, ports, adapters, and macros.

This crate contains the portable domain layer: pure types, port traits, and the adapters that depend only on this crate. Infrastructure adapters requiring looprs crate internals (e.g. PluginsAdapter, RetryProvider) remain in looprs::adapters.

Modules§

adapters
Adapters (hexagonal architecture) — implementations of ports for looprs-core.
ai_types
Domain types for structured LLM output.
api
events
macros
observation
ports
Ports (hexagonal architecture) — outbound interfaces to external systems.
types

Macros§

domain_event
Define a domain event enum with auto-generated name() method.
newtype_id
Define a newtype wrapper around String with common trait impls.