Comments (1)
Oooh, fair point! I didn't consider this case, for sure.
Implementing the very basic fix / feature for this will very probably require additional parsing of the $CARGO_HOME/.crates.toml
file done in order to save the in-parenthesis source. An enumeration should represent this well. The part before the +
will probably be the variants and after an associated URL. Checking all the possible source values in some documentation or source of Cargo should still be done in order to ensure nothing was forgotten, however.
Then, from a feature point of view, at the very least the change should be reflected by adding a mention of the filtering in the command's documentation comments so end users may see it from the usage messages. Beyond that, you can either let it be something always done in a hard-coded fashion, or additionally implement a new CLI option in order to force keeping the local-only installs in the resulting table. In the second case however, the default would still be to filter them out. I usually do this when implementing such a breaking change so end users may choose for themselves while still ending up with a sensible default.
from cargo-liner.
Related Issues (14)
- Consider using Cargo's testing framework to implement offline validation tests HOT 1
- Optionally continue with installation even if some package fails HOT 1
- Add an ending report
- Use a table presentation library to better display the version check results HOT 2
- use cargo binstall if possible HOT 4
- ignore pre releases by default HOT 1
- Allow to pass options to `cargo install` HOT 5
- Add a subcommand for shell auto-completion script generation
- `ship` command fails with a custom CARGO_INSTALL_ROOT HOT 7
- `ship --skip-check` should not read `.crates.toml` HOT 2
- No regex capture while parsing search output for ... HOT 8
- Package names can inject options into calls to Cargo commands HOT 1
- The version check does not respect requirements HOT 3
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-liner.