-
Notifications
You must be signed in to change notification settings - Fork 155
/
Cargo.toml
76 lines (68 loc) · 1.78 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
[package]
name = "rustworkx"
description = "A python graph library implemented in Rust"
readme = "README.md"
keywords = ["python", "graph"]
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
[workspace]
members = [
"rustworkx-core",
]
[workspace.package]
version = "0.16.0"
edition = "2021"
rust-version = "1.70"
authors = ["Matthew Treinish <[email protected]>"]
repository = "https://github.com/Qiskit/rustworkx"
license = "Apache-2.0"
[workspace.dependencies]
ahash = "0.8.6"
fixedbitset = "0.4.2"
hashbrown = { version = ">=0.13, <0.15", features = ["rayon"] }
indexmap = { version = ">=1.9, <3", features = ["rayon"] }
ndarray = { version = "0.16.1", features = ["rayon"] }
num-traits = "0.2"
numpy = "0.22"
petgraph = "0.6.5"
rand = "0.8"
rand_pcg = "0.3"
rayon = "1.10"
[lib]
name = "rustworkx"
crate-type = ["cdylib"]
[dependencies]
ahash.workspace = true
fixedbitset.workspace = true
hashbrown.workspace = true
indexmap.workspace = true
ndarray.workspace = true
ndarray-stats = "0.6.0"
num-bigint = "0.4"
num-complex = "0.4"
num-traits.workspace = true
numpy.workspace = true
petgraph.workspace = true
quick-xml = "0.37"
rand.workspace = true
rand_pcg.workspace = true
rayon.workspace = true
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
smallvec = { version = "1.0", features = ["union"] }
rustworkx-core = { path = "rustworkx-core", version = "=0.16.0" }
flate2 = "1.0.35"
[dependencies.pyo3]
version = "0.22.6"
features = ["abi3-py39", "extension-module", "hashbrown", "num-bigint", "num-complex", "indexmap", "py-clone"]
[dependencies.sprs]
version = "^0.11"
default-features = false
features = ["multi_thread"]
[profile.release]
lto = 'fat'
codegen-units = 1