# 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 = "sugarloaf" version = "0.2.2" authors = ["Raphael Amorim "] build = false include = [ "Cargo.toml", "src/**/*.ttf", "src/**/*.otf", "src/**/*.wgsl", "src/**/*.rs", ] autobins = false autoexamples = false autotests = false autobenches = 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" readme = "README.md" license = "MIT" repository = "https://github.com/raphamorim/sugarloaf" [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", ] [lib] name = "sugarloaf" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.ab_glyph] version = "0.2.29" [dependencies.approx] version = "0.5.1" [dependencies.array-concat] version = "0.5.2" [dependencies.bytemuck] version = "1.17.0" features = ["derive"] [dependencies.futures] version = "0.3.31" [dependencies.guillotiere] version = "0.6.2" [dependencies.halfbrown] version = "0.2.5" [dependencies.image_rs] version = "0.25.5" features = [ "gif", "jpeg", "ico", "png", "pnm", "webp", "bmp", ] default-features = false package = "image" [dependencies.librashader-cache] version = "0.6.2" [dependencies.librashader-common] version = "0.6.2" [dependencies.librashader-pack] version = "0.6.2" [dependencies.librashader-preprocess] version = "0.6.2" [dependencies.librashader-presets] version = "0.6.2" [dependencies.librashader-reflect] version = "0.6.2" features = [ "stable", "wgsl", ] default-features = false [dependencies.librashader-runtime] version = "0.6.2" [dependencies.linked-hash-map] version = "0.5.6" [dependencies.lru] version = "0.12.5" [dependencies.num-traits] version = "0.2.19" [dependencies.ordered-float] version = "4.5.0" [dependencies.parking_lot] version = "0.12.3" features = [ "nightly", "hardware-lock-elision", ] [dependencies.raw-window-handle] version = "0.6.2" features = ["std"] [dependencies.rustc-hash] version = "2.0.0" [dependencies.serde] version = "1.0.208" features = ["derive"] [dependencies.skrifa] version = "0.25.0" [dependencies.thiserror] version = "2.0.1" [dependencies.tracing] version = "0.1.40" [dependencies.twox-hash] version = "1.6.3" default-features = false [dependencies.unicode-width] version = "0.2.0" [dependencies.wgpu] version = "23.0.0" [dependencies.xi-unicode] version = "0.3.0" [dependencies.yazi] version = "0.2.0" optional = true [dependencies.zeno] version = "0.2.3" optional = true default-features = false [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] version = "0.2.1" [features] default = [ "scale", "render", ] render = [ "scale", "zeno/eval", ] scale = [ "yazi", "zeno", ] [target.'cfg(all(unix, not(any(target_os = "macos", target_os = "android"))))'.dependencies.fontconfig-parser] version = "0.5.7" default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam-channel] version = "0.5.13" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam-deque] version = "0.8.5" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.memmap2] version = "0.9.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon] version = "1.10.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.slotmap] version = "1.0.7" default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tinyvec] version = "1.6.0" features = ["alloc"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.ttf-parser] version = "0.25.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.twox-hash] version = "1.6.3" features = ["std"] default-features = false [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] version = "0.3.61" 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", "GpuImageCopyBuffer", "GpuImageCopyExternalImage", "GpuImageCopyTexture", "GpuImageCopyTextureTagged", "GpuImageDataLayout", "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", ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.web-sys] version = "0.3.61" features = [ "Location", "Blob", "RequestInit", "RequestMode", "Request", "Response", "WebGl2RenderingContext", "CanvasRenderingContext2d", ]