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

Remove gui-only deps when building cli #321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benjamin051000
Copy link
Contributor

It looks like these are only GUI dependencies. I still need to test that it compiles, but these give unused warnings when compiling with the gui disabled.

Copy link
Contributor Author

@benjamin051000 benjamin051000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know what you think. This removes unused warnings during cargo build --no-default-features.

src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
@benjamin051000 benjamin051000 marked this pull request as draft January 22, 2025 12:25
@benjamin051000 benjamin051000 force-pushed the remove-more-gui-deps branch 5 times, most recently from 0cd2b70 to 1d391cc Compare January 26, 2025 02:55
It looks like these are only GUI dependencies. I still need to test that
it compiles, but these give unused warnings when compiling with the gui
disabled.
@benjamin051000
Copy link
Contributor Author

Right now main has 490 dependencies, this branch reduces it to 241 😎 My machine compiles it in 25s

@benjamin051000 benjamin051000 marked this pull request as ready for review January 26, 2025 03:10
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.

1 participant