microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
jan

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/pip/Cargo.toml

45lines · modecode

1[package]
2name = "qsharp"
3description = "Q# Python Bindings"
4
5version.workspace = true
6authors.workspace = true
7homepage.workspace = true
8repository.workspace = true
9edition.workspace = true
10license.workspace = true
11
12[dependencies]
13noisy_simulator = { path = "../noisy_simulator" }
14num-bigint = { workspace = true }
15num-complex = { workspace = true }
16qsc = { path = "../compiler/qsc" }
17qdk_simulators = { path = "../simulators" }
18resource_estimator = { path = "../resource_estimator" }
19miette = { workspace = true, features = ["fancy"] }
20rustc-hash = { workspace = true }
21serde = { workspace = true, features = ["derive"] }
22serde_json = { workspace = true }
23rayon = { workspace = true }
24rand = { workspace = true }
25
26[lints]
27workspace = true
28
29[target.'cfg(not(any(target_family = "wasm")))'.dependencies]
30allocator = { path = "../allocator" }
31
32[target.'cfg(not(any(target_os = "windows")))'.dependencies]
33pyo3 = { workspace = true, features = ["abi3-py310", "extension-module", "num-bigint", "num-complex"] }
34
35[target.'cfg(any(target_os = "windows"))'.dependencies]
36# generate-import-lib: skip requiring Python 3 distribution
37# files to be present on the (cross-)compile host system.
38pyo3 = { workspace = true, features = ["abi3-py310", "extension-module", "generate-import-lib", "num-bigint", "num-complex"] }
39
40[lib]
41crate-type = ["cdylib"]
42doctest = false
43
44[package.metadata.maturin]
45name = "qsharp._native"
46