-
Notifications
You must be signed in to change notification settings - Fork 47
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
Switch from dirs crate to cargo-team maintained home crate #78
Conversation
d2f7dc1
to
76f6a0f
Compare
76f6a0f
to
3d8662d
Compare
FWIW, I'm in favor of using the home crate instead of dirs because it's used in several other crates already. |
Apparently So for this use case we might need to either feature gate |
I'm fine with implementing the feature gate. Apologies, I was the one who brought dirs into which. I wasn't aware of this licensing issue. |
I've implemented my solution in #80. Thank you for bringing this issue to my attention! |
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 `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 `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
This change is motivated by a new dependency in
dirs-sys-rs
crate (see dirs-dev/dirs-sys-rs@e169da7) and subsequent issues (see dirs-dev/dirs-sys-rs#21, dirs-dev/dirs-sys-rs#23 and dirs-dev/dirs-rs#51) where author ofdirs
crate included new small crateoption-ext
which is licensed with MPL license. MPL can be problematic to users.This pull requests switches from
dirs
crate tohome
crate.home
crate is maintained by the cargo team and is licensed with "MIT OR Apache-2.0" licenses including the one dependency.