# 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 = "winprint" version = "0.2.0" authors = ["ArcticLampyrid "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A crate for printing to a Windows printer device using Windows API" documentation = "https://docs.rs/winprint" readme = "README.md" keywords = [ "printer", "printing", "xps", "pdf", ] categories = [ "api-bindings", "os::windows-apis", ] license = "BSD-3-Clause" repository = "https://github.com/ArcticLampyrid/winprint.rs/" [package.metadata.docs.rs] all-features = true targets = ["x86_64-pc-windows-msvc"] [lib] name = "winprint" path = "src/lib.rs" [[example]] name = "extract_print_capabilities" path = "examples/extract_print_capabilities.rs" [dependencies.bs58] version = "0.5" optional = true [dependencies.fmt-derive] version = "0.1" [dependencies.scopeguard] version = "1.2" [dependencies.sha2] version = "0.10" optional = true [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.thiserror] version = "1.0" [dependencies.windows] version = "0.58" features = [ "implement", "Data_Pdf", "Storage", "Storage_Streams", "Win32_Foundation", "Win32_Globalization", "Win32_Graphics_Direct2D", "Win32_Graphics_Direct2D_Common", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D11", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Gdi", "Win32_Graphics_Imaging", "Win32_Graphics_Imaging_D2D", "Win32_Graphics_Printing", "Win32_Graphics_Printing_PrintTicket", "Win32_Security", "Win32_Storage_Xps_Printing", "Win32_System_Com", "Win32_System_Ole", "Win32_System_Threading", "Win32_System_Variant", "Win32_System_WinRT_Pdf", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", ] [dependencies.windows-core] version = "0.58" [dependencies.xml] version = "0.8" [dev-dependencies.ctor] version = "0.2" [dev-dependencies.env_logger] version = "0.11" [build-dependencies.flate2] version = "1.0" [build-dependencies.reqwest] version = "0.12" features = ["blocking"] [build-dependencies.tar] version = "0.4" [features] default = ["pdfium"] pdfium = [] test-utils = [ "dep:sha2", "dep:bs58", ]