Skip to content

Commit 1b5f8ef

Browse files
committed
Add tempfile and tmp_env as dev dependencies
The `tempfile` crate can help us set up temporary directories used for testing, and the `tmp_env` crate can help us set temporary environment variables when testing.
1 parent 38659ec commit 1b5f8ef

File tree

2 files changed

+92
-0
lines changed

2 files changed

+92
-0
lines changed

Cargo.lock

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ rustc-workspace-hack = "1.0.0"
6666

6767
# Rustc dependencies are loaded from the sysroot, Cargo doesn't know about them.
6868

69+
[dev-dependencies]
70+
tempfile = "3.3.0"
71+
tmp_env = "0.1.1"
72+
6973
[package.metadata.rust-analyzer]
7074
# This package uses #[feature(rustc_private)]
7175
rustc_private = true

0 commit comments

Comments
 (0)