Disable doctests for all libraries

We don't use them, and they add a lot of noise to the test output
when running all tests in the workspace.
This commit is contained in:
Max Brunsfeld 2022-03-03 16:15:56 -08:00
parent 15312d0ac3
commit 05df1dfae9
30 changed files with 32 additions and 0 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,6 +5,7 @@ edition = "2021"
[lib]
path = "src/diagnostics.rs"
doctest = false
[dependencies]
anyhow = "1.0"

View file

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

View file

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

View file

@ -6,6 +6,7 @@ edition = "2021"
[lib]
path = "src/fsevent.rs"
doctest = false
[dependencies]
bitflags = "1"

View file

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

View file

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

View file

@ -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"]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,6 +5,7 @@ edition = "2021"
[lib]
path = "src/snippet.rs"
doctest = false
[dependencies]
anyhow = "1.0"

View file

@ -5,6 +5,7 @@ edition = "2021"
[lib]
path = "src/sum_tree.rs"
doctest = false
[dependencies]
arrayvec = "0.7.1"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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