summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-13 13:26:44 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-02-13 13:59:09 -0500
commitb366ebd28bcb44492719b487f9dd34b6da56d23f (patch)
tree1d911a5aceb38db38a09bd90bc528f859647d432 /rust
parent5365728462076834832090072788972585260876 (diff)
Add licensing check for Rust code
If we add new rust dependencies we should now be alerted when a new license type is added.
Diffstat (limited to 'rust')
-rw-r--r--rust/Cargo.toml1
-rw-r--r--rust/binaryninjacore-sys/Cargo.toml1
2 files changed, 2 insertions, 0 deletions
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 <ryan@vector35.com>", "Kyle Martin <kyle@vector35.com>"]
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 <ryan@vector35.com>", "Kyle Martin <kyle@vector35.com>"]
build = "build.rs"
edition = "2021"
links = "binaryninjacore"
+license = "Apache-2.0"
[build-dependencies]
bindgen = "0.71.1"