diff options
-rw-r--r-- | PRIVACY.md | 18 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | docs/user/manual.adoc | 11 |
3 files changed, 13 insertions, 20 deletions
diff --git a/PRIVACY.md b/PRIVACY.md index 11ea040fb..718fbed12 100644 --- a/PRIVACY.md +++ b/PRIVACY.md | |||
@@ -1,17 +1 @@ | |||
1 | # Privacy Notes | See the [Privacy](https://rust-analyzer.github.io/manual.html#security) section of the user manual. | |
2 | |||
3 | ## LSP server binary | ||
4 | |||
5 | 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. | ||
6 | |||
7 | ## Visual Studio Code extension | ||
8 | |||
9 | The Code extension automatically connects to GitHub to download updated LSP binaries and, if the nightly channel is selected, to perform update checks. | ||
10 | |||
11 | ## Other editor plugins | ||
12 | |||
13 | 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. | ||
14 | |||
15 | ## Others | ||
16 | |||
17 | 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` (on by default). | ||
@@ -27,6 +27,10 @@ If you want to **use** rust-analyzer's language server with your editor of | |||
27 | choice, check [the manual](https://rust-analyzer.github.io/manual.html) folder. | 27 | choice, check [the manual](https://rust-analyzer.github.io/manual.html) folder. |
28 | It also contains some tips & tricks to help you be more productive when using rust-analyzer. | 28 | It also contains some tips & tricks to help you be more productive when using rust-analyzer. |
29 | 29 | ||
30 | ## Security and Privacy | ||
31 | |||
32 | See the corresponding sections of [the manual](https://rust-analyzer.github.io/manual.html#security). | ||
33 | |||
30 | ## Communication | 34 | ## Communication |
31 | 35 | ||
32 | For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum: | 36 | For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum: |
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 9a8d76700..d5f8dbb1d 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -609,9 +609,14 @@ Here is a **non-exhaustive** list of ways to make rust-analyzer execute arbitrar | |||
609 | * VS Code plugin reads configuration from project directory, and that can be used to override paths to various executables, like `rustfmt` or `rust-analyzer` itself. | 609 | * VS Code plugin reads configuration from project directory, and that can be used to override paths to various executables, like `rustfmt` or `rust-analyzer` itself. |
610 | * rust-analyzer's syntax trees library uses a lot of `unsafe` and hasn't been properly audited for memory safety. | 610 | * rust-analyzer's syntax trees library uses a lot of `unsafe` and hasn't been properly audited for memory safety. |
611 | 611 | ||
612 | rust-analyzer itself doesn't access the network. | 612 | == Privacy |
613 | The VS Code plugin doesn't access the network unless the nightly channel is selected in the settings. | 613 | |
614 | In that case, the plugin uses the GitHub API to check for and download updates. | 614 | 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. |
615 | If enabled (the default), build scripts and procedural macros can do anything. | ||
616 | |||
617 | The Code extension automatically connects to GitHub to download updated LSP binaries and, if the nightly channel is selected, to perform update checks using the GitHub API. For `rust-analyzer` developers, using `cargo xtask release` uses the same API to put together the release notes. | ||
618 | |||
619 | Any other editor plugins are not under the control of the `rust-analyzer` developers. For any privacy concerns, you should check with their respective developers. | ||
615 | 620 | ||
616 | == Features | 621 | == Features |
617 | 622 | ||