lix 0.12.0

Embeddable version control for apps and AI agents.
Documentation
//! Lix plugin authoring and runtime integration.
//!
//! Component plugins compile against the authoring facade in this module on
//! `wasm32-wasip2`. Repository engines compile the runtime implementation
//! instead. The target split keeps the plugin-authoring dependency as simple
//! as `lix = "..."` without pulling the repository engine into the guest.

#[cfg(any(
    not(target_arch = "wasm32"),
    all(target_arch = "wasm32", target_os = "wasi", target_env = "p2")
))]
#[doc(hidden)]
pub mod api;

pub mod wire;

#[cfg(not(all(target_arch = "wasm32", target_os = "wasi", target_env = "p2")))]
pub mod runtime;

#[cfg(any(
    not(target_arch = "wasm32"),
    all(target_arch = "wasm32", target_os = "wasi", target_env = "p2")
))]
pub use api::*;

#[cfg(any(
    not(target_arch = "wasm32"),
    all(target_arch = "wasm32", target_os = "wasi", target_env = "p2")
))]
pub use crate::__lix_export_capabilities as export_capabilities;