239 lines
3.9 KiB
TOML
239 lines
3.9 KiB
TOML
# 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"
|
|
rust-version = "1.85.0"
|
|
name = "image"
|
|
version = "0.25.8"
|
|
authors = ["The image-rs Developers"]
|
|
build = false
|
|
exclude = [
|
|
"src/png/testdata/*",
|
|
"examples/*",
|
|
"tests/*",
|
|
]
|
|
include = [
|
|
"/LICENSE-APACHE",
|
|
"/LICENSE-MIT",
|
|
"/README.md",
|
|
"/CHANGES.md",
|
|
"/src/",
|
|
"/benches/",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Imaging library. Provides basic image processing and encoders/decoders for common image formats."
|
|
homepage = "https://github.com/image-rs/image"
|
|
documentation = "https://docs.rs/image"
|
|
readme = "README.md"
|
|
categories = [
|
|
"multimedia::images",
|
|
"multimedia::encoding",
|
|
"encoding",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/image-rs/image"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
avif = [
|
|
"dep:ravif",
|
|
"dep:rgb",
|
|
]
|
|
avif-native = [
|
|
"dep:mp4parse",
|
|
"dep:dav1d",
|
|
]
|
|
benchmarks = []
|
|
bmp = []
|
|
color_quant = ["dep:color_quant"]
|
|
dds = []
|
|
default = [
|
|
"rayon",
|
|
"default-formats",
|
|
]
|
|
default-formats = [
|
|
"avif",
|
|
"bmp",
|
|
"dds",
|
|
"exr",
|
|
"ff",
|
|
"gif",
|
|
"hdr",
|
|
"ico",
|
|
"jpeg",
|
|
"png",
|
|
"pnm",
|
|
"qoi",
|
|
"tga",
|
|
"tiff",
|
|
"webp",
|
|
]
|
|
exr = ["dep:exr"]
|
|
ff = []
|
|
gif = [
|
|
"dep:gif",
|
|
"dep:color_quant",
|
|
]
|
|
hdr = []
|
|
ico = [
|
|
"bmp",
|
|
"png",
|
|
]
|
|
jpeg = [
|
|
"dep:zune-core",
|
|
"dep:zune-jpeg",
|
|
]
|
|
nasm = ["ravif?/asm"]
|
|
png = ["dep:png"]
|
|
pnm = []
|
|
qoi = ["dep:qoi"]
|
|
rayon = [
|
|
"dep:rayon",
|
|
"ravif?/threading",
|
|
]
|
|
serde = ["dep:serde"]
|
|
tga = []
|
|
tiff = ["dep:tiff"]
|
|
webp = ["dep:image-webp"]
|
|
|
|
[lib]
|
|
name = "image"
|
|
path = "src/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "blur"
|
|
path = "benches/blur.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "copy_from"
|
|
path = "benches/copy_from.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "decode"
|
|
path = "benches/decode.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "encode"
|
|
path = "benches/encode.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "fast_blur"
|
|
path = "benches/fast_blur.rs"
|
|
harness = false
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1.8.0"
|
|
features = ["extern_crate_alloc"]
|
|
|
|
[dependencies.byteorder-lite]
|
|
version = "0.1.0"
|
|
|
|
[dependencies.color_quant]
|
|
version = "1.1"
|
|
optional = true
|
|
|
|
[dependencies.dav1d]
|
|
version = "0.10.3"
|
|
optional = true
|
|
|
|
[dependencies.exr]
|
|
version = "1.5.0"
|
|
optional = true
|
|
|
|
[dependencies.gif]
|
|
version = "0.13.1"
|
|
optional = true
|
|
|
|
[dependencies.image-webp]
|
|
version = "0.2.0"
|
|
optional = true
|
|
|
|
[dependencies.moxcms]
|
|
version = "0.7.4"
|
|
|
|
[dependencies.mp4parse]
|
|
version = "0.17.0"
|
|
optional = true
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2.0"
|
|
|
|
[dependencies.png]
|
|
version = "0.18.0"
|
|
optional = true
|
|
|
|
[dependencies.qoi]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[dependencies.ravif]
|
|
version = "0.11.12"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rayon]
|
|
version = "1.7.0"
|
|
optional = true
|
|
|
|
[dependencies.rgb]
|
|
version = "0.8.48"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.214"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.tiff]
|
|
version = "0.10.3"
|
|
optional = true
|
|
|
|
[dependencies.zune-core]
|
|
version = "0.4.12"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.zune-jpeg]
|
|
version = "0.4.13"
|
|
optional = true
|
|
|
|
[dev-dependencies.crc32fast]
|
|
version = "1.2.0"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5.0"
|
|
|
|
[dev-dependencies.glob]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.num-complex]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.quickcheck]
|
|
version = "1"
|