Skip to main content

Module embedded

Module embedded 

Source
Available on crate feature build only.
Expand description

“Embedded” deployment backend for Hydro.

Instead of compiling each location into a standalone binary, this backend generates a Rust source file containing one function per location. Each function returns a dfir_rs::scheduled::graph::Dfir that can be manually driven by the caller.

This is useful when you want full control over where and how the projected DFIR code runs (e.g. embedding it into an existing application).

§Limitations

Networking is not supported. All Deploy networking trait methods will panic if called. Only pure local computations (with data embedded in the Hydro program) are supported.

Structs§

EmbeddedInstantiateEnv
Collected embedded input registrations.
EmbeddedNode
A trivial node type for embedded deployment. Stores a user-provided function name.

Enums§

EmbeddedDeploy
Marker type for the embedded deployment backend.