forked from Qiskit/rustworkx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
76 lines (67 loc) · 1.66 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.15.0"
edition = "2021"
rust-version = "1.64"
authors = ["Matthew Treinish <mtreinish@kortar.org>"]
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"] }
num-traits = "0.2"
numpy = "0.20.0"
petgraph = "0.6.4"
rand = "0.8"
rand_pcg = "0.3"
rayon = "1.8"
rayon-cond = "1.7"
[lib]
name = "rustworkx"
crate-type = ["cdylib"]
[dependencies]
ahash.workspace = true
fixedbitset.workspace = true
hashbrown.workspace = true
indexmap.workspace = true
ndarray-stats = "0.5.1"
num-bigint = "0.4"
num-complex = "0.4"
num-traits.workspace = true
numpy.workspace = true
petgraph.workspace = true
quick-xml = "0.31"
rand.workspace = true
rand_pcg.workspace = true
rayon.workspace = true
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rustworkx-core = { path = "rustworkx-core", version = "=0.15.0" }
[dependencies.pyo3]
version = "0.20.2"
features = ["extension-module", "hashbrown", "num-bigint", "num-complex", "indexmap"]
[dependencies.ndarray]
version = "^0.15.6"
features = ["rayon"]
[dependencies.sprs]
version = "^0.11"
features = ["multi_thread"]
[profile.release]
lto = 'fat'
codegen-units = 1