# 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 = "2018" name = "emerald" version = "0.3.214" authors = ["Bombfuse "] description = "A lite, fully featured 2D game engine." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/Bombfuse/emerald" resolver = "2" [lib] name = "emerald" crate-type = [ "lib", "cdylib", ] path = "src/lib.rs" [dependencies.anymap] version = "0.12.1" default-features = false [dependencies.asefile] version = "0.3.4" optional = true [dependencies.bytemuck] version = "1.12.1" features = ["derive"] [dependencies.emd_earcutr] version = "0.1.0" [dependencies.env_logger] version = "0.9.1" [dependencies.fontdue] version = "0.7.2" [dependencies.gamepad] version = "0.1.6" optional = true [dependencies.hecs] version = "0.9" default-features = false [dependencies.image] version = "0.23.14" features = ["png"] default-features = false [dependencies.instant] version = "0.1.12" [dependencies.pollster] version = "0.2.5" [dependencies.rapier2d] version = "0.15.0" [dependencies.serde] version = "1.0.145" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.toml] version = "0.5.9" [dependencies.wgpu] version = "0.14.0" [dependencies.winit] version = "0.27.4" [features] aseprite = ["asefile"] audio = ["kira"] default = [ "gamepads", "aseprite", "audio", ] gamepads = ["gamepad"] hotreload = [] physics-deterministic = ["rapier2d/enhanced-determinism"] [target."cfg(not(target_arch=\"wasm32\"))".dependencies.kira] version = "0.5.3" features = [ "ogg", "flac", "wav", ] optional = true default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.console_error_panic_hook] version = "0.1.6" [target."cfg(target_arch = \"wasm32\")".dependencies.console_log] version = "0.2.0" [target."cfg(target_arch = \"wasm32\")".dependencies.kira] version = "0.5.3" features = [ "ogg", "flac", "wav", ] optional = true default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.log] version = "0.4.17" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.30" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3" features = [ "Document", "Window", "Element", ] [target."cfg(target_arch = \"wasm32\")".dependencies.wgpu] version = "0.14.0" features = ["webgl"] [target."cfg(target_os = \"android\")".dependencies.ndk-glue] version = "0.7.0" [target."cfg(target_os = \"android\")".dependencies.sapp-android] version = "0.1.9" [target."cfg(target_os = \"windows\")".dependencies.winapi] version = "0.3" features = [ "winerror", "knownfolders", "shtypes", "shlobj", "combaseapi", ]