# 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.1.1" authors = ["Raphael Amorim "] include = [ "Cargo.toml", "src/**/*.ttf", "src/**/*.otf", "src/**/*.wgsl", "src/**/*.rs", ] 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" keywords = [ "graphics", "terminal", ] license = "MIT" repository = "https://github.com/raphamorim/rio/tree/main/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] crate-type = [ "cdylib", "rlib", ] [[bench]] name = "bench_sugar_pile" path = "benches/bench_sugar_pile.rs" harness = false [[bench]] name = "bench_sugar_pile_with_screen" path = "benches/bench_sugar_pile_with_screen.rs" harness = false [dependencies.ab_glyph] version = "0.2.23" [dependencies.approx] version = "0.5.1" [dependencies.bytemuck] version = "1.16.0" features = ["derive"] [dependencies.fnv] version = "1.0.7" [dependencies.guillotiere] version = "0.6.2" [dependencies.image] version = "0.24.7" features = ["ico"] default-features = false [dependencies.linked-hash-map] version = "0.5.6" [dependencies.log] version = "0.4.21" [dependencies.ordered-float] version = "4.2.0" [dependencies.raw-window-handle] version = "0.6.2" [dependencies.rustc-hash] version = "1.1.0" [dependencies.serde] version = "1.0.198" features = ["derive"] [dependencies.swash] version = "0.1.16" [dependencies.twox-hash] version = "1.6.3" default-features = false [dependencies.unicode-width] version = "0.1.11" [dependencies.wgpu] version = "0.20.0" [dependencies.xi-unicode] version = "0.3.0" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.deflate] version = "1.0.0" [dev-dependencies.futures] version = "0.3.29" [dev-dependencies.image] version = "0.24.6" [dev-dependencies.once_cell] version = "1.18.0" [dev-dependencies.png] version = "0.17.8" [dev-dependencies.winit] version = "0.30.0" features = ["rwh_06"] default-features = false package = "rio-winit-fork" [features] default = [] render_equal_updates = [] [target."cfg(all(unix, not(any(target_os = \"macos\", target_os = \"android\"))))".dependencies.fontconfig-parser] version = "0.5.3" 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.21.1" features = [ "opentype-layout", "apple-layout", "variable-fonts", "glyph-names", ] default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.twox-hash] version = "1.6.3" features = ["std"] default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio] version = "1.37.0" features = [ "rt", "rt-multi-thread", "macros", ] 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", ]