Question about the VSC workspace and the Rust extension

is the Rust extension only active when the source code file which is being run, is in a folder where the workspace is stored ?