From 875c12cf430a992e5adf0a16d746f66e5e73ae84 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 30 Mar 2023 05:10:11 +0200 Subject: [PATCH] chore: moved payload out, made it a usable lib --- Cargo.toml | 5 ++--- src/{tetanus => }/hooks.rs | 0 src/{tetanus => }/lib.rs | 0 src/{tetanus => }/locators.rs | 0 src/{tetanus => }/tricks.rs | 0 5 files changed, 2 insertions(+), 3 deletions(-) rename src/{tetanus => }/hooks.rs (100%) rename src/{tetanus => }/lib.rs (100%) rename src/{tetanus => }/locators.rs (100%) rename src/{tetanus => }/tricks.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 6f27507..dabd1f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,9 +4,8 @@ version = "0.1.0" edition = "2021" [lib] -name = "tetanus" -crate-type = ["cdylib"] -path = "src/tetanus/lib.rs" +name = "rustyneedle" +path = "src/lib.rs" [[bin]] name = "needle" diff --git a/src/tetanus/hooks.rs b/src/hooks.rs similarity index 100% rename from src/tetanus/hooks.rs rename to src/hooks.rs diff --git a/src/tetanus/lib.rs b/src/lib.rs similarity index 100% rename from src/tetanus/lib.rs rename to src/lib.rs diff --git a/src/tetanus/locators.rs b/src/locators.rs similarity index 100% rename from src/tetanus/locators.rs rename to src/locators.rs diff --git a/src/tetanus/tricks.rs b/src/tricks.rs similarity index 100% rename from src/tetanus/tricks.rs rename to src/tricks.rs