How can one use a workspace from within a git repo?

I want to test the latest version of actix-cors from the repo actix-extras which contains whole bunch of other things along with actix-cors.
Is there a way to express that I only want to use a certain workspace from that in my cargo.toml file ?

Just give Cargo the location of the repo, and it will automatically find the package that you specify:

actix-cors = { git = "" }

Oh that actually makes a lot of sense thanks a lot

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.