# 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 = "rootvg" version = "0.1.0" authors = ["Billy Messenger <60663878+BillyDM@users.noreply.github.com>"] description = "A 2D vector graphics library optimized for GUIs" homepage = "https://github.com/MeadowlarkDAW/rootvg" readme = "README.md" keywords = [ "vector", "graphics", "gpu", "2d", ] categories = [ "graphics", "rendering", "rendering::engine", ] license = "MIT" repository = "https://github.com/MeadowlarkDAW/rootvg" [package.metadata.docs.rs] all-features = true [[example]] name = "custom_primitive" path = "examples/custom_primitive.rs" required-features = ["custom-primitive"] [dependencies.log] version = "0.4.21" [dependencies.pollster] version = "0.3.0" optional = true [dependencies.rootvg-core] version = "0.1" default-features = false [dependencies.rootvg-image] version = "0.1" optional = true [dependencies.rootvg-mesh] version = "0.1" optional = true default-features = false [dependencies.rootvg-msaa] version = "0.1" optional = true [dependencies.rootvg-quad] version = "0.1" optional = true default-features = false [dependencies.rootvg-tessellation] version = "0.1" optional = true default-features = false [dependencies.rootvg-text] version = "0.1" optional = true [dependencies.rustc-hash] version = "1.1.0" [dependencies.smallvec] version = "1.13.1" [dependencies.thiserror] version = "1.0.57" [dependencies.wgpu] version = "0.19.3" features = ["wgsl"] default-features = false [dev-dependencies.bytemuck] version = "1.14.1" features = ["derive"] [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.image] version = "0.25.0" features = [ "rayon", "png", ] default-features = false [dev-dependencies.pollster] version = "0.3.0" [dev-dependencies.rustc-hash] version = "1.1.0" [dev-dependencies.wgpu] version = "0.19" [dev-dependencies.winit] version = "0.29.10" features = ["rwh_05"] [features] custom-primitive = [] default = [ "quad", "mesh", "tessellation", "text", "image", "msaa", "gradient", "default-surface", ] default-surface = ["dep:pollster"] gradient = [ "rootvg-core/gradient", "rootvg-quad?/gradient", "rootvg-mesh?/gradient", "rootvg-tessellation?/gradient", ] image = ["dep:rootvg-image"] mesh = ["dep:rootvg-mesh"] msaa = ["dep:rootvg-msaa"] quad = ["dep:rootvg-quad"] tessellation = [ "dep:rootvg-tessellation", "dep:rootvg-mesh", ] text = ["dep:rootvg-text"] [badges.maintenance] status = "actively-developed"