]> git.lizzy.rs Git - rust.git/commitdiff
Add notes concerning privacy and network access
authorLaurențiu Nicola <lnicola@dend.ro>
Sun, 4 Oct 2020 16:55:55 +0000 (19:55 +0300)
committerLaurențiu Nicola <lnicola@dend.ro>
Sun, 4 Oct 2020 17:16:53 +0000 (20:16 +0300)
PRIVACY.md [new file with mode: 0644]

diff --git a/PRIVACY.md b/PRIVACY.md
new file mode 100644 (file)
index 0000000..dd165c0
--- /dev/null
@@ -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).