mirror of
https://github.com/Brooooooklyn/Image.git
synced 2025-12-08 18:36:03 +00:00
* chore: bump up all non-major dependencies * fix image crate --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: LongYinan <lynweklm@gmail.com>
68 lines
1.4 KiB
TOML
68 lines
1.4 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "napi_rs_image"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[[bin]]
|
|
name = "logo"
|
|
path = "logo.rs"
|
|
|
|
[features]
|
|
default = ["oxipng/parallel"]
|
|
oxipng_libdeflater = ["oxipng/zopfli", "oxipng/parallel"]
|
|
with_simd = ["mozjpeg-sys/nasm_simd_parallel_build"]
|
|
|
|
[dependencies]
|
|
fast_image_resize = "3"
|
|
imagequant = "4.0.0"
|
|
image = { version = "0.25", default-features = false, features = [
|
|
"jpeg",
|
|
"ico",
|
|
"png",
|
|
"pnm",
|
|
"tga",
|
|
"tiff",
|
|
"bmp",
|
|
"webp",
|
|
"hdr",
|
|
"dds"
|
|
] }
|
|
jpeg-decoder = "0.3"
|
|
libavif = { version = "0.13", default-features = false, features = [
|
|
"codec-aom",
|
|
] }
|
|
libc = "0.2"
|
|
lodepng = "3"
|
|
napi = { version = "2", default-features = false, features = ["napi3"] }
|
|
napi-derive = { version = "2", default-features = false, features = [
|
|
"type-def",
|
|
] }
|
|
num-complex = "0.4"
|
|
num_cpus = "1"
|
|
once_cell = "1"
|
|
png = "0.17"
|
|
rexif = "0.7"
|
|
rgb = "0.8"
|
|
resvg = "0.41"
|
|
svgtypes = "0.15"
|
|
|
|
[dependencies.oxipng]
|
|
default-features = false
|
|
version = "9"
|
|
|
|
[dependencies.mozjpeg-sys]
|
|
default-features = false
|
|
version = "2"
|
|
|
|
[target.'cfg(not(all(target_os = "macos", target_arch = "x86_64")))'.dependencies]
|
|
libwebp-sys = { version = "0.9", default-features = false, features = ["std", "parallel", "avx2", "sse41", "neon"] }
|
|
|
|
[target.'cfg(all(target_os = "macos", target_arch = "x86_64"))'.dependencies]
|
|
libwebp-sys = { version = "0.9", default-features = false, features = ["std", "parallel"] }
|
|
|
|
[build-dependencies]
|
|
napi-build = "2"
|