diff --git a/crates/chat_panel/Cargo.toml b/crates/chat_panel/Cargo.toml index 57220eb518..a64ecc8b7b 100644 --- a/crates/chat_panel/Cargo.toml +++ b/crates/chat_panel/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/chat_panel.rs" +doctest = false [dependencies] client = { path = "../client" } diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml index 4db1685586..c60b82f1f8 100644 --- a/crates/client/Cargo.toml +++ b/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"] diff --git a/crates/clock/Cargo.toml b/crates/clock/Cargo.toml index 0a56d5d7c1..0b2aa2fabf 100644 --- a/crates/clock/Cargo.toml +++ b/crates/clock/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/clock.rs" +doctest = false [dependencies] smallvec = { version = "1.6", features = ["union"] } diff --git a/crates/collections/Cargo.toml b/crates/collections/Cargo.toml index 8ca3ccd4e9..8e18cbd11d 100644 --- a/crates/collections/Cargo.toml +++ b/crates/collections/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/collections.rs" +doctest = false [features] test-support = ["seahash"] diff --git a/crates/contacts_panel/Cargo.toml b/crates/contacts_panel/Cargo.toml index fb7fe427f8..43bd2548a8 100644 --- a/crates/contacts_panel/Cargo.toml +++ b/crates/contacts_panel/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/contacts_panel.rs" +doctest = false [dependencies] client = { path = "../client" } diff --git a/crates/diagnostics/Cargo.toml b/crates/diagnostics/Cargo.toml index df3022ef43..4cf45041e9 100644 --- a/crates/diagnostics/Cargo.toml +++ b/crates/diagnostics/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/diagnostics.rs" +doctest = false [dependencies] anyhow = "1.0" diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.toml index aeb7523374..609e92af0f 100644 --- a/crates/editor/Cargo.toml +++ b/crates/editor/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/editor.rs" +doctest = false [features] test-support = [ diff --git a/crates/file_finder/Cargo.toml b/crates/file_finder/Cargo.toml index c804d1a127..c5300dbcd9 100644 --- a/crates/file_finder/Cargo.toml +++ b/crates/file_finder/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/file_finder.rs" +doctest = false [dependencies] editor = { path = "../editor" } diff --git a/crates/fsevent/Cargo.toml b/crates/fsevent/Cargo.toml index c184ef22af..3bf7ae885b 100644 --- a/crates/fsevent/Cargo.toml +++ b/crates/fsevent/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [lib] path = "src/fsevent.rs" +doctest = false [dependencies] bitflags = "1" diff --git a/crates/fuzzy/Cargo.toml b/crates/fuzzy/Cargo.toml index e3798874e2..e36c22055a 100644 --- a/crates/fuzzy/Cargo.toml +++ b/crates/fuzzy/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/fuzzy.rs" +doctest = false [dependencies] gpui = { path = "../gpui" } diff --git a/crates/go_to_line/Cargo.toml b/crates/go_to_line/Cargo.toml index 789dfaedde..eaad41e080 100644 --- a/crates/go_to_line/Cargo.toml +++ b/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" } diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.toml index 46ff7e8bc5..8f884259b7 100644 --- a/crates/gpui/Cargo.toml +++ b/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"] diff --git a/crates/gpui_macros/Cargo.toml b/crates/gpui_macros/Cargo.toml index 606f395dee..d8fc0521cc 100644 --- a/crates/gpui_macros/Cargo.toml +++ b/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" diff --git a/crates/journal/Cargo.toml b/crates/journal/Cargo.toml index b2c470f4c5..8ccd9dc27f 100644 --- a/crates/journal/Cargo.toml +++ b/crates/journal/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/journal.rs" +doctest = false [dependencies] editor = { path = "../editor" } diff --git a/crates/language/Cargo.toml b/crates/language/Cargo.toml index ec90b9c76a..518753fd75 100644 --- a/crates/language/Cargo.toml +++ b/crates/language/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/language.rs" +doctest = false [features] test-support = [ diff --git a/crates/lsp/Cargo.toml b/crates/lsp/Cargo.toml index e463ba020d..199da8c24e 100644 --- a/crates/lsp/Cargo.toml +++ b/crates/lsp/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/lsp.rs" +doctest = false [features] test-support = ["async-pipe"] diff --git a/crates/outline/Cargo.toml b/crates/outline/Cargo.toml index 51c3579228..e5ed300dc7 100644 --- a/crates/outline/Cargo.toml +++ b/crates/outline/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/outline.rs" +doctest = false [dependencies] editor = { path = "../editor" } diff --git a/crates/project/Cargo.toml b/crates/project/Cargo.toml index dea5a10279..e4ff8376ec 100644 --- a/crates/project/Cargo.toml +++ b/crates/project/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/project.rs" +doctest = false [features] test-support = [ diff --git a/crates/project_panel/Cargo.toml b/crates/project_panel/Cargo.toml index 2179fc47e6..2e50178036 100644 --- a/crates/project_panel/Cargo.toml +++ b/crates/project_panel/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/project_panel.rs" +doctest = false [dependencies] gpui = { path = "../gpui" } diff --git a/crates/project_symbols/Cargo.toml b/crates/project_symbols/Cargo.toml index f467261986..cdaedf109c 100644 --- a/crates/project_symbols/Cargo.toml +++ b/crates/project_symbols/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/project_symbols.rs" +doctest = false [dependencies] editor = { path = "../editor" } diff --git a/crates/rpc/Cargo.toml b/crates/rpc/Cargo.toml index 0258dde231..255906ab85 100644 --- a/crates/rpc/Cargo.toml +++ b/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"] diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index cee9f156e0..5553e3b9a2 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/search.rs" +doctest = false [dependencies] collections = { path = "../collections" } diff --git a/crates/snippet/Cargo.toml b/crates/snippet/Cargo.toml index b3712cd6a0..03a0f8314a 100644 --- a/crates/snippet/Cargo.toml +++ b/crates/snippet/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/snippet.rs" +doctest = false [dependencies] anyhow = "1.0" diff --git a/crates/sum_tree/Cargo.toml b/crates/sum_tree/Cargo.toml index 04569601a2..7ccdcbff0d 100644 --- a/crates/sum_tree/Cargo.toml +++ b/crates/sum_tree/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/sum_tree.rs" +doctest = false [dependencies] arrayvec = "0.7.1" diff --git a/crates/text/Cargo.toml b/crates/text/Cargo.toml index 04648d203f..f6a887eb27 100644 --- a/crates/text/Cargo.toml +++ b/crates/text/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/text.rs" +doctest = false [features] test-support = ["rand"] diff --git a/crates/theme/Cargo.toml b/crates/theme/Cargo.toml index 3d8c0a50bf..bf319e4749 100644 --- a/crates/theme/Cargo.toml +++ b/crates/theme/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/theme.rs" +doctest = false [dependencies] gpui = { path = "../gpui" } diff --git a/crates/theme_selector/Cargo.toml b/crates/theme_selector/Cargo.toml index 0db49e8c4d..ff3d50454f 100644 --- a/crates/theme_selector/Cargo.toml +++ b/crates/theme_selector/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [lib] path = "src/theme_selector.rs" +doctest = false [dependencies] editor = { path = "../editor" } diff --git a/crates/util/Cargo.toml b/crates/util/Cargo.toml index a8b93adf2d..634e031aee 100644 --- a/crates/util/Cargo.toml +++ b/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"] diff --git a/crates/workspace/Cargo.toml b/crates/workspace/Cargo.toml index a7a8bfa744..d83cbf29d4 100644 --- a/crates/workspace/Cargo.toml +++ b/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"] diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml index 7b8f79380b..be2943b960 100644 --- a/crates/zed/Cargo.toml +++ b/crates/zed/Cargo.toml @@ -8,6 +8,7 @@ version = "0.18.1" [lib] name = "zed" path = "src/zed.rs" +doctest = false [[bin]] name = "Zed"