Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "tiff"
3 version = "0.11.3"
4 edition = "2021"
5 resolver = "2"
6
7 # note: when changed, also update test runner in `.github/workflows/rust.yml`
8 rust-version = "1.85.0"
9
10 license = "MIT"
11 description = "TIFF decoding and encoding library in pure Rust"
12 authors = ["The image-rs Developers"]
13
14 repository = "https://github.com/image-rs/image-tiff"
15 categories = ["multimedia::images", "multimedia::encoding"]
16
17 exclude = ["tests/images/*", "tests/fuzz_images/*", "tests/**/*.tif"]
18
19 [dependencies]
20 half = { version = "2.4.1" }
21 quick-error = "2.0.1"
22
23 # Rename to avoid confusion with the feature name.
24 fax34 = { package = "fax", version = "0.2.6", optional = true }
25 flate2 = { version = "1.0.20", optional = true }
26 weezl = { version = "0.1.10", optional = true }
27 zstd = { version = "0.13", optional = true }
28 zune-jpeg = { version = "0.5.1", optional = true }
29 image-webp = {version = "0.2.4", optional = true }
30
31 [dev-dependencies]
32 criterion = "0.3.1"
33 # We may already depend on this via flate2
34 crc32fast = "1.5"
35
36 [features]
37 default = ["deflate", "fax", "jpeg", "lzw"]
38
39 # Compression algorithms
40 deflate = ["dep:flate2"]
41 fax = ["dep:fax34"]
42 jpeg = ["dep:zune-jpeg"]
43 lzw = ["dep:weezl"]
44 webp = ["dep:image-webp"]
45 zstd = ["dep:zstd"]
46
47 [[bench]]
48 name = "lzw"
49 harness = false