Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ jobs:
with:
save-cache: ${{ github.ref_name == 'main' }}
cache-key: fmt
tools: cargo-shear
tools: cargo-shear@1.11.1
components: clippy rust-docs rustfmt

- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
- run: pnpm oxfmt --check
- run: cargo shear
- run: cargo shear --deny-warnings
- run: cargo fmt --check
- run: RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --document-private-items

Expand Down
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ ignored = [
# These are artifact dependencies. They are not directly `use`d in Rust code.
"fspy_preload_unix",
"fspy_preload_windows",
"fspy_test_bin",
# used in a macro in crates/subprocess_test/src/lib.rs
"ctor",
]

[profile.dev]
Expand Down
6 changes: 6 additions & 0 deletions crates/fspy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,9 @@ xxhash-rust = { workspace = true, features = ["xxh3"] }

[lints]
workspace = true

[lib]
doctest = false

[package.metadata.cargo-shear]
ignored = ["ctor", "fspy_test_bin"]
4 changes: 4 additions & 0 deletions crates/fspy_detours_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ workspace = true
[dev-dependencies]
bindgen = { workspace = true }
cow-utils = { workspace = true }

[lib]
test = false
doctest = false
4 changes: 4 additions & 0 deletions crates/fspy_seccomp_unotify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ target = ["dep:passfd"]

[lints]
workspace = true

[lib]
test = false
doctest = false
Empty file.
3 changes: 3 additions & 0 deletions crates/fspy_shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ subprocess_test = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/fspy_shared_unix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ phf = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
11 changes: 0 additions & 11 deletions crates/fspy_shared_unix/src/exec/fs.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/fspy_shared_unix/src/exec/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
mod fs;
mod shebang;
mod which;

Expand Down
7 changes: 7 additions & 0 deletions crates/pty_terminal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ signal-hook = "0.3"

[lints]
workspace = true

[lib]
test = false
doctest = false

[package.metadata.cargo-shear]
ignored = ["ctor"]
7 changes: 7 additions & 0 deletions crates/pty_terminal_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ subprocess_test = { workspace = true, features = ["portable-pty"] }

[lints]
workspace = true

[lib]
test = false
doctest = false

[package.metadata.cargo-shear]
ignored = ["ctor"]
4 changes: 4 additions & 0 deletions crates/pty_terminal_test_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ testing = []

[lints]
workspace = true

[lib]
test = false
doctest = false
3 changes: 3 additions & 0 deletions crates/subprocess_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ portable-pty = ["dep:portable-pty"]

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_glob/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ vite_str = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_graph_ser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ serde_json = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ workspace = true

[dev-dependencies]
assert2 = { workspace = true }

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_select/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ vite_str = { path = "../vite_str" }

[dev-dependencies]
assert2 = { workspace = true }

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_shell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ vite_str = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_str/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ ts-rs = ["dep:ts-rs"]

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_task/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ tempfile = { workspace = true }

[target.'cfg(unix)'.dependencies]
nix = { workspace = true }

[lib]
doctest = false
4 changes: 4 additions & 0 deletions crates/vite_task_bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ workspace = true
[[test]]
name = "e2e_snapshots"
harness = false

[lib]
test = false
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_task_graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ which = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
3 changes: 3 additions & 0 deletions crates/vite_task_plan/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ vite_workspace = { workspace = true }
[[test]]
name = "plan_snapshots"
harness = false

[lib]
doctest = false
1 change: 1 addition & 0 deletions crates/vite_tui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ workspace = true

[lib]
doctest = false
test = false

[dependencies]
color-eyre = { workspace = true }
Expand Down
3 changes: 3 additions & 0 deletions crates/vite_workspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ tempfile = { workspace = true }

[lints]
workspace = true

[lib]
doctest = false
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _default:
alias r := ready

init:
cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear taplo-cli -y
cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear@1.11.1 taplo-cli -y
pnpm run bootstrap-cli

ready:
Expand Down
Loading