Build for only one target for docs.rs (#5427)

* Add docs.rs metadata to all cargo.toml files

* Remove docs.rs metada in substrate's cargo.toml
This commit is contained in:
pscott authored and GitHub committed 2020-03-30 09:46:30 +02:00
1 parent ab0366a076
commit 408455f8bc
173 files changed
+519

No files matched your search

@@ -25,3 +25,6 @@ codec = { version = "1.3.0", package = "parity-scale-codec" }
[features]
default = ["rocksdb"]
rocksdb = ["sc-client-db/kvdb-rocksdb"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]