@@ -26,32 +26,65 @@ readme = "README.md"
2626license = " Apache-2.0"
2727edition = " 2021"
2828rust-version = " 1.78"
29- include = [" /src" , " /datafusion" , " /LICENSE.txt" , " pyproject.toml" , " Cargo.toml" , " Cargo.lock" ]
29+ include = [
30+ " /src" ,
31+ " /datafusion" ,
32+ " /LICENSE.txt" ,
33+ " pyproject.toml" ,
34+ " Cargo.toml" ,
35+ " Cargo.lock" ,
36+ ]
3037
3138[features ]
3239default = [" mimalloc" ]
33- protoc = [ " datafusion-substrait/protoc" ]
40+ protoc = [" datafusion-substrait/protoc" ]
3441substrait = [" dep:datafusion-substrait" ]
3542
3643[dependencies ]
37- tokio = { version = " 1.41" , features = [" macros" , " rt" , " rt-multi-thread" , " sync" ] }
38- pyo3 = { version = " 0.22" , features = [" extension-module" , " abi3" , " abi3-py38" ] }
44+ tokio = { version = " 1.41" , features = [
45+ " macros" ,
46+ " rt" ,
47+ " rt-multi-thread" ,
48+ " sync" ,
49+ ] }
50+ pyo3 = { version = " 0.22" , features = [
51+ " extension-module" ,
52+ " abi3" ,
53+ " abi3-py38" ,
54+ ] }
3955arrow = { version = " 53" , features = [" pyarrow" ] }
40- datafusion = { version = " 43.0.0" , features = [" pyarrow" , " avro" , " unicode_expressions" ] }
56+ datafusion = { version = " 43.0.0" , features = [
57+ " pyarrow" ,
58+ " avro" ,
59+ " unicode_expressions" ,
60+ ] }
4161datafusion-substrait = { version = " 43.0.0" , optional = true }
4262datafusion-proto = { version = " 43.0.0" }
4363datafusion-ffi = { version = " 43.0.0" }
4464datafusion-functions-window-common = { version = " 43.0.0" }
4565prost = " 0.13" # keep in line with `datafusion-substrait`
4666uuid = { version = " 1.11" , features = [" v4" ] }
47- mimalloc = { version = " 0.1" , optional = true , default-features = false , features = [" local_dynamic_tls" ] }
67+ mimalloc = { version = " 0.1" , optional = true , default-features = false , features = [
68+ " local_dynamic_tls" ,
69+ ] }
4870async-trait = " 0.1"
4971futures = " 0.3"
50- object_store = { version = " 0.11.0" , features = [" aws" , " gcp" , " azure" , " http" ] }
72+ object_store = { version = " 0.11.0" , features = [
73+ " aws" ,
74+ " gcp" ,
75+ " azure" ,
76+ " http" ,
77+ ] }
5178url = " 2"
52-
79+ # patch datafusion
80+ [patch .crates-io ]
81+ datafusion = { git = " https://github.com/kosiew/datafusion" , branch = " tag43-parquet" }
82+ datafusion-proto = { git = " https://github.com/kosiew/datafusion" , branch = " tag43-parquet" }
83+ datafusion-ffi = { git = " https://github.com/kosiew/datafusion" , branch = " tag43-parquet" }
84+ datafusion-functions-window-common = { git = " https://github.com/kosiew/datafusion" , branch = " tag43-parquet" }
85+ datafusion-substrait = { git = " https://github.com/kosiew/datafusion" , branch = " tag43-parquet" }
5386[build-dependencies ]
54- prost-types = " 0.13" # keep in line with `datafusion-substrait`
87+ prost-types = " 0.13" # keep in line with `datafusion-substrait`
5588pyo3-build-config = " 0.22"
5689
5790[lib ]
@@ -60,4 +93,4 @@ crate-type = ["cdylib", "rlib"]
6093
6194[profile .release ]
6295lto = true
63- codegen-units = 1
96+ codegen-units = 1
0 commit comments