# 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 = "truck-platform" version = "0.6.0" authors = ["Yoshinori Tanimura "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "graphic utility library based on wgpu" homepage = "https://github.com/ricosjp/truck" readme = "README.md" keywords = [ "truck", "graphics", ] categories = ["graphics"] license = "Apache-2.0" repository = "https://github.com/ricosjp/truck" [lib] name = "truck_platform" path = "src/lib.rs" [[example]] name = "wgsl-sandbox" path = "examples/wgsl-sandbox.rs" [[test]] name = "bindgroup" path = "tests/bindgroup.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "msaa" path = "tests/msaa.rs" [[test]] name = "wgsl-utils" path = "tests/wgsl-utils.rs" [dependencies.bytemuck] version = "1.18.0" features = ["derive"] [dependencies.derive_more] version = "0.99.18" [dependencies.futures-intrusive] version = "0.5.0" [dependencies.rustc-hash] version = "2.0.0" [dependencies.truck-base] version = "0.5.0" [dependencies.wgpu] version = "22.1.0" [dependencies.winit] version = "0.30.5" [dev-dependencies.env_logger] version = "0.11.5" [dev-dependencies.image] version = "0.25.2" [dev-dependencies.log] version = "0.4.22" [dev-dependencies.naga] version = "22.1.0" features = ["wgsl-in"] [dev-dependencies.pollster] version = "0.3.0" [dev-dependencies.rayon] version = "1.10.0" [features] default = [] webgl = ["wgpu/webgl"] [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.70" [target.'cfg(target_arch = "wasm32")'.dependencies.web-time] version = "1.1.0" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.console_error_panic_hook] version = "0.1.7" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.console_log] version = "1.0.0" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-futures] version = "0.4.43" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.web-sys] version = "0.3.70" features = ["Location"]