# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "smlr" version = "0.1.3" authors = ["chevdor "] description = "When a candidate runtime is submitted to a Substrate-based chain such as Polkadot or Substrate, this WASM blob is hashed.\nThe proposal hash that can be seen is actually the prefixed and hashed runtime. This utility does the same and allows calculating\nthe proposal hash of a new runtime off-chain. You do not need a node, nor even an internet connection to use this utility.\n" homepage = "https://gitlab.com/chevdor/smlr" documentation = "https://chevdor.gitlab.io/smlr/smlr" readme = "README.md" license = "MIT" repository = "https://gitlab.com/chevdor/smlr" [package.metadata.commands] help-watch = "cargo watch -x \"run -- --help\"" md = "asciidoctor -b docbook -a leveloffset=+1 -o - README.adoc | pandoc --atx-headers --wrap=preserve -t markdown_strict -f docbook - > README.md\n" patch = "cargo bump patch && cargo build && VERSION=`cat Cargo.toml | tj | jq -r .package.version`; cargo run -- --help > help.txt; sed -i '' -e 's/:version: .*/:version: '\"v$VERSION\"'/' README.adoc; asciidoctor -b docbook -a leveloffset=+1 -o - README.adoc | pandoc --atx-headers --wrap=preserve -t markdown_strict -f docbook - > README.md\ngit commit --all -m \"Version bump to $VERSION\"; git tag v$VERSION -f; git log -n 5 --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short\n" push = "git push; git push --tags; git status" test-watch = "cargo watch -x \"test -- --nocapture\"" [dependencies.blake2] version = "0.9.0" [dependencies.clap] version = "2.33.1" [dependencies.eddie] version = "0.4" [dependencies.hex] version = "0.4.2" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0"