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

添加image默认依赖为可选features #170

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

cn-kali-team
Copy link
Contributor

添加image默认依赖为可选features,默认只开启png格式的编译后可以减少大概6M的体积,如果想开启全部可以使用default-image特性

@cn-kali-team
Copy link
Contributor Author

还有就是win7最低支持编译版本为1.77,如果使用全部特性会出现下面的情况

error: package `bitstream-io v2.6.0` cannot be built because it requires rustc 1.79 or newer, while the currently active rustc version is 1.77.2
Either upgrade to rustc 1.79 or newer, or use
cargo update [email protected] --precise ver
where `ver` is the latest version of `bitstream-io` supporting rustc 1.77.2

@nashaofu nashaofu merged commit 574f9f8 into nashaofu:master Dec 14, 2024
@cn-kali-team
Copy link
Contributor Author

介意再将添加wayland为特性吗?
当时改了没提交,wayland桌面环境比较少见,编译时需要依赖dbus-sys,我把它设置为可选的了。
cn-kali-team#3

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