radicle-heartwood-lfs/radicle/src/lib.rs

43 lines
1006 B
Rust

#![allow(clippy::match_like_matches_macro)]
#![allow(clippy::explicit_auto_deref)] // TODO: This can be removed when the clippy bugs are fixed
#![allow(clippy::iter_nth_zero)]
#![cfg_attr(not(test), warn(clippy::unwrap_used))]
pub extern crate radicle_crypto as crypto;
#[macro_use]
extern crate amplify;
extern crate radicle_git_ext as git_ext;
mod canonical;
pub mod cob;
pub mod collections;
pub mod git;
pub mod identity;
pub mod node;
pub mod profile;
pub mod rad;
pub mod serde_ext;
pub mod sql;
pub mod storage;
#[cfg(any(test, feature = "test"))]
pub mod test;
pub use node::Node;
pub use profile::Profile;
pub use storage::git::Storage;
pub mod prelude {
use super::*;
pub use crypto::{PublicKey, Signer, Verified};
pub use identity::{project::Project, Did, Doc, Id};
pub use node::{NodeId, Timestamp};
pub use profile::Profile;
pub use storage::{BranchName, ReadRepository, ReadStorage, WriteRepository, WriteStorage};
}
pub mod env {
pub use crypto::env::*;
}