Skip to content

Commit

Permalink
Use simple-mermaid from crates-io (paritytech#3304)
Browse files Browse the repository at this point in the history
Re paritytech#2922

Changes:
- Use crates-io version of simple-mermaid as
[v0.1.1](https://github.com/glueball/simple-mermaid/releases/tag/v0.1.1)
supports no-std.
- Remove from `frame` since i did not see it used.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez authored Feb 14, 2024
1 parent 9a55dd3 commit 966ccdb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions substrate/frame/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ frame-executive = { default-features = false, path = "../frame/executive", optio
frame-system-rpc-runtime-api = { default-features = false, path = "../frame/system/rpc/runtime-api", optional = true }

docify = "0.2.7"
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b", optional = true }
log = { workspace = true }

[dev-dependencies]
Expand Down Expand Up @@ -78,7 +77,6 @@ std = [
"log/std",
"parity-scale-codec/std",
"scale-info/std",
"simple-mermaid",
"sp-api?/std",
"sp-arithmetic/std",
"sp-block-builder?/std",
Expand Down
2 changes: 1 addition & 1 deletion substrate/primitives/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sp-std = { path = "../std", default-features = false }
sp-weights = { path = "../weights", default-features = false }
docify = { version = "0.2.7" }

simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b", optional = true }
simple-mermaid = { version = "0.1.1", optional = true }

[dev-dependencies]
rand = "0.8.5"
Expand Down

0 comments on commit 966ccdb

Please sign in to comment.