ndn_compute/lib.rs
1//! # ndn-compute -- In-network computation
2//!
3//! Routes Interests to registered compute handlers and injects the resulting
4//! Data packets back into the forwarder pipeline. This enables named-function
5//! networking where computation is co-located with the router.
6//!
7//! ## Key types
8//!
9//! - [`ComputeFace`] -- virtual face bridging the pipeline to compute handlers
10//! - [`ComputeRegistry`] -- maps name prefixes to handler instances
11//! - [`ComputeHandler`] -- trait for user-defined compute functions
12
13#![allow(missing_docs)]
14
15pub mod compute_face;
16pub mod registry;
17
18pub use compute_face::ComputeFace;
19pub use registry::{ComputeHandler, ComputeRegistry};