# 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" rust-version = "1.74.1" name = "kludgine" version = "0.11.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A wgpu-powered 2d graphics library with optional windowing support" readme = "README.md" keywords = [ "gamedev", "graphics", "wgpu", ] categories = [ "graphics", "rendering::engine", "game-engines", ] license = "MIT OR Apache-2.0" repository = "https://github.com/khonsulabs/kludgine" [lib] name = "kludgine" path = "src/lib.rs" [[example]] name = "aliasing" path = "examples/aliasing.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "batching" path = "examples/batching.rs" [[example]] name = "clipping" path = "examples/clipping.rs" [[example]] name = "lazy-texture" path = "examples/lazy-texture.rs" [[example]] name = "offscreen" path = "examples/offscreen.rs" [[example]] name = "outline" path = "examples/outline.rs" [[example]] name = "plotters" path = "examples/plotters.rs" required-features = ["plotters"] [[example]] name = "pong" path = "examples/pong.rs" [[example]] name = "shapes" path = "examples/shapes.rs" [[example]] name = "sprites" path = "examples/sprites.rs" [[example]] name = "text" path = "examples/text.rs" [[example]] name = "text-metrics" path = "examples/text-metrics.rs" [[example]] name = "texture" path = "examples/texture.rs" [[example]] name = "texture-collection" path = "examples/texture-collection.rs" [dependencies.ahash] version = "0.8.3" [dependencies.alot] version = "0.3.0" [dependencies.appit] version = "0.4.0" features = ["rwh_06"] optional = true [dependencies.bytemuck] version = "1.13.1" features = ["derive"] [dependencies.cosmic-text] version = "0.12.0" optional = true [dependencies.etagere] version = "0.2.8" [dependencies.figures] version = "0.4.0" features = [ "wgpu", "winit", "bytemuck", "euclid", ] [dependencies.image] version = "0.25.1" optional = true default-features = false [dependencies.intentional] version = "0.1.1" [dependencies.justjson] version = "0.3.0" [dependencies.lyon_tessellation] version = "1.0.1" [dependencies.palette] version = "0.7.3" [dependencies.plotters] version = "0.3.5" optional = true default-features = false [dependencies.plotters-backend] version = "0.3.5" optional = true default-features = false [dependencies.pollster] version = "0.3.0" [dependencies.raw-window-handle] version = "0.6.0" [dependencies.smallvec] version = "1.11.0" [dependencies.unicode-bidi] version = "0.3.13" [dependencies.wgpu] version = "22.0.0" [dev-dependencies.image] version = "0.25.1" features = ["png"] [features] app = ["dep:appit"] default = [ "app", "image", "cosmic-text", ] plotters = [ "dep:plotters", "dep:plotters-backend", ] [target.'cfg(target_arch = "wasm32")'.dependencies.wgpu] version = "22.0.0" features = ["webgl"]