wasmer-types 5.0.1

Wasmer Common Types
Documentation
[package]
name = "wasmer-types"
description = "Wasmer Common Types"
categories = ["wasm", "no-std", "data-structures"]
keywords = ["wasm", "webassembly", "types"]
license = "MIT OR Apache-2.0 WITH LLVM-exception"
readme = "README.md"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
serde = { version = "1.0", features = [
	"derive",
	"rc",
], optional = true, default-features = false }
serde_bytes = { version = "0.11", optional = true }
thiserror = "1.0"
more-asserts = "0.2"
indexmap = { workspace = true }
rkyv = { workspace = true }
enum-iterator = "0.7.0"
target-lexicon = { version = "0.12.2", default-features = false }
enumset.workspace = true
bytecheck = "0.6.8"
xxhash-rust = { version = "0.8.8", features = ["xxh64"] }
sha2 = { version = "0.10" }
hex = { version = "^0.4" }
loupe = { version = "0.1.3", optional = true }


# `rand` uses `getrandom` transitively, and to be able to
# compile the project for `js`, we need to enable this feature
[dependencies.getrandom]
version = "0.2.14"
features = ["js"]

[dev-dependencies]
memoffset.workspace = true

[features]
default = ["std"]
std = []
core = []
enable-serde = ["serde", "serde/std", "serde_bytes", "indexmap/serde"]
artifact-size = ["dep:loupe"]

[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]