| 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 = "2018" |
| 14 |
rust-version = "1.61.0" |
| 15 |
name = "exr" |
| 16 |
version = "1.74.0" |
| 17 |
authors = ["johannesvollmer <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"specification/*", |
| 21 |
"specification/**", |
| 22 |
"tests/images/*", |
| 23 |
"tests/images/**", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "Read and write OpenEXR files without any unsafe code" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"exr", |
| 34 |
"openexr", |
| 35 |
"file", |
| 36 |
"binary", |
| 37 |
"io", |
| 38 |
] |
| 39 |
categories = [ |
| 40 |
"encoding", |
| 41 |
"filesystem", |
| 42 |
"graphics", |
| 43 |
"multimedia", |
| 44 |
] |
| 45 |
license = "BSD-3-Clause" |
| 46 |
repository = "https://github.com/johannesvollmer/exrs" |
| 47 |
|
| 48 |
[badges.maintenance] |
| 49 |
status = "actively-developed" |
| 50 |
|
| 51 |
[features] |
| 52 |
default = ["rayon"] |
| 53 |
rayon = ["dep:rayon-core"] |
| 54 |
|
| 55 |
[lib] |
| 56 |
name = "exr" |
| 57 |
path = "src/lib.rs" |
| 58 |
test = true |
| 59 |
doctest = true |
| 60 |
bench = true |
| 61 |
doc = true |
| 62 |
proc-macro = false |
| 63 |
|
| 64 |
[[example]] |
| 65 |
name = "0a_write_rgba" |
| 66 |
path = "examples/0a_write_rgba.rs" |
| 67 |
|
| 68 |
[[example]] |
| 69 |
name = "0b_read_meta" |
| 70 |
path = "examples/0b_read_meta.rs" |
| 71 |
|
| 72 |
[[example]] |
| 73 |
name = "0c_read_rgba" |
| 74 |
path = "examples/0c_read_rgba.rs" |
| 75 |
|
| 76 |
[[example]] |
| 77 |
name = "1a_write_rgba_with_metadata" |
| 78 |
path = "examples/1a_write_rgba_with_metadata.rs" |
| 79 |
|
| 80 |
[[example]] |
| 81 |
name = "1b_convert_exr_to_png" |
| 82 |
path = "examples/1b_convert_exr_to_png.rs" |
| 83 |
|
| 84 |
[[example]] |
| 85 |
name = "2_rgba_adjust_exposure" |
| 86 |
path = "examples/2_rgba_adjust_exposure.rs" |
| 87 |
|
| 88 |
[[example]] |
| 89 |
name = "3a_write_dynamic_channels_with_metadata" |
| 90 |
path = "examples/3a_write_dynamic_channels_with_metadata.rs" |
| 91 |
|
| 92 |
[[example]] |
| 93 |
name = "3b_read_all_channels_with_metadata" |
| 94 |
path = "examples/3b_read_all_channels_with_metadata.rs" |
| 95 |
|
| 96 |
[[example]] |
| 97 |
name = "4a_write_custom_fixed_channels" |
| 98 |
path = "examples/4a_write_custom_fixed_channels.rs" |
| 99 |
|
| 100 |
[[example]] |
| 101 |
name = "4b_read_custom_fixed_channels" |
| 102 |
path = "examples/4b_read_custom_fixed_channels.rs" |
| 103 |
|
| 104 |
[[example]] |
| 105 |
name = "5a_write_multiple_layers" |
| 106 |
path = "examples/5a_write_multiple_layers.rs" |
| 107 |
|
| 108 |
[[example]] |
| 109 |
name = "5b_extract_exr_layers_as_pngs" |
| 110 |
path = "examples/5b_extract_exr_layers_as_pngs.rs" |
| 111 |
|
| 112 |
[[example]] |
| 113 |
name = "5c_write_mip_maps" |
| 114 |
path = "examples/5c_write_mip_maps.rs" |
| 115 |
|
| 116 |
[[example]] |
| 117 |
name = "5d_write_legacy_layers" |
| 118 |
path = "examples/5d_write_legacy_layers.rs" |
| 119 |
|
| 120 |
[[example]] |
| 121 |
name = "6_extract_mip_map_pngs" |
| 122 |
path = "examples/6_extract_mip_map_pngs.rs" |
| 123 |
|
| 124 |
[[example]] |
| 125 |
name = "7_crop_alpha_any_image" |
| 126 |
path = "examples/7_crop_alpha_any_image.rs" |
| 127 |
|
| 128 |
[[example]] |
| 129 |
name = "7_crop_alpha_rgba" |
| 130 |
path = "examples/7_crop_alpha_rgba.rs" |
| 131 |
|
| 132 |
[[example]] |
| 133 |
name = "7_write_raw_blocks" |
| 134 |
path = "examples/7_write_raw_blocks.rs" |
| 135 |
required-features = ["rayon"] |
| 136 |
|
| 137 |
[[example]] |
| 138 |
name = "8_read_raw_blocks" |
| 139 |
path = "examples/8_read_raw_blocks.rs" |
| 140 |
required-features = ["rayon"] |
| 141 |
|
| 142 |
[[test]] |
| 143 |
name = "across_compression" |
| 144 |
path = "tests/across_compression.rs" |
| 145 |
|
| 146 |
[[test]] |
| 147 |
name = "dev" |
| 148 |
path = "tests/dev.rs" |
| 149 |
|
| 150 |
[[test]] |
| 151 |
name = "fuzz" |
| 152 |
path = "tests/fuzz.rs" |
| 153 |
|
| 154 |
[[test]] |
| 155 |
name = "roundtrip" |
| 156 |
path = "tests/roundtrip.rs" |
| 157 |
|
| 158 |
[[bench]] |
| 159 |
name = "pixel_format_conversion" |
| 160 |
path = "benches/pixel_format_conversion.rs" |
| 161 |
harness = false |
| 162 |
required-features = ["rayon"] |
| 163 |
|
| 164 |
[[bench]] |
| 165 |
name = "profiling" |
| 166 |
path = "benches/profiling.rs" |
| 167 |
harness = false |
| 168 |
required-features = ["rayon"] |
| 169 |
|
| 170 |
[[bench]] |
| 171 |
name = "read" |
| 172 |
path = "benches/read.rs" |
| 173 |
harness = false |
| 174 |
required-features = ["rayon"] |
| 175 |
|
| 176 |
[[bench]] |
| 177 |
name = "write" |
| 178 |
path = "benches/write.rs" |
| 179 |
harness = false |
| 180 |
required-features = ["rayon"] |
| 181 |
|
| 182 |
[dependencies.bit_field] |
| 183 |
version = "^0.10.1" |
| 184 |
|
| 185 |
[dependencies.half] |
| 186 |
version = "2.1.0" |
| 187 |
|
| 188 |
[dependencies.lebe] |
| 189 |
version = "^0.5.2" |
| 190 |
|
| 191 |
[dependencies.miniz_oxide] |
| 192 |
version = "^0.8.0" |
| 193 |
|
| 194 |
[dependencies.rayon-core] |
| 195 |
version = "^1.11.0" |
| 196 |
optional = true |
| 197 |
|
| 198 |
[dependencies.smallvec] |
| 199 |
version = "^1.7.0" |
| 200 |
|
| 201 |
[dependencies.zune-inflate] |
| 202 |
version = "^0.2.3" |
| 203 |
features = ["zlib"] |
| 204 |
default-features = false |
| 205 |
|
| 206 |
[dev-dependencies.bencher] |
| 207 |
version = "0.1.5" |
| 208 |
|
| 209 |
[dev-dependencies.image] |
| 210 |
version = "0.25.2" |
| 211 |
features = ["png"] |
| 212 |
default-features = false |
| 213 |
|
| 214 |
[dev-dependencies.rand] |
| 215 |
version = "0.8.5" |
| 216 |
|
| 217 |
[dev-dependencies.rayon] |
| 218 |
version = "1.5.3" |
| 219 |
|
| 220 |
[dev-dependencies.walkdir] |
| 221 |
version = "2.3.2" |
| 222 |
|
| 223 |
[profile.bench] |
| 224 |
opt-level = 3 |
| 225 |
lto = true |
| 226 |
codegen-units = 1 |
| 227 |
debug = 2 |
| 228 |
debug-assertions = false |
| 229 |
overflow-checks = false |
| 230 |
|
| 231 |
[profile.dev] |
| 232 |
opt-level = 3 |
| 233 |
lto = true |
| 234 |
debug = 2 |
| 235 |
debug-assertions = true |
| 236 |
overflow-checks = true |
| 237 |
incremental = true |
| 238 |
|
| 239 |
[profile.release] |
| 240 |
opt-level = 3 |
| 241 |
lto = true |
| 242 |
codegen-units = 1 |
| 243 |
debug = 0 |
| 244 |
debug-assertions = false |
| 245 |
|
| 246 |
[profile.test] |
| 247 |
opt-level = 3 |
| 248 |
lto = true |
| 249 |
debug = 2 |
| 250 |
debug-assertions = true |
| 251 |
overflow-checks = true |
| 252 |
incremental = true |