-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (53 loc) · 1.64 KB
/
Copy pathCargo.toml
File metadata and controls
63 lines (53 loc) · 1.64 KB
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
[package]
name = "portgraph"
version = "0.16.1"
license = "Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/portgraph/"
repository = "https://github.com/Quantinuum/portgraph"
description = "Data structure library for directed graphs with first-level ports."
keywords = ["data-structure", "graph"]
categories = ["data-structures"]
edition = "2021"
rust-version = "1.75"
[lib]
bench = false
name = "portgraph"
path = "src/lib.rs"
[dependencies]
thiserror = "2.0.18"
bitvec = "1.0.1"
serde = { version = "1.0.228", features = ["derive"], optional = true }
proptest = { version = "1.10.0", optional = true }
rand = { version = "0.9.2", optional = true }
petgraph = { version = "0.8.3", optional = true }
delegate = "0.13.4"
itertools = "0.14.0"
# 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 = { version = ">= 0.27, < 0.29", optional = true, features = [
"multiple-pymethods",
] }
num-traits = "0.2.19"
smallvec = { version = "1.15.1", features = ["union"] }
[features]
pyo3 = ["dep:pyo3"]
serde = ["dep:serde", "bitvec/serde"]
proptest = ["dep:proptest", "dep:rand"]
petgraph = ["dep:petgraph"]
[dev-dependencies]
criterion = { version = ">= 0.5.1, < 0.9.0", features = ["html_reports"] }
iai-callgrind = "0.16.1"
rmp-serde = "1.3.0" # 1.3.1 requires rust 1.85
rstest = "0.26.1"
itertools = "0.14.0"
insta = "1.47.2"
serde_json = "1.0.149"
[[bench]]
name = "criterion_benches"
harness = false
[[bench]]
name = "iai_benches"
harness = false
[profile.bench]
debug = true