Skip to content

Commit

Permalink
use a single source for simple-mermaid dependency (#2760)
Browse files Browse the repository at this point in the history
this breaks cargo vendor which is necessary for building polkadot with
nix
  • Loading branch information
andresilva authored Dec 20, 2023
1 parent 4f832ea commit b51904d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pallet-examples = { path = "../../substrate/frame/examples" }
pallet-default-config-example = { path = "../../substrate/frame/examples/default-config" }

# How we build docs in rust-docs
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", branch = "main" }
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b" }
docify = "0.2.6"

# Polkadot SDK deps, typically all should only be in scope such that we can link to their doc item.
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.6" }

simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", branch = "main" }
simple-mermaid = { git = "https://github.com/kianenigma/simple-mermaid.git", rev = "e48b187bcfd5cc75111acd9d241f1bd36604344b" }

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

0 comments on commit b51904d

Please sign in to comment.