# 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 = "pixels-graphics-lib" version = "0.20.2" authors = ["Emma Britton "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Simple pixel graphics and GUI library" readme = "README.md" keywords = [ "graphics", "gamedev", "pixels", "simple", ] categories = [ "graphics", "game-development", ] license-file = "LICENSE" repository = "https://github.com/emmabritton/pixel-graphics-lib" [package.metadata.docs.rs] features = ["pixels"] [lib] name = "pixels_graphics_lib" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "images" path = "examples/images.rs" required-features = ["images"] [[example]] name = "layout_test" path = "examples/layout_test.rs" [[example]] name = "menu_bar_test" path = "examples/menu_bar_test.rs" [[example]] name = "pre_post" path = "examples/pre_post.rs" [[example]] name = "pre_post_w_controller" path = "examples/pre_post_w_controller.rs" required-features = ["controller"] [[example]] name = "relative_test" path = "examples/relative_test.rs" [[example]] name = "relative_test2" path = "examples/relative_test2.rs" [[example]] name = "relative_test3" path = "examples/relative_test3.rs" [[example]] name = "relative_test4" path = "examples/relative_test4.rs" [[example]] name = "relative_test5" path = "examples/relative_test5.rs" [[example]] name = "scenes" path = "examples/scenes.rs" [[example]] name = "test_dialogs" path = "examples/test_dialogs.rs" required-features = ["file_dialogs"] [[example]] name = "test_dialogs_w_controllers" path = "examples/test_dialogs_w_controllers.rs" required-features = [ "file_dialogs", "controller", ] [[example]] name = "ui_test" path = "examples/ui_test.rs" [[example]] name = "window_pos" path = "examples/window_pos.rs" [dependencies.buffer-graphics-lib] version = "0.19" default-features = false [dependencies.directories] version = "5.0" optional = true [dependencies.log] version = "0.4" [dependencies.pixels] version = "0.14.0" optional = true [dependencies.rustc-hash] version = "2.0" [dependencies.screen_size] version = "0.1.0" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.simple-game-utils] version = "0.5" features = ["ici"] default-features = false [dependencies.softbuffer] version = "0.4" optional = true [dependencies.thiserror] version = "1.0" [dependencies.winit_29] version = "0.29" features = ["rwh_05"] optional = true package = "winit" [dependencies.winit_30] version = "0.30" features = ["rwh_06"] optional = true package = "winit" [dependencies.winit_input_helper] version = "0.16" optional = true [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.fastrand] version = "2.1" [features] controller = [ "serde", "simple-game-utils/controller", ] controller_xinput = [ "serde", "simple-game-utils/controller_xinput", ] default = [ "window_prefs", "scenes", "sound", "serde", ] embedded = ["buffer-graphics-lib/embedded"] file_dialogs = ["directories"] images = ["buffer-graphics-lib/image_loading"] mint = ["buffer-graphics-lib/mint"] notosans = ["buffer-graphics-lib/notosans"] pixels = [ "dep:pixels", "winit_29", "winit_input_helper", ] pixels_serde = [ "pixels", "serde", "winit_29/serde", ] scenes = ["window_prefs"] serde = [ "dep:serde", "buffer-graphics-lib/serde", "simple-game-utils/serde", ] softbuffer = [ "dep:softbuffer", "winit_30", "window_prefs", ] softbuffer_serde = [ "softbuffer", "serde", "winit_30/serde", ] sound = ["simple-game-utils/sound"] window_prefs = [ "serde", "simple-game-utils/prefs", ]