File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ rust-version.workspace = true
2929
3030[features ]
3131default = []
32- async = [" dep:datafusion-execution" , " dep:futures" , " dep:tokio " ]
32+ async = [" dep:datafusion-execution" , " dep:futures" ]
3333
3434[dependencies ]
3535arrow-array = { workspace = true , features = [" ffi" ]}
@@ -43,7 +43,6 @@ sedona-common = { workspace = true }
4343sedona-expr = { workspace = true }
4444sedona-schema = { workspace = true }
4545sedona-testing = { path = " ../../rust/sedona-testing" }
46- tokio = { workspace = true , optional = true }
4746
4847[dev-dependencies ]
4948tokio = { workspace = true , features = [" rt" , " macros" ] }
Original file line number Diff line number Diff line change @@ -173,38 +173,6 @@ impl From<FFI_ArrowArray> for FFI_ArrowDeviceArray {
173173 }
174174}
175175
176- /// FFI representation of the ArrowDeviceArrayStream from the Arrow C Device Data Interface
177- ///
178- /// See: https://arrow.apache.org/docs/format/CDeviceDataInterface.html
179- #[ repr( C ) ]
180- pub struct FFI_ArrowDeviceArrayStream {
181- pub device_type : i32 ,
182- pub get_schema : Option <
183- unsafe extern "C" fn (
184- self_ : * mut FFI_ArrowDeviceArrayStream ,
185- out : * mut FFI_ArrowSchema ,
186- ) -> c_int ,
187- > ,
188- pub get_next : Option <
189- unsafe extern "C" fn (
190- self_ : * mut FFI_ArrowDeviceArrayStream ,
191- out : * mut FFI_ArrowDeviceArray ,
192- ) -> c_int ,
193- > ,
194- pub get_last_error :
195- Option < unsafe extern "C" fn ( self_ : * mut FFI_ArrowDeviceArrayStream ) -> * const c_char > ,
196- pub release : Option < unsafe extern "C" fn ( self_ : * mut FFI_ArrowDeviceArrayStream ) > ,
197- pub private_data : * mut c_void ,
198- }
199-
200- impl Drop for FFI_ArrowDeviceArrayStream {
201- fn drop ( & mut self ) {
202- if let Some ( releaser) = self . release {
203- unsafe { releaser ( self ) } ;
204- }
205- }
206- }
207-
208176/// FFI representation of the ArrowAsyncProducer from the Arrow C Device Data Interface.
209177///
210178/// This producer-managed object allows consumers to control flow via back-pressure
You can’t perform that action at this time.
0 commit comments