mirror of
https://github.com/PatchRequest/BusyWork
synced 2026-06-09 16:04:04 +00:00
Add crates.io metadata, license, and installation docs
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
name = "busywork"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Sleep replacement that executes real, varied work to break behavioral pattern matching"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/PatchRequest/BusyWork"
|
||||
readme = "README.md"
|
||||
keywords = ["sleep", "evasion", "pattern-breaking", "winapi", "busywork"]
|
||||
categories = ["os::windows-apis"]
|
||||
|
||||
[dependencies]
|
||||
rand = "0.8"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 PatchRequest
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -12,6 +12,22 @@ BusyWork fills those gaps with **genuine, varied activity** — real syscalls, r
|
||||
|
||||
**Zero time objects** in the library binary. No `Duration`, no `Instant`, no `SystemTime`. Nothing for static analysis to latch onto as a timing mechanism.
|
||||
|
||||
## Installation
|
||||
|
||||
Add to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
busywork = "0.1"
|
||||
```
|
||||
|
||||
Or with only specific categories (faster compile, smaller binary):
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
busywork = { version = "0.1", default-features = false, features = ["cat-compute", "cat-memory", "cat-winapi"] }
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```rust
|
||||
|
||||
Reference in New Issue
Block a user