Code Monkey home page Code Monkey logo

Comments (2)

dannymcgee avatar dannymcgee commented on July 17, 2024 1

Specifying the deps by path in Cargo.toml is the canonical way to do it as far as I know, but it does leave something to be desired in terms of workflow. In my own project that's published to crates.io, what I've been doing is changing them to relative paths while I'm working, and then changing them back and incrementing the versions when I need to publish. It's pretty tedious. :)

I'll put it on my to-do list to add a "publishable" flag and try to come up with a way to automate this, but I'm honestly not super proficient with Rust devops, so I would love some suggestions if anyone has any ideas to share!

Edit to add: Currently the only thing the root-level Cargo.toml does is declare the workspace and its members (kind of like Nx's workspace.json). I'm aware of some projects with pretty sophisticated workspace layouts (e.g. Bevy Engine) with presumably automated build/publish pipelines, so that would probably be a good place to start investigating.

from cargo.

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.