GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — qiskit/Cargo.toml at main · Qiskit/qiskit Expand file tree/ Copy pathCargo.tomlMore file actions 104 lines (97 loc) · 3.86 KB / Copy pathCargo.tomlFile metadata and controls104 lines (97 loc) · 3.86 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 [workspace] members = ["crates/*"] resolver = "2" [workspace.package] version = "2.7.0-dev" edition = "2024" # Keep `rust-version` in sync with `README.md` and `rust-toolchain.toml`. rust-version = "1.91" license = "Apache-2.0" # Shared dependencies that can be inherited. This just helps a little with # making sure our crates don't directly depend on different versions of things, # although we can't help it if our transitive dependencies pull in more. # # Each crate can add on specific features freely as it inherits. [workspace.dependencies] bytemuck = { version = "1.25", features = ["extern_crate_alloc", "derive", "impl_core_error"] } bitfield-struct = "0.13.0" enumflags2 = "0.7.12" indexmap.version = "2.10.0" hashbrown.version = "0.17.1" num-bigint = "0.4" num-complex = { version = "0.4", features = ["bytemuck"] } nalgebra = "0.35" faer = "0.24" numpy = "0.30" ndarray = "0.17" smallvec = "1.15" stacker = "0.1" thiserror = "2.0" rustworkx-core = "0.18" fixedbitset = "0.5.7" approx = "0.5" itertools = "0.15.0" foldhash = "0.2.0" rayon = "1.12" nom = "8.0" nom-unicode = "0.4" nom-language = "0.1" rand = "0.10" rand_pcg = "0.10" rand_distr = "0.6" rand_philox = "0.2" num-traits = "0.2" uuid = { version = "1.23", features = [ "v4", "fast-rng", ], default-features = false } anyhow = "1.0" binrw = "0.15" cbindgen = "0.29.4" mimalloc = "0.1.52" npyz = { version = "0.9.1", features = ["complex"] } tempfile = "3.0" mem_dbg = { version = "0.4.4", features = ["derive"] } # Most of the crates don't need the feature `extension-module`, since only `qiskit-pyext` builds an # actual C extension (the feature disables linking in `libpython`, which is forbidden in Python # distributions). We only activate that feature when building the C extension module; we still need # it disabled for Rust-only tests to avoid linker errors with it not being loaded. See # https://pyo3.rs/main/features#extension-module for more. pyo3 = { version = "0.30", features = ["abi3-py311"] } # These are our own crates (or at least, the ones that are used as internal dependencies). qiskit-accelerate = { path = "crates/accelerate" } qiskit-bindgen = { path = "crates/bindgen" } qiskit-cext = { path = "crates/cext" } qiskit-cext-vtable = { path = "crates/cext-vtable" } qiskit-circuit = { path = "crates/circuit" } qiskit-circuit-library = { path = "crates/circuit_library" } qiskit-mir = { path = "crates/mir" } qiskit-mir-passes = {path = "crates/mir-passes"} qiskit-passmanager = { path = "crates/passmanager" } qiskit-qasm2 = { path = "crates/qasm2" } qiskit-qasm3 = { path = "crates/qasm3" } qiskit-qpy = { path = "crates/qpy" } qiskit-transpiler = { path = "crates/transpiler" } qiskit-quantum-info = { path = "crates/quantum_info" } qiskit-synthesis = { path = "crates/synthesis" } qiskit-util = { path = "crates/util" } [workspace.lints.clippy] # The lint forbids things like `if a < b {} else if a == b {}`, and suggests matching on `a.cmp(&b)` # which uses the `::std::cmp::Ordering` enum as a return. Both styles are acceptable, and the `if` # chain can be more legible to people. comparison_chain = "allow" # Forbid `{,e}print{,ln}!` calls. These can be allowed locally if absolutely required, but the # vast majority of these are debug statements that we forget about. print_stdout = "deny" print_stderr = "deny" # Require `<module>/mod.rs` naming instead of `<module>.rs`. This is purely for consistent style. self_named_module_files = "deny" [workspace.lints.rust] # In Rust 2021, the bodies of `unsafe fn` may use `unsafe` functions themselves without marking # them. This is an overload of the word: `unsafe fn` is documenting something for the caller, but # that doesn't mean the entire function body is unsafe. Denying this lint (which becomes # warn-by-default in Rust 2024) means `unsafe fn` bodies still must use `unsafe {}` like normal. unsafe_op_in_unsafe_fn = "deny" [profile.release] lto = 'fat' codegen-units = 1 |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |