Skip to main content

ave_common/
lib.rs

1//! # Ave Common
2//!
3//! Common types and utilities for Ave without heavy dependencies.
4//!
5//! This crate re-exports essential types needed for working with Ave,
6//! such as identity and cryptography, without pulling in heavy dependencies
7//! like wasmtime that don't compile on all architectures.
8
9#[cfg(feature = "common")]
10pub mod error;
11
12#[cfg(feature = "common")]
13pub mod bridge;
14
15#[cfg(feature = "common")]
16pub mod request;
17
18#[cfg(feature = "common")]
19pub mod schematype;
20
21#[cfg(feature = "common")]
22pub mod namespace;
23
24#[cfg(feature = "common")]
25pub mod sink;
26
27#[cfg(feature = "value-wrapper")]
28pub mod wrapper;
29
30// Re-exports
31#[cfg(feature = "common")]
32pub use ave_identity as identity;
33
34#[cfg(feature = "common")]
35pub use bridge::*;
36
37#[cfg(feature = "common")]
38pub use error::{ConversionError, Error, SignatureError};
39
40#[cfg(feature = "common")]
41pub use schematype::SchemaType;
42
43#[cfg(feature = "common")]
44pub use namespace::Namespace;
45
46#[cfg(feature = "common")]
47pub use sink::*;
48
49#[cfg(feature = "value-wrapper")]
50pub use wrapper::ValueWrapper;