caretly 0.1.0

Client for the Caretly API: render ZPL labels to PDF or PNG.
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"
rust-version = "1.85"
name = "caretly"
version = "0.1.0"
authors = ["Jaap Elst <jaapelst@gmail.com>"]
build = false
include = [
    "src/**/*",
    "examples/**/*",
    "tests/**/*",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for the Caretly API: render ZPL labels to PDF or PNG."
homepage = "https://caretly.dev"
documentation = "https://docs.rs/caretly"
readme = "README.md"
keywords = [
    "zpl",
    "zebra",
    "label",
    "pdf",
    "api-client",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
    "rendering",
]
license = "MIT"
repository = "https://github.com/jaapieaapie1/zpl"
resolver = "3"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
async = ["dep:tokio"]
blocking = ["reqwest/blocking"]
default = [
    "async",
    "rustls-tls",
]
gzip = ["dep:flate2"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls"]

[lib]
name = "caretly"
path = "src/lib.rs"

[[example]]
name = "blocking"
path = "examples/blocking.rs"
required-features = ["blocking"]

[[example]]
name = "render_files"
path = "examples/render_files.rs"
required-features = ["async"]

[[example]]
name = "render_pdf"
path = "examples/render_pdf.rs"
required-features = ["async"]

[[test]]
name = "async_client"
path = "tests/async_client.rs"

[[test]]
name = "blocking_client"
path = "tests/blocking_client.rs"

[dependencies.bytes]
version = "1.6"

[dependencies.flate2]
version = "1.0.30"
optional = true

[dependencies.reqwest]
version = "0.13"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.38"
features = ["time"]
optional = true
default-features = false

[dependencies.uuid]
version = "1.8"
features = ["v4"]

[dev-dependencies.flate2]
version = "1.0.30"

[dev-dependencies.tokio]
version = "1.38"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]