-
Notifications
You must be signed in to change notification settings - Fork 89
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
rust-embed is tainted with MPL-2 via option-ext #231
Comments
neoeinstein
changed the title
rust-embed is poisoned with MPL-2 via option-ext
rust-embed is tainted with MPL-2 via option-ext
Jan 8, 2024
Thanks. Hopefully |
the-kenny
added a commit
to the-kenny/pgrx
that referenced
this issue
Jan 24, 2024
The 'dirs' crate recently started depending on the 'options-ext' crate which uses copyleft license (MPL). This (unnecessary) dependency causes licensing issues for various users by possibly poisoning the dependency tree of their projects[1]. This change replaces the 'dirs' crate with 'home'. The 'home' crate is maintained by the cargo team and offers the same functionality. As a bonus, this change also results in a slightly smaller dependency tree. [1]: - artichoke/artichoke#2564 - pyrossh/rust-embed#231 - juhaku/utoipa#834 - harryfei/which-rs#78
the-kenny
added a commit
to the-kenny/pgrx
that referenced
this issue
Jan 24, 2024
The `dirs` crate recently started depending on the `options-ext` crate which uses copyleft license (MPL). This (unnecessary) dependency causes licensing issues for various users by possibly poisoning the dependency tree of their projects[1]. This change replaces the `dirs` crate with `home`. The `home` crate is maintained by the cargo team and offers the same functionality. As a bonus, this change also results in a slightly smaller dependency tree. [1]: - artichoke/artichoke#2564 - pyrossh/rust-embed#231 - juhaku/utoipa#834 - harryfei/which-rs#78
the-kenny
added a commit
to the-kenny/pgrx
that referenced
this issue
Apr 20, 2024
The `dirs` crate recently started depending on the `options-ext` crate which uses copyleft license (MPL). This (unnecessary) dependency causes licensing issues for various users by possibly poisoning the dependency tree of their projects[1]. This change replaces the `dirs` crate with `home`. The `home` crate is maintained by the cargo team and offers the same functionality. As a bonus, this change also results in a slightly smaller dependency tree. [1]: - artichoke/artichoke#2564 - pyrossh/rust-embed#231 - juhaku/utoipa#834 - harryfei/which-rs#78
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I wanted to raise a note that this crate currently has a transitive dependency on
option-ext
. That library is MPL-2, a copyleft license. Theoption-ext
dependency is brought in viashellexpand
's dependency ondirs
. The maintainer ofdirs
has explicitly stated that they added a dependency onoption-ext
for the express purpose of tainting the use ofdirs
with MPL-2, which thus taints any use ofrust-embed
. I have filed a ticket with shellexpand to recommend using an alternate dependency such asetcetera
, which does not suffer from this tainting issue.The text was updated successfully, but these errors were encountered: