Skip to content

Commit 382c61d

Browse files
authored
Consolidate common Rust gitignore directives (#1459)
1 parent 3217aba commit 382c61d

File tree

5 files changed

+10
-36
lines changed

5 files changed

+10
-36
lines changed
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# Generated by Cargo
2-
# will have compiled files and executables
3-
/target/
4-
crates/*/target/
1+
# Rust specific
2+
**/target/
3+
# These are backup files generated by rustfmt
4+
**/*.rs.bk
5+
**/bench-log
56

67
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
78
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8-
Cargo.lock
9-
10-
# These are backup files generated by rustfmt
11-
**/*.rs.bk
9+
#
10+
# To remove Cargo.lock from a crate-specific gitignore (e.g. for binary crates), use the following:
11+
# !*/Cargo.lock
12+
#
13+
**/Cargo.lock

rust/experimental/query_abstraction/.gitignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

rust/experimental/query_engine/.gitignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

rust/otap-dataflow/.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Rust specific
2-
/target
3-
**/*.rs.bk
4-
Cargo.lock
5-
bench-log
6-
71
# Just
82
just.zsh
93

rust/parquet-query-examples/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)