From b366ebd28bcb44492719b487f9dd34b6da56d23f Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 13 Feb 2025 13:26:44 -0500 Subject: Add licensing check for Rust code If we add new rust dependencies we should now be alerted when a new license type is added. --- rust/Cargo.toml | 1 + rust/binaryninjacore-sys/Cargo.toml | 1 + 2 files changed, 2 insertions(+) (limited to 'rust') diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 29170b6d..361b2057 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" authors = ["Ryan Snyder ", "Kyle Martin "] edition = "2021" rust-version = "1.83.0" +license = "Apache-2.0" [features] # This is used when statically linking to prevent exporting CorePluginABIVersion and UiPluginABIVersion. diff --git a/rust/binaryninjacore-sys/Cargo.toml b/rust/binaryninjacore-sys/Cargo.toml index 3c72600a..bfd49a41 100644 --- a/rust/binaryninjacore-sys/Cargo.toml +++ b/rust/binaryninjacore-sys/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Ryan Snyder ", "Kyle Martin "] build = "build.rs" edition = "2021" links = "binaryninjacore" +license = "Apache-2.0" [build-dependencies] bindgen = "0.71.1" -- cgit v1.3.1