We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360ff0c commit e7976ecCopy full SHA for e7976ec
COMMIT.txt
@@ -1 +1 @@
1
-2e6f3bd1d32455e535de1d9ee154253c333aec73
+d1fa49b2e66c343210c413b68ed57f150b7b89d8
src/lib.rs
@@ -3,11 +3,15 @@
3
//! These types are the public API exposed through the `--output-format json` flag. The [`Crate`]
4
//! struct is the root of the JSON blob and all other items are contained within.
5
6
+#[cfg(not(feature = "rustc-hash"))]
7
+use std::collections::HashMap;
8
use std::path::PathBuf;
9
-use std::collections::HashMap;
10
+#[cfg(feature = "rustc-hash")]
11
+use rustc_hash::FxHashMap as HashMap;
12
use serde::{Deserialize, Serialize};
13
14
+
15
/// The version of JSON output that this crate represents.
16
///
17
/// This integer is incremented with every breaking change to the API,
0 commit comments