[package]
name = "webc"
version = "5.8.1"
description = "WebContainer implementation for wapm.io"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
anyhow = "1.0"
base64 = "0.21.0"
byteorder = "1.4.3"
bytes = { version = "1", features = ["serde"] }
flate2 = { version = "1", optional = true }
indexmap = { workspace = true }
leb128 = "0.2.1"
lexical-sort = "0.3.1"
once_cell = "1"
path-clean = "1.0"
rand = "0.8.5"
semver = { version = "1.0.18", optional = true }
serde = { version = "1", features = ["derive"] }
serde_cbor = "0.11"
serde_json = "1"
sha2 = "0.10.2"
shared-buffer = { workspace = true }
tar = { version = "0.4.39", optional = true }
tempfile = { version = "3.3.0", optional = true }
thiserror = "1"
toml = { version = "0.7.6", optional = true }
url = { version = "2.2.2", features = ["serde"] }
walkdir = "2.3.2"
wasmer-toml = { workspace = true, optional = true }
[dependencies.sequoia-openpgp]
version = "1.8.0"
default-features = false
features = [
"crypto-rust",
"allow-experimental-crypto",
"allow-variable-time-crypto",
]
optional = true
[dev-dependencies]
hexdump = "0.1.1"
insta = { version = "1", features = ["filters", "yaml"] }
pretty_assertions = "1.2.1"
regex = "1.9.1"
tempfile = "3.3.0"
ureq = "2.7.1"
[features]
default = ["package"]
package = ["tempfile", "flate2", "semver", "tar", "toml", "wasmer-toml"]
mmap = []
crypto = ["sequoia-openpgp"]