https://rust-analyzer.github.io/book/editor_features.html#setting-runnable-environment-variables allows a user to specify extra environment variables. However, this only works for static environment variables. If some environment variables are user or host specific this approach won't work.
Similar to docker compose which supports both environment variables and env files, it would be great if rust analyzer could also support env files and load all variables defined inside this file(s).