Expand description
Foundation types for MockForge
This crate sits at the bottom of the MockForge dependency graph. It has no
dependencies on other mockforge- crates*, so both mockforge-core and the
various extracted crates (mockforge-proxy, mockforge-import, etc.) can depend
on it without creating circular dependencies.
Currently exports:
Error,Result— canonical error/result types used throughout MockForgeEncryptionError,EncryptionResult— encryption-specific error types
Re-exports§
pub use encryption_error::EncryptionError;pub use encryption_error::EncryptionResult;pub use error::Error;pub use error::Result;
Modules§
- ai_
response - AI-assisted response generation for dynamic mock endpoints
- ai_
studio_ types - AI Studio data types
- clock
- Pluggable clock — foundation’s
now()defaults toUtc::now()but can be overridden (e.g., bymockforge-core::time_travel) viaset_clock. - contract_
diff_ types - Core types for AI-powered contract diff analysis
- contract_
drift_ types - Core types for contract drift and budget management
- encryption_
error - Error types and handling for encryption operations
- error
- Error types for MockForge Core
- failure_
injection - Enhanced failure injection system with per-tag include/exclude filters and error rate configuration.
- incidents_
types - Core types for incident management
- intelligent_
behavior - Foundational types for intelligent behavior
- latency
- Pillars: [Reality]
- multi_
tenant_ types - Multi-tenant workspace configuration types
- protocol
- Protocol type enumeration for multi-protocol support
- protocol_
contract_ types - Protocol-agnostic contract types
- response_
generation_ trace - Response generation trace for debugging and observability
- response_
selection - Response selection modes for multiple responses/examples
- schema_
diff - Pillars: [Contracts]
- state_
machine - State machine types for scenario/behavior modeling
- threat_
modeling_ types - Types for contract threat modeling
- workspace_
promotion - Workspace promotion types