Skip to content

Commit

Permalink
fork validation as well
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Jul 29, 2022
1 parent 10dd093 commit bac513b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = [ "/res/*", "/tests/*", "/fuzz/*", "/benches/*" ]

[dependencies]
wasmi_core = { package = "soroban-wasmi_core", version = "0.1", path = "core", default-features = false }
validation = { package = "wasmi-validation", version = "0.4", path = "validation", default-features = false }
validation = { package = "soroban-wasmi-validation", version = "0.4.1", path = "validation", default-features = false }
parity-wasm = { version = "0.42.0", default-features = false }

[dev-dependencies]
Expand Down
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
# Build all projects as if they are being published to crates.io, and do so for
# all feature and target combinations.
publish-dry-run-core:
cargo +stable hack --feature-powerset publish --locked --dry-run --package soroban-wasmi_core
cargo +stable publish --locked --dry-run --package soroban-wasmi_core

publish-dry-run-validation:
cargo +stable publish --locked --dry-run --package soroban-wasmi-validation

publish-dry-run-top:
cargo +stable hack --feature-powerset publish --locked --dry-run --package soroban-wasmi
cargo +stable publish --locked --dry-run --package soroban-wasmi

# Publish publishes the crate to crates.io. The dry-run is a dependency because
# the dry-run target will verify all feature set combinations.
publish-core: publish-dry-run-core
cargo +stable publish --locked --package soroban-wasmi_core

publish-validation: publish-dry-run-validation
cargo +stable publish --locked --package soroban-wasmi-validation

publish-top: publish-dry-run-top
cargo +stable publish --locked --package soroban-wasmi
9 changes: 5 additions & 4 deletions validation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "wasmi-validation"
name = "soroban-wasmi-validation"
version = "0.4.1"
authors = ["Parity Technologies <[email protected]>"]
authors = ["Stellar Development Foundation <[email protected]>"]
edition = "2021"
license = "MIT/Apache-2.0"
repository = "https://github.com/paritytech/wasmi"
description = "Wasm code validator"
readme = "../README.md"
repository = "https://github.com/stellar/wasmi"
description = "Soroban fork of Parity WebAssembly code validator"

[dependencies]
parity-wasm = { version = "0.42.0", default-features = false }
Expand Down

0 comments on commit bac513b

Please sign in to comment.