| Crates.io | dynpatch-core |
| lib.rs | dynpatch-core |
| version | 0.1.0 |
| created_at | 2025-10-15 10:50:55.946953+00 |
| updated_at | 2025-10-15 10:50:55.946953+00 |
| description | Runtime engine for dynpatch - dynamic library loading, ABI validation, and transactional patching |
| homepage | |
| repository | https://gitlab.com/TIVisionOSS/crates/dynpatch |
| max_upload_size | |
| id | 1884177 |
| size | 46,360 |
Runtime engine for safe live code reloading in Rust.
This crate provides the core functionality for dynamically loading, validating, and activating patches at runtime, with strong safety guarantees and transactional semantics.
.so/.dylib/.dll filesarc-swapabi_stable: Enhanced ABI compatibility checks using the abi_stable cratemetrics: Enable detailed metrics collectionsigning: Cryptographic signature verification for patchessandbox: Process isolation for untrusted patchesuse dynpatch_core::{init, reload, rollback, active_patch_info};
// Initialize the runtime
init();
// Load a patch
reload("path/to/patch.so")?;
// Check active patch
if let Some(info) = active_patch_info() {
println!("Active patch: {} v{}", info.name, info.version);
}
// Rollback if needed
rollback()?;
MIT - See LICENSE file for details