Crate doe

source ·
Expand description

This crate provides various utility functions and modules for performing common tasks in Rust applications. It aims to simplify clipboard operations, file system manipulation, keyboard and mouse input simulation, timer management, and Excel file handling.

§Features

§ctf

cargo add doe -F ctf

allow you to perform various operations with ease, such as string manipulation, urlencode urldecode,hex encode decode,base43 encode decode, and error management.

§clip

cargo add doe -F clip

simplifies clipboard management, enabling you to effortlessly interact with the system clipboard.

§mouse

cargo add doe -F mouse

offers intuitive and easy-to-use functions for simulating mouse actions.

§keyboard

cargo add doe -F keyboard

offers simulating keyboard input action with easy-to-use functions.

§kcm

kcm is short feature for keyboard clipboard mouse together

cargo add doe -F kcm

§xlsx

read edit write xlsx file

cargo add doe -F xlsx

§docx

read edit docx file

cargo add doe -F docx

§date

get and read edit date string

cargo add doe -F date

§screenshot

screenshot and get hex from screenshot image

cargo add doe -F screenshot

§images

resize add paddings,convert image format

cargo add doe -F images

Re-exports§

Modules§

  • clipboard module provides functions and structs related to clipboard operations. It allows the user to copy and paste data between the application and the clipboard.
  • color module contains functions for converting grb format to hex and hex to grb format
  • const data
  • ctf module provides utility functions like permutations,hex_encode,hex_decode,base64_encode,base64_decode,php_urlencode,php_urldecode.
  • date module contains functions for get now,get_recent_seven_days,normal_date_to_excel_date,excel_date_to_normal_date
  • xlsx module contains functions for reading editing docx file
  • The file system (fs) module provides functions and structs for performing operations on the file system. It includes functions for reading, writing, creating, and deleting files and directories.
  • images module contains functions resize add paddings,convert image format
  • json module contains functions for reading, writing, and manipulating JSON files or content.
  • keyboard module contains functions and structs related to keyboard input. It allows the user to simulate keyboard input, capture keystrokes, and perform other keyboard-related operations.
  • macros module contains all utility macros for development
  • mouse module contains functions and structs related to mouse input. It allows the user to simulate mouse input, capture mouse movements and clicks, and perform other mouse-related operations.
  • get all process (name,pid) and kill process by name or pid
  • A Linear Congruential Generator (LCG) is a simple type of random number generator that produces a sequence of pseudo-random numbers based on a linear recurrence relation.
  • screenshot module contains functions for screenshot and get hex from screenshot image
  • structs module contains definitions of custom data structures like Bfn, Bts, waker_fn.
  • timer module provides functions and structs for creating and managing timers. It allows the user to schedule tasks to be executed at a specific time or interval.
  • traits module contains trait definitions that define shared behavior and functions
  • xlsx module contains functions and structs for reading, writing, and manipulating Excel files in the XLSX format.
  • zoml module contains functions for converting data between the ZOML format and CSV format.

Macros§

Functions§

Type Aliases§