From 26506794db85fc9de4e27e27528db2b21cc8dff8 Mon Sep 17 00:00:00 2001 From: Paul Hummer Date: Sun, 7 Sep 2025 21:48:39 -0600 Subject: [PATCH] chore: update the MIT license copyright Additionally, update `Cargo.toml` to not include a non-existent file, the apache license (because this isn't Apache licensed). --- .github/workflows/pr.yml | 2 +- Cargo.toml | 12 +++--------- LICENSE-MIT | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 73bc53c..f2ed149 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -42,7 +42,7 @@ jobs: with: command: check format: - name: Perform various checks + name: Check code formatting runs-on: ubuntu-latest env: RUSTFLAGS: "-D warnings" diff --git a/Cargo.toml b/Cargo.toml index 9802158..5ec5e5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,20 +9,14 @@ repository = "https://github.com/rockstar/pidlock" keywords = ["pidfile", "file", "filelock", "server", "lock"] categories = ["filesystem"] readme = "README.md" -include = [ - "src/*.rs", - "Cargo.toml", - "README.md", - "LICENSE-MIT", - "LICENSE-APACHE", -] +include = ["src/*.rs", "Cargo.toml", "README.md", "LICENSE-MIT"] [features] default = [] [dependencies] -libc = "0.2.40" -log = { version = "0.4.1", optional = true } +libc = "0.2" +log = { version = "0.4", optional = true } thiserror = "1.0" [target.'cfg(windows)'.dependencies] diff --git a/LICENSE-MIT b/LICENSE-MIT index 39d4bdb..5bdb1c3 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,4 +1,4 @@ -Copyright (c) 2014 The Rust Project Developers +Copyright (c) 2025 Paul Hummer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated