[package] name = "ruisa" version = "0.0.1" authors = ["Ruixian Zhu "] edition = "2018" description = "A light-weighted 2D graphic library." documentation = "https://docs.rs/ruisa/" readme = "README.md" repository = "https://github.com/stellar-os/ruisa" license = "BSD-3-Clause" keywords = ["2d", "rendering", "skia", "canvas"] categories = ["rendering"] [workspace] members = ["path"] [dependencies] arrayref = "0.3.6" arrayvec = { version = "0.7", default-features = false } bytemuck = { version = "1.12", features = ["aarch64_simd"] } cfg-if = "1" log = "0.4" png = { version = "0.17", optional = true } ruisa-path = { version = "0.0.1", path = "path", default-features = false } image = "0.23.14" [features] default = ["std", "simd", "png-format"] # Enables the use of the standard library. Deactivate this and activate the no-std-float # feature to compile for targets that don't have std. std = ["ruisa-path/std"] no-std-float = ["ruisa-path/no-std-float"] # Enables SIMD instructions on x86 (from SSE up to AVX2), WebAssembly (SIMD128) # and AArch64 (Neon). # Has no effect on other targets. Present mainly for testing. simd = [] # Allows loading and saving `Pixmap` as PNG. png-format = ["std", "png"]