microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
source/pip/Cargo.toml
61lines · modecode
| 1 | [package] |
| 2 | name = "qsharp" |
| 3 | description = "Q# Python Bindings" |
| 4 | |
| 5 | version.workspace = true |
| 6 | authors.workspace = true |
| 7 | homepage.workspace = true |
| 8 | repository.workspace = true |
| 9 | edition.workspace = true |
| 10 | license.workspace = true |
| 11 | |
| 12 | [dependencies] |
| 13 | memchr = { workspace = true } |
| 14 | noisy_simulator = { path = "../noisy_simulator" } |
| 15 | num-bigint = { workspace = true } |
| 16 | num-complex = { workspace = true } |
| 17 | num-traits = { workspace = true } |
| 18 | qsc = { path = "../compiler/qsc" } |
| 19 | qdk_simulators = { path = "../simulators" } |
| 20 | resource_estimator = { path = "../resource_estimator" } |
| 21 | miette = { workspace = true, features = ["fancy"] } |
| 22 | rustc-hash = { workspace = true } |
| 23 | serde = { workspace = true, features = ["derive"] } |
| 24 | serde_json = { workspace = true } |
| 25 | rayon = { workspace = true } |
| 26 | rand = { workspace = true } |
| 27 | |
| 28 | [dev-dependencies] |
| 29 | expect-test = { workspace = true } |
| 30 | |
| 31 | [lints] |
| 32 | workspace = true |
| 33 | |
| 34 | [target.'cfg(not(any(target_family = "wasm")))'.dependencies] |
| 35 | allocator = { path = "../allocator" } |
| 36 | |
| 37 | [target.'cfg(not(any(target_os = "windows")))'.dependencies] |
| 38 | pyo3 = { workspace = true, features = [ |
| 39 | "abi3-py310", |
| 40 | "extension-module", |
| 41 | "num-bigint", |
| 42 | "num-complex", |
| 43 | ] } |
| 44 | |
| 45 | [target.'cfg(any(target_os = "windows"))'.dependencies] |
| 46 | # generate-import-lib: skip requiring Python 3 distribution |
| 47 | # files to be present on the (cross-)compile host system. |
| 48 | pyo3 = { workspace = true, features = [ |
| 49 | "abi3-py310", |
| 50 | "extension-module", |
| 51 | "generate-import-lib", |
| 52 | "num-bigint", |
| 53 | "num-complex", |
| 54 | ] } |
| 55 | |
| 56 | [lib] |
| 57 | crate-type = ["cdylib"] |
| 58 | doctest = false |
| 59 | |
| 60 | [package.metadata.maturin] |
| 61 | name = "qsharp._native" |
| 62 | |