Skip to content

Commit cd49169

Browse files
hyperpolymathclaude
andcommitted
fix(rescript-openapi): use license-file for crates.io compatibility
crates.io rejects packages with non-SPDX license identifiers. PMPL-1.0-or-later is not yet in the SPDX registry, so switch from `license = "PMPL-1.0-or-later"` to `license-file = "LICENSE"` which points to the full PMPL license text. This is the standard workaround for custom/pending-registration licenses on crates.io. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1aa2e68 commit cd49169

File tree

1 file changed

+1
-1
lines changed
  • rescript-ecosystem/packages/bindings/openapi

1 file changed

+1
-1
lines changed

rescript-ecosystem/packages/bindings/openapi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
authors = ["Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>"]
99
description = "Generate type-safe ReScript clients from OpenAPI specifications"
1010
readme = "README.adoc"
11-
license = "PMPL-1.0-or-later"
11+
license-file = "LICENSE"
1212
repository = "https://github.com/hyperpolymath/rescript-openapi"
1313
keywords = ["rescript", "openapi", "codegen", "api", "client"]
1414
categories = ["development-tools", "web-programming"]

0 commit comments

Comments
 (0)