# 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 = "escpos" version = "0.13.1" authors = ["Fabien Bellanger "] build = 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 [lib] name = "escpos" path = "src/lib.rs" [[example]] name = "codes" path = "examples/codes.rs" [[example]] name = "debug" path = "examples/debug.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 = "receipt" path = "examples/receipt.rs" [[example]] name = "serial_port" path = "examples/serial_port.rs" [[example]] name = "status" path = "examples/status.rs" [[example]] name = "usb" path = "examples/usb.rs" [dependencies.encoding_rs] version = "0.8.34" [dependencies.futures-lite] version = "2.3.0" optional = true [dependencies.hidapi] version = "2.6.3" optional = true [dependencies.image] version = "0.25.2" optional = true [dependencies.log] version = "0.4.22" [dependencies.nusb] version = "0.1.10" optional = true [dependencies.rusb] version = "0.9.4" optional = true [dependencies.serialport] version = "4.5.1" optional = true [dev-dependencies.env_logger] version = "0.11.5" [features] barcodes = [] codes_2d = [] default = [ "barcodes", "codes_2d", ] full = [ "barcodes", "codes_2d", "graphics", "usb", "native_usb", "hidapi", "serial_port", ] graphics = ["dep:image"] hidapi = ["dep:hidapi"] native_usb = [ "dep:nusb", "dep:futures-lite", ] serial_port = ["dep:serialport"] usb = ["dep:rusb"]