ill-inc / biomes-game

Biomes is an open source sandbox MMORPG built for the web using web technologies such as Next.js, Typescript, React and WebAssembly.
https://www.biomes.gg
MIT License
2.53k stars 301 forks source link

About cargo workspace root for the rust code #62

Open hanzooo opened 1 year ago

hanzooo commented 1 year ago

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