Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re license project to MIT / APACHE #309

Merged
merged 2 commits into from
Feb 11, 2022
Merged

Conversation

Sh3Rm4n
Copy link
Member

@Sh3Rm4n Sh3Rm4n commented Feb 8, 2022

Disclaimer: IANAL

This crate using 0BSD before was violating licenses of the other
dependencies, which use MIT or APACHE for the most part.

These licenses are stricter than 0BSD, so this project was not
allowed to use these dependencies before IIUC.

To solve this issue, re-license the project to be under MIT / APACHE.

This should be possible without problem, as with 0BSD it is not needed
to ask previous contributors about the license change and is compatible
with MIT / APACHE.

@adamgreig
Copy link
Member

I'm also not a lawyer and of course you're welcome to relicence to MIT/Apache, but I don't think you need to - it's not a problem to use MIT/Apache licensed dependencies in a 0BSD licensed crate, so long as any eventual distribution follows the terms of those other licences. That's what it means for them to be compatible licences. Plus, stm32f3xx-hal doesn't even distribute code from those other projects, it just requires the user provide it at build-time -- really the obligation is on anyone distributing a composition of this library and its dependencies (like, an application binary) to ensure all the licences are obeyed, which basically just means including the relevant copyright headers.

@Sh3Rm4n
Copy link
Member Author

Sh3Rm4n commented Feb 8, 2022

it's not a problem to use MIT/Apache licensed dependencies in a 0BSD licensed crate, so long as any eventual distribution follows the terms of those other licences.

Thanks for this information. Yeah, that makes sense, I haven't even considered that. And good to know that it is not a license violation to use 0BSD for this crate while using MIT / APACHE for its dependencies.

Anyway, another motivation of mine is the following: I've thought for a long while to match the licensing to the rest of the ecosystem (all of which are MIT), so even when someone uses this crate it has to follow the terms of condition of the dependencies anyway (which are the MIT / Apache conditions). So 0BSD isn't even that useful to use for this particular crate it seems to me.

@Sh3Rm4n Sh3Rm4n force-pushed the license branch 4 times, most recently from c7ae8c7 to 6b4d2e5 Compare February 10, 2022 07:54
This is to be more in line with the rest of the ecosystem.
`0BSD` is not particularly useful for this crate, as
dependencies are already MIT or APACHE, so users of this crate
have to follow these conditions anyway.
@Sh3Rm4n Sh3Rm4n merged commit 31f34d2 into stm32-rs:master Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants