1pub use crate::app_entry;
2pub use crate::chain::must_get_agent_activity;
3pub use crate::ed25519::verify_signature;
4pub use crate::ed25519::verify_signature_raw;
5pub use crate::entry::must_get_action;
6pub use crate::entry::must_get_entry;
7pub use crate::entry::must_get_valid_record;
8pub use crate::entry_types;
9#[cfg(not(feature = "trace"))]
11pub use crate::error;
12pub use crate::flat_op::*;
13pub use crate::hash::*;
14pub use crate::hash_path::anchor::Anchor;
15pub use crate::hash_path::path::Component;
16pub use crate::hash_path::path::Path;
17pub use crate::hash_path::path::TypedPath;
18pub use crate::hash_path::shard::ShardStrategy;
19pub use crate::hdi::*;
20pub use crate::info::dna_info;
21pub use crate::info::zome_info;
22pub use crate::link::LinkTypeFilterExt;
23pub use crate::map_extern;
24pub use crate::map_extern::ExternResult;
25pub use crate::map_extern_infallible;
26pub use crate::map_extern_preamble;
27pub use crate::op::*;
28pub use crate::x_salsa20_poly1305::ed_25519_x_salsa20_poly1305_decrypt;
29pub use crate::x_salsa20_poly1305::x_25519_x_salsa20_poly1305_decrypt;
30pub use crate::x_salsa20_poly1305::x_salsa20_poly1305_decrypt;
31pub use hdk_derive;
32pub use hdk_derive::dna_properties;
33pub use hdk_derive::hdk_entry_helper;
34pub use hdk_derive::hdk_entry_types;
35pub use hdk_derive::hdk_entry_types_conversions;
36pub use hdk_derive::hdk_extern;
37pub use hdk_derive::hdk_link_types;
38pub use hdk_derive::hdk_to_coordinates;
39pub use hdk_derive::EntryDefRegistration;
40pub use hdk_derive::UnitEnum;
41pub use holo_hash;
42pub use holo_hash::ActionHash;
43pub use holo_hash::AgentPubKey;
44pub use holo_hash::AnyDhtHash;
45pub use holo_hash::AnyLinkableHash;
46pub use holo_hash::DnaHash;
47pub use holo_hash::EntryHash;
48pub use holo_hash::EntryHashes;
49pub use holo_hash::ExternalHash;
50pub use holo_hash::HasHash;
51pub use holo_hash::HoloHash;
52pub use holo_hash::HoloHashed;
53pub use holochain_integrity_types;
54pub use holochain_integrity_types::prelude::*;
55pub use holochain_wasmer_guest::*;
56pub use std::collections::BTreeSet;
57pub use std::collections::HashSet;
58pub use std::convert::TryFrom;
59#[cfg(feature = "trace")]
60pub use tracing;
61#[cfg(feature = "trace")]
62pub use tracing::{debug, error, info, instrument, trace, warn};
63
64#[doc(hidden)]
66#[cfg(not(feature = "trace"))]
67#[macro_export]
68macro_rules! error {
69 ($($field:tt)*) => {};
70}
71
72#[cfg(feature = "mock")]
73pub use mockall;
74
75#[doc(hidden)]
77#[macro_export]
78macro_rules! holochain_externs {
79 () => {
80 holochain_wasmer_guest::host_externs!(
81 trace:1,
82 unreachable:1,
83 verify_signature:1,
84 zome_info:1,
85 dna_info:1,
86 dna_info:2,
87 must_get_entry:1,
88 must_get_valid_record:1,
89 must_get_action:1,
90 must_get_agent_activity:1,
91 x_salsa20_poly1305_decrypt:1,
92 x_25519_x_salsa20_poly1305_decrypt:1,
93 ed_25519_x_salsa20_poly1305_decrypt:1
94 );
95 };
96}
97
98#[cfg(not(feature = "mock"))]
99holochain_externs!();