Make all features explicit (#6267)

* make all features explicit

* Change to -feature suffix to with- prefix

* Add newline at the end of the Cargo.toml file

* Remove rhd feature

* Remove some features from Cargo.toml

* Remove test-helpers feature in tx pool

* Return db_open_error("with-"..

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Rename subdb feature to with-subdb

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Remove 'strict' feature and cfg_attr

* Check for with-subdb feature instead of subdb

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
pscott
2020-06-08 15:43:00 +02:00
committed by GitHub
parent d884848625
commit 05ed129673
7 changed files with 21 additions and 19 deletions
@@ -26,4 +26,4 @@ codec = { version = "1.3.0", package = "parity-scale-codec" }
[features]
default = ["db"]
db = ["sc-client-db/kvdb-rocksdb", "sc-client-db/parity-db"]
db = ["sc-client-db/with-kvdb-rocksdb", "sc-client-db/with-parity-db"]