Skip to content

Commit

Permalink
Add a publish script for easier version bumps
Browse files Browse the repository at this point in the history
Hopefully makes this easier to manage all the versions of all the crates
in this repo.
  • Loading branch information
alexcrichton committed Jan 4, 2022
1 parent 406ceac commit e4f52d8
Show file tree
Hide file tree
Showing 12 changed files with 414 additions and 29 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-tools"
version = "1.0.0"
version = "1.0.1"
authors = ["The Wasmtime Project Developers"]
edition = "2018"
description = "CLI tools for interoperating with WebAssembly files"
Expand All @@ -20,30 +20,30 @@ env_logger = "0.8"
log = "0.4"
clap = { version = "3.0", features = ['derive'] }
tempfile = "3.2.0"
wat = { path = "crates/wat", optional = true, version = '1.0' }
wat = { path = "crates/wat", optional = true, version = '1.0.41' }

# Dependencies of `validate`
wasmparser = { path = "crates/wasmparser", optional = true, version = '0.81' }
wasmparser = { path = "crates/wasmparser", optional = true, version = '0.82.0' }
rayon = { version = "1.0", optional = true }

# Dependencies of `print`
wasmprinter = { path = "crates/wasmprinter", optional = true, version = '0.2' }
wasmprinter = { path = "crates/wasmprinter", optional = true, version = '0.2.32' }

# Dependencies of `smith`
arbitrary = { version = "1.0.0", optional = true }
serde = { version = "1", features = ['derive'], optional = true }
serde_json = { version = "1", optional = true }
wasm-smith = { path = "crates/wasm-smith", features = ["_internal_cli"], optional = true, version = '0.4' }
wasm-smith = { path = "crates/wasm-smith", features = ["_internal_cli"], optional = true, version = '0.9.0' }

# Dependencies of `shrink`
wasm-shrink = { path = "crates/wasm-shrink", features = ["clap"], optional = true, version = '0.1' }
wasm-shrink = { path = "crates/wasm-shrink", features = ["clap"], optional = true, version = '0.1.1' }
is_executable = { version = "1.0.1", optional = true }

# Dependencies of `mutate`
wasm-mutate = { path = "crates/wasm-mutate", features = ["clap"], optional = true, version = '0.1' }
wasm-mutate = { path = "crates/wasm-mutate", features = ["clap"], optional = true, version = '0.1.1' }

# Dependencies of `dump`
wasmparser-dump = { path = "crates/dump", optional = true, version = '0.1' }
wasmparser-dump = { path = "crates/dump", optional = true, version = '0.1.0' }

[dev-dependencies]
anyhow = "1.0"
Expand Down
6 changes: 4 additions & 2 deletions crates/dump/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name = "wasmparser-dump"
version = "0.1.0"
authors = ["The Wasmtime Project Developers"]
edition = "2018"
publish = false
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasm-tools"
description = "Utility to dump debug information about the wasm binary format"

[dependencies]
anyhow = "1"
wasmparser = { path = "../wasmparser" }
wasmparser = { path = "../wasmparser", version = "0.82.0" }
2 changes: 1 addition & 1 deletion crates/wasm-encoder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-encoder"
version = "0.8.0"
version = "0.9.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception"
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-mutate-stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ num_cpus = "1.13"
rand = { version = "0.7.3", features = ["small_rng"] }
wasm-mutate = { path = '../wasm-mutate' }
wasmprinter = { path = '../wasmprinter' }
wasmparser = { version = "0.81.0", path = "../wasmparser" }
wasmparser = { path = "../wasmparser" }
wasmtime = "0.32.0"
env_logger = "0.8"
itertools = "0.10.0"
Expand Down
8 changes: 4 additions & 4 deletions crates/wasm-mutate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-mutate"
version = "0.1.0"
version = "0.1.1"
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasm-tools"
Expand All @@ -9,14 +9,14 @@ description = "A WebAssembly test case mutator"
[dependencies]
clap = { optional = true, version = "3.0", features = ['derive'] }
thiserror = "1.0.28"
wasmparser = { version = "0.81", path = "../wasmparser" }
wasm-encoder = { version = "0.8.0", path = "../wasm-encoder"}
wasmparser = { version = "0.82.0", path = "../wasmparser" }
wasm-encoder = { version = "0.9.0", path = "../wasm-encoder"}
rand = { version = "0.7.3", features = ["small_rng"] }
log = "0.4.14"
egg = "0.6.0"

[dev-dependencies]
anyhow = "1"
wat = { version = "1", path = "../wat" }
wat = { path = "../wat" }
wasmprinter = { path = "../wasmprinter" }
env_logger = "0.8"
10 changes: 5 additions & 5 deletions crates/wasm-shrink/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ license = "Apache-2.0 WITH LLVM-exception"
readme = "./README.md"
repository = "https://github.com/bytecodealliance/wasm-tools"
name = "wasm-shrink"
version = "0.1.0"
version = "0.1.1"

[dependencies]
anyhow = "1"
blake3 = "1.2.0"
log = "0.4"
rand = { version = "0.8.4", features = ["small_rng"] }
clap = { version = "3.0", optional = true, features = ['derive'] }
wasm-mutate = { version = "0.1.0", path = "../wasm-mutate" }
wasmparser = { version = "0.81", path = "../wasmparser" }
wasm-mutate = { version = "0.1.1", path = "../wasm-mutate" }
wasmparser = { version = "0.82.0", path = "../wasmparser" }

[dev-dependencies]
env_logger = "0.8"
wasmprinter = { version = "0.2", path = "../wasmprinter" }
wat = { version = "1", path = "../wat" }
wasmprinter = { path = "../wasmprinter" }
wat = { path = "../wat" }
4 changes: 2 additions & 2 deletions crates/wasm-smith/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0 WITH LLVM-exception"
name = "wasm-smith"
readme = "./README.md"
repository = "https://github.com/bytecodealliance/wasm-tools"
version = "0.8.0"
version = "0.9.0"
exclude = ["/benches/corpus"]

[[bench]]
Expand All @@ -19,7 +19,7 @@ harness = false
arbitrary = { version = "1.0.0", features = ["derive"] }
flagset = "0.4"
leb128 = "0.2.4"
wasm-encoder = { version = "0.8.0", path = "../wasm-encoder" }
wasm-encoder = { version = "0.9.0", path = "../wasm-encoder" }
indexmap = "1.6"
serde = { version = "1", features = ['derive'], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/wasmparser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmparser"
version = "0.81.0"
version = "0.82.0"
authors = ["Yury Delendik <ydelendik@mozilla.com>"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser"
Expand Down
4 changes: 2 additions & 2 deletions crates/wasmprinter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmprinter"
version = "0.2.31"
version = "0.2.32"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
Expand All @@ -14,7 +14,7 @@ Rust converter from the WebAssembly binary format to the text format.

[dependencies]
anyhow = "1.0"
wasmparser = { path = '../wasmparser', version = '0.81' }
wasmparser = { path = '../wasmparser', version = '0.82.0' }

[dev-dependencies]
diff = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/wast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wast"
version = "38.0.1"
version = "39.0.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
Expand Down
4 changes: 2 additions & 2 deletions crates/wat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wat"
version = "1.0.40"
version = "1.0.41"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
Expand All @@ -13,4 +13,4 @@ Rust parser for the WebAssembly Text format, WAT
"""

[dependencies]
wast = { path = '../wast', version = '38.0.0' }
wast = { path = '../wast', version = '39.0.0' }
Loading

0 comments on commit e4f52d8

Please sign in to comment.