web5_rust/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
mod error;
pub use error::Error;

mod common;
mod ed25519;
pub mod dids;


mod dwn;
pub use dwn::{DwnIdentity, Dwn};
pub use dwn::traits::{Client, Server};
pub use dwn::router::Router;
pub use dwn::json_rpc::{JsonRpcClient, JsonRpcServer};
pub use dwn::structs::{PublicRecord};

mod agent;
pub use agent::scripts;
pub use agent::commands;
pub use agent::{Agent, Wallet, Identity, AgentKey};
pub use agent::traits::Response;
pub use agent::structs::{Record, RecordPath};
pub use agent::permission::{PermissionOptions, ChannelPermissionOptions};
pub use agent::protocol::{Protocol, ChannelProtocol};

pub extern crate simple_database;

#[cfg(test)]
mod tests;