fix: make pyo3 optional again (#1153)

* fix: make pyo3 optional again

* Update src/script/Cargo.toml

Co-authored-by: dennis zhuang <killme2008@gmail.com>

---------

Co-authored-by: dennis zhuang <killme2008@gmail.com>
This commit is contained in:
Ning Sun
2023-03-09 22:16:48 +08:00
committed by GitHub
parent 610a895b66
commit 58bdf27068
3 changed files with 18 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ license.workspace = true
[features]
default = ["python"]
pyo3_backend = ["pyo3"]
pyo3_backend = ["dep:pyo3", "arrow/pyarrow"]
python = [
"dep:datafusion",
"dep:datafusion-common",