2023-03-25 13:26:58 +01:00
|
|
|
[package]
|
|
|
|
name = "rustyneedle"
|
2023-03-30 05:43:30 +02:00
|
|
|
version = "0.2.0"
|
2023-03-25 13:26:58 +01:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[lib]
|
2023-03-30 05:10:11 +02:00
|
|
|
name = "rustyneedle"
|
|
|
|
path = "src/lib.rs"
|
2023-03-25 13:26:58 +01:00
|
|
|
|
|
|
|
[[bin]]
|
2023-03-26 21:03:32 +02:00
|
|
|
name = "needle"
|
2023-03-27 02:44:35 +02:00
|
|
|
path = "src/needle/main.rs"
|
2023-03-30 05:41:44 +02:00
|
|
|
required-features = ["bin"]
|
2023-03-25 13:26:58 +01:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-03-28 19:11:36 +02:00
|
|
|
elf = "0.7.2"
|
2023-03-30 05:41:44 +02:00
|
|
|
retour = "0.1" # plain detour doesn't work on latest nightly? idk
|
2023-03-28 19:11:36 +02:00
|
|
|
proc-maps = "0.3.0"
|
2023-03-30 01:38:21 +02:00
|
|
|
libloading = "0.7.4"
|
2023-03-30 04:48:12 +02:00
|
|
|
tracing = "0.1.37"
|
|
|
|
tracing-subscriber = "0.3.16"
|
2023-03-30 05:41:44 +02:00
|
|
|
nix = { version = "0.26.2", optional = true }
|
|
|
|
clap = { version = "4.1.13", features = ["derive"], optional = true }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
rc = ["dep:nix"]
|
|
|
|
bin = ["rc", "dep:clap"]
|