From e893ce97dd42a8b61c991edeb089ffb9e253cf64 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Mon, 16 Sep 2024 11:47:14 -0700 Subject: [PATCH] Use ws config --- Cargo.lock | 15 +++++++++++++++ Cargo.toml | 9 +++++++++ pyqir/Cargo.toml | 14 ++++++++------ qirlib/Cargo.toml | 13 ++++++------- 4 files changed, 38 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 972b842b..bea172b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,6 +147,19 @@ dependencies = [ "semver 1.0.21", ] +[[package]] +name = "llvm-sys" +version = "150.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa55828745895d37233756307ded95a235b058aeb89cd12717ec7c3912089ee9" +dependencies = [ + "cc", + "lazy_static", + "libc", + "regex", + "semver 1.0.21", +] + [[package]] name = "lock_api" version = "0.4.11" @@ -311,6 +324,7 @@ dependencies = [ "llvm-sys 120.3.2", "llvm-sys 130.1.2", "llvm-sys 140.1.3", + "llvm-sys 150.2.1", "pyo3", "qirlib", ] @@ -328,6 +342,7 @@ dependencies = [ "llvm-sys 120.3.2", "llvm-sys 130.1.2", "llvm-sys 140.1.3", + "llvm-sys 150.2.1", "log", "mut_static", "normalize-line-endings", diff --git a/Cargo.toml b/Cargo.toml index f28890c7..4b293ae4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,12 @@ [workspace] members = ["pyqir", "qirlib"] resolver = "2" + +[workspace.package] +authors = ["Microsoft"] +version = "0.10.5" +edition = "2021" +license = "MIT" +homepage = "https://github.com/qir-alliance/pyqir" +repository = "https://github.com/qir-alliance/pyqir" + diff --git a/pyqir/Cargo.toml b/pyqir/Cargo.toml index f2b97e42..2ef3ea2a 100644 --- a/pyqir/Cargo.toml +++ b/pyqir/Cargo.toml @@ -1,13 +1,14 @@ [package] -authors = ["Microsoft"] name = "pyqir" -version = "0.10.5" -edition = "2021" -license = "MIT" description = "PyQIR parses, generates and evaluates the Quantum Intermediate Representation." readme = "README.md" -homepage = "https://github.com/qir-alliance/pyqir" -repository = "https://github.com/qir-alliance/pyqir" +authors.workspace = true +version.workspace = true +edition.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true + [dependencies] const-str = "0.5" @@ -15,6 +16,7 @@ llvm-sys-110 = { package = "llvm-sys", version = "110.0", optional = true } llvm-sys-120 = { package = "llvm-sys", version = "120.3", optional = true } llvm-sys-130 = { package = "llvm-sys", version = "130.1", optional = true } llvm-sys-140 = { package = "llvm-sys", version = "140.1", optional = true } +llvm-sys-150 = { package = "llvm-sys", version = "150.2", optional = true } pyo3 = { version = "0.19", features = ["abi3-py38", "extension-module"] } qirlib = { path = "../qirlib" } diff --git a/qirlib/Cargo.toml b/qirlib/Cargo.toml index f5bab409..cf1fcb77 100644 --- a/qirlib/Cargo.toml +++ b/qirlib/Cargo.toml @@ -1,14 +1,13 @@ [package] name = "qirlib" -version = "0.10.5" -edition = "2021" -license = "MIT" description = "Base Profile QIR library" -build = "build.rs" readme = "README.md" -homepage = "https://github.com/qir-alliance/pyqir" -repository = "https://github.com/qir-alliance/pyqir" -rust-version = "1.80" +authors.workspace = true +version.workspace = true +edition.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true [dependencies] bitvec = "1.0"