[package] name = "xhs-electronic-print" version = "0.1.2" authors = ["282758717@qq.com"] edition = "2021" license = "MIT OR Apache-2.0" description = "A cross-platform printing library for Windows and macOS" repository = "https://github.com/yourusername/xhs-electronic-print" homepage = "https://github.com/yourusername/xhs-electronic-print" readme = "README.md" keywords = ["printing", "windows", "macos", "lp", "cups"] categories = ["development-tools", "command-line-utilities"] # Specify dependencies [dependencies] tauri = { version = "1.8.0", features = ["updater", "window-data-url", "shell-all", "http-all", "window-all", "fs-all"] } log = "0.4" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" regex = "1.5" [features] default = [] windows = [] macos = [] [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3", features = ["winbase"] } [target.'cfg(target_os = "macos")'.dependencies] # Any macOS-specific dependencies, if required