Skip to content

Offer MIT alongside Apache-2.0 - #984

Merged
onatozmenn merged 1 commit into
mainfrom
dual-license-mit-apache
Aug 14, 2026
Merged

Offer MIT alongside Apache-2.0#984
onatozmenn merged 1 commit into
mainfrom
dual-license-mit-apache

Conversation

@onatozmenn

Copy link
Copy Markdown
Collaborator

What this changes

Deed is Apache-2.0 only today. This lets recipients choose MIT or Apache-2.0 and ships both texts in every Cargo package and binary release archive.

Closes #983.

Why this way

Dual licensing opens MIT-only consumers without dropping Apache-2.0's explicit patent grant. The workspace keeps one SPDX expression, every crate inherits it, and a packaging test holds Cargo, VS Code, release archives, documentation and inbound contribution terms together.

What it still does not do

This does not change Deed's language, runtime or compatibility policy. Existing Apache-2.0 users do not need to change anything.

Checks

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo nextest run --workspace --profile ci --no-fail-fast (2523 passed, 4 skipped)
  • cargo test --doc --workspace (11 passed)
  • cargo test -p deed-driver --test publishing (5 passed)
  • cargo test -p deed-driver --test documentation (31 passed, 1 ignored)
  • cargo package --list includes both license texts for all 20 packages
  • actionlint .github/workflows/release.yml
  • Compiler examples, not applicable because compiler behavior is unchanged
  • Design document, not applicable because language behavior is unchanged

Let recipients choose MIT without dropping the existing Apache patent grant.
Ship both license texts in crate packages and binary archives, and keep Cargo,
VS Code, documentation, and inbound contribution terms aligned with a packaging
ratchet.

Closes #983

Co-authored-by: GitHub Copilot <copilot@github.com>
@onatozmenn
onatozmenn merged commit e644bf1 into main Aug 14, 2026
11 checks passed
@onatozmenn
onatozmenn deleted the dual-license-mit-apache branch August 14, 2026 22:43
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.

Offer MIT as a second license

1 participant