From 1038f7c035d7816a828cb3750d1aa6c7da542c1e Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Thu, 20 Feb 2025 10:22:17 +0100 Subject: [PATCH] Rust: add licensing information to crates and extractor pack --- LICENSE | 2 +- rust/BUILD.bazel | 1 + rust/ast-generator/Cargo.toml | 1 + rust/extractor/Cargo.toml | 1 + rust/extractor/macros/Cargo.toml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index e29b05cd648..d7e60ca2fa3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2006-2020 GitHub, Inc. +Copyright (c) 2006-2025 GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/rust/BUILD.bazel b/rust/BUILD.bazel index e746731fd5c..f70f87a9b63 100644 --- a/rust/BUILD.bazel +++ b/rust/BUILD.bazel @@ -46,6 +46,7 @@ codeql_pkg_files( "codeql-extractor.yml", "ql/lib/rust.dbscheme", "ql/lib/rust.dbscheme.stats", + "//:LICENSE", ], ) diff --git a/rust/ast-generator/Cargo.toml b/rust/ast-generator/Cargo.toml index 6bfe10064b9..6a2db2b0da8 100644 --- a/rust/ast-generator/Cargo.toml +++ b/rust/ast-generator/Cargo.toml @@ -2,6 +2,7 @@ name = "ast-generator" version = "0.1.0" edition = "2021" +license = "MIT" # When updating these dependencies, run `rust/update_cargo_deps.sh` [dependencies] diff --git a/rust/extractor/Cargo.toml b/rust/extractor/Cargo.toml index 62f7038c5e7..dc58faa1ce2 100644 --- a/rust/extractor/Cargo.toml +++ b/rust/extractor/Cargo.toml @@ -2,6 +2,7 @@ name = "codeql-rust" version = "0.1.0" edition = "2021" +license = "MIT" # When updating these dependencies, run `rust/update_cargo_deps.sh` [dependencies] diff --git a/rust/extractor/macros/Cargo.toml b/rust/extractor/macros/Cargo.toml index 4175dc7b403..24c5ff5171f 100644 --- a/rust/extractor/macros/Cargo.toml +++ b/rust/extractor/macros/Cargo.toml @@ -2,6 +2,7 @@ name = "rust-extractor-macros" version = "0.1.0" edition = "2021" +license = "MIT" [lib] proc-macro = true