-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathCargo.toml
42 lines (34 loc) · 1.3 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
[package]
name = "qsharp"
description = "Q# Python Bindings"
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
noisy_simulator = { path = "../noisy_simulator" }
num-bigint = { workspace = true }
num-complex = { workspace = true }
qsc = { path = "../compiler/qsc" }
qsc_qasm3 = { path = "../compiler/qsc_qasm3", features = ["fs"]}
resource_estimator = { path = "../resource_estimator" }
miette = { workspace = true, features = ["fancy-no-syscall"] }
rustc-hash = { workspace = true }
serde_json = { workspace = true }
[lints]
workspace = true
[target.'cfg(not(any(target_family = "wasm")))'.dependencies]
allocator = { path = "../allocator" }
[target.'cfg(not(any(target_os = "windows")))'.dependencies]
pyo3 = { workspace = true, features = ["abi3-py39", "extension-module", "num-bigint", "num-complex"] }
[target.'cfg(any(target_os = "windows"))'.dependencies]
# generate-import-lib: skip requiring Python 3 distribution
# files to be present on the (cross-)compile host system.
pyo3 = { workspace = true, features = ["abi3-py39", "extension-module", "generate-import-lib", "num-bigint", "num-complex"] }
[lib]
crate-type = ["cdylib"]
doctest = false
[package.metadata.maturin]
name = "qsharp._native"