Skip to main content

lenso_capability_configuration_source/
lib.rs

1//! Versioned source Plugin role used only by a Host-owned pre-App bootstrap Plan.
2//!
3//! The response contains values, not source identity, writable scopes, trust roots,
4//! publication approval, or App bindings. The Host supplies and validates those.
5
6#[allow(unknown_lints)]
7#[allow(clippy::all)]
8pub mod host {
9    include!("generated.rs");
10}
11
12#[allow(unknown_lints)]
13#[allow(clippy::all)]
14#[cfg(not(target_arch = "wasm32"))]
15pub mod plugin {
16    include!("generated_plugin.rs");
17}
18
19// The generated export macro addresses its contract through `$crate`.
20#[cfg(not(target_arch = "wasm32"))]
21pub use plugin::*;
22// Workers links the typed Host endpoint; Process SDK consumers require Native I/O.
23#[cfg(target_arch = "wasm32")]
24pub use host::*;