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
2020-03-30 09:46:30 +02:00
committed by GitHub
parent ab0366a076
commit 408455f8bc
173 changed files with 519 additions and 0 deletions
@@ -20,3 +20,6 @@ sp-runtime = { version = "2.0.0-alpha.5", path = "../../../primitives/runtime" }
sp-api = { version = "2.0.0-alpha.5", path = "../../../primitives/api" }
sp-blockchain = { version = "2.0.0-alpha.5", path = "../../../primitives/blockchain" }
pallet-transaction-payment-rpc-runtime-api = { version = "2.0.0-alpha.5", path = "./runtime-api" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]