| [package] |
| name = "vello_cpu" |
| # When moving past 0.0.x, also update caveats in the README |
| version = "0.0.1" |
| description = "A CPU-based renderer for Vello, optimized for SIMD and multithreaded execution." |
| categories = ["rendering", "graphics"] |
| keywords = ["2d", "vector-graphics"] |
| edition.workspace = true |
| rust-version.workspace = true |
| license.workspace = true |
| repository.workspace = true |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| # There are no platform specific docs. |
| default-target = "x86_64-unknown-linux-gnu" |
| targets = [] |
| |
| [dependencies] |
| libm = { version = "0.2.15", optional = true } |
| vello_common = { workspace = true } |
| |
| [features] |
| default = ["std", "png"] |
| # Get floating point functions from the standard library (likely using your target’s libc). |
| std = ["vello_common/std"] |
| # Use floating point implementations from libm. |
| libm = ["vello_common/libm", "dep:libm"] |
| # Allow loading Pixmap from PNG, and drawing png glyphs. |
| png = ["vello_common/png"] |
| |
| [lints] |
| workspace = true |