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

Reduce dependencies for library consumers #67

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

fructose-outburst
Copy link
Contributor

Hello!

Cargo has the built-in feature to put examples in a dedicated folder. These executables have access to the additional [dev-dependencies], which can therefore be removed from the lib's dependencies. In particular, moving tokio with the "full" feature enabled to [dev-dependencies] reduces the weight of the crate for consumers by quite a lot.

I haven't changed the version of any dependency.

Cargo has the built-in feature to put examples in a dedicated folder. These
executables have access to the additional [dev-dependencies]. Moving tokio
with the full feature enabled there reduces the weight of the crate for
consumers by quite a lot.

No dependency version has been changed.
@lmlmt lmlmt self-requested a review December 12, 2024 17:49
@lmlmt lmlmt merged commit b0ce626 into hyperliquid-dex:master Dec 21, 2024
1 check passed
lmlmt added a commit that referenced this pull request Dec 21, 2024
lmlmt added a commit that referenced this pull request Dec 21, 2024
@lmlmt
Copy link
Contributor

lmlmt commented Dec 21, 2024

Reverted in #73 as it broke the build (https://github.com/hyperliquid-dex/hyperliquid-rust-sdk/actions/runs/12447623886/job/34751307349). Feel free to re-open once fixed

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