1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# cSpell:ignore envrc
# ---------------------------------------------------------------------------
# Root-level deny-by-default.
# Any new file or directory at the project root is ignored unless explicitly
# whitelisted below. To track a one-off new top-level entry without editing
# this list, use `git add -f <path>`. Subdirectory contents are unaffected.
# ---------------------------------------------------------------------------
/*
# Top-level entries that ARE tracked. Keep alphabetized.
!/.clippy.toml
!/.editorconfig
!/.gitattributes
!/.github/
!/.gitignore
!/.markdownlint-cli2.yaml
!/.rustfmt.toml
!/.taplo.toml
!/CHANGELOG.md
!/CODE_OF_CONDUCT.md
!/CONTRIBUTING.md
!/Cargo.lock
!/Cargo.toml
!/LICENSE.txt
!/NOTICE
!/README.md
!/SECURITY.md
!/SUPPORT.md
!/deny.toml
!/examples/
!/rust-toolchain.toml
!/src/
# ---------------------------------------------------------------------------
# Recursive rules (apply at any depth, including inside whitelisted dirs).
# ---------------------------------------------------------------------------
# Rust / Cargo build outputs
**/target/
**/*.rs.bk
# LLVM source-based coverage intermediates. `cargo llvm-cov` sets
# LLVM_PROFILE_FILE so its own runs land under `target/`, but an
# instrumented binary run outside that wrapper (stale binary picked up
# by `cargo test` after RUSTFLAGS changed, sub-process that lost the
# env var, etc.) falls back to LLVM's default: `default_<id>_*.profraw`
# in cwd. Catch them anywhere in the tree so they don't slip into a
# whitelisted subdir.
**/*.profraw
**/*.profdata
# Example crates each have their own Cargo.lock; don't track them.
examples/**/Cargo.lock
# MSVC builds of rustc emit these
*.pdb
# Secrets / environment
*.env
# Logs and temp files
*.log
*.tmp
# Editor temp files
*~
*.code-workspace
*.swo
*.swp
*.vim
# OS
.DS_Store
Thumbs.db