From bf7695511442546f46966570dda4c850cf7dd88a Mon Sep 17 00:00:00 2001 From: archipelago Date: Fri, 7 Aug 2026 18:07:59 -0400 Subject: [PATCH] chore(license): declare MIT on the crates (open-source Phase 4a A4) The repo ships an MIT LICENSE and the README carries an MIT badge, but the crates themselves declared no license, so `cargo metadata`, packaging and any downstream mirror saw "license: null". Adds [workspace.package] license = "MIT" and inherits it in all five members via license.workspace = true. Verified with cargo metadata: all five now report MIT. Co-Authored-By: Claude Opus 5 (1M context) --- core/Cargo.toml | 6 ++++++ core/archipelago/Cargo.toml | 1 + core/container/Cargo.toml | 1 + core/openwrt/Cargo.toml | 1 + core/performance/Cargo.toml | 1 + core/security/Cargo.toml | 1 + 6 files changed, 11 insertions(+) diff --git a/core/Cargo.toml b/core/Cargo.toml index 24823e5c..ac21664a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -9,6 +9,12 @@ members = [ "security", ] +# Shared package metadata, inherited by each member via `license.workspace = true`. +# The repo ships an MIT LICENSE and the README advertises MIT; this makes the +# crates themselves declare it so `cargo metadata`, packaging and mirrors agree. +[workspace.package] +license = "MIT" + # Profiles at workspace root (members' [profile] are ignored in virtual workspaces) [profile.release] opt-level = 3 diff --git a/core/archipelago/Cargo.toml b/core/archipelago/Cargo.toml index dacf0d3d..e65b76d8 100644 --- a/core/archipelago/Cargo.toml +++ b/core/archipelago/Cargo.toml @@ -2,6 +2,7 @@ name = "archipelago" version = "1.7.126-alpha" edition = "2021" +license.workspace = true description = "Archipelago Bitcoin Node OS - Native backend" authors = ["Archipelago Team"] diff --git a/core/container/Cargo.toml b/core/container/Cargo.toml index 3100d40f..119b55fe 100644 --- a/core/container/Cargo.toml +++ b/core/container/Cargo.toml @@ -2,6 +2,7 @@ name = "archipelago-container" version = "0.1.0" edition = "2021" +license.workspace = true [dependencies] serde = { version = "1.0", features = ["derive"] } diff --git a/core/openwrt/Cargo.toml b/core/openwrt/Cargo.toml index ca6d868f..1b3cdb75 100644 --- a/core/openwrt/Cargo.toml +++ b/core/openwrt/Cargo.toml @@ -2,6 +2,7 @@ name = "archipelago-openwrt" version = "0.1.0" edition = "2021" +license.workspace = true description = "OpenWrt gateway integration for Archipelago — TollGate provisioning over SSH/UCI" [lib] diff --git a/core/performance/Cargo.toml b/core/performance/Cargo.toml index 41ee83be..b61a4ed1 100644 --- a/core/performance/Cargo.toml +++ b/core/performance/Cargo.toml @@ -2,6 +2,7 @@ name = "archipelago-performance" version = "0.1.0" edition = "2021" +license.workspace = true [dependencies] tokio = { version = "1", features = ["full"] } diff --git a/core/security/Cargo.toml b/core/security/Cargo.toml index 45892623..e070c30b 100644 --- a/core/security/Cargo.toml +++ b/core/security/Cargo.toml @@ -2,6 +2,7 @@ name = "archipelago-security" version = "0.1.0" edition = "2021" +license.workspace = true [dependencies] tokio = { version = "1", features = ["full"] }