# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wasset" version = "0.1.2" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ Embed external assets into WASM modules. """ readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/DouglasDwyer/wasset" [package.metadata."docs.rs"] all-features = true [lib] name = "wasset" path = "src/lib.rs" [dependencies.bytemuck] version = "1.16.3" features = ["derive"] optional = true default-features = false [dependencies.fxhash] version = "0.2.1" default-features = false [dependencies.litrs] version = "0.4.1" optional = true default-features = false [dependencies.proc-macro2] version = "1.0.78" features = ["proc-macro"] optional = true default-features = false [dependencies.quote] version = "1.0.35" optional = true default-features = false [dependencies.rmp-serde] version = "1.3.0" default-features = false [dependencies.serde] version = "1.0.204" features = ["derive"] default-features = false [dependencies.thiserror] version = "1.0.63" default-features = false [dependencies.toml] version = "0.8.19" features = ["parse"] optional = true default-features = false [dependencies.uuid] version = "1.10.0" features = [ "serde", "std", ] default-features = false [dependencies.wasm-encoder] version = "0.215.0" optional = true default-features = false [dependencies.wasmparser] version = "0.215.0" features = ["std"] optional = true default-features = false [build-dependencies.rustversion] version = "1.0.17" default-features = false [features] bytemuck = ["dep:bytemuck"] encode = [ "dep:toml", "uuid/fast-rng", "uuid/v4", ] encode_macro = [ "dep:litrs", "dep:proc-macro2", "dep:quote", "encode", ] parse = [ "dep:wasm-encoder", "dep:wasmparser", ] relative_path = ["encode_macro"]