# 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.59" name = "fast_qr" version = "0.12.7" authors = ["erwan.vivien "] include = [ "src", "Cargo.toml", "./README.md", "./LICENSE", "benches", ] description = "Generates optimized QRCode" homepage = "https://fast-qr.com/" documentation = "https://docs.rs/fast_qr/latest/fast_qr/" readme = "README.md" keywords = [ "qr", "qrcode", "qr-generator", "qrcode-generator", "qr-gen", ] categories = [ "multimedia", "multimedia::encoding", "multimedia::images", ] license = "MIT" repository = "https://github.com/erwanvivien/fast_qr/" [package.metadata.docs.rs] features = [ "image", "svg", ] rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.wasm-pack.profile.release] wasm-opt = ["-Oz"] [profile.release] opt-level = "s" lto = true codegen-units = 1 debug = 0 panic = "abort" strip = "debuginfo" [lib] crate-type = [ "cdylib", "rlib", ] [[example]] name = "custom" path = "examples/custom.rs" required-features = ["image"] [[example]] name = "embed" path = "examples/embed.rs" required-features = ["image"] [[example]] name = "image" path = "examples/image.rs" required-features = ["image"] [[example]] name = "svg" path = "examples/svg.rs" required-features = ["svg"] [[bench]] name = "qr" harness = false [dependencies.resvg] version = "0.28.0" optional = true [dev-dependencies.base64] version = "0.21.3" [dev-dependencies.qrcode] version = "0.12.0" [features] image = [ "svg", "dep:resvg", ] svg = [] wasm-bindgen = ["dep:wasm-bindgen"] [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] version = "0.4" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2" optional = true [target."cfg(target_arch = \"wasm32\")".dev-dependencies.criterion] version = "0.4" features = [ "cargo_bench_support", "plotters", ] default-features = false