| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.74.0" |
| 15 |
name = "tiff" |
| 16 |
version = "0.10.3" |
| 17 |
authors = ["The image-rs Developers"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"tests/images/*", |
| 21 |
"tests/fuzz_images/*", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "TIFF decoding and encoding library in pure Rust" |
| 29 |
readme = "README.md" |
| 30 |
categories = [ |
| 31 |
"multimedia::images", |
| 32 |
"multimedia::encoding", |
| 33 |
] |
| 34 |
license = "MIT" |
| 35 |
repository = "https://github.com/image-rs/image-tiff" |
| 36 |
resolver = "2" |
| 37 |
|
| 38 |
[features] |
| 39 |
default = [ |
| 40 |
"deflate", |
| 41 |
"fax", |
| 42 |
"jpeg", |
| 43 |
"lzw", |
| 44 |
] |
| 45 |
deflate = ["dep:flate2"] |
| 46 |
fax = ["dep:fax34"] |
| 47 |
jpeg = ["dep:zune-jpeg"] |
| 48 |
lzw = ["dep:weezl"] |
| 49 |
zstd = ["dep:zstd"] |
| 50 |
|
| 51 |
[lib] |
| 52 |
name = "tiff" |
| 53 |
path = "src/lib.rs" |
| 54 |
|
| 55 |
[[test]] |
| 56 |
name = "decode_bigtiff_images" |
| 57 |
path = "tests/decode_bigtiff_images.rs" |
| 58 |
|
| 59 |
[[test]] |
| 60 |
name = "decode_fp16_images" |
| 61 |
path = "tests/decode_fp16_images.rs" |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "decode_geotiff_images" |
| 65 |
path = "tests/decode_geotiff_images.rs" |
| 66 |
|
| 67 |
[[test]] |
| 68 |
name = "decode_images" |
| 69 |
path = "tests/decode_images.rs" |
| 70 |
|
| 71 |
[[test]] |
| 72 |
name = "encode_images" |
| 73 |
path = "tests/encode_images.rs" |
| 74 |
|
| 75 |
[[test]] |
| 76 |
name = "encode_images_with_compression" |
| 77 |
path = "tests/encode_images_with_compression.rs" |
| 78 |
|
| 79 |
[[test]] |
| 80 |
name = "fuzz_tests" |
| 81 |
path = "tests/fuzz_tests.rs" |
| 82 |
|
| 83 |
[[test]] |
| 84 |
name = "predict" |
| 85 |
path = "tests/predict.rs" |
| 86 |
|
| 87 |
[[test]] |
| 88 |
name = "subsubifds" |
| 89 |
path = "tests/subsubifds.rs" |
| 90 |
|
| 91 |
[[bench]] |
| 92 |
name = "lzw" |
| 93 |
path = "benches/lzw.rs" |
| 94 |
harness = false |
| 95 |
|
| 96 |
[dependencies.fax34] |
| 97 |
version = "0.2.6" |
| 98 |
optional = true |
| 99 |
package = "fax" |
| 100 |
|
| 101 |
[dependencies.flate2] |
| 102 |
version = "1.0.20" |
| 103 |
optional = true |
| 104 |
|
| 105 |
[dependencies.half] |
| 106 |
version = "2.4.1" |
| 107 |
|
| 108 |
[dependencies.quick-error] |
| 109 |
version = "2.0.1" |
| 110 |
|
| 111 |
[dependencies.weezl] |
| 112 |
version = "0.1.10" |
| 113 |
optional = true |
| 114 |
|
| 115 |
[dependencies.zstd] |
| 116 |
version = "0.13" |
| 117 |
optional = true |
| 118 |
|
| 119 |
[dependencies.zune-jpeg] |
| 120 |
version = "0.4.17" |
| 121 |
optional = true |
| 122 |
|
| 123 |
[dev-dependencies.crc32fast] |
| 124 |
version = "1.5" |
| 125 |
|
| 126 |
[dev-dependencies.criterion] |
| 127 |
version = "0.3.1" |