microsoft/qdk

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.25.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

source/pip/Cargo.toml

57lines · 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 }
16num-traits = { workspace = true }
17qsc = { path = "../compiler/qsc" }
18qdk_simulators = { path = "../simulators" }
19resource_estimator = { path = "../resource_estimator" }
20miette = { workspace = true, features = ["fancy"] }
21rustc-hash = { workspace = true }
22serde = { workspace = true, features = ["derive"] }
23serde_json = { workspace = true }
24rayon = { workspace = true }
25rand = { workspace = true }
26
27[lints]
28workspace = true
29
30[target.'cfg(not(any(target_family = "wasm")))'.dependencies]
31allocator = { path = "../allocator" }
32
33[target.'cfg(not(any(target_os = "windows")))'.dependencies]
34pyo3 = { workspace = true, features = [
35 "abi3-py310",
36 "extension-module",
37 "num-bigint",
38 "num-complex",
39] }
40
41[target.'cfg(any(target_os = "windows"))'.dependencies]
42# generate-import-lib: skip requiring Python 3 distribution
43# files to be present on the (cross-)compile host system.
44pyo3 = { workspace = true, features = [
45 "abi3-py310",
46 "extension-module",
47 "generate-import-lib",
48 "num-bigint",
49 "num-complex",
50] }
51
52[lib]
53crate-type = ["cdylib"]
54doctest = false
55
56[package.metadata.maturin]
57name = "qsharp._native"
58