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
//! This crate provides an API for talking to repositories that implements in-toto

//#![deny(missing_docs)]
#![allow(
    clippy::collapsible_if,
    clippy::implicit_hasher,
    clippy::new_ret_no_self,
    clippy::op_ref,
    clippy::too_many_arguments,
    clippy::borrowed_box
)]

pub mod crypto;
pub mod error;
pub mod interchange;
pub mod models;
mod rulelib;
pub mod runlib;
pub mod verifylib;

mod format_hex;

pub use crate::error::*;

/// Alias for `Result<T, Error>`.
pub type Result<T> = std::result::Result<T, Error>;