Crate homestar_invocation
source ·Expand description
homestar-invocation is an underlying foundation for Homestar
packages, implementing much of the Ucan Invocation
specification, among other useful library features.
Related crates/packages:
Getting Started
For getting started with Homestar in general, please check out our README and Quickstart guide.
Feature flags
diesel: Enables diesel-sqlite implementations of data structures.test-utils: Enables utilities for unit testing and benchmarking.
Re-exports
pub use error::Error;pub use pointer::Pointer;pub use receipt::Receipt;pub use task::Task;pub use consts::*;pub use unit::*;
Modules
- Modules centered around UCAN authority.
- Exported global constants.
- Error types and implementations for Invocation interaction(s).
- Ipld customization and extensions.
- Macros for cross-crate export.
- Pointers and references to Invocations, Tasks, Instructions, and/or Receipts, as well as handling for the Await’ed promises of pointers.
- Output of an invocation, referenced by its invocation pointer.
- A Task is the smallest unit of work that can be requested from a UCAN.
- test_utils
test-utilsTest Utilities.
Macros
- Return early with an error.
- Return early with an error if a condition is not satisfied.
Structs
- A signed Task wrapper/container.