momento_functions_host/lib.rs
1#![deny(missing_docs)]
2
3//! Host interface tools for Momento Functions
4//!
5//! This crate helps you write Momento Functions.
6//!
7//! Functions use `wasm32-wasip2` as the target architecture.
8//! They use the [WIT](https://component-model.bytecodealliance.org/design/wit.html) [Component Model](https://component-model.bytecodealliance.org/)
9//! to describe the ABI.
10//!
11//! You are likely to be interested in the sibling crates:
12//! * [`momento-functions`](https://crates.io/crates/momento-functions): Code generators for Functions.
13//! * [`momento-functions-log`](https://crates.io/crates/momento-functions-log): Standard `log` adapter.
14
15pub mod aws;
16pub mod cache;
17pub mod encoding;
18mod error;
19pub mod http;
20pub mod redis;
21mod spawn;
22pub mod topics;
23pub mod web_extensions;
24
25pub use error::{Error, FunctionResult};
26pub use spawn::spawn;