summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/examples/server_lib/mod.rs
blob: 5291637e1a085a5bf13ebeb41579572e98b4f958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Main library entry point for fatcat implementation.

mod server;

mod errors {
    error_chain!{}
}

pub use self::errors::*;

/// Instantiate a new server.
pub fn server() -> Result<server::Server> {
    Ok(server::Server {})
}