syncthing 0.1.0

A Rust library for controlling syncthing file synchronization through its REST interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod connection;
mod event;
mod reply;
mod routes;
#[cfg(test)]
mod tests;

pub use connection::Connection;
pub use event::*;
pub use reply::*;

pub use surf::middleware::HttpClient; //FIXME: next surf version
pub use surf::Exception as Error;
pub type Fallible<T> = Result<T, Error>;

pub static API_URL: &str = "http://localhost:8384";
pub static API_HEADER_KEY: &str = "X-API-Key";