From 2645bfb40764e35bbbe22565234dbef5b34e2f30 Mon Sep 17 00:00:00 2001 From: frontboat <156139764+frontboat@users.noreply.github.com> Date: Sun, 1 Mar 2026 13:19:57 -0700 Subject: [PATCH 1/2] chore: standardize MIT license declarations - Add top-level LICENSE file - Update copyright to "2025-2026 Daydreams AI" - Add license field to all Cargo.toml files Co-Authored-By: Claude Opus 4.6 --- Cargo.toml | 1 + LICENSE | 21 +++++++++++++++++++++ crates/saw-cli/Cargo.toml | 1 + crates/saw-daemon/Cargo.toml | 1 + packages/saw/LICENSE | 2 +- 5 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index 2e7aa63..d42fb0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,4 @@ [workspace] members = ["crates/saw-cli", "crates/saw-daemon"] resolver = "2" +license = "MIT" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7afb67d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025-2026 Daydreams AI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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 OR COPYRIGHT HOLDERS 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. diff --git a/crates/saw-cli/Cargo.toml b/crates/saw-cli/Cargo.toml index bc577e6..243f118 100644 --- a/crates/saw-cli/Cargo.toml +++ b/crates/saw-cli/Cargo.toml @@ -2,6 +2,7 @@ name = "saw" version = "0.1.0" edition = "2021" +license = "MIT" [dependencies] bs58 = "0.5" diff --git a/crates/saw-daemon/Cargo.toml b/crates/saw-daemon/Cargo.toml index 6a2b4cf..3e9fa66 100644 --- a/crates/saw-daemon/Cargo.toml +++ b/crates/saw-daemon/Cargo.toml @@ -2,6 +2,7 @@ name = "saw-daemon" version = "0.1.0" edition = "2021" +license = "MIT" [dependencies] base64 = "0.22" diff --git a/packages/saw/LICENSE b/packages/saw/LICENSE index 7377757..7afb67d 100644 --- a/packages/saw/LICENSE +++ b/packages/saw/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Daydreams AI +Copyright (c) 2025-2026 Daydreams AI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 6e5d229ccaf7d42dcbc99c926023116c7887f3ae Mon Sep 17 00:00:00 2001 From: frontboat <156139764+frontboat@users.noreply.github.com> Date: Sun, 1 Mar 2026 13:27:00 -0700 Subject: [PATCH 2/2] fix: use workspace.package for license inheritance in Cargo.toml - Move license from [workspace] (ignored by Cargo) to [workspace.package] - Use license.workspace = true in each crate's [package] Co-Authored-By: Claude Opus 4.6 --- Cargo.toml | 2 ++ crates/saw-cli/Cargo.toml | 2 +- crates/saw-daemon/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d42fb0d..40df4a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,6 @@ [workspace] members = ["crates/saw-cli", "crates/saw-daemon"] resolver = "2" + +[workspace.package] license = "MIT" diff --git a/crates/saw-cli/Cargo.toml b/crates/saw-cli/Cargo.toml index 243f118..98623ff 100644 --- a/crates/saw-cli/Cargo.toml +++ b/crates/saw-cli/Cargo.toml @@ -2,7 +2,7 @@ name = "saw" version = "0.1.0" edition = "2021" -license = "MIT" +license.workspace = true [dependencies] bs58 = "0.5" diff --git a/crates/saw-daemon/Cargo.toml b/crates/saw-daemon/Cargo.toml index 3e9fa66..ac5c840 100644 --- a/crates/saw-daemon/Cargo.toml +++ b/crates/saw-daemon/Cargo.toml @@ -2,7 +2,7 @@ name = "saw-daemon" version = "0.1.0" edition = "2021" -license = "MIT" +license.workspace = true [dependencies] base64 = "0.22"