# 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" rust-version = "1.74.0" name = "qrtool" version = "0.11.6" authors = ["Shun Sakai "] build = false include = [ "/LICENSES", "/README.md", "/src", ] autobins = false autoexamples = false autotests = false autobenches = false description = "An utility for encoding or decoding QR code" homepage = "https://sorairolake.github.io/qrtool/" readme = "README.md" keywords = ["qrcode"] categories = ["command-line-utilities"] license = "Apache-2.0 OR MIT" repository = "https://github.com/sorairolake/qrtool" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "qrtool" path = "src/main.rs" [dependencies.anstyle] version = "1.0.9" optional = true default-features = false [dependencies.anstyle-lossy] version = "1.1.3" optional = true [dependencies.anstyle-yansi] version = "2.0.2" optional = true [dependencies.anyhow] version = "1.0.91" [dependencies.clap] version = "4.5.20" features = [ "derive", "wrap_help", ] [dependencies.clap_complete] version = "4.5.36" [dependencies.clap_complete_nushell] version = "4.5.4" [dependencies.csscolorparser] version = "0.7.0" [dependencies.image] version = "0.25.4" features = [ "png", "rayon", ] default-features = false [dependencies.is-svg] version = "0.1.2" optional = true [dependencies.oxipng] version = "9.1.2" features = [ "parallel", "zopfli", ] optional = true default-features = false [dependencies.qrcode] version = "0.14.1" [dependencies.resvg] version = "0.44.0" optional = true default-features = false [dependencies.rqrr] version = "0.8.0" [dependencies.sysexits] version = "0.8.2" [dependencies.xbm] version = "0.1.2" optional = true [dependencies.yansi] version = "1.0.1" optional = true default-features = false [dev-dependencies.assert_cmd] version = "2.0.16" [dev-dependencies.predicates] version = "3.1.2" [features] decode-from-bmp = ["image/bmp"] decode-from-dds = ["image/dds"] decode-from-exr = ["image/exr"] decode-from-ff = ["image/ff"] decode-from-gif = ["image/gif"] decode-from-hdr = ["image/hdr"] decode-from-ico = ["image/ico"] decode-from-jpeg = ["image/jpeg"] decode-from-pnm = ["image/pnm"] decode-from-qoi = ["image/qoi"] decode-from-svg = [ "dep:is-svg", "dep:resvg", ] decode-from-tga = ["image/tga"] decode-from-tiff = ["image/tiff"] decode-from-webp = ["image/webp"] decode-from-xbm = ["dep:xbm"] default = [ "decode-from-bmp", "decode-from-dds", "decode-from-ff", "decode-from-gif", "decode-from-hdr", "decode-from-ico", "decode-from-jpeg", "decode-from-exr", "decode-from-pnm", "decode-from-qoi", "decode-from-svg", "decode-from-tga", "decode-from-tiff", "decode-from-webp", "decode-from-xbm", "optimize-output-png", "output-as-ansi", ] optimize-output-png = ["dep:oxipng"] output-as-ansi = [ "dep:anstyle", "dep:anstyle-lossy", "dep:anstyle-yansi", "dep:yansi", ] [lints.clippy] multiple_crate_versions = "allow" [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_debug_implementations = "deny" unsafe_code = "forbid" [lints.rust.rust_2018_idioms] level = "warn" priority = -1