Skip to content

Commit

Permalink
Mention rust-analyzer.cargo.loadOutDirsFromCheck setting in README
Browse files Browse the repository at this point in the history
Fixes #512
  • Loading branch information
davidpdrsn committed Feb 13, 2021
1 parent f49d4bd commit aa6886e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ contains the tools to build clients and servers from [`protobuf`] definitions.
Examples can be found in [`examples`] and for more complex scenarios [`interop`]
may be a good resource as it shows examples of many of the gRPC features.

If you're using [rust-analyzer] we recommend you set `"rust-analyzer.cargo.loadOutDirsFromCheck": true` to correctly load
the generated code.

### Rust Version

`tonic` currently works on rust `1.39` and above as it requires support for the `async_await`
Expand Down Expand Up @@ -110,3 +113,4 @@ terms or conditions.
[routeguide-tutorial]: https://github.com/hyperium/tonic/blob/master/examples/routeguide-tutorial.md
[helloworld-tutorial]: https://github.com/hyperium/tonic/blob/master/examples/helloworld-tutorial.md
[healthcheck]: https://github.com/grpc/grpc/blob/master/doc/health-checking.md
[rust-analyzer]: https://rust-analyzer.github.io

0 comments on commit aa6886e

Please sign in to comment.