diff --git a/crates/vite_command/Cargo.toml b/crates/vite_command/Cargo.toml index 1fda50979e..7c16a6be46 100644 --- a/crates/vite_command/Cargo.toml +++ b/crates/vite_command/Cargo.toml @@ -23,3 +23,6 @@ tokio = { workspace = true, features = ["macros", "test-util"] } [lints] workspace = true + +[lib] +doctest = false diff --git a/crates/vite_error/Cargo.toml b/crates/vite_error/Cargo.toml index 5a8b3d3730..b24538caf0 100644 --- a/crates/vite_error/Cargo.toml +++ b/crates/vite_error/Cargo.toml @@ -30,3 +30,7 @@ reqwest = { workspace = true, features = ["stream", "native-tls-vendored", "json [target.'cfg(not(target_os = "windows"))'.dependencies] reqwest = { workspace = true, features = ["stream", "rustls-tls", "json"] } + +[lib] +test = false +doctest = false diff --git a/crates/vite_install/Cargo.toml b/crates/vite_install/Cargo.toml index ab712dce8f..8267c3396d 100644 --- a/crates/vite_install/Cargo.toml +++ b/crates/vite_install/Cargo.toml @@ -46,3 +46,6 @@ test-log = { workspace = true } [lints] workspace = true + +[lib] +doctest = false diff --git a/crates/vite_migration/Cargo.toml b/crates/vite_migration/Cargo.toml index d0ad72ac28..325f0a120e 100644 --- a/crates/vite_migration/Cargo.toml +++ b/crates/vite_migration/Cargo.toml @@ -21,3 +21,6 @@ tempfile = { workspace = true } [lints] workspace = true + +[lib] +doctest = false diff --git a/crates/vite_static_config/Cargo.toml b/crates/vite_static_config/Cargo.toml index ae9569923d..bb3c3056a7 100644 --- a/crates/vite_static_config/Cargo.toml +++ b/crates/vite_static_config/Cargo.toml @@ -21,3 +21,6 @@ tempfile = { workspace = true } [lints] workspace = true + +[lib] +doctest = false