-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (31 loc) · 1.18 KB
/
Cargo.toml
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
[package]
name = "rigetti-pyo3"
version = "0.4.2"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/rigetti/rigetti-pyo3"
readme = "README.md"
categories = ["development-tools::ffi"]
keywords = ["python", "pyo3", "ffi"]
description = "Utilities for creating a Python wrapper for a Rust library."
rust-version = "1.67.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["complex", "time"]
time = ["dep:time"]
abi3 = ["pyo3/abi3"]
complex = ["dep:num-complex", "dep:num-traits", "pyo3/num-complex"]
indexmap = ["dep:indexmap", "pyo3/indexmap"]
extension-module = ["pyo3/extension-module"]
[dependencies]
num-complex = { version = "0.4.0", optional = true }
num-traits = { version = "0.2.15", optional = true }
paste = "1.0"
pyo3 = { version = "0.20", default-features = false, features = ["macros", "multiple-pymethods"] }
# time has a "stable minus two MSRV" policy, which doesn't jive with
# our more permissive MSRV
# https://github.com/time-rs/time/discussions/535
time = { version = ">=0.3, <=0.3.37", optional = true }
indexmap = { version = "2.0.0", optional = true }
[dev-dependencies]
thiserror = "2.0"