-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
84 lines (76 loc) · 1.99 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[profile.release]
lto = "thin"
[workspace]
resolver = "2"
members = [
"tket2",
"tket2-py",
"compile-rewriter",
"badger-optimiser",
"tket2-hseries",
]
default-members = ["tket2", "tket2-hseries"]
[workspace.package]
rust-version = "1.75"
edition = "2021"
homepage = "https://github.com/CQCL/tket2"
repository = "https://github.com/CQCL/tket2"
license = "Apache-2.0"
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci_run)'] }
missing_docs = "warn"
[patch.crates-io]
# Uncomment to use unreleased versions of hugr
# hugr = { git = "https://github.com/CQCL/hugr", ref = "1e9eee2" }
# hugr-core = { git = "https://github.com/CQCL/hugr", ref = "1e9eee2" }
# hugr-passes = { git = "https://github.com/CQCL/hugr", ref = "1e9eee2" }
# hugr-cli = { git = "https://github.com/CQCL/hugr", ref = "1e9eee2" }
# hugr-model = { git = "https://github.com/CQCL/hugr", ref = "1e9eee2" }
[workspace.dependencies]
# Make sure to run `just recompile-eccs` if the hugr serialisation format changes.
hugr = "0.14.1"
hugr-core = "0.14.1"
hugr-cli = "0.14.1"
portgraph = "0.12"
pyo3 = "0.23.3"
itertools = "0.13.0"
tket-json-rs = "0.7.1"
tracing = "0.1.37"
portmatching = "0.3.1"
bytemuck = "1.20.0"
cgmath = "0.18.0"
chrono = "0.4.39"
clap = "4.5.23"
criterion = "0.5.1"
crossbeam-channel = "0.5.14"
csv = "1.3.1"
delegate = "0.13.1"
derive_more = "1.0.0"
downcast-rs = "1.2.0"
fxhash = "0.2.1"
indexmap = "2.7.0"
lazy_static = "1.5.0"
num-complex = "0.4"
num-rational = "0.4"
num_cpus = "1.16.0"
peak_alloc = "0.2.0"
pest = "2.7.15"
pest_derive = "2.7.15"
petgraph = { version = "0.6.3", default-features = false }
priority-queue = "2.1.1"
rayon = "1.5"
rmp-serde = "1.1.2"
rstest = "0.23.0"
serde = "1.0"
serde_json = "1.0"
smol_str = "0.3.2"
strum = "0.26.3"
strum_macros = "0.26.4"
tracing-appender = "0.2.2"
tracing-subscriber = "0.3.19"
typetag = "0.2.18"
cool_asserts = "2.0.3"
zstd = "0.13.2"
[profile.release.package.tket2-py]
# Some configurations to reduce the size of tket2 wheels
strip = true