[package]
name = "doe"
version = "0.3.34"
edition = "2021"
authors = ["Andrew <dnrops@outlook.com>"]
description = "doe is a powerful Rust crate designed to enhance development workflow by providing an extensive collection of useful macros and utility functions. It not only simplifies common tasks but also offers convenient features for clipboard management,state management,keyboard input, and mouse interaction."
readme = "README.md"
keywords = ["useful", "macro", "keyboard", "mouse", "clipboard"]
categories = ["development-tools","simulation","date-and-time","accessibility","filesystem"]
license = "MIT"
documentation = "https://docs.rs/doe"
repository = "https://gitlab.com/andrew_ryan/doe"
homepage = "https://dnrops.gitee.io"

[dependencies]

[dependencies.xml-rs]
optional = true
version = "0.8.19"


[dependencies.zip]
optional = true
version = "0.6.6"


[dependencies.lazy_static]
optional = true
version = "1.4.0"

[dependencies.unicode-segmentation]
optional = true
version = "1.10.1"

[dependencies.hex]
optional = true
version = "0.4.3"

[dependencies.rand]
optional = true
version = "0.8.5"

[dependencies.base64]
optional = true
version = "0.21.2"

[dependencies.serde_json]
optional = true
version = "1.0.107"

[dependencies.percent-encoding]
optional = true
version = "2.1.0"

[dependencies.clipboard]
optional = true
version = "0.5.0"

[dependencies.mouse-rs]
optional = true
version = "0.4.2"

[dependencies.xdotool]
optional = true
version = "0.0.2"

[dependencies.umya-spreadsheet]
optional = true
version = "1.0.2"

[dependencies.crossterm]
optional = true
version = "0.27.0"

[dependencies.directories]
optional = true
version = "5.0.1"

[target.'cfg(target_os = "windows")'.dependencies.clipboard-win]
optional = true
version = "5.0.0"

[target.'cfg(target_os = "windows")'.dependencies.winapi]
optional = true
version ="0.3.9"
features = ["winuser","impl-default","libloaderapi", "processthreadsapi","handleapi","psapi","tlhelp32","winbase"]

[dependencies.reqwest]
optional = true
version = "0.11.22"
features = ["blocking"]

[dependencies.regex]
optional = true
version = "1.10.2"

[dependencies.chrono]
optional = true
version = "0.4.31"

[dependencies.screenshots]
optional = true
version = "0.8.6"

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

[dependencies.ico]
optional = true
version = "0.3"

[dependencies.icns]
optional = true
version = "0.3.1"

[dependencies.scraper]
optional = true
version = "0.17.1"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
optional = true
version ="0.9.3"

[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
optional = true
version = "0.23.1"

[target.'cfg(target_os = "macos")'.dependencies.x11-clipboard ]
optional = true
version = "0.8.1"

[target.'cfg(target_os = "macos")'.dependencies.cocoa ]
optional = true
version = "0.24.0"

[target.'cfg(target_os = "macos")'.dependencies.objc ]
optional = true
version = "0.2.7"

[target.'cfg(target_os = "linux")'.dependencies.libc]
optional = true
version = "0.2.98"

[package.metadata.docs.rs]
all-features = true
features = ["process", "ctf", "clip","xlsx","docx","date","mouse","keyboard","kcm","screenshot","images"]

[features]
process=["winapi"]
ctf=["hex","base64","percent-encoding","unicode-segmentation","reqwest","serde_json","rand","regex","scraper"]
clip=["clipboard","x11-clipboard","cocoa","objc","clipboard-win"]
xlsx=["umya-spreadsheet"]
docx=["zip","xml-rs"]
date=["chrono","regex"]
mouse=["mouse-rs","keyboard","libc"]
keyboard=["core-graphics","core-foundation","xdotool","winapi","libc","crossterm"]
kcm=["keyboard","clip","mouse"] # kcm is short for keyboard clipboard mouse
screenshot=["screenshots","image"]
images=["image","ico","icns"]


