ipfs_api_prelude/
lib.rs

1// Copyright 2021 rust-ipfs-api Developers
2//
3// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5// http://opensource.org/licenses/MIT>, at your option. This file may not be
6// copied, modified, or distributed except according to those terms.
7//
8
9#[cfg(feature = "with-builder")]
10#[macro_use]
11extern crate typed_builder;
12
13extern crate serde;
14
15mod api;
16mod backend;
17mod error;
18mod from_uri;
19mod global_opts;
20mod header;
21mod read;
22pub mod request;
23pub mod response;
24
25pub use {
26    api::IpfsApi,
27    backend::{Backend, BoxStream},
28    error::Error,
29    from_uri::TryFromUri,
30    global_opts::{BackendWithGlobalOptions, GlobalOptions},
31    request::ApiRequest,
32    response::ApiError,
33};