mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
d70d58922e
Recently we added the wasm binaries to the `rerun-if-changed` list. The problem with that is that they have a later mtime than the `invoked.timestamp` file and this file's mtime is used to determine if the `build.rs` script needs to be re-run. The solution to this is that we copy the mtime of this `invoked.timestamp` file and add it to the wasm binaries. Then cargo/rustc doesn't constantly wants to rerun the `build.rs` script.
26 lines
722 B
TOML
26 lines
722 B
TOML
[package]
|
|
name = "substrate-wasm-builder"
|
|
version = "5.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Utility for building WASM binaries"
|
|
edition = "2021"
|
|
readme = "README.md"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
ansi_term = "0.12.1"
|
|
build-helper = "0.1.1"
|
|
cargo_metadata = "0.14.2"
|
|
strum = { version = "0.23.0", features = ["derive"] }
|
|
tempfile = "3.1.0"
|
|
toml = "0.5.4"
|
|
walkdir = "2.3.2"
|
|
wasm-gc-api = "0.1.11"
|
|
sp-maybe-compressed-blob = { version = "4.1.0-dev", path = "../../primitives/maybe-compressed-blob" }
|
|
filetime = "0.2.16"
|