1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
//! [dishub](https://github.com/nabijaczleweli/dishub) is an app for posting GitHub activity on Discord. //! //! # Library doc //! //! This library is used by `dishub` itself for all its function and is therefore contains all necessary functions. //! //! ## Data flow //! //! See documentation for `ops::*` submodules as each one has a distinct data flow. //! //! # Executable doc //! //! Exit values and possible errors: //! //! ```plaintext //! 1 - File would need to be overriden but `-f` not specified //! 2 - File from a subsystem doesn't exist //! 3 - Couldn't parse a file //! 4 - An I/O error au general //! 5 - Watched subject does not exist //! 6 - Failed to log in to a service //! ``` //! //! ## Executable manpage //! //! [All manpages](https://rawcdn.githack.com/nabijaczleweli/dishub/man/dishub.1.html) extern crate rustc_serialize; #[macro_use] extern crate lazy_static; extern crate discord; extern crate chrono; extern crate regex; #[macro_use] extern crate hyper; extern crate json; #[macro_use] extern crate clap; extern crate toml; mod error; pub mod ops; pub mod util; pub mod options; pub use error::Error;