Coder Social home page Coder Social logo

Comments (3)

k3d3 avatar k3d3 commented on May 27, 2024

Unfortunately it's not currently possible to only download specific crates. It would be pretty cool to have Panamax support this in the future, however doing so would be a pretty big feature, due to Panamax needing to implement two things:

  1. The ability to reach into an existing crate archive file's Cargo.toml to grab all of its dependencies recursively, and

  2. The ability to serve a crates.io-index repository that does not match with the upstream repository, in order to match up with only the crates on the mirror.

Between the large effort required to implement it, and the fact that it's not something I personally need, I don't believe I'll be getting around to implementing this functionality any time soon sadly.

At the same time though, this is an interesting feature and I'd be open to PRs for it.

from panamax.

ricked-twice avatar ricked-twice commented on May 27, 2024

@k3d3 As a first step, it could be good to download only crates passed as arguments by user and not their dependencies?
Because such a feature would put basic logic for this feature, but also to correct #64.

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

This should be solved with the new feature added in #71.

from panamax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.