diff --git a/src/depfile.rs b/src/depfile.rs
index 7ee5493..b241cb6 100644
--- a/src/depfile.rs
+++ b/src/depfile.rs
@@ -1,15 +1,9 @@
//! Parsing of Makefile syntax as found in `.d` files emitted by C compilers.
-use crate::scanner::{ParseResult, Scanner};
-
-/// Dependency information for a single target.
-#[derive(Debug)]
-pub struct Deps<'a> {
- /// Output name, as found in the `.d` input.
- pub target: &'a str,
- /// Input names, as found in the `.d` input.
- pub deps: Vec<&'a str>,
-}
+use crate::{
+ scanner::{ParseResult, Scanner},
+ smallmap::SmallMap,
+};
/// Skip spaces and backslashed newlines.
fn skip_spaces(scanner: &mut Scanner) -> ParseResult<()> {
@@ -44,8 +38,7 @@ fn read_path<'a>(scanner: &mut Scanner<'a>) -> ParseResult