Skip to content

Commit

Permalink
fix default py features
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Oct 23, 2024
1 parent 96ca843 commit bb88701
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions src/daft-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ common-display = {path = "../common/display", default-features = false}
common-error = {path = "../common/error", default-features = false}
common-hashable-float-wrapper = {path = "../common/hashable-float-wrapper"}
common-py-serde = {path = "../common/py-serde", default-features = false}
daft-hash = {workspace = true, features = ["python"]}
daft-hash = {workspace = true}
daft-minhash = {path = "../daft-minhash", default-features = false}
daft-schema = {path = "../daft-schema", default-features = false}
daft-sketch = {path = "../daft-sketch", default-features = false}
Expand Down Expand Up @@ -56,12 +56,13 @@ version = "0.8.5"

[features]
python = [
"dep:pyo3",
"dep:numpy",
"common-arrow-ffi/python",
"common-error/python",
"common-py-serde/python",
"common-arrow-ffi/python",
"daft-schema/python"
"daft-hash/python",
"daft-schema/python",
"dep:numpy",
"dep:pyo3"
]

[lints]
Expand Down
9 changes: 5 additions & 4 deletions src/daft-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ common-hashable-float-wrapper = {path = "../common/hashable-float-wrapper"}
common-io-config = {path = "../common/io-config", default-features = false}
daft-core = {path = "../daft-core", default-features = false}
daft-dsl = {path = "../daft-dsl", default-features = false}
daft-hash = {workspace = true, features = ["python"]}
daft-hash = {workspace = true}
daft-image = {path = "../daft-image", default-features = false}
daft-io = {path = "../daft-io", default-features = false}
futures = {workspace = true}
Expand All @@ -23,13 +23,14 @@ snafu.workspace = true

[features]
python = [
"dep:pyo3",
"common-error/python",
"common-io-config/python",
"daft-core/python",
"daft-io/python",
"daft-dsl/python",
"daft-hash/python",
"daft-image/python",
"common-io-config/python"
"daft-io/python",
"dep:pyo3"
]

[lints]
Expand Down

0 comments on commit bb88701

Please sign in to comment.