peertube 0.2.0

Peertube API client
Documentation
mod accounts;
mod servers;

pub use accounts::Accounts;
pub use servers::Servers;

pub struct Blocklist {
    pub accounts: Accounts,
    pub servers: Servers,
}

impl Blocklist {
    pub(crate) fn new(config: &crate::Config) -> Self {
        Self {
            accounts: Accounts::new(config),
            servers: Servers::new(config),
        }
    }
}