From 7763742236199e267b366c8e5346a325aa161376 Mon Sep 17 00:00:00 2001 From: Celeste Date: Sun, 20 Mar 2022 10:05:58 +0000 Subject: [PATCH] MPL license --- Cargo.toml | 4 ++-- README | 8 ++++++++ README.html | 7 +++++++ README.md | 7 +++++++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8c39549..94a160b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "packeteer" description = "An attempt at a Rust library that can be used to assist in programmatically analysing, serving and handling received protocol packets." -version = "0.3.0" +version = "0.3.1" edition = "2021" authors = ["Celeste "] -license = "LGPL-3.0-or-later" +license = "MPL-2.0" homepage = "https://git.colean.cc/packeteer/about/" repository = "https://git.colean.cc/packeteer/" readme = "README.md" diff --git a/README b/README index f8df2ed..d451be9 100644 --- a/README +++ b/README @@ -14,3 +14,11 @@ What Packeteer is not * a server * a protocol client * the only way to do this, probably + +A note on licensing +----------------------- +This library changed from the LGPLv3 to MPLv2 as a result of LGPL's requirements for freedom of source on static linking which rustc does. + +I've chosen to use the MPL as it is a weaker but still copyleft license that allows you to statically link. + +The MPL applies retroactively to all previous versions of this library and will be used for all future versions. diff --git a/README.html b/README.html index 0e7ac0e..46b1a53 100644 --- a/README.html +++ b/README.html @@ -15,3 +15,10 @@
  • a protocol client
  • the only way to do this, probably
  • + +

    A note on licensing

    +

    This library changed from the LGPLv3 to MPLv2 as a result of LGPL's requirements for freedom of source on static linking which rustc does.

    + +

    I've chosen to use the MPL as it is a weaker but still copyleft license that allows you to statically link.

    + +

    The MPL applies retroactively to all previous versions of this library and will be used for all future versions.

    diff --git a/README.md b/README.md index 7111402..a6f1dcf 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,10 @@ Packeteer is a library that can handle structurally organising protocol packets * a server * a protocol client * the only way to do this, probably + +## A note on licensing +This library changed from the LGPLv3 to MPLv2 as a result of LGPL's requirements for freedom of source on static linking which rustc does. + +I've chosen to use the MPL as it is a weaker but still copyleft license that allows you to statically link. + +The MPL applies retroactively to all previous versions of this library and will be used for all future versions.