render-agnostic 0.1.22

A backend-agnostic 2D rendering library
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 = "2024"
name = "render-agnostic"
version = "0.1.22"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A backend-agnostic 2D rendering library"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/JMANN240/render-agnostic"

[features]
default = [
    "image",
    "macroquad",
]
image = [
    "dep:image",
    "dep:imageproc",
    "dep:ab_glyph",
]
macroquad = ["dep:macroquad"]

[lib]
name = "render_agnostic"
path = "src/lib.rs"

[[example]]
name = "circles"
path = "examples/circles.rs"

[[example]]
name = "image_images"
path = "examples/image_images.rs"

[[example]]
name = "lines"
path = "examples/lines.rs"

[[example]]
name = "macroquad_images"
path = "examples/macroquad_images.rs"

[[example]]
name = "pixels"
path = "examples/pixels.rs"

[[example]]
name = "rectangles"
path = "examples/rectangles.rs"

[[example]]
name = "text"
path = "examples/text.rs"

[[example]]
name = "triangles"
path = "examples/triangles.rs"

[dependencies.ab_glyph]
version = "0.2.31"
optional = true

[dependencies.anchor2d]
version = "0.1.13"

[dependencies.glam]
version = "0.33.2"

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

[dependencies.imageproc]
version = "0.27.0"
optional = true

[dependencies.itertools]
version = "0.15.0"

[dependencies.macroquad]
version = "0.4.15"
optional = true

[dependencies.palette]
version = "0.7.6"