Offer MIT alongside Apache-2.0 - #984
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 -- --checkcargo clippy --workspace --all-targets -- -D warningscargo 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 --listincludes both license texts for all 20 packagesactionlint .github/workflows/release.yml