RPC & Client (#21)

* Initial version of http server.

* Refactor the structure.

* add unassigned ports info.

* Rename servers to match conventions.

* Add client crate and some proper RPC implementations.

* Style & docs.
This commit is contained in:
Tomasz Drwięga
2017-11-15 19:29:14 +01:00
committed by Robert Habermeier
parent 0ceebe6625
commit db78e5fb4c
33 changed files with 1121 additions and 34 deletions
+8 -3
View File
@@ -18,8 +18,13 @@
#![warn(missing_docs)]
extern crate polkadot_cli;
extern crate polkadot_cli as cli;
fn main() {
polkadot_cli::main();
#[macro_use]
extern crate error_chain;
quick_main!(run);
fn run() -> cli::error::Result<()> {
cli::run(::std::env::args())
}