Skip to main content

latexsnipper_runtime_plugin_api/
lib.rs

1//! Stable C ABI and trusted in-process loader for custom inference runtimes.
2//!
3//! Loading native code is never driven by a model package. Applications first
4//! install a plugin into a separate directory, explicitly enroll its canonical
5//! path and SHA-256 in [`RuntimePluginTrustStore`], then run discovery.
6
7pub mod abi;
8pub mod descriptor;
9pub mod discovery;
10pub mod error;
11mod host;
12pub mod trust;
13
14pub use descriptor::RuntimePluginDescriptor;
15pub use discovery::{
16    DiscoveryIssue, DiscoveryIssueKind, RuntimePluginDiscovery, RuntimePluginDiscoveryReport,
17    RUNTIME_PLUGIN_DESCRIPTOR,
18};
19pub use host::RuntimePluginFactory;
20pub use trust::{RuntimePluginTrustStore, TrustedRuntimePlugin};