Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About cargo workspace root for the rust code #62

Open
hanzooo opened this issue Aug 22, 2023 · 0 comments
Open

About cargo workspace root for the rust code #62

hanzooo opened this issue Aug 22, 2023 · 0 comments

Comments

@hanzooo
Copy link

hanzooo commented Aug 22, 2023

For the entire project, I found that rust_analyzer can't provide language services for the rust source code, because Cargo.toml is not configured in the root directory (it is ok to open the rust project in the corresponding subdirectory, for example, a workspace is configured in cayley package, and another package for redis).
If we want to read and analyze the rust code more conveniently in the whole project, maybe we need a Cargo.toml in the root directory and configure the workspace to include all packages?
Or are there any considerations for the current configuration?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant