Skip to content

Commit

Permalink
chore: Update petgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes committed Oct 29, 2024
1 parent ad3715f commit 9210788
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 78 deletions.
91 changes: 16 additions & 75 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion query-engine/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ futures.workspace = true
indexmap.workspace = true
itertools.workspace = true
once_cell = "1"
petgraph = "0.4"
petgraph = "0.6"
query-structure = { path = "../query-structure", features = [
"default_generators",
] }
Expand Down
2 changes: 1 addition & 1 deletion query-engine/core/src/query_graph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl QueryGraph {

/// Checks if the given node is marked as one of the result nodes in the graph.
pub fn is_result_node(&self, node: &NodeRef) -> bool {
self.result_nodes.iter().any(|rn| rn.index() == node.node_ix.index())
self.result_nodes.iter().any(|rn| petgraph::adj::IndexType::index(rn) == node.node_ix.index())
}

/// Checks if the subgraph starting at the given node contains the node designated as the overall result.
Expand Down
2 changes: 1 addition & 1 deletion schema-engine/connectors/schema-connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ user-facing-errors = { path = "../../../libs/user-facing-errors" }

chrono.workspace = true
enumflags2.workspace = true
sha2 = "0.9.1"
sha2 = "0.10"
tracing.workspace = true
tracing-error = "0.2"

Expand Down

0 comments on commit 9210788

Please sign in to comment.