Registry / utility / fast-rustc-ap-rustc-data-structures

fast-rustc-ap-rustc-data-structures

JSON →
library1.0.0rscratesunverified

Automatically published version of rustc_data_structures from the rust-lang/rust repository.

# Cargo.toml [dependencies] fast-rustc-ap-rustc_data_structures = "1.0.0"
INSTALL
IMPORT
SIG · FAST-RUSTC-AP-RUST
F
fast-rustc-ap-rustc-data-structures
utilityrustv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FxHashMap
use rustc_data_structures::fx::FxHashMap;

Creates a fast hash map using the Fx hasher from rustc data structures.

use rustc_data_structures::fx::FxHashMap; fn main() { let mut map = FxHashMap::default(); map.insert("key", 42); println!("Map: {:?}", map); }
Debug
Known issues
gotchaThis is an internal rustc crate; API may change without notice.
fix
Use stable alternatives like hashbrown or std::collections.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fast-rustc-ap-rustc-data-structures — cargo add fast-rustc-ap-rustc-data-structures · libregistry