iop_proto_wasm/
lib.rs

1#![allow(clippy::new_without_default)] // WASM does not call default()
2#![warn(missing_docs)]
3#![deny(rustdoc::broken_intra_doc_links)]
4
5//! This library defines WASM wrappers for objects used both by clients in the SDK and the blockchain node implementation.
6
7mod coeus;
8mod did;
9mod jwt;
10mod sign;
11
12pub use coeus::*;
13pub use did::*;
14pub use jwt::*;
15pub use sign::*;
16
17// imports from standard library
18
19// imports from 3rd party crates
20
21use anyhow::Result;
22use wasm_bindgen::prelude::*;
23
24// imports from own crates
25
26use iop_coeus_proto::*;
27use iop_journal_proto::*;
28use iop_keyvault_wasm::*;
29use iop_morpheus_proto::{
30    crypto::{
31        jwt::{JwtBuilder, JwtParser},
32        sign::{Signable, Signed},
33    },
34    data::{Did, ValidationIssue, ValidationResult},
35};
36
37pub use iop_keyvault_wasm::*;