Disable doctests for all libraries

Max Brunsfeld created

We don't use them, and they add a lot of noise to the test output
when running all tests in the workspace.

Change summary

crates/chat_panel/Cargo.toml      | 1 +
crates/client/Cargo.toml          | 1 +
crates/clock/Cargo.toml           | 1 +
crates/collections/Cargo.toml     | 1 +
crates/contacts_panel/Cargo.toml  | 1 +
crates/diagnostics/Cargo.toml     | 1 +
crates/editor/Cargo.toml          | 1 +
crates/file_finder/Cargo.toml     | 1 +
crates/fsevent/Cargo.toml         | 1 +
crates/fuzzy/Cargo.toml           | 1 +
crates/go_to_line/Cargo.toml      | 1 +
crates/gpui/Cargo.toml            | 1 +
crates/gpui_macros/Cargo.toml     | 1 +
crates/journal/Cargo.toml         | 1 +
crates/language/Cargo.toml        | 1 +
crates/lsp/Cargo.toml             | 1 +
crates/outline/Cargo.toml         | 1 +
crates/project/Cargo.toml         | 1 +
crates/project_panel/Cargo.toml   | 1 +
crates/project_symbols/Cargo.toml | 1 +
crates/rpc/Cargo.toml             | 1 +
crates/search/Cargo.toml          | 1 +
crates/snippet/Cargo.toml         | 1 +
crates/sum_tree/Cargo.toml        | 1 +
crates/text/Cargo.toml            | 1 +
crates/theme/Cargo.toml           | 1 +
crates/theme_selector/Cargo.toml  | 1 +
crates/util/Cargo.toml            | 3 +++
crates/workspace/Cargo.toml       | 1 +
crates/zed/Cargo.toml             | 1 +
30 files changed, 32 insertions(+)

Detailed changes

crates/chat_panel/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/chat_panel.rs"
+doctest = false
 
 [dependencies]
 client = { path = "../client" }

crates/client/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/client.rs"
+doctest = false
 
 [features]
 test-support = ["gpui/test-support", "rpc/test-support"]

crates/clock/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/clock.rs"
+doctest = false
 
 [dependencies]
 smallvec = { version = "1.6", features = ["union"] }

crates/file_finder/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/file_finder.rs"
+doctest = false
 
 [dependencies]
 editor = { path = "../editor" }

crates/fuzzy/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/fuzzy.rs"
+doctest = false
 
 [dependencies]
 gpui = { path = "../gpui" }

crates/go_to_line/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/go_to_line.rs"
+doctest = false
 
 [dependencies]
 text = { path = "../text" }

crates/gpui/Cargo.toml 🔗

@@ -6,6 +6,7 @@ version = "0.1.0"
 
 [lib]
 path = "src/gpui.rs"
+doctest = false
 
 [features]
 test-support = ["backtrace", "dhat", "env_logger", "collections/test-support"]

crates/gpui_macros/Cargo.toml 🔗

@@ -6,6 +6,7 @@ edition = "2021"
 [lib]
 path = "src/gpui_macros.rs"
 proc-macro = true
+doctest = false
 
 [dependencies]
 syn = "1.0"

crates/journal/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/journal.rs"
+doctest = false
 
 [dependencies]
 editor = { path = "../editor" }

crates/lsp/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/lsp.rs"
+doctest = false
 
 [features]
 test-support = ["async-pipe"]

crates/outline/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/outline.rs"
+doctest = false
 
 [dependencies]
 editor = { path = "../editor" }

crates/rpc/Cargo.toml 🔗

@@ -6,6 +6,7 @@ version = "0.1.0"
 
 [lib]
 path = "src/rpc.rs"
+doctest = false
 
 [features]
 test-support = ["gpui/test-support"]

crates/search/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/search.rs"
+doctest = false
 
 [dependencies]
 collections = { path = "../collections" }

crates/text/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/text.rs"
+doctest = false
 
 [features]
 test-support = ["rand"]

crates/theme/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/theme.rs"
+doctest = false
 
 [dependencies]
 gpui = { path = "../gpui" }

crates/util/Cargo.toml 🔗

@@ -3,6 +3,9 @@ name = "util"
 version = "0.1.0"
 edition = "2021"
 
+[lib]
+doctest = false
+
 [features]
 test-support = ["clock", "rand", "serde_json", "tempdir"]
 

crates/workspace/Cargo.toml 🔗

@@ -5,6 +5,7 @@ edition = "2021"
 
 [lib]
 path = "src/workspace.rs"
+doctest = false
 
 [features]
 test-support = ["client/test-support", "project/test-support"]

crates/zed/Cargo.toml 🔗

@@ -8,6 +8,7 @@ version = "0.18.1"
 [lib]
 name = "zed"
 path = "src/zed.rs"
+doctest = false
 
 [[bin]]
 name = "Zed"