From 1fa0e3e0b6b18d0071e5aec73bf92498211aab62 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 13 Nov 2024 22:01:57 -0500 Subject: WARP: Cleanup Cargo.toml --- plugins/warp/Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins') 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" -- cgit v1.3.1