Add clap support (#247)

* Add clap support

* Version bump

* Switch to using a single SokectAddr
This commit is contained in:
Chevdor
2020-04-06 16:54:07 +02:00
committed by GitHub
parent bb8e804567
commit 2c8e8ed7d3
3 changed files with 179 additions and 31 deletions
+2 -4
View File
@@ -1,6 +1,6 @@
[package]
name = "telemetry"
version = "0.1.0"
version = "0.2.0"
authors = ["Parity Technologies Ltd. <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"
@@ -10,9 +10,6 @@ actix = "0.8"
actix-web = { git = "https://github.com/maciejhirsz/actix-web" }
actix-web-actors = { git = "https://github.com/maciejhirsz/actix-web" }
actix-http = { git = "https://github.com/maciejhirsz/actix-web" }
# actix-web = "1.0.8"
# actix-web-actors = "1.0.2"
# actix-http = "0.2.10"
bytes = "0.4"
chrono = { version = "0.4", features = ["serde"] }
fnv = "1.0.6"
@@ -25,6 +22,7 @@ num-traits = "0.2"
parking_lot = "0.9"
reqwest = "0.9.18"
rustc-hash = "1.0.1"
clap = { git = "https://github.com/clap-rs/clap/" }
[profile.release]
lto = true