Skip to content

Commit

Permalink
rust: update cargo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aszs committed Oct 27, 2024
1 parent a6aebfe commit 2c3e08d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
33 changes: 17 additions & 16 deletions rust/Cargo.lock

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

6 changes: 3 additions & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ name = "tosca_solver"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.22.3", features = ["hashbrown"] }
pyo3 = { version = "0.22.5", features = ["hashbrown"] }
pyo3-log = "0.11.0"
ascent = "0.6.0"
ascent = "0.7.0"
log = "0.4.22"
# ascent-byods-rels = "0.6.0"
# ascent-byods-rels = "0.7.0"

[features]
python = ["pyo3/extension-module"]
Expand Down
2 changes: 1 addition & 1 deletion unfurl/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def solve_topology(topology_template: TopologyTemplate) -> Solution:
# print ('types', types)
# print("!solving " + "\n\n".join(repr(n) for n in nodes.values()))
solved = cast(Solution, solve(nodes, types))
logger.debug(f"Solve found {len(solved)} matches for {len(nodes)}.")
logger.debug(f"Solver found {len(solved)} requirements match{'es' if len(solved)!=1 else ''} for {len(nodes)} Node template{'s' if len(nodes)!=1 else ''}.")
for (source_name, req), targets in solved.items():
source: NodeTemplate = topology_template.node_templates[source_name]
target_nodes = [
Expand Down

0 comments on commit 2c3e08d

Please sign in to comment.