Skip to content

Commit

Permalink
light-client: Only require Tokio when rpc-client feature is enabled (
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Nov 19, 2020
1 parent aa36b33 commit 62406f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Unreleased

### IMPROVEMENTS:

- `[light-client]` Only require Tokio when `rpc-client` feature is enabled ([#425])

[#425]: https://github.com/informalsystems/tendermint-rs/issues/425

## v0.17.0-rc3

*Nov 18, 2020*
Expand Down
4 changes: 2 additions & 2 deletions light-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ crate-type = ["cdylib", "rlib"]

[features]
default = ["rpc-client"]
rpc-client = ["tendermint-rpc/http-client"]
rpc-client = ["tokio", "tendermint-rpc/http-client"]
secp256k1 = ["tendermint/secp256k1", "tendermint-rpc/secp256k1"]

[dependencies]
Expand All @@ -41,7 +41,7 @@ serde_derive = "1.0.106"
sled = "0.34.3"
static_assertions = "1.1.0"
thiserror = "1.0.15"
tokio = "0.2.20"
tokio = { version = "0.2.20", optional = true }

[dev-dependencies]
tendermint-testgen = { path = "../testgen"}
Expand Down

0 comments on commit 62406f6

Please sign in to comment.