[package]
edition = "2021"
name = "wasm_split_cli_support"
version = "0.2.2"
authors = [
"Greg Johnston <greg.johnston@gmail.com>",
"Jeremy Maitin-Shepard <jbms@google.com>",
"Martin Molzer <worldsbegin@gmx.de>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Split a WASM module into lazily loadable chunks"
readme = "README.md"
categories = [
"wasm",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WorldSEnder/wasm-split-prototype"
[features]
build-binary = [
"dep:clap",
"dep:tracing-subscriber",
]
[lib]
name = "wasm_split_cli_support"
path = "src/lib.rs"
[[bin]]
name = "wasm_split_cli"
path = "src/bin/wasm_split_cli.rs"
required-features = ["build-binary"]
[[test]]
name = "no_reloc_stub_end_to_end"
path = "tests/no_reloc_stub_end_to_end.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true
[dependencies.eyre]
version = "0.6"
[dependencies.lazy_static]
version = "1.4"
[dependencies.regex]
version = "1.12"
[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false
[dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]
optional = true
[dependencies.wasm-encoder]
version = "0.252"
features = ["wasmparser"]
[dependencies.wasmparser]
version = "0.252"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]