Remove indexmap/std from wgsl-in (#7586)

This commit is contained in:
Zachary Harrold 2025-04-22 00:57:01 +10:00 committed by GitHub
parent d2ab981a76
commit f79cf6ed23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 10 deletions

View File

@ -58,13 +58,7 @@ arbitrary = [
]
spv-in = ["dep:petgraph", "dep:spirv"]
spv-out = ["dep:spirv"]
wgsl-in = [
"dep:hexf-parse",
"dep:strum",
"dep:unicode-ident",
"indexmap/std",
"compact",
]
wgsl-in = ["dep:hexf-parse", "dep:strum", "dep:unicode-ident", "compact"]
wgsl-out = []
## Enables outputting to HLSL (Microsoft's High-Level Shader Language).

View File

@ -4,12 +4,12 @@ use alloc::boxed::Box;
use crate::{Arena, Handle};
#[cfg(feature = "wgsl-in")]
use crate::FastIndexMap;
#[cfg(feature = "wgsl-in")]
use crate::Span;
#[cfg(feature = "arbitrary")]
use arbitrary::Arbitrary;
#[cfg(feature = "wgsl-in")]
use indexmap::IndexMap;
#[cfg(feature = "deserialize")]
use serde::Deserialize;
#[cfg(feature = "serialize")]
@ -133,7 +133,7 @@ pub(crate) enum ShouldConflictOnFullDuplicate {
/// [`add`]: DiagnosticFilterMap::add
#[derive(Clone, Debug, Default)]
#[cfg(feature = "wgsl-in")]
pub(crate) struct DiagnosticFilterMap(IndexMap<FilterableTriggeringRule, (Severity, Span)>);
pub(crate) struct DiagnosticFilterMap(FastIndexMap<FilterableTriggeringRule, (Severity, Span)>);
#[cfg(feature = "wgsl-in")]
impl DiagnosticFilterMap {