I often see Rust mentioned at the same time as MIT-type licenses.
Is it just a cultural thing that people who write Rust dislike Libre copyleft licenses? Or is it baked in to the language somehow?
Edit: It has been pointed out that I meant to say “copyleft”, not “libre”, so edited the title and body likewise.
It’s kind of the default in the docs
https://doc.rust-lang.org/cargo/reference/manifest.html?highlight=License#the-license-and-license-file-fields
[package] # ... license = "MIT OR Apache-2.0"
When I started out (I don’t write Rust but other languages), in my first years, I liked gpl and after a couple of years I got to know MIT and I started using that because I thought it is “more free”. I wasn’t aware of the consequences immediately. Once I read the GNU philosophy and started reading more about free software, I started using gplv3 again
soo you are saying people are tricked into it?
Well, the thing is, if you’re developing a library, you usually do so, because you want it to be useful to people in the ecosystem.
By putting it under the GPL, you limit that usefulness to only those projects which are willing to also put themselves under the GPL. From an idealist point of view, I certainly also would like to say that people not willing to put their software under GPL don’t need to be my users. But from a library author point of view, I might as well not write a library then, since no one’s going to use it then.
Many open-source projects are under a permissive license themselves. I might disagree with their choice, but I don’t really want to exclude those from using my library. They’re still doing good things. I would love to exclude specifically any proprietary software from using my library, but that’s not really something you can require in your license without excluding all those permissive open-source projects.
So, to answer your question, I actually don’t think people are being tricked into it. I thought about choosing GPL for my libraries for a while (all my applications are under GPL) and decided against it. Which is a personal choice that others can disagree with, but all I’m saying is, I know what I’m doing, I wasn’t tricked to use a permissive license.
You could say that, yes.
It makes sense to suggest MIT license for a MIT project
MIT is better than proprietary. MIT does not force you to not make your project free.
Given the double negative and the ambiguity of “free,” I don’t know what you’re trying to say here.
You are allowed to license your code change under gpl, you do not have to use MIT just because the package author uses MIT. You can use GPL.
You can also use MIT or no license at all. it does not force you to use MIT
Why is it an MIT project in the first place?
I am no dev of rust.
My guess: