Skip to content

Commit

Permalink
Reorganize files
Browse files Browse the repository at this point in the history
* Consolidate top-level markdown files
* Make a top-level workspace project
* Update dependencies to use `path`
* Update repository/homepage urls
  • Loading branch information
alexcrichton committed May 19, 2020
1 parent dd3f340 commit a63da32
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 928 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
Cargo.lock
File renamed without changes.
17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "wasm-tools"
version = "0.1.0"
authors = ["The Wasmtime Project Developers"]
edition = "2018"
publish = false

[workspace]

[dependencies]
wasmparser = { path = "crates/wasmparser" }
wasmprinter = { path = "crates/wasmprinter" }
wat = { path = "crates/wat" }

[profile.release]
debug-assertions = true
overflow-checks = true
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 2 additions & 11 deletions crates/wasmparser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name = "wasmparser"
version = "0.55.0"
authors = ["Yury Delendik <[email protected]>"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmparser.rs"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/master/crates/wasmparser"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/master/crates/wasmparser"
keywords = ["parser", "WebAssembly", "wasm"]
description = """
A simple event-driven library for parsing WebAssembly binary files.
"""
exclude = ["fuzz/**/*", "tests/**/*", "testsuite/**/*"]
edition = "2018"

[dev-dependencies]
Expand All @@ -27,12 +27,3 @@ travis-ci = { repository = "bytecodealliance/wasmparser.rs" }
# across any hardware. This feature is very critical for many Blockchain infrastructures
# that rely on deterministic executions of smart contracts across different hardwares.
deterministic = []

[[bench]]
name = "benchmark"
harness = false

[[test]]
name = "all"
path = "tests/all.rs"
harness = false
219 changes: 0 additions & 219 deletions crates/wasmparser/LICENSE

This file was deleted.

49 changes: 0 additions & 49 deletions crates/wasmprinter/CODE_OF_CONDUCT.md

This file was deleted.

22 changes: 5 additions & 17 deletions crates/wasmprinter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,21 @@ authors = ["Alex Crichton <[email protected]>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasmprinter"
homepage = "https://github.com/bytecodealliance/wasmprinter"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/master/crates/wasmprinter"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/master/crates/wasmprinter"
documentation = "https://docs.rs/wasmprinter"
description = """
Rust converter from the WebAssembly binary format to the text format.
"""
exclude = ['tests/wabt']

[workspace]
members = ['fuzz']

[dependencies]
anyhow = "1.0"
wasmparser = "0.55.0"
wasmparser = { path = '../wasmparser' }

[dev-dependencies]
diff = "0.1"
getopts = "0.2"
rayon = "1.0"
tempfile = "3.0"
wast = "17.0.0"
wat = "1.0.8"

[[test]]
name = "wabt"
harness = false

[profile.release]
debug-assertions = true
overflow-checks = true
wat = { path = "../wat" }
wast = { path = "../wast" }
Loading

0 comments on commit a63da32

Please sign in to comment.