# 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.74" name = "gifski" version = "1.32.0" authors = ["Kornel "] include = [ "/README.md", "/Cargo.toml", "/src/**/*.rs", "/src/bin/*.rs", ] autobins = false description = "pngquant-based GIF maker for nice-looking animGIFs" homepage = "https://gif.ski" documentation = "https://docs.rs/gifski" readme = "README.md" keywords = [ "gif", "encoder", "converter", "maker", "gifquant", ] categories = [ "multimedia::video", "command-line-utilities", ] license = "AGPL-3.0-or-later" repository = "https://github.com/ImageOptim/gifski" [package.metadata.capi.header] generation = false subdirectory = false [[package.metadata.capi.install.include.asset]] from = "gifski.h" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [profile.dev] opt-level = 1 debug = 1 [profile.dev.package."*"] opt-level = 2 debug = 0 [profile.release] opt-level = 3 lto = true debug = 0 panic = "abort" strip = true [lib] crate-type = [ "lib", "staticlib", "cdylib", ] path = "src/lib.rs" [[bin]] name = "gifski" doctest = false required-features = ["binary"] [dependencies.clap] version = "4.5.4" features = ["cargo"] optional = true [dependencies.crossbeam-channel] version = "0.5.11" [dependencies.crossbeam-utils] version = "0.8.19" [dependencies.dunce] version = "1.0.4" optional = true [dependencies.ffmpeg] version = "6" features = [ "codec", "format", "filter", "software-resampling", "software-scaling", ] optional = true default-features = false package = "ffmpeg-next" [dependencies.gif] version = "0.13.1" features = [ "std", "raii_no_panic", ] default-features = false [dependencies.gif-dispose] version = "5.0.0" [dependencies.imagequant] version = "4.3.0" [dependencies.imgref] version = "1.10.1" [dependencies.lodepng] version = "3.10.1" optional = true [dependencies.loop9] version = "0.1.5" [dependencies.natord] version = "1.0.9" optional = true [dependencies.num-traits] version = "0.2.17" features = [ "i128", "std", ] [dependencies.ordered-channel] version = "1.1.0" features = ["crossbeam-channel"] [dependencies.pbr] version = "1.1.1" optional = true [dependencies.quick-error] version = "2.0.1" [dependencies.resize] version = "0.8.3" features = ["rayon"] [dependencies.rgb] version = "0.8.37" [dependencies.wild] version = "2.2.0" features = ["glob-quoted-on-windows"] optional = true [dependencies.y4m] version = "0.8.0" optional = true [dependencies.yuv] version = "0.1.5" optional = true [dev-dependencies.lodepng] version = "3.10.1" [features] binary = [ "dep:clap", "dep:yuv", "dep:y4m", "png", "pbr", "dep:wild", "dep:natord", "dep:dunce", ] capi = [] default = [ "gifsicle", "binary", ] gifsicle = [] png = ["dep:lodepng"] video = ["dep:ffmpeg"] video-prebuilt-static = [ "video", "ffmpeg/static", ] video-static = [ "video", "ffmpeg/build", ]