-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup implants lib and refactor dependencies (#215)
- Loading branch information
Showing
68 changed files
with
158 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Overview | ||
|
||
Code shared by multiple implants can be defined in the `lib` folder. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[package] | ||
name = "eldritch" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
allocative = { workspace = true } | ||
allocative_derive = { workspace = true } | ||
anyhow = { workspace = true } | ||
async-recursion = { workspace = true } | ||
derive_more = { workspace = true } | ||
eval = { workspace = true } | ||
flate2 = { workspace = true } | ||
gazebo = { workspace = true } | ||
nix = { workspace = true } | ||
regex = { workspace = true } | ||
reqwest = { workspace = true , features = ["blocking", "stream"] } | ||
rust-embed = { workspace = true } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = { workspace = true } | ||
sha256 = { workspace = true } | ||
starlark = { workspace = true } | ||
sysinfo = { workspace = true } | ||
tar = { workspace = true } | ||
tempfile = { workspace = true } | ||
tera = { workspace = true } | ||
tokio = { workspace = true , features = ["macros", "rt-multi-thread"] } | ||
tokio-stream = { workspace = true } | ||
windows-sys = { workspace = true, features = [ | ||
"Win32_Foundation", | ||
"Win32_System_LibraryLoader", | ||
"Win32_System_Threading", | ||
"Win32_System_Memory", | ||
"Win32_System_Diagnostics_Debug", | ||
"Win32_Security", | ||
]} | ||
|
||
[dev-dependencies] | ||
httptest = { workspace = true } |
4 changes: 2 additions & 2 deletions
4
implants/eldritch/README.md → implants/lib/eldritch/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Build | ||
``` | ||
cd ./implants/eldritch/ | ||
cd ./implants/lib/eldritch/ | ||
cargo build | ||
``` | ||
# Test | ||
``` | ||
cd ./implants/eldritch/ | ||
cd ./implants/lib/eldritch/ | ||
cargo test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[package] | ||
name = "tavern" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = ["http"] | ||
http = ["dep:reqwest"] | ||
|
||
[dependencies] | ||
anyhow = { workspace = true } | ||
async-trait = { workspace = true } | ||
chrono = { workspace = true, features = ["serde"] } | ||
graphql_client = { workspace = true } | ||
reqwest = { workspace = true, optional = true, features = ["blocking", "stream", "json"] } | ||
serde = { workspace = true, features = ["derive"] } | ||
serde_json = { workspace = true } | ||
tokio = { workspace = true, features = ["full"] } | ||
|
||
[dev-dependencies] | ||
httptest = { workspace = true } | ||
tokio-test = { workspace = true } |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters