Skip to main content

Crate convergio_types

Crate convergio_types 

Source
Expand description

convergio-types — The contract everything builds on.

Defines the Extension trait, Manifest, DomainEvent, and shared types. Every crate in the workspace depends on this.

Re-exports§

pub use api_error::ApiError;
pub use dev_auth::dev_auth_header;

Modules§

api_error
Standardized API error type with proper HTTP status mapping.
config
Configuration types — pure data structures, no I/O.
dev_auth
Development auth helper — reads token from environment with fallback.
errors
Shared error types used across the platform.
events
Domain events — the heartbeat of the system.
extension
The Extension trait — the only way to exist in Convergio.
manifest
Semantic manifest — every extension declares what it is, provides, and requires.
message_error
Lightweight error wrapper for user-facing messages.
platform_paths
Platform-aware directory resolution.
platform_restart
Cross-platform daemon restart primitives.
resilience
Resilience primitives — retry and circuit breaker configuration.