0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-21 21:03:16 -05:00
denoland-deno/ext/canvas/Cargo.toml

34 lines
1.3 KiB
TOML

# Copyright 2018-2025 the Deno authors. MIT license.
[package]
name = "deno_canvas"
version = "0.58.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
readme = "README.md"
repository.workspace = true
description = "OffscreenCanvas implementation for Deno"
[lib]
path = "lib.rs"
[dependencies]
bytemuck = "1.17.1"
deno_core.workspace = true
deno_error.workspace = true
deno_terminal.workspace = true
deno_webgpu.workspace = true
image = { version = "0.25.4", default-features = false, features = ["png", "jpeg", "bmp", "ico" # NOTE: Temporarily not supported due to build size concerns
# https://github.com/denoland/deno/pull/25517#issuecomment-2626044644
# "webp", "gif"
] }
# NOTE: The qcms is a color space conversion crate which parses ICC profiles that used in Gecko,
# however it supports only 8-bit color depth currently.
# https://searchfox.org/mozilla-central/rev/f09e3f9603a08b5b51bf504846091579bc2ff531/gfx/qcms/src/transform.rs#130-137
# It seems to be failed to build for aarch64-unknown-linux-gnu with pkg-config.
# https://github.com/kornelski/rust-lcms2-sys/blob/b8e9c3efcf266b88600318fb519c073b9ebb61b7/README.md#L26
lcms2 = { version = "6.1.0", features = ["static"] }
num-traits = { version = "0.2.19" }
serde = { workspace = true, features = ["derive"] }
thiserror.workspace = true