A quick cargo and git to add license headers.

This was a quickly written tool to add the SPDX license header to
all the *.rs files. It just checks if the license is at the top.
If it isn't it stamps the file. If it is it ignores it.
This commit is contained in:
2025-06-24 22:07:32 -04:00
parent b5ca0497bb
commit 612782a33d
9 changed files with 393 additions and 82 deletions

View File

@ -1,13 +1,22 @@
[package]
name = "magistamp"
version = "0.0.0"
version = "0.1.0"
edition = "2021"
description = "🪄 Magistamp: A Rust tool to magically seal your source files with SPDX license headers."
description = "A Rust tool to magically seal your source files with SPDX license headers."
repository = "/CyberMages/magistamp"
authors = ["CyberMages LLC <Software@CyberMagesLLC.com>", "Jason Travis Smith <Myrddin@CyberMages.tech>"]
readme = "README.md"
license-file = "LICENSE.md"
license = "Apache-2.0"
[[bin]]
name = "magistamp"
path = "src/magistamp.rs"
[[bin]]
name = "cargo-magistamp"
path = "src/cargo_magistamp.rs"
[dependencies]