Skip to main content

Crate hara_native

Crate hara_native 

Source

Re-exports§

pub use invoke_hta::InvokeHtaError;
pub use invoke_hta::MAX_INVOKE_HTA_RESULT_BYTES;

Modules§

asset
Local versioned asset collection tooling.
command
Shared application-command routing.
compiled_product
Immutable identities for compiled Hara products.
core
direct_native
Opt-in native-substrate execution for validated Hara bytecode.
distribution
Relocatable source-package distributions.
extension
Strict metadata and host boundary for runtime-generated WASM namespaces.
file
Capability-backed logical filesystem providers.
filesystem
Provider-neutral mounted filesystem interface.
filesystem_runtime
hbc_schema_catalog
Admission of exact std.typed catalogs before HBC1 programs become usable.
hbc_schema_links
HBC1 exact identified-schema links layered over canonical HBC0 programs.
hta
identity_tool
Publisher identity management for the Hara CLI.
instrumentation
Native event, inspection, and execution-control contracts.
interpreter_observation
invoke_hta
Binary-safe invocation of already-loaded, fully qualified Hara Vars.
jit
Rust-only tracing JIT implementation details.
json
kernel
lang
live_session
Backend-neutral live execution sessions.
native_cli
native_link
Publication-time native crate composition for verified HARP package roots.
native_module
Runtime adapter for publication-linked hara-abi native modules.
package
Deterministic local package operations for the hara package command.
package_catalog
package_hta_loader
Trusted native-host loader for resolver-selected generated HTA Wasm packages.
package_manifest
Data-only validation and exact package-artifact resolution for generated package.edn manifests.
package_wasm_loader
Trusted native-host loader for resolver-selected prebuilt Wasm package variants.
project
Project manifest discovery and editing for the native CLI.
resp
RESP listener and wire codec for the native runtime broker. Wire format, dialects, and operation semantics are specified in specs/01-lang/007-resp/draft/hal-resp-protocol.md.
snapshot
Portable, deterministic Hara session startup snapshots.
snapshot_tool
Native CLI adapter for portable HSS0 snapshots.
spec_registry
Workspace-independent access to the canonical hara-specs-registry checkout.
tap
Federated package tap trust primitives.
task
vm
Experimental staged bytecode VM for the Rust runtime (issue #195).
wasm_binding
Restricted .hal interface contracts for portable Wasm extension bindings.
wasmtime_provider
work

Structs§

EvaluationId
InProcessSandboxProvider
Conformance-only provider. Runtime separation is logical and is not a security boundary.
PromiseHandle
ResolvedSandboxBundle
ResolvedSandboxMount
ResolvedSandboxSpec
Runtime
SandboxBundleReference
SandboxError
SandboxId
SandboxLimits
SandboxPending
SandboxSpec
SandboxStatus
Session
An isolated, named execution context owned by a SessionKernel.
SessionAuthorityPolicy
Authority inherited from an embedding host by one in-process evaluator.
SessionId
Stable identity for one process-local Hara session.
SessionKernel
A process-local kernel that multiplexes isolated evaluator sessions.
SessionMountId
Identity of one logical filesystem resource managed by the local Kernel.
SessionSpec
Immutable construction contract for one ordinary in-process Session.
SessionStatus
Immutable status projection for one Session.

Enums§

SandboxErrorCode
SandboxState
SessionState
Observable lifecycle of one Session.

Constants§

SANDBOX_SPEC_PROTOCOL

Traits§

SandboxInstance
Provider-side live sandbox. Implementations own backend launch, execution, cancellation, and termination details.
SandboxProvider

Functions§

bytecode_jit_telemetry
Returns tracing-JIT counters retained for a compiled bytecode program. None means this build has no tracing-JIT feature enabled.
bytecode_namespace_registry
compile_bytecode
compile_bytecode_artifact
Compiles source into a checksummed, versioned bytecode artifact.
embedding_namespace_registry
Builds the fully bootstrapped namespace registry used by native embedding hosts.
eval_bytecode_native
Compiles and executes a source string through the experimental VM.
execute_bytecode
Executes a previously compiled and validated program.
execute_bytecode_artifact
Decodes, validates, and executes a bytecode artifact.
init_wasm
instrumentation_conformance
Runs the shared instrumentation corpus inside the browser/Wasm runtime.
restricted_sandbox_runtime
Constructs the zero-authority Runtime profile used by an external secure SandboxProvider evaluator process.
restricted_sandbox_runtime_with_host
Constructs the same restricted Runtime while restoring exactly the fully qualified std.native.Host/call operation behind a caller-supplied handler.
restricted_sandbox_session
Constructs the zero-authority private Session owned by an external sandbox provider. The returned Session may own live sessions, while Sandbox itself retains only its coarse eval/call/cancel/close contract.
restricted_sandbox_session_with_host
Constructs a zero-authority private sandbox Session with exactly one caller-supplied fully-qualified Host/call authority boundary.

Type Aliases§

SessionMetadata
Compatibility name retained while the Session/Runtime model is tightened.