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
# Whitelist: ignore everything by default. Nothing is tracked unless a
# `!` entry below explicitly allows it.
*
# Repository files.
!/.gitignore
!/.github/
!/.github/**
!/README.md
!/CHANGELOG.md
!/docs/
!/docs/**
!/LICENSE*
!/NOTICE
!/Cargo.toml
!/Cargo.lock
!/dist.toml
!/dist-workspace.toml
# Rust source and tooling.
!/.cargo/
!/.cargo/**
!/rust-toolchain
!/rust-toolchain.toml
!/rustfmt.toml
!/clippy.toml
!/deny.toml
!/build.rs
!/src/
!/src/**
!/crates/
!/crates/**
!/tests/
!/tests/**
!/benches/
!/benches/**
!/examples/
!/examples/**
!/fixtures/
!/fixtures/**
# Fuzzing: the cargo-fuzz crate is tracked; its corpus, artifacts, and
# build output stay ignored by the default `*`.
!/fuzz/
!/fuzz/Cargo.toml
!/fuzz/fuzz_targets/
!/fuzz/fuzz_targets/**
# Dogfooding configuration: only the config file is tracked. The local
# queue (projects/, tickets/) stays ignored by the default `*`; do not
# force-add it.
!/.agents/
!/.agents/sloop/
!/.agents/sloop/config.yaml