Skip to content

Commit 2a393e7

Browse files
Boshenclaudefengmk2
authored
chore: run cargo shear --fix and disable unused doctests/tests (#915)
## Summary - Ran `cargo shear --fix` to remove unused dependencies - Added `doctest = false` to `vite_command`, `vite_install`, `vite_migration`, `vite_static_config` - Added `test = false` and `doctest = false` to `vite_error` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
1 parent 06d2f5a commit 2a393e7

5 files changed

Lines changed: 16 additions & 0 deletions

File tree

crates/vite_command/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ tokio = { workspace = true, features = ["macros", "test-util"] }
2323

2424
[lints]
2525
workspace = true
26+
27+
[lib]
28+
doctest = false

crates/vite_error/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ reqwest = { workspace = true, features = ["stream", "native-tls-vendored", "json
3030

3131
[target.'cfg(not(target_os = "windows"))'.dependencies]
3232
reqwest = { workspace = true, features = ["stream", "rustls-tls", "json"] }
33+
34+
[lib]
35+
test = false
36+
doctest = false

crates/vite_install/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ test-log = { workspace = true }
4646

4747
[lints]
4848
workspace = true
49+
50+
[lib]
51+
doctest = false

crates/vite_migration/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ tempfile = { workspace = true }
2121

2222
[lints]
2323
workspace = true
24+
25+
[lib]
26+
doctest = false

crates/vite_static_config/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ tempfile = { workspace = true }
2121

2222
[lints]
2323
workspace = true
24+
25+
[lib]
26+
doctest = false

0 commit comments

Comments
 (0)