# dynpatch-interface
Shared interface types and traits for the dynpatch hot-patching system.
This crate provides the common types, traits, and metadata structures that must be shared between the host application and patch dynamic libraries to ensure type and ABI compatibility.
## Features
- **Type-safe interfaces**: Strong typing for patch contracts
- **ABI validation**: Layout and compatibility checking
- **Version management**: Semantic versioning with compatibility rules
- **State migration**: Optional state transfer between patch versions
## Usage
Both the host application and patch libraries should depend on this crate to share interface definitions:
```toml
[dependencies]
dynpatch-interface = "0.1"
```
## License
MIT - See LICENSE file for details