maciejhirsz / kobold

Easy declarative web interfaces.
https://docs.rs/kobold/
Mozilla Public License 2.0
385 stars 7 forks source link

License seems a bit scary #32

Closed ranaya-formant closed 1 year ago

ranaya-formant commented 1 year ago

Maybe add an explanation at the bottom of your README that explains how using an LGPL library in rust affects your code you build?

mbaulch commented 1 year ago

I am not a lawyer, though my understanding is that the implications of the LGPL mean that any crate published under such a license makes it impractical to use in most commercial contexts.

A somewhat detailed discussion about this issue can be found here: https://github.com/rpm-software-management/librpm.rs/issues/21

maciejhirsz commented 1 year ago

It's likely I'll change the license next release. I quite like LGPL in spirit, except for the emphasis on dynamic linking to keep the library separate, which is impractical in Rust.

It is important to me that any forks or changes to Kobold itself remain open source, which something like MIT doesn't necessarily protect, but I also don't want to force everything built with Kobold to be open source. IANAL either, happy to get suggestions.

mbaulch commented 1 year ago

I think that all sounds very reasonable.

In the link I posted above, one commenter made a convincing case for the MPLv2. I may have overlooked something, though on first reading it appears this license meets your requirements.

Anyway, thanks for all the hard work you've put into this crate! :)

maciejhirsz commented 1 year ago

Yeah, I went and consulted ChatGPT (I can't believe I'm saying this), and MPL hits the mark!

maciejhirsz commented 1 year ago

Closing now that change to MPL has been merged.