6133: Add some notes related to privacy and network access r=SomeoneToIgnore a=lnicola

Closes #5551.

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2020-10-05 22:09:28 +00:00 committed by GitHub
commit cb78c40b0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
PRIVACY.md Normal file
View file

@ -0,0 +1,17 @@
# Privacy Notes
## LSP server binary
The LSP server performs no network access in itself, but runs `cargo metadata` which will update or download the crate registry and the source code of the project dependencies.
## Visual Studio Code extension
The Code extension connects to GitHub to download updated LSP binaries and, if the nightly channel is selected, to perform update checks.
## Other editor plugins
Any other editor plugins that integrate with `rust-analyzer` are not under the control of the `rust-analyzer` developers. For any privacy concerns, you should check with their respective developers.
## Others
If `cargo check` is enabled (the default), any build scripts or procedural macros used by the project or its dependencies will be executed. This is also the case when `cargo check` is disabled, but build script or procedural macro support is enabled in `rust-analyzer` (off by default).