Comments (5)
Is that easily traversable? I seem to have at least three versions of the registry and (IME) updating it takes way more time than the current approach does.
from cargo-update.
The update to the local registry use git. So the time it takes depends on how old your local version is.
I just tested now and doing a cargo search
, which update the registry, took ~3s the first time and then ~1s. Doing cargo install-update -la
takes ~8s each time, and I think most of it is time spent doing network requests.
For the traversability, I don't know. Looking at the way cargo does it would be a good way to know.
Because I think cargo-update is mainly IO-bounds, another way to speed it up, would be making multiples request in parallel, using threads or async code.
from cargo-update.
Check out the feat/6-use-registry
branch for now, will flesh out tomorrow.
from cargo-update.
Very nice, m8
from cargo-update.
Released in v0.4.0
.
from cargo-update.
Related Issues (20)
- Failure when using source replacement HOT 3
- error: registry index was not found in any configuration: `rsproxy-sparse` HOT 5
- Keep the features HOT 3
- Fails behind corporate proxy (but plain cargo install works) HOT 10
- respect previously defined feature flags when updating HOT 6
- Installing from source causes `cargo install` PATH warning on Windows due to path canonicalization HOT 7
- Internal matching of custom registry and source for sparse indices fails HOT 1
- Auto configuration error HOT 6
- Build fails on macOS 14.4.1 HOT 1
- build fails on arch linux 6.8.7-arch1-1 HOT 1
- `install.root` is not properly followed HOT 2
- Is there a way to list only packages in need of update? HOT 1
- Add --rate-limit flag HOT 2
- Unable to list/update packages after installing package using cargo binstall --git HOT 5
- When called from topgrade `cargo-install-update` under WSL fails to find some file or directory. HOT 5
- Prompt user before performing updates HOT 1
- FR: An option to disable some of `cargo binstall`'s strategies HOT 1
- Update to newer prerelease HOT 2
- cargo install-update doesn't install updates. HOT 8
- unnecessary configurations written to ~/.cargo/.install_config.toml HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-update.