# 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 = "bracket-terminal" version = "0.8.7" authors = ["Herbert Wolverson "] exclude = ["wasm_help"] publish = true description = "ASCII/Codepage 437 terminal emulator with a game loop. Defaults to OpenGL, also support WebGPU (for Vulkan/Metal/WGPU), Curses and Crossterm for output. Part of the bracket-lib family." homepage = "https://github.com/thebracket/bracket-lib" readme = "README.md" keywords = [ "roguelike", "gamedev", "terminal", "ascii", "cp437", ] categories = ["game-engines"] license = "MIT" repository = "https://github.com/thebracket/bracket-lib" resolver = "2" [[example]] name = "native_gl" path = "examples/native_gl.rs" required-features = ["opengl"] [[example]] name = "bench_scalable" path = "examples/bench_scalable.rs" [[example]] name = "fontswitch" path = "examples/fontswitch.rs" [[example]] name = "squishy" path = "examples/squishy.rs" [[example]] name = "flexible" path = "examples/flexible.rs" [[example]] name = "sprites" path = "examples/sprites.rs" [[bench]] name = "batching_benchmark" harness = false [dependencies.anyhow] version = "~1.0" [dependencies.bracket-color] version = "~0.8" features = ["palette"] [dependencies.bracket-embedding] version = "~0.8" [dependencies.bracket-geometry] version = "~0.8" [dependencies.bracket-rex] version = "~0.8" [dependencies.bytemuck] version = "1.4.0" optional = true [dependencies.crossterm] version = "~0.25" optional = true [dependencies.ctrlc] version = "~3.2" optional = true [dependencies.glow] version = "~0.11" optional = true [dependencies.image] version = "0.24" features = [ "jpeg", "png", ] optional = true default-features = false [dependencies.lazy_static] version = "1.4.0" [dependencies.object-pool] version = "0.5.3" [dependencies.pancurses] version = "0.17" optional = true [dependencies.parking_lot] version = "~0.12" [dependencies.png] version = "0.17" optional = true [dependencies.pollster] version = "0.2" optional = true [dependencies.ultraviolet] version = "~0.9" [dependencies.wgpu] version = "0.13" optional = true [dev-dependencies.bracket-noise] version = "~0.8" [dev-dependencies.bracket-pathfinding] version = "~0.8" [dev-dependencies.bracket-random] version = "~0.8" [dev-dependencies.criterion] version = "~0.4" [features] cross_term = [ "crossterm", "ctrlc", ] curses = [ "pancurses", "ctrlc", ] default = ["opengl"] low_cpu = ["spin_sleep"] opengl = [ "glow", "image", "glutin", ] webgpu = [ "wgpu", "pollster", "image", "bytemuck", "png", ] [target."cfg(not(any(target_arch = \"wasm32\")))".dependencies.glutin] version = "~0.29" optional = true [target."cfg(not(any(target_arch = \"wasm32\")))".dependencies.spin_sleep] version = "1.0.0" optional = true [target."cfg(not(any(target_arch = \"wasm32\")))".dependencies.winit] version = "~0.27" [target.wasm32-unknown-unknown.dependencies.console_error_panic_hook] version = "0.1.6" [target.wasm32-unknown-unknown.dependencies.rand] version = "0.8" default-features = false [target.wasm32-unknown-unknown.dependencies.wasm-bindgen] version = "0.2" [target.wasm32-unknown-unknown.dependencies.wasm-timer] version = "0.1.0" [target.wasm32-unknown-unknown.dependencies.web-sys] version = "0.3" features = [ "console", "Attr", "CanvasRenderingContext2d", "Document", "Element", "Event", "EventTarget", "HtmlCanvasElement", "HtmlElement", "HtmlInputElement", "Node", "Text", "Window", "KeyboardEvent", "MouseEvent", ] [target.wasm32-unknown-unknown.dependencies.winit] version = "0.26"