# 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 = "moosicbox_image" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "MoosicBox image package" readme = "README.md" keywords = [ "compression", "image", "resize", ] categories = [ "compression", "development-tools", "multimedia", ] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [package.metadata.cargo-machete] ignored = ["strum"] [lib] name = "moosicbox_image" path = "src/lib.rs" [[bin]] name = "image_helper" path = "src/main.rs" required-features = ["build-binary"] [dependencies.bytes] version = "1.7.2" [dependencies.clap] version = "4.5.19" features = ["derive"] optional = true [dependencies.image] version = "0.25.2" optional = true [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.moosicbox_task] version = "0.1.0" default-features = false [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.webp] version = "0.3.0" optional = true [features] build-binary = [ "dep:clap", "dep:tokio", "image", ] default = [ "image", "libvips", ] fail-on-warnings = [] image = [ "dep:image", "dep:tokio", "dep:webp", ] libvips = ["dep:libvips"] [target.'cfg(not(target_os = "windows"))'.dependencies.libvips] version = "1.7.0" optional = true [target.'cfg(target_os = "windows")'.dependencies]