Skip to content

chore: set root crate license to MIT#662

Merged
Boshen merged 1 commit into
mainfrom
chore/set-crate-license-mit
Jul 4, 2026
Merged

chore: set root crate license to MIT#662
Boshen merged 1 commit into
mainfrom
chore/set-crate-license-mit

Conversation

@Boshen

@Boshen Boshen commented Jul 4, 2026

Copy link
Copy Markdown
Member

The root oxc-node crate has no license field in Cargo.toml, so cargo deny (run by the Security Analysis workflow) now fails it as unlicensed:

warning[no-license-field]: license expression was not specified in manifest for crate 'oxc-node = 0.0.0'
error[unlicensed]: oxc-node = 0.0.0 is unlicensed
...
advisories ok, bans ok, licenses FAILED, sources ok

This started failing across branches today (the action installs cargo-deny fresh, and it now errors on the pre-existing missing field). Declaring the license fixes it repo-wide.

MIT matches the license already published for @oxc-node/core and @oxc-node/cli.

[package]
name = "oxc-node"
version = "0.0.0"
authors = ["LongYinan <github@lyn.one>"]
edition = "2024"
license = "MIT"
publish = false

Only Cargo.toml changes — Cargo.lock is unaffected. cargo metadata confirms the crate now resolves with "license":"MIT".

The oxc-node crate had no `license` field, so `cargo deny` (run by the Security Analysis workflow) fails it as unlicensed. Declare MIT, matching the license already published for @oxc-node/core and @oxc-node/cli.
@Boshen Boshen merged commit 8286cc9 into main Jul 4, 2026
52 checks passed
@Boshen Boshen deleted the chore/set-crate-license-mit branch July 4, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant