From ced2a7ae18889e24ec0d86a27d2bf145192113d0 Mon Sep 17 00:00:00 2001 From: PatchRequest <47796889+PatchRequest@users.noreply.github.com> Date: Thu, 4 Jun 2026 12:58:54 +0200 Subject: [PATCH] Add crates.io metadata, license, and installation docs --- Cargo.toml | 6 ++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 16 ++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index eba206f..c3ff116 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4d5ac36 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md index 7f044a0..6da6f44 100644 --- a/README.md +++ b/README.md @@ -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