| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| [package] |
| name = "datafusion-jni" |
| version = "0.1.0" |
| edition = "2021" |
| publish = false |
| |
| [lib] |
| crate-type = ["cdylib"] |
| |
| [dependencies] |
| arrow = { version = "58", features = ["ffi"] } |
| async-trait = "0.1" |
| datafusion = { version = "53.1.0", features = ["avro"] } |
| datafusion-proto = "53.1.0" |
| futures = "0.3" |
| jni = "0.21" |
| # Pin to the same major as DataFusion 53.1 pulls in transitively (0.13.x) |
| # so we share the same `dyn ObjectStore` vtable and don't double-link. |
| object_store = { version = "0.13", default-features = false } |
| prost = "0.14" |
| tokio = { version = "1", features = ["rt-multi-thread"] } |
| url = "2" |
| |
| [features] |
| # Enable all three cloud backends by default so `make test` exercises them. |
| # Downstream builds that strip a feature get a clear runtime error if a |
| # caller tries to register an unsupported backend. |
| default = [ |
| "object-store-aws", |
| "object-store-gcp", |
| "object-store-http", |
| ] |
| object-store-aws = ["object_store/aws"] |
| object-store-gcp = ["object_store/gcp"] |
| object-store-http = ["object_store/http"] |
| |
| [build-dependencies] |
| prost-build = "0.14" |
| protoc-bin-vendored = "3" |