escpos 0.17.1

ESC/POS printer driver
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 = "2024"
rust-version = "1.85"
name = "escpos"
version = "0.17.1"
authors = ["Fabien Bellanger <valentil@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ESC/POS printer driver"
homepage = "https://github.com/fabienbellanger/escpos-rs"
documentation = "https://docs.rs/escpos"
readme = "README.md"
keywords = [
    "esc",
    "printer",
    "driver",
    "pos",
    "usb",
]
license = "MIT"
repository = "https://github.com/fabienbellanger/escpos-rs"

[package.metadata.docs.rs]
all-features = true

[features]
barcodes = []
codes_2d = []
default = [
    "barcodes",
    "codes_2d",
]
full = [
    "barcodes",
    "codes_2d",
    "graphics",
    "usb",
    "native_usb",
    "hidapi",
    "serial_port",
    "ui",
]
graphics = ["dep:image"]
hidapi = ["dep:hidapi"]
native_usb = ["dep:nusb"]
serial_port = ["dep:serialport"]
ui = []
usb = ["dep:rusb"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.hidapi]
version = "2.6.6"
optional = true

[dependencies.image]
version = "0.25.9"
optional = true

[dependencies.log]
version = "0.4.29"

[dependencies.nusb]
version = "0.2.3"
optional = true

[dependencies.rusb]
version = "0.9.4"
optional = true

[dependencies.serialport]
version = "4.9.0"
optional = true

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.reqwest]
version = "0.12.28"
features = ["blocking"]