summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-11-13 22:01:57 -0500
committerMason Reed <mason@vector35.com>2024-11-13 22:01:57 -0500
commit1fa0e3e0b6b18d0071e5aec73bf92498211aab62 (patch)
tree0eb992dd66a17898f1251eafddda3a161abe2f44 /plugins
parent621721f7ae361cbcaca51050ba023026a225e65a (diff)
WARP: Cleanup Cargo.toml
Diffstat (limited to 'plugins')
-rw-r--r--plugins/warp/Cargo.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/warp/Cargo.toml b/plugins/warp/Cargo.toml
index 38641072..64c04c50 100644
--- a/plugins/warp/Cargo.toml
+++ b/plugins/warp/Cargo.toml
@@ -8,7 +8,8 @@ crate-type = ["lib", "cdylib"]
[dependencies]
binaryninja = { path = "../../rust", features = ["rayon"] }
-binaryninjacore-sys = { path = "../../rust/binaryninjacore-sys" }
+# Used to link with for tests.
+binaryninjacore-sys = { path = "../../rust/binaryninjacore-sys", optional = true }
warp = { git = "https://github.com/Vector35/warp/", rev = "bae7379" }
log = "0.4"
arboard = "3.4"
@@ -20,10 +21,10 @@ env_logger = "0.11.5"
clap = { version = "4.5.16", features = ["derive"] }
ar = { git = "https://github.com/mdsteele/rust-ar" }
tempdir = "0.3.7"
-serde_json = "1.0.132"
+serde_json = "1.0"
[features]
-test = []
+test = ["dep:binaryninjacore-sys"]
[build-dependencies]
cc = "1.1.28"