Skip to main content

Crate holochain

Crate holochain 

Source
Expand description

All the components you need to build a Holochain Conductor

Re-exports§

pub use holochain_wasmer_host;
pub use tracing;

Modules§

conductor
A Conductor manages interactions between its contained Cells, as well as interactions with the outside world. It is primarily a mediator of messages.
core
Defines the core Holochain workflows
docs
Holochain conductor usage documentation.
fixt
Fixturators for holochain types
prelude
Common imports when using the Holochain crate.
sweettest
sweettest = Streamlined Holochain test utils with lots of added sugar
test_utils
Utils for Holochain tests

Macros§

assert_eq_retry
assert_eq_retry_1m
assert_eq_retry_5m
assert_eq_retry_10s
assert_retry
assert_retry_1m
assert_retry_10s
big_stack_test
Wrap a test body in this macro to give it a bigger stack. Expects the body to be async.
from_sub_error
Helper macro for implementing from sub error types for the error in OutcomeOrError
here
Produce file and line number info at compile-time
retry_until_timeout
Retry a code block with an exit condition and then pause, until a timeout has elapsed. The default timeout is 5 s. The default pause is 500 ms.
test_entry_impl
wait_for
wait_for_1m
wait_for_10s

Constants§

HDI_VERSION
Current HDI rust crate version.
HDK_VERSION
Current HDK rust crate version.
HOLOCHAIN_VERSION
Current Holochain Conductor rust crate version.