[package] name = "vello" version.workspace = true description = "A GPU compute-centric 2D renderer." categories = ["rendering", "graphics"] keywords = ["2d", "vector-graphics"] edition.workspace = true rust-version.workspace = true license.workspace = true repository.workspace = true [features] default = ["wgpu"] # Enables GPU memory usage estimation. This performs additional computations # in order to estimate the minimum required allocations for buffers backing # bump-allocated GPU memory. # TODO: Turn this into a runtime option used at resolve time and remove the feature. bump_estimate = ["vello_encoding/bump_estimate"] # Adds labels to buffers created by Vello. # May improve debugability at the cost of slightly higher memory usage (TODO: We should just not make these optional). buffer_labels = [] wgpu = ["dep:wgpu"] # Development only features # Enables debug features when using the "async" pipeline. # This is only intended for development of Vello itself. debug_layers = [] # Enables an embedded wgpu-profiler profiler. # This is only intended for development of Vello itself. # It is currently known to not work - see https://github.com/linebender/vello/issues/678 wgpu-profiler = ["dep:wgpu-profiler"] # Enables hot reloading of Vello shaders. # This is only intended for development of Vello itself. # In practise, this won't compile outside of the Vello repository. hot_reload = ["vello_shaders/compile"] [lints] workspace = true [dependencies] vello_encoding = { workspace = true } vello_shaders = { workspace = true } bytemuck = { workspace = true } skrifa = { workspace = true } peniko = { workspace = true } wgpu = { workspace = true, optional = true } log = { workspace = true } raw-window-handle = { workspace = true } static_assertions = { workspace = true } futures-intrusive = { workspace = true } wgpu-profiler = { workspace = true, optional = true } thiserror = { workspace = true } # TODO: Add feature for built-in bitmap emoji support? png = { version = "0.17.14" }