[build-dependencies.cfg_aliases]
version = "0.1.1"
[dependencies.backtrace]
version = "0.3"
[dependencies.earcutr]
version = "0.2.0"
[dependencies.glow]
version = "0.7"
[dependencies.image]
optional = true
version = "0.23"
[dependencies.log]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.rusttype]
version = "0.9"
[dependencies.smallvec]
version = "1.9.0"
[dependencies.unicode-normalization]
version = "0.1"
[dev-dependencies.image]
version = "0.23"
[dev-dependencies.simple_logger]
default-features = false
features = ["colors"]
version = "1.11"
[[example]]
name = "animation"
path = "examples/animation.rs"
required-features = ["windowing"]
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
required-features = ["windowing"]
[[example]]
name = "input_callbacks"
path = "examples/input_callbacks.rs"
required-features = ["windowing"]
[[example]]
name = "load_image"
path = "examples/load_image.rs"
required-features = ["windowing", "image-loading"]
[[example]]
name = "managing_context"
path = "examples/managing_context.rs"
required-features = ["windowing"]
[[example]]
name = "mouse_grab"
path = "examples/mouse_grab.rs"
required-features = ["windowing"]
[[example]]
name = "moving_text"
path = "examples/moving_text.rs"
required-features = ["windowing"]
[[example]]
name = "user_events"
path = "examples/user_events.rs"
required-features = ["windowing"]
[features]
default = ["windowing", "image-loading"]
image-loading = ["image"]
windowing = ["glutin", "winit", "raw-window-handle", "winit/x11", "winit/wayland", "glutin/x11", "glutin/wayland", "glutin/egl", "glutin/glx", "glutin/wgl"]
[lib]
name = "speedy2d"
path = "src/lib.rs"
[package]
authors = ["QuantumBadger <speedy2d@redreader.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["rendering::graphics-api", "game-development", "graphics"]
description = """
Hardware-accelerated drawing of shapes, images, and text, with an easy to use
API. Speedy2D aims to be the simplest Rust API for creating a window, rendering graphics,
and handling input.
"""
documentation = "https://docs.rs/speedy2d"
edition = "2018"
keywords = ["opengl", "gamedev", "graphics", "font"]
license = "Apache-2.0"
name = "speedy2d"
readme = "README.md"
repository = "https://github.com/QuantumBadger/Speedy2D"
version = "3.0.0"
[target.'cfg(any(doc, doctest, target_arch = "wasm32"))'.dependencies.web-sys]
features = ["AddEventListenerOptions", "CssStyleDeclaration", "DomRect", "HtmlCanvasElement", "KeyboardEvent", "MediaQueryList", "MediaQueryListEvent", "MouseEvent", "WheelEvent", "Performance", "WebGl2RenderingContext", "Window"]
version = "0.3.77"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin]
optional = true
version = "0.31.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.raw-window-handle]
optional = true
version = "0.5.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.winit]
default-features = false
features = ["rwh_05"]
optional = true
version = "0.29.2"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.glutin-winit]
version = "0.4.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
version = "0.2"
[[test]]
harness = false
name = "test"
path = "test/main.rs"
required-features = ["windowing"]