microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
source/pip/Cargo.toml
42lines · 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 | noisy_simulator = { path = "../noisy_simulator" } |
| 14 | num-bigint = { workspace = true } |
| 15 | num-complex = { workspace = true } |
| 16 | qsc = { path = "../compiler/qsc" } |
| 17 | resource_estimator = { path = "../resource_estimator" } |
| 18 | miette = { workspace = true, features = ["fancy"] } |
| 19 | rustc-hash = { workspace = true } |
| 20 | serde = { workspace = true, features = ["derive"] } |
| 21 | serde_json = { workspace = true } |
| 22 | |
| 23 | [lints] |
| 24 | workspace = true |
| 25 | |
| 26 | [target.'cfg(not(any(target_family = "wasm")))'.dependencies] |
| 27 | allocator = { path = "../allocator" } |
| 28 | |
| 29 | [target.'cfg(not(any(target_os = "windows")))'.dependencies] |
| 30 | pyo3 = { workspace = true, features = ["abi3-py39", "extension-module", "num-bigint", "num-complex"] } |
| 31 | |
| 32 | [target.'cfg(any(target_os = "windows"))'.dependencies] |
| 33 | # generate-import-lib: skip requiring Python 3 distribution |
| 34 | # files to be present on the (cross-)compile host system. |
| 35 | pyo3 = { workspace = true, features = ["abi3-py39", "extension-module", "generate-import-lib", "num-bigint", "num-complex"] } |
| 36 | |
| 37 | [lib] |
| 38 | crate-type = ["cdylib"] |
| 39 | doctest = false |
| 40 | |
| 41 | [package.metadata.maturin] |
| 42 | name = "qsharp._native" |
| 43 | |