pox/Cargo.toml

33 lines
949 B
TOML
Raw Normal View History

2023-03-25 13:26:58 +01:00
[package]
2023-03-31 12:35:25 +02:00
name = "pox"
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-31 12:35:25 +02:00
name = "pox"
path = "src/lib.rs"
2023-03-25 13:26:58 +01:00
[[bin]]
2023-03-31 12:35:25 +02:00
name = "vector"
path = "src/vector/main.rs"
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]
tracing = "0.1.37"
libloading = { version = "0.7.4", optional = true }
elf = { version = "0.7.2", optional = true }
retour = { version = "0.1", optional = true } # plain detour doesn't work on latest nightly? idk
proc-maps = { version = "0.3.0", optional = true }
nix = { version = "0.26.2", optional = true }
tracing-subscriber = { version = "0.3.16", optional = true }
clap = { version = "4.1.13", features = ["derive"], optional = true }
[features]
2023-04-03 03:37:28 +02:00
default = ["locator"]
locator = ["dep:elf", "dep:proc-maps", "dep:retour", "dep:libloading"]
monitor = ["dep:tracing-subscriber"]
rc = ["dep:nix"]
bin = ["locator", "rc", "monitor", "dep:clap"]