# 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" name = "fast_image_resize" version = "5.0.0" authors = ["Kirill Kuzminykh "] build = false exclude = ["/data"] autobins = false autoexamples = false autotests = false autobenches = false description = "Library for fast image resizing with using of SIMD instructions" documentation = "https://docs.rs/crate/fast_image_resize" readme = "README.md" keywords = [ "image", "resize", ] license = "MIT OR Apache-2.0" repository = "https://github.com/cykooz/fast_image_resize" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = "{{version}}" search = "Unreleased" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = "{{date}}" search = "ReleaseDate" [profile.dev.package."*"] opt-level = 3 debug = 0 strip = "debuginfo" [profile.dev.build-override] opt-level = 2 codegen-units = 256 [profile.release] opt-level = 3 incremental = true strip = true [profile.release.package.image] codegen-units = 1 [profile.release.package.resize] codegen-units = 1 [profile.release.build-override] opt-level = 2 codegen-units = 256 debug = 0 [profile.test] opt-level = 3 incremental = true [lib] name = "fast_image_resize" path = "src/lib.rs" [[test]] name = "alpha_tests" path = "tests/alpha_tests.rs" [[test]] name = "color_tests" path = "tests/color_tests.rs" [[test]] name = "images_tests" path = "tests/images_tests.rs" [[test]] name = "resize_tests" path = "tests/resize_tests.rs" [[bench]] name = "bench_alpha" path = "benches/bench_alpha.rs" harness = false [[bench]] name = "bench_color_mapper" path = "benches/bench_color_mapper.rs" harness = false [[bench]] name = "bench_compare_l" path = "benches/bench_compare_l.rs" harness = false [[bench]] name = "bench_compare_l16" path = "benches/bench_compare_l16.rs" harness = false [[bench]] name = "bench_compare_l32f" path = "benches/bench_compare_l32f.rs" harness = false [[bench]] name = "bench_compare_la" path = "benches/bench_compare_la.rs" harness = false [[bench]] name = "bench_compare_la16" path = "benches/bench_compare_la16.rs" harness = false [[bench]] name = "bench_compare_la32f" path = "benches/bench_compare_la32f.rs" harness = false [[bench]] name = "bench_compare_rgb" path = "benches/bench_compare_rgb.rs" harness = false [[bench]] name = "bench_compare_rgb16" path = "benches/bench_compare_rgb16.rs" harness = false [[bench]] name = "bench_compare_rgb32f" path = "benches/bench_compare_rgb32f.rs" harness = false [[bench]] name = "bench_compare_rgba" path = "benches/bench_compare_rgba.rs" harness = false [[bench]] name = "bench_compare_rgba16" path = "benches/bench_compare_rgba16.rs" harness = false [[bench]] name = "bench_compare_rgba32f" path = "benches/bench_compare_rgba32f.rs" harness = false [[bench]] name = "bench_resize" path = "benches/bench_resize.rs" harness = false [dependencies.bytemuck] version = "1.16" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.document-features] version = "0.2.10" [dependencies.image] version = "0.25.2" optional = true default-features = false [dependencies.num-traits] version = "0.2.19" [dependencies.rayon] version = "1.10" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.criterion] version = "0.5.1" features = ["cargo_bench_support"] default-features = false [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.png] version = "0.17.14" [dev-dependencies.resize] version = "0.8.7" features = ["std"] default-features = false [dev-dependencies.rgb] version = "0.8.50" [dev-dependencies.serde] version = "1.0" features = ["serde_derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tera] version = "1.20" [dev-dependencies.walkdir] version = "2.5" [features] for_testing = ["image"] image = [ "dep:image", "dep:bytemuck", ] only_u8x4 = [] rayon = [ "dep:rayon", "resize/rayon", "image/rayon", ] [target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "windows")))'.dev-dependencies.libvips] version = "1.7" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.nix] version = "0.29.0" features = ["sched"] default-features = false