mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
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:
@@ -152,3 +152,6 @@ cli = [
|
||||
"vergen",
|
||||
]
|
||||
runtime-benchmarks = [ "node-runtime/runtime-benchmarks" ]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -52,3 +52,6 @@ stress-test = []
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
harness = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -18,3 +18,6 @@ sp-blockchain = { version = "2.0.0-alpha.5", path = "../../../primitives/blockch
|
||||
sp-core = { version = "2.0.0-alpha.5", path = "../../../primitives/core" }
|
||||
sp-runtime = { version = "2.0.0-alpha.5", path = "../../../primitives/runtime" }
|
||||
structopt = "0.3.8"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -21,3 +21,6 @@ std = [
|
||||
"sp-core/std",
|
||||
"sp-runtime/std",
|
||||
]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -15,3 +15,6 @@ jsonrpc-core-client = { version = "14.0.3", features = ["http", "ws"] }
|
||||
log = "0.4.8"
|
||||
node-primitives = { version = "2.0.0-alpha.5", path = "../primitives" }
|
||||
sc-rpc = { version = "2.0.0-alpha.5", path = "../../../client/rpc" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -25,3 +25,6 @@ sc-keystore = { version = "2.0.0-alpha.5", path = "../../../client/keystore" }
|
||||
sc-consensus-epochs = { version = "0.8.0-alpha.5", path = "../../../client/consensus/epochs" }
|
||||
sp-consensus = { version = "0.8.0-alpha.5", path = "../../../primitives/consensus/common" }
|
||||
sp-blockchain = { version = "2.0.0-alpha.5", path = "../../../primitives/blockchain" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -151,3 +151,6 @@ runtime-benchmarks = [
|
||||
"pallet-im-online/runtime-benchmarks",
|
||||
"pallet-democracy/runtime-benchmarks",
|
||||
]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -56,3 +56,6 @@ sc-service = { version = "0.8.0-alpha.5", path = "../../../client/service", feat
|
||||
[[bench]]
|
||||
name = "import"
|
||||
harness = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -21,3 +21,6 @@ sp-api = { version = "2.0.0-alpha.5", path = "../../../primitives/api" }
|
||||
sp-runtime = { version = "2.0.0-alpha.5", path = "../../../primitives/runtime" }
|
||||
sc-service = { version = "0.8.0-alpha.5", default-features = false, path = "../../../client/service" }
|
||||
sp-blockchain = { version = "2.0.0-alpha.5", path = "../../../primitives/blockchain" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
Reference in New Issue
Block a user