cross-posted from: https://programming.dev/post/30924455

A few people pointed out that many [R]ust projects were MIT licensed and since then I indeed have seen MIT licensed projects everywhere in Rust. Then I found the link of this post and it looks like MIT was by far the most popular license in all of opensource in 2023.

Any ideas why?

  • idunnololz@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    21 days ago

    From what i understand if you wrote it you can just license the public version via GPL and license the private version that you wrote for your job what ever you want since you own it.

    This assumes you wrote the project without company tools and on your free time.

    • bpev@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 days ago

      You can always use your own code however you want. However, if your project starts to get contributions from other people, that’s where it can start to become more muddy.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 days ago

      The company you work for will likely not like that. Needs a special case license to be drawn up would probably need to involve lawyers and cost far more then is worth the hassle. Vastly easier just to give it a MIT license.