[dependencies.approx]
version = "0.5.1"
[dependencies.bytemuck]
features = ["derive"]
version = "1.22.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.guillotiere]
version = "0.6.2"
[dependencies.halfbrown]
version = "0.3.0"
[dependencies.image_rs]
default-features = false
features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"]
package = "image"
version = "0.25.5"
[dependencies.librashader-cache]
version = "0.7.1"
[dependencies.librashader-common]
version = "0.7.1"
[dependencies.librashader-pack]
version = "0.7.1"
[dependencies.librashader-preprocess]
version = "0.7.1"
[dependencies.librashader-presets]
version = "0.7.1"
[dependencies.librashader-reflect]
default-features = false
features = ["stable", "wgsl"]
version = "0.7.1"
[dependencies.librashader-runtime]
version = "0.7.1"
[dependencies.lru]
version = "0.13.0"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.parking_lot]
features = ["nightly", "hardware-lock-elision"]
version = "0.12.3"
[dependencies.raw-window-handle]
features = ["std"]
version = "0.6.2"
[dependencies.rustc-hash]
version = "2.1.1"
[dependencies.serde]
features = ["derive"]
version = "1.0.208"
[dependencies.skrifa]
version = "0.29.0"
[dependencies.thiserror]
version = "2.0.1"
[dependencies.tracing]
version = "0.1.41"
[dependencies.unicode-width]
package = "unicode-width-16"
version = "0.1.0"
[dependencies.wgpu]
version = "24.0.3"
[dependencies.yazi]
optional = true
version = "0.2.1"
[dependencies.zeno]
optional = true
version = "0.3.2"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.deflate]
version = "1.0.0"
[dev-dependencies.png]
version = "0.17.8"
[dev-dependencies.rio-window]
default-features = false
version = "0.2.12"
[features]
default = ["scale", "render"]
render = ["scale", "zeno/eval"]
scale = ["yazi", "zeno"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "sugarloaf"
path = "src/lib.rs"
[package]
authors = ["Raphael Amorim <rapha850@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Sugarloaf is Rio rendering engine, designed to be multiplatform. It is based on WebGPU, Rust library for Desktops and WebAssembly for Web (JavaScript). This project is created and maintained for Rio terminal purposes but feel free to use it."
documentation = "https://docs.rs/crate/sugarloaf/latest"
edition = "2021"
include = ["Cargo.toml", "src/**/*.ttf", "src/**/*.otf", "src/**/*.wgsl", "src/components/filters/**/*.slang", "src/components/filters/**/*.slangp", "src/components/filters/**/*.inc", "src/components/filters/**/*.png", "src/**/*.rs"]
license = "MIT"
name = "sugarloaf"
readme = "README.md"
repository = "https://github.com/raphamorim/sugarloaf"
version = "0.2.13"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "wasm32-unknown-unknown"]
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "android"))))'.dependencies.fontconfig-parser]
default-features = false
version = "0.5.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam-channel]
version = "0.5.14"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam-deque]
version = "0.8.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.memmap2]
version = "0.9.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.10.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.slotmap]
default-features = false
version = "1.0.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tinyvec]
features = ["alloc"]
version = "1.9.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ttf-parser]
version = "0.25.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.twox-hash]
default-features = false
features = ["std", "xxhash64"]
version = "2.1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"
[target.'cfg(target_arch = "wasm32")'.dependencies.console_log]
version = "0.2.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.61"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.87"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.34"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-test]
version = "0.3.42"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["Location", "Document", "Navigator", "Node", "NodeList", "Gpu", "GpuAdapter", "GpuAddressMode", "GpuAutoLayoutMode", "GpuBindGroup", "GpuBindGroupDescriptor", "GpuBindGroupEntry", "GpuBindGroupLayout", "GpuBindGroupLayoutDescriptor", "GpuBindGroupLayoutEntry", "GpuBlendComponent", "GpuBlendFactor", "GpuBlendOperation", "GpuBlendState", "GpuBuffer", "GpuBufferBinding", "GpuBufferBindingLayout", "GpuBufferBindingType", "GpuBufferDescriptor", "GpuCanvasAlphaMode", "GpuCanvasContext", "GpuCanvasConfiguration", "GpuColorDict", "GpuColorTargetState", "GpuCommandBuffer", "GpuCommandBufferDescriptor", "GpuCommandEncoder", "GpuCommandEncoderDescriptor", "GpuCompareFunction", "GpuCompilationInfo", "GpuCompilationMessage", "GpuCompilationMessageType", "GpuComputePassDescriptor", "GpuComputePassEncoder", "GpuComputePipeline", "GpuComputePipelineDescriptor", "GpuCullMode", "GpuDepthStencilState", "GpuDevice", "GpuDeviceDescriptor", "GpuDeviceLostInfo", "GpuDeviceLostReason", "GpuError", "GpuErrorFilter", "GpuExtent3dDict", "GpuFeatureName", "GpuFilterMode", "GpuFragmentState", "GpuFrontFace", "GpuIndexFormat", "GpuLoadOp", "gpu_map_mode", "GpuMipmapFilterMode", "GpuMultisampleState", "GpuObjectDescriptorBase", "GpuOrigin2dDict", "GpuOrigin3dDict", "GpuOutOfMemoryError", "GpuPipelineDescriptorBase", "GpuPipelineLayout", "GpuPipelineLayoutDescriptor", "GpuPowerPreference", "GpuPrimitiveState", "GpuPrimitiveTopology", "GpuProgrammableStage", "GpuQuerySet", "GpuQuerySetDescriptor", "GpuQueryType", "GpuQueue", "GpuRenderBundle", "GpuRenderBundleDescriptor", "GpuRenderBundleEncoder", "GpuRenderBundleEncoderDescriptor", "GpuRenderPassColorAttachment", "GpuRenderPassDepthStencilAttachment", "GpuRenderPassDescriptor", "GpuRenderPassEncoder", "GpuRenderPipeline", "GpuRenderPipelineDescriptor", "GpuRequestAdapterOptions", "GpuSampler", "GpuSamplerBindingLayout", "GpuSamplerBindingType", "GpuSamplerDescriptor", "GpuShaderModule", "GpuShaderModuleDescriptor", "GpuStencilFaceState", "GpuStencilOperation", "GpuStorageTextureAccess", "GpuStorageTextureBindingLayout", "GpuStoreOp", "GpuSupportedFeatures", "GpuSupportedLimits", "GpuTexture", "GpuTextureAspect", "GpuTextureBindingLayout", "GpuTextureDescriptor", "GpuTextureDimension", "GpuTextureFormat", "GpuTextureSampleType", "GpuTextureView", "GpuTextureViewDescriptor", "GpuTextureViewDimension", "GpuUncapturedErrorEvent", "GpuUncapturedErrorEventInit", "GpuValidationError", "GpuVertexAttribute", "GpuVertexBufferLayout", "GpuVertexFormat", "GpuVertexState", "GpuVertexStepMode", "HtmlCanvasElement", "OffscreenCanvas", "ImageBitmap", "ImageBitmapRenderingContext", "Window", "WorkerGlobalScope", "WorkerNavigator"]
version = "0.3.77"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.web-sys]
features = ["Location", "Blob", "RequestInit", "RequestMode", "Request", "Response", "WebGl2RenderingContext", "CanvasRenderingContext2d"]
version = "0.3.61"