From 498b74a5aea53288b12244a2a9f93a1eea1656f2 Mon Sep 17 00:00:00 2001 From: kingchenc Date: Mon, 1 Jun 2026 15:27:39 +0200 Subject: [PATCH] chore(license): point package metadata at the modified license file The LICENSE now carries an Additional Permissions section on top of PolyForm Noncommercial 1.0.0, so the bare SPDX id no longer describes it exactly. Update the package manifests to reference the actual file instead of claiming the unmodified standard: - Cargo (workspace + all crates): license -> license-file = "LICENSE" - npm (main + 6 platform packages): LicenseRef-Wickra-Noncommercial-1.0.0 - PyPI: license text notes the additional personal-account permissions --- Cargo.toml | 2 +- bindings/node/Cargo.toml | 2 +- bindings/node/npm/darwin-arm64/package.json | 2 +- bindings/node/npm/darwin-x64/package.json | 2 +- bindings/node/npm/linux-arm64-gnu/package.json | 2 +- bindings/node/npm/linux-x64-gnu/package.json | 2 +- bindings/node/npm/win32-arm64-msvc/package.json | 2 +- bindings/node/npm/win32-x64-msvc/package.json | 2 +- bindings/node/package.json | 2 +- bindings/python/Cargo.toml | 2 +- bindings/python/pyproject.toml | 2 +- bindings/wasm/Cargo.toml | 2 +- crates/wickra-core/Cargo.toml | 2 +- crates/wickra-data/Cargo.toml | 2 +- crates/wickra/Cargo.toml | 2 +- examples/rust/Cargo.toml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8adfbc57..92f4a21a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ version = "0.4.1" authors = ["kingchenc "] edition = "2021" rust-version = "1.86" -license = "PolyForm-Noncommercial-1.0.0" +license-file = "LICENSE" repository = "https://github.com/wickra-lib/wickra" homepage = "https://github.com/wickra-lib/wickra" readme = "README.md" diff --git a/bindings/node/Cargo.toml b/bindings/node/Cargo.toml index 85db5c29..c6f1b452 100644 --- a/bindings/node/Cargo.toml +++ b/bindings/node/Cargo.toml @@ -9,7 +9,7 @@ edition.workspace = true # also emits `cargo::` directives that require >= 1.77 — that older floor is # subsumed by the 1.88 requirement now. rust-version = "1.88" -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true diff --git a/bindings/node/npm/darwin-arm64/package.json b/bindings/node/npm/darwin-arm64/package.json index 696566d9..e3fae42d 100644 --- a/bindings/node/npm/darwin-arm64/package.json +++ b/bindings/node/npm/darwin-arm64/package.json @@ -6,7 +6,7 @@ "files": [ "wickra.darwin-arm64.node" ], - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "engines": { "node": ">= 18" }, diff --git a/bindings/node/npm/darwin-x64/package.json b/bindings/node/npm/darwin-x64/package.json index d64d39cc..6ae30396 100644 --- a/bindings/node/npm/darwin-x64/package.json +++ b/bindings/node/npm/darwin-x64/package.json @@ -6,7 +6,7 @@ "files": [ "wickra.darwin-x64.node" ], - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "engines": { "node": ">= 18" }, diff --git a/bindings/node/npm/linux-arm64-gnu/package.json b/bindings/node/npm/linux-arm64-gnu/package.json index 3cca46f7..55420e80 100644 --- a/bindings/node/npm/linux-arm64-gnu/package.json +++ b/bindings/node/npm/linux-arm64-gnu/package.json @@ -6,7 +6,7 @@ "files": [ "wickra.linux-arm64-gnu.node" ], - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "engines": { "node": ">= 18" }, diff --git a/bindings/node/npm/linux-x64-gnu/package.json b/bindings/node/npm/linux-x64-gnu/package.json index f0a99c79..8b92256a 100644 --- a/bindings/node/npm/linux-x64-gnu/package.json +++ b/bindings/node/npm/linux-x64-gnu/package.json @@ -6,7 +6,7 @@ "files": [ "wickra.linux-x64-gnu.node" ], - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "engines": { "node": ">= 18" }, diff --git a/bindings/node/npm/win32-arm64-msvc/package.json b/bindings/node/npm/win32-arm64-msvc/package.json index bcd167f9..1499f4c2 100644 --- a/bindings/node/npm/win32-arm64-msvc/package.json +++ b/bindings/node/npm/win32-arm64-msvc/package.json @@ -6,7 +6,7 @@ "files": [ "wickra.win32-arm64-msvc.node" ], - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "engines": { "node": ">= 18" }, diff --git a/bindings/node/npm/win32-x64-msvc/package.json b/bindings/node/npm/win32-x64-msvc/package.json index 1b450d41..43f222b6 100644 --- a/bindings/node/npm/win32-x64-msvc/package.json +++ b/bindings/node/npm/win32-x64-msvc/package.json @@ -6,7 +6,7 @@ "files": [ "wickra.win32-x64-msvc.node" ], - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "engines": { "node": ">= 18" }, diff --git a/bindings/node/package.json b/bindings/node/package.json index a202632e..cdcc41f3 100644 --- a/bindings/node/package.json +++ b/bindings/node/package.json @@ -5,7 +5,7 @@ "author": "kingchenc ", "main": "index.js", "types": "index.d.ts", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "LicenseRef-Wickra-Noncommercial-1.0.0", "keywords": [ "trading", "indicators", diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 6ed98f2d..8f5861f1 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -5,7 +5,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 34b1865b..2fae132b 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -7,7 +7,7 @@ name = "wickra" version = "0.4.1" description = "Streaming-first technical indicators: incremental, fast, install-free." readme = "README.md" -license = { text = "PolyForm-Noncommercial-1.0.0" } +license = { text = "PolyForm-Noncommercial-1.0.0 with additional personal-account permissions; see LICENSE" } authors = [{ name = "kingchenc", email = "support@wickra.org" }] requires-python = ">=3.9" keywords = ["finance", "trading", "indicators", "technical-analysis", "ta-lib"] diff --git a/bindings/wasm/Cargo.toml b/bindings/wasm/Cargo.toml index 121c299d..14ffaf7c 100644 --- a/bindings/wasm/Cargo.toml +++ b/bindings/wasm/Cargo.toml @@ -5,7 +5,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true diff --git a/crates/wickra-core/Cargo.toml b/crates/wickra-core/Cargo.toml index c4703870..b260bef5 100644 --- a/crates/wickra-core/Cargo.toml +++ b/crates/wickra-core/Cargo.toml @@ -5,7 +5,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true diff --git a/crates/wickra-data/Cargo.toml b/crates/wickra-data/Cargo.toml index b7ef7125..cfee2c40 100644 --- a/crates/wickra-data/Cargo.toml +++ b/crates/wickra-data/Cargo.toml @@ -5,7 +5,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true diff --git a/crates/wickra/Cargo.toml b/crates/wickra/Cargo.toml index bc6b4465..4dc2b82f 100644 --- a/crates/wickra/Cargo.toml +++ b/crates/wickra/Cargo.toml @@ -5,7 +5,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml index f1f2b626..aa3ff9da 100644 --- a/examples/rust/Cargo.toml +++ b/examples/rust/Cargo.toml @@ -6,7 +6,7 @@ description = "Runnable Rust examples for the Wickra technical-analysis library. authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true homepage.workspace = true readme = "README.md"