forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (35 loc) · 1.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "wast"
version = "55.0.0"
authors = ["Alex Crichton <[email protected]>"]
edition.workspace = true
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"
documentation = "https://docs.rs/wast"
description = """
Customizable Rust parsers for the WebAssembly Text formats WAT and WAST
"""
[dependencies]
leb128 = { workspace = true }
unicode-width = "0.1.9"
memchr = "2.4.1"
wasm-encoder = { workspace = true }
[dev-dependencies]
anyhow = { workspace = true }
rayon = { workspace = true }
wasmparser = { path = "../wasmparser" }
wat = { path = "../wat" }
[features]
default = ['wasm-module']
# Includes default parsing support for `*.wat` and `*.wast` files (wasm
# modules). This isn't always needed though if you're parsing just an
# s-expression based format. If you'd like to slim down this dependency to just
# the lexer, parser framework, and token support, this feature can be disabled.
#
# This feature is turned on by default.
wasm-module = []
[[test]]
name = "parse-fail"
harness = false