mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-15 06:52:23 +00:00
* craft-gif: bounded frame decoding through the image crate (feature frames) * craft-webp: bounded frame decoding through the image crate (feature frames) Like craft-gif's: every frame composited, a still as one frame, canvas cap checked from the headers, stops at the frame or byte limit or at a damaged frame and says which, optional merging of identical frames.
23 lines
764 B
TOML
23 lines
764 B
TOML
[package]
|
|
name = "craft-gif"
|
|
description = "GIF block reader: the logical screen, each frame's position, delay and transparency, the loop count and colour tables, without decompressing pixels."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Decoding every frame through the `image` crate's GIF decoder, with bounded memory.
|
|
frames = ["dep:image"]
|
|
|
|
[dependencies]
|
|
image = { version = "0.25", default-features = false, features = ["gif"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
# Writes the animated test files the scan is checked against; not a product dependency.
|
|
image = { version = "0.25", default-features = false, features = ["gif"] }
|