speedy2d 3.1.0

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
# 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 = "speedy2d"
version = "3.1.0"
authors = ["QuantumBadger <speedy2d@redreader.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
readme = "README.md"
keywords = [
    "opengl",
    "gamedev",
    "graphics",
    "font",
]
categories = [
    "rendering::graphics-api",
    "game-development",
    "graphics",
]
license = "Apache-2.0"
repository = "https://github.com/QuantumBadger/Speedy2D"

[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"

[[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"]

[[test]]
name = "test"
path = "test/main.rs"
harness = false
required-features = ["windowing"]

[dependencies.backtrace]
version = "0.3"

[dependencies.earcutr]
version = "0.2.0"

[dependencies.glow]
version = "0.7"

[dependencies.image]
version = "0.23"
optional = true

[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]
version = "1.11"
features = ["colors"]
default-features = false

[build-dependencies.cfg_aliases]
version = "0.1.1"

[target.'cfg(any(doc, doctest, target_arch = "wasm32"))'.dependencies.web-sys]
version = "0.3.77"
features = [
    "AddEventListenerOptions",
    "CssStyleDeclaration",
    "DomRect",
    "HtmlCanvasElement",
    "KeyboardEvent",
    "MediaQueryList",
    "MediaQueryListEvent",
    "MouseEvent",
    "WheelEvent",
    "Performance",
    "WebGl2RenderingContext",
    "Window",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin]
version = "0.31.3"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.raw-window-handle]
version = "0.5.2"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.winit]
version = "0.29.2"
features = ["rwh_05"]
optional = true
default-features = false

[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"