# 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 = "roast-2d" version = "0.0.6" authors = ["jjy"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Roast2D is a homebrew 2D game engine inspired by high_impact" readme = "README.md" license = "MIT" repository = "https://github.com/jjyr/roast2d" [lib] name = "roast_2d" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[example]] name = "demo" path = "examples/demo.rs" [[bench]] name = "sat_collision" path = "benches/sat_collision.rs" harness = false [dependencies.anyhow] version = "1.0.86" [dependencies.bitflags] version = "2.6.0" [dependencies.dyn-clone] version = "1.0.17" [dependencies.glam] version = "0.28.0" [dependencies.image] version = "0.25.2" features = ["png"] default-features = false [dependencies.log] version = "0.4.22" [dependencies.rusttype] version = "0.9.3" [dependencies.serde] version = "1.0.207" features = ["derive"] [dependencies.serde_json] version = "1.0.124" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.pollster] version = "0.3.0" features = ["macro"] [dev-dependencies.rand] version = "0.8.5" [features] debug_mut = [] sdl2-bundled = ["sdl2/bundled"] sdl2-static-link = ["sdl2/static-link"] web-debug = ["console_error_panic_hook"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.sdl2] version = "0.37.0" features = ["unsafe_textures"] [target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook] version = "0.1.7" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.console_log] version = "1.0" [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" features = [ "Window", "Document", "Element", "HtmlCanvasElement", "CanvasRenderingContext2d", "WorkerGlobalScope", "Response", "ImageData", "ImageBitmap", "MouseEvent", "KeyboardEvent", "Performance", "CssStyleDeclaration", ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom] version = "0.2" features = ["js"] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3" [lints.clippy] too_many_arguments = "allow"