mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Remove default features from petgraph (#7591)
This commit is contained in:
parent
66263789bc
commit
35f131ff10
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -3024,7 +3024,6 @@ dependencies = [
|
||||
"fixedbitset 0.5.7",
|
||||
"hashbrown",
|
||||
"indexmap",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@ -56,7 +56,7 @@ arbitrary = [
|
||||
"half/arbitrary",
|
||||
"half/std",
|
||||
]
|
||||
spv-in = ["dep:petgraph", "dep:spirv"]
|
||||
spv-in = ["dep:petgraph", "petgraph/graphmap", "dep:spirv"]
|
||||
spv-out = ["dep:spirv"]
|
||||
wgsl-in = ["dep:hexf-parse", "dep:strum", "dep:unicode-ident", "compact"]
|
||||
wgsl-out = []
|
||||
@ -102,7 +102,7 @@ serde = { version = "1.0.219", default-features = false, features = [
|
||||
"alloc",
|
||||
"derive",
|
||||
], optional = true }
|
||||
petgraph = { version = "0.8", optional = true }
|
||||
petgraph = { version = "0.8", optional = true, default-features = false }
|
||||
pp-rs = { version = "0.2.1", optional = true }
|
||||
hexf-parse = { version = "0.2.1", optional = true }
|
||||
unicode-ident = { version = "1.0", optional = true }
|
||||
|
||||
@ -617,7 +617,12 @@ pub struct Frontend<I> {
|
||||
// Graph of all function calls through the module.
|
||||
// It's used to sort the functions (as nodes) topologically,
|
||||
// so that in the IR any called function is already known.
|
||||
function_call_graph: GraphMap<spirv::Word, (), petgraph::Directed>,
|
||||
function_call_graph: GraphMap<
|
||||
spirv::Word,
|
||||
(),
|
||||
petgraph::Directed,
|
||||
core::hash::BuildHasherDefault<rustc_hash::FxHasher>,
|
||||
>,
|
||||
options: Options,
|
||||
|
||||
/// Maps for a switch from a case target to the respective body and associated literals that
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user