Skip to content

chore: relicense to MPL-2.0 - #9

Merged
Kinflou merged 1 commit into
mainfrom
chore/relicense-mpl2
Sep 1, 2026
Merged

chore: relicense to MPL-2.0#9
Kinflou merged 1 commit into
mainfrom
chore/relicense-mpl2

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 1, 2026

Copy link
Copy Markdown
Member

Project-wide relicensing (see docs/design/licensing.md). comline-runtime is the one piece meant to ship inside your program — generated protocol code links it — so it takes MPL-2.0 rather than the toolchain's GPL-3.0-only.

Weak, file-level copyleft: modifications to this crate's own files must stay open when distributed; linking it into proprietary software is explicitly fine (MPL §3.3). That's what keeps commercial use of Comline unaffected.

  • LICENSE = MPL 2.0.
  • license = "MPL-2.0" on comline-runtime + the runtime-langs / runtime-std-extra member crates.
  • src/lib.rs: MPL Exhibit A header; removed a stale commented-out Parity OR Prosperity license line.
  • README.md: written.

Builds green (default + --no-default-features). Sole copyright holder.

comline-runtime is linked into user applications (generated protocol code
depends on it), so unlike the GPL toolchain it takes weak, file-level
copyleft: modifications to its own files stay open when distributed,
proprietary apps may link it freely (MPL §3.3).

- LICENSE: Mozilla Public License 2.0.
- license = "MPL-2.0" on comline-runtime and the runtime-langs / extra-std
  member crates.
- src/lib.rs: MPL Exhibit A header; drop the stale commented
  `# license = "Parity OR Prosperity"`.
- README: written, with the License section.

See docs/design/licensing.md for the project-wide split.
@Kinflou
Kinflou merged commit e8dabd8 into main Sep 1, 2026
6 checks passed
@Kinflou
Kinflou deleted the chore/relicense-mpl2 branch September 2, 2026 07:21
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