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
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
channel:
- stable
- nightly
- 1.63.0 # MSRV of test dependencies
- 1.71.0 # MSRV of test dependencies
os:
- macos-13 # x86 MacOS
- macos-15 # Arm MacOS
Expand Down
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ categories = ["filesystem"]
rust-version = "1.63.0"

[dev-dependencies]
# FIXME: This should be replaced by `tempfile`
tempdir = "0.3"
tempfile = "3"
doc-comment = "0.3"
7 changes: 3 additions & 4 deletions tests/glob-std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
#![cfg_attr(test, deny(warnings))]

extern crate glob;
extern crate tempdir;
extern crate tempfile;

use glob::{glob, glob_with};
use std::env;
use std::fs;
use std::path::PathBuf;
use tempdir::TempDir;

#[test]
fn main() {
Expand Down Expand Up @@ -68,8 +67,8 @@ fn main() {
.collect()
}

let root = TempDir::new("glob-tests");
let root = root.ok().expect("Should have created a temp directory");
let root = tempfile::tempdir();
let root = root.expect("Should have created a temp directory");
assert!(env::set_current_dir(root.path()).is_ok());

mk_file("aaa", true);
Expand Down