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"] }