How do I work on an extern crate within my main crate?

Hi, I'm new here and to Rust. Sorry if this is the wrong place to ask... I tried searching the web and this forum first.

How can I work on a "sub project" within my main project - so that I can use extern crate my_awesome_library; from the main project.

Ideally, the my_awesome_library is automatically compiled if modified, whenever I run cargo run in my main project.

Hmm... perhaps the workspaces feature is what you're looking for?

1 Like

Thanks! That worked :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.