-
Notifications
You must be signed in to change notification settings - Fork 373
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
Prune dependencies from rerun
and re_sdk
#4824
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emilk
added
dependencies
concerning crates, pip packages etc
include in changelog
labels
Jan 16, 2024
emilk
force-pushed
the
emilk/prune-deps
branch
from
January 16, 2024 10:35
7c8f72f
to
7bf4ade
Compare
emilk
force-pushed
the
emilk/prune-deps
branch
from
January 16, 2024 10:52
7bf4ade
to
ba7098f
Compare
emilk
changed the title
Prune dependencies from re_sdk
Prune dependencies from Jan 16, 2024
rerun
and re_sdk
Wumpf
approved these changes
Jan 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reducing dependencies by more optionality is not what I expected but a nice win!
5 tasks
Wumpf
added a commit
that referenced
this pull request
Apr 22, 2024
### What Rust users now no longer need to ensure to have tokio runtime set up when using `serve`. * Fixes #5907 * Direct follow-up / merges into #6042 Last PR in a series of PRs for removal of the tokio runtime: * removes need for tokio in re_sdk_comms *similar to the refactor in re_ws_comms only in spirit - a lot simpler: no fancy broadcast, no other libraries involved. Just a bunch of threads hammering on blocking sockets). * remove remaining usages of async in this context * removes tokio need from all documentation ----- Dependency count `0.15.1` -> last friday `d90ed2f7e`-> `this pr` * `cargo build -p rerun --no-default-features` 225 -> 274 -> 275 dependencies * `cargo build -p rerun -F default` 361 -> 364 -> 364 dependencies * `cargo build -p rerun -F web_viewer` 409 -> 412 -> 374 dependencies Notes: * 0.15.1 already regressed quite a bit compared back to January: #4824 * we currently have a few temporary crates while migrating to re_query2 which weren't present in 0.15 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6043?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6043?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/6043) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
rerun
has a new opt-in featurerun
re_log
has a new opt-in featuresetup
re_log_encoding
has a new opt-in featurestream_from_http
Result
cargo build -p re_sdk -F default
269 -> 218 dependenciescargo build -p rerun --no-default-features
364 -> 226 dependenciescargo build -p rerun -F sdk
370 -> 286 dependenciescargo build -p rerun -F default
383 -> 339 dependenciesYes, this is still a lot.
Checklist
main
build: app.rerun.ionightly
build: app.rerun.io