chore: Update README.md (#925)

This commit is contained in:
Obsido Han
2022-02-24 00:51:51 +08:00
committed by GitHub
parent d7cae702fc
commit a2745f9ae9
+5 -1
View File
@@ -36,9 +36,13 @@ 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
If you're using [rust-analyzer] we recommend you set `"rust-analyzer.cargo.runBuildScripts": true` to correctly load
the generated code.
For IntelliJ IDEA users, please refer to [this](https://github.com/intellij-rust/intellij-rust/pull/8056) and enable
`org.rust.cargo.evaluate.build.scripts`
[experimental feature](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-faq.html#experimental-features).
### Rust Version
`tonic` currently works on Rust `1.56` and above as it requires support for the 2018 edition.