From 234c1133c5de6056f1c3c7dc512aeaae563b1849 Mon Sep 17 00:00:00 2001
From: Matthew Ryan Dillon <matthew@akdillon.net>
Date: Sat, 5 Apr 2025 06:32:44 -0400
Subject: [PATCH] clarify license situation via unlicense

---
 Cargo.lock |  2 +-
 Cargo.toml |  1 +
 UNLICENSE  | 24 ++++++++++++++++++++++++
 package.sh |  4 ++--
 4 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 UNLICENSE

diff --git a/Cargo.lock b/Cargo.lock
index dda6459..b5bc63e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,6 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
-version = 3
+version = 4
 
 [[package]]
 name = "ab_glyph"
diff --git a/Cargo.toml b/Cargo.toml
index 4075bae..ed5138d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,6 +2,7 @@
 name = "dsort"
 version = "0.2.1"
 edition = "2021"
+license = "unlicense"
 
 [dependencies]
 bevy = "0.14"
diff --git a/UNLICENSE b/UNLICENSE
new file mode 100644
index 0000000..c32dd18
--- /dev/null
+++ b/UNLICENSE
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <https://unlicense.org/>
\ No newline at end of file
diff --git a/package.sh b/package.sh
index 629a271..932e2c5 100755
--- a/package.sh
+++ b/package.sh
@@ -35,7 +35,7 @@ if [ -f "$WINDOWS_BIN_PATH" ]; then
     WINDOWS_PACKAGE="$OUTPUT_DIR/${PROJECT_NAME}_${VERSION}_windows_x86_64"
     mkdir -p "$WINDOWS_PACKAGE"
     cp "$WINDOWS_BIN_PATH" "$WINDOWS_PACKAGE/"
-    cp README.md LICENSE* "$WINDOWS_PACKAGE/" 2>/dev/null || true
+    cp README.md UNLICENSE* "$WINDOWS_PACKAGE/" 2>/dev/null || true
 
     echo "Creating Windows zip archive..."
     (cd "$OUTPUT_DIR" && zip -r "${PROJECT_NAME}_${VERSION}_windows_x86_64.zip" "$(basename "$WINDOWS_PACKAGE")")
@@ -56,7 +56,7 @@ if [ -f "$MACOS_BIN_PATH" ]; then
     MACOS_PACKAGE="$OUTPUT_DIR/${PROJECT_NAME}_${VERSION}_macos_arm64"
     mkdir -p "$MACOS_PACKAGE"
     cp "$MACOS_BIN_PATH" "$MACOS_PACKAGE/"
-    cp README.md LICENSE* "$MACOS_PACKAGE/" 2>/dev/null || true
+    cp README.md UNLICENSE* "$MACOS_PACKAGE/" 2>/dev/null || true
 
     echo "Creating macOS zip archive..."
     (cd "$OUTPUT_DIR" && zip -r "${PROJECT_NAME}_${VERSION}_macos_arm64.zip" "$(basename "$MACOS_PACKAGE")")