'How to build all subdirectories?

I want cargo build to build every package in a subdirectory of the current directory and likewise with cargo check.

What should be in Cargo.toml in the current directory?

(The current directory itself does not contain any software, only its subdirectories with interdependent applications and libraries.)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source