| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.85.0" |
| 15 |
name = "tiff" |
| 16 |
version = "0.11.3" |
| 17 |
authors = ["The image-rs Developers"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"tests/images/*", |
| 21 |
"tests/fuzz_images/*", |
| 22 |
"tests/**/*.tif", |
| 23 |
] |
| 24 |
autolib = false |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "TIFF decoding and encoding library in pure Rust" |
| 30 |
readme = "README.md" |
| 31 |
categories = [ |
| 32 |
"multimedia::images", |
| 33 |
"multimedia::encoding", |
| 34 |
] |
| 35 |
license = "MIT" |
| 36 |
repository = "https://github.com/image-rs/image-tiff" |
| 37 |
resolver = "2" |
| 38 |
|
| 39 |
[features] |
| 40 |
default = [ |
| 41 |
"deflate", |
| 42 |
"fax", |
| 43 |
"jpeg", |
| 44 |
"lzw", |
| 45 |
] |
| 46 |
deflate = ["dep:flate2"] |
| 47 |
fax = ["dep:fax34"] |
| 48 |
jpeg = ["dep:zune-jpeg"] |
| 49 |
lzw = ["dep:weezl"] |
| 50 |
webp = ["dep:image-webp"] |
| 51 |
zstd = ["dep:zstd"] |
| 52 |
|
| 53 |
[lib] |
| 54 |
name = "tiff" |
| 55 |
path = "src/lib.rs" |
| 56 |
|
| 57 |
[[example]] |
| 58 |
name = "decode" |
| 59 |
path = "examples/decode.rs" |
| 60 |
|
| 61 |
[[example]] |
| 62 |
name = "tiff-ls" |
| 63 |
path = "examples/tiff-ls.rs" |
| 64 |
|
| 65 |
[[test]] |
| 66 |
name = "decode_bigtiff_images" |
| 67 |
path = "tests/decode_bigtiff_images.rs" |
| 68 |
|
| 69 |
[[test]] |
| 70 |
name = "decode_fp16_images" |
| 71 |
path = "tests/decode_fp16_images.rs" |
| 72 |
|
| 73 |
[[test]] |
| 74 |
name = "decode_geotiff_images" |
| 75 |
path = "tests/decode_geotiff_images.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "decode_images" |
| 79 |
path = "tests/decode_images.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "decode_planes" |
| 83 |
path = "tests/decode_planes.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "encode_images" |
| 87 |
path = "tests/encode_images.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "encode_images_with_compression" |
| •91 |
path = "tests/encode_images_with_compression.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "fuzz_tests" |
| 95 |
path = "tests/fuzz_tests.rs" |
| 96 |
|
| 97 |
[[test]] |
| 98 |
name = "predict" |
| 99 |
path = "tests/predict.rs" |
| 100 |
|
| 101 |
[[test]] |
| 102 |
name = "subsubifds" |
| 103 |
path = "tests/subsubifds.rs" |
| 104 |
|
| 105 |
[[disabled.bench]] |
| 106 |
name = "lzw" |
| 107 |
path = "benches/lzw.rs" |
| 108 |
harness = false |
| 109 |
|
| 110 |
[dependencies.fax34] |
| 111 |
version = "0.2.6" |
| •112 |
optional = true |
| 113 |
package = "fax" |
| 114 |
|
| 115 |
[dependencies.flate2] |
| 116 |
version = "1.0.20" |
| 117 |
optional = true |
| 118 |
|
| 119 |
[dependencies.half] |
| 120 |
version = "2.4.1" |
| 121 |
|
| 122 |
[dependencies.image-webp] |
| 123 |
version = "0.2.4" |
| 124 |
optional = true |
| 125 |
|
| 126 |
[dependencies.quick-error] |
| 127 |
version = "2.0.1" |
| 128 |
|
| 129 |
[dependencies.weezl] |
| 130 |
version = "0.1.8" |
| 131 |
optional = true |
| 132 |
|
| 133 |
[dependencies.zstd] |
| 134 |
version = "0.13" |
| 135 |
optional = true |
| 136 |
|
| 137 |
[dependencies.zune-jpeg] |
| 138 |
version = "0.5.1" |
| 139 |
optional = true |
| 140 |
|
| 141 |
[dev-dependencies.crc32fast] |
| 142 |
version = "1.5" |