# 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 = "teenygame" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A real simple multiplatform game framework for Rust" readme = "README.md" license = "LGPL-3.0-or-later" [package.metadata.docs.rs] rustdoc-args = [ "--html-in-header", "katex-header.html", ] targets = [ "x86_64-pc-windows-msvc", "i686-pc-windows-msvc", "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "teenygame" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.bytemuck] version = "1.19.0" [dependencies.canvasette] version = "0.14.0" [dependencies.futures] version = "0.3.30" [dependencies.glam] version = "0.29.0" [dependencies.image] version = "0.25.2" optional = true [dependencies.imgref] version = "1.11.0" [dependencies.kira] version = "0.9.5" optional = true [dependencies.log] version = "0.4" [dependencies.rgb] version = "0.8.50" [dependencies.serde] version = "1" [dependencies.teenygame-macro] version = "0.1.0" [dependencies.thiserror] version = "1" [dependencies.wgpu] version = "22.1.0" features = ["webgl"] [dependencies.winit] version = "0.30" [features] audio = ["dep:kira"] default = [ "audio", "smol", "image", ] image = ["dep:image"] smol = ["dep:smol"] tokio = ["dep:tokio"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.env_logger] version = "0.11" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.smol] version = "2.0.2" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1" features = [ "rt-multi-thread", "fs", ] optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook] version = "0.1.6" [target.'cfg(target_arch = "wasm32")'.dependencies.gloo-file] version = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies.gloo-net] version = "0.6" features = ["http"] [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.84" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.43" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-logger] version = "0.2.0" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" features = [ "Document", "Window", "Element", "HtmlCanvasElement", ] [target.'cfg(target_arch = "wasm32")'.dependencies.web-time] version = "1.1.0" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.34"