48
submitted 6 days ago* (last edited 6 days ago) by some@programming.dev to c/opensource@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] some@programming.dev 1 points 5 days ago

built in licensing

how's it built in?

[-] irotsoma@lemmy.blahaj.zone 3 points 4 days ago

Rust crates manifest file requires a license be set to be hosted on crates.io and the example manifest file uses:

[package] 
license = "MIT OR Apache-2.0"

Something like the Java's jar manifest doesn't have a predefined license property for interpreters to parse. Maven has a property, but it's not required.

this post was submitted on 26 Mar 2025
48 points (92.9% liked)

Open Source

35359 readers
226 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS