Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 41 additions & 57 deletions Cargo.lock

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

18 changes: 10 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ large_enum_variant = "allow"
[patch.crates-io]

# Uncomment to use unreleased versions of hugr
hugr = { git = "https://github.com/quantinuum/hugr", "branch" = "ts/ba-copy-discard" }
hugr-core = { git = "https://github.com/quantinuum/hugr", "branch" = "ts/ba-copy-discard" }
hugr-cli = { git = "https://github.com/quantinuum/hugr", "branch" = "ts/ba-copy-discard" }
hugr-passes = { git = "https://github.com/quantinuum/hugr", "branch" = "ts/ba-copy-discard" }
hugr-llvm = { git = "https://github.com/quantinuum/hugr", "branch" = "ts/ba-copy-discard" }
hugr = { git = "https://github.com/quantinuum/hugr", "rev" = "5415abebf35be4af4e5bac5c7fe54381aea55a3e" }
hugr-core = { git = "https://github.com/quantinuum/hugr", "rev" = "5415abebf35be4af4e5bac5c7fe54381aea55a3e" }
hugr-cli = { git = "https://github.com/quantinuum/hugr", "rev" = "5415abebf35be4af4e5bac5c7fe54381aea55a3e" }
hugr-passes = { git = "https://github.com/quantinuum/hugr", "rev" = "5415abebf35be4af4e5bac5c7fe54381aea55a3e" }
hugr-llvm = { git = "https://github.com/quantinuum/hugr", "rev" = "5415abebf35be4af4e5bac5c7fe54381aea55a3e" }
# portgraph = { git = "https://github.com/quantinuum/portgraph", rev = "68b96ac737e0c285d8c543b2d74a7aa80a18202c" }

[workspace.dependencies]
Expand All @@ -54,15 +54,17 @@ hugr = "0.24.3"
hugr-core = "0.24.3"
hugr-cli = "0.24.3"
portgraph = "0.15.3"
pyo3 = ">= 0.23.4, < 0.27"
pyo3-build-config = ">= 0.23.4, < 0.28"
# There can only be one `pyo3` dependency in the whole workspace, so we use a
# loose version constraint to prevent breaking changes in dependent crates where possible.
pyo3 = ">= 0.27.2, < 0.28"
pyo3-build-config = ">= 0.27.2, < 0.28"

bindgen = "0.72"
cbindgen = "0.29"
cc = "1.2.49"
conan2 = "0.1.8"
itertools = "0.14.0"
tket-json-rs = "0.7.7"
tket-json-rs = "0.8.0"
portmatching = "0.3.3"
bytemuck = "1.24.0"
cgmath = "0.18.0"
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ _check_default_conan_profile:

# Prepare the environment for development, installing all the dependencies and
# setting up the pre-commit hooks.
setup: _check_default_conan_profile _check_nextest_installed
setup: && _check_default_conan_profile _check_nextest_installed
uv tool install conan
uv sync
[[ -n "${TKET_JUST_INHIBIT_GIT_HOOKS:-}" ]] || uv run pre-commit install -t pre-commit
Expand Down
Loading
Loading