microsoft/qdk

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/add-link-to-qsharp-application

Branches

Tags

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

Clone

HTTPS

Download ZIP

source/pip/Cargo.toml

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