# 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 = "pix-engine" version = "0.8.0" authors = ["Luke Petherbridge "] build = "build.rs" exclude = [ "/images", "/audio", "/pkg", ] description = "A cross-platform graphics/UI engine framework for simple games, visualizations, and graphics demos." documentation = "https://docs.rs/pix-engine" readme = "README.md" keywords = [ "game", "engine", "graphics", "ui", "rendering", ] categories = [ "game-development", "game-engines", "graphics", "gui", "rendering", ] license = "MIT OR Apache-2.0" repository = "https://github.com/lukexor/pix-engine.git" resolver = "2" [package.metadata] msrv = "1.67.0" [package.metadata.docs.rs] features = ["serde"] targets = [ "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", ] [profile.dev-opt] opt-level = 2 inherits = "dev" [profile.dist] lto = "thin" inherits = "release" [profile.release] lto = true codegen-units = 1 [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.anyhow] version = "1.0" [dependencies.bitflags] version = "2.4" [dependencies.log] version = "0.4" [dependencies.lru] version = "0.12" [dependencies.num-traits] version = "0.2" [dependencies.once_cell] version = "1.17" [dependencies.png] version = "0.17" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = ["local-offset"] [dev-dependencies.cargo-husky] version = "1.5" features = ["user-hooks"] default-features = false [dev-dependencies.pretty_env_logger] version = "0.5" [dev-dependencies.rayon] version = "1.7" [features] backtrace = ["anyhow/backtrace"] debug_ui = [] default = [] opengl = [] serde = [ "dep:serde", "bitflags/serde", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.sdl2] version = "0.35" features = [ "gfx", "image", "mixer", "ttf", "unsafe_textures", ] default_features = false [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2" features = ["js"]