From fc09305f0a8c57e98cd52d56191d87b0723cc469 Mon Sep 17 00:00:00 2001 From: jam1garner <8260240+jam1garner@users.noreply.github.com> Date: Wed, 28 Jul 2021 15:37:16 -0400 Subject: [PATCH] Add pyo3 feature forwarding --- Cargo.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b2bb342..05423e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,5 +16,17 @@ autoexamples = false inline-python-macros = { version = "=0.7.0", path = "./macros" } pyo3 = { version = "0.14.0", default-features = false, features = ["auto-initialize"] } +[features] +pyo3-macros = ["pyo3/macros"] +pyo3-multiple-pymethods = ["pyo3/multiple-pymethods"] +pyo3-extension-module = ["pyo3/extension-module"] +pyo3-abi3 = ["pyo3/abi3"] +pyo3-abi3-py36 = ["pyo3/abi3-py36"] +pyo3-abi3-py37 = ["pyo3/abi3-py37"] +pyo3-abi3-py38 = ["pyo3/abi3-py38"] +pyo3-abi3-py39 = ["pyo3/abi3-py39"] +pyo3-auto-initialize = ["pyo3/auto-initialize"] +pyo3-nightly = ["pyo3/nightly"] + [workspace] members = ["examples", "ct-python"]