mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 18:41:01 +00:00
Make simple-mermaid optional (#2878)
This prevents it leaking `std` into `no_std` builds. Closes: https://github.com/paritytech/polkadot-sdk/issues/2866
This commit is contained in:
@@ -34,7 +34,7 @@ sp-std = { path = "../std", default-features = false }
|
||||
sp-weights = { path = "../weights", default-features = false }
|
||||
docify = { version = "0.2.6" }
|
||||
|
||||
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b" }
|
||||
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
rand = "0.8.5"
|
||||
@@ -57,6 +57,7 @@ std = [
|
||||
"rand",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"simple-mermaid",
|
||||
"sp-api/std",
|
||||
"sp-application-crypto/std",
|
||||
"sp-arithmetic/std",
|
||||
|
||||
Reference in New Issue
Block a user