qr-code-styling 0.1.1

Styled QR code generation with customizable dots, corners, gradients, and logo embedding
Documentation
# 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 = "qr-code-styling"
version = "0.1.1"
authors = ["Nazir Dogan <nazrdogan@gmail.com>"]
build = false
exclude = [
    "*.svg",
    "*.pdf",
    "*.png",
    "*.jpg",
    "*.webp",
    "!examples/logo.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Styled QR code generation with customizable dots, corners, gradients, and logo embedding"
homepage = "https://github.com/nazrdogan/qr-code-styling-rs"
documentation = "https://docs.rs/qr-code-styling"
readme = "README.md"
keywords = [
    "qr",
    "qrcode",
    "svg",
    "styling",
]
categories = [
    "encoding",
    "graphics",
]
license = "MIT"
repository = "https://github.com/nazrdogan/qr-code-styling-rs"

[features]
default = [
    "png",
    "jpeg",
    "webp",
]
jpeg = []
png = []
serde = [
    "dep:serde",
    "dep:serde_json",
]
webp = []

[lib]
name = "qr_code_styling"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "bulk_pdf"
path = "examples/bulk_pdf.rs"

[[example]]
name = "generate_samples"
path = "examples/generate_samples.rs"

[[example]]
name = "with_border"
path = "examples/with_border.rs"

[[example]]
name = "with_logo"
path = "examples/with_logo.rs"

[dependencies.base64]
version = "0.22"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "webp",
]
default-features = false

[dependencies.lopdf]
version = "0.34"

[dependencies.qrcode]
version = "0.14"

[dependencies.resvg]
version = "0.44"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.svg2pdf]
version = "0.12"

[dependencies.thiserror]
version = "2.0"

[dependencies.tiny-skia]
version = "0.11"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.rayon]
version = "1.10"

[profile.release]
opt-level = 3
lto = true