piped 0.0.4

An API wrapper for the privacy friendly YouTube frontend called Piped.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

pub type Result<T> = std::result::Result<T, Error>;

#[derive(Error, Debug)]
pub enum Error {
    #[error("{0}")]
    Network(#[from] reqwest::Error),
    #[error("{0}")]
    ParseResponse(#[from] serde_json::error::Error),
    #[error("{0}")]
    Parseurl(#[from] url::ParseError),
}