radicle/
lib.rs

1#![allow(clippy::match_like_matches_macro)]
2#![allow(clippy::too_many_arguments)]
3#![allow(clippy::iter_nth_zero)]
4#![warn(clippy::unwrap_used)]
5
6pub extern crate radicle_crypto as crypto;
7
8#[macro_use]
9extern crate amplify;
10extern crate radicle_git_ext as git_ext;
11
12mod canonical;
13
14pub mod cli;
15pub mod cob;
16pub mod collections;
17pub mod explorer;
18pub mod git;
19pub mod identity;
20pub mod io;
21#[cfg(feature = "logger")]
22pub mod logger;
23pub mod node;
24pub mod profile;
25pub mod rad;
26#[cfg(feature = "schemars")]
27pub mod schemars_ext;
28pub mod serde_ext;
29pub mod sql;
30pub mod storage;
31#[cfg(any(test, feature = "test"))]
32pub mod test;
33pub mod version;
34pub mod web;
35
36pub use cob::{external, issue, patch};
37pub use node::Node;
38pub use profile::Profile;
39pub use storage::git::Storage;
40
41pub mod prelude {
42    use super::*;
43
44    pub use crypto::{PublicKey, Verified};
45    pub use identity::{project::Project, Did, Doc, RawDoc, RepoId};
46    pub use node::{Alias, NodeId, Timestamp};
47    pub use profile::Profile;
48    pub use storage::{
49        BranchName, ReadRepository, ReadStorage, SignRepository, WriteRepository, WriteStorage,
50    };
51}