blob: 5b72eed4a3cf9a6dfbee357aeacb595762ac91a3 [file]
# 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 = "spark-datasource"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
description = "Experimental Rust SDK for native data sources of Apache Spark"
[workspace]
members = [
"../../../examples/src/main/rust/native-data-source",
"../../../examples/src/main/rust/native-data-sink",
]
default-members = ["."]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
# The version of Arrow 58, which also requires Rust 1.85.
rust-version = "1.85"
license = "Apache-2.0"
publish = false
[workspace.dependencies]
arrow-array = { version = "58", features = ["ffi"] }
arrow-schema = { version = "58", features = ["ffi"] }
arrow-data = "58"
log = "0.4"
rmp-serde = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[dependencies]
arrow-array.workspace = true
arrow-schema.workspace = true
arrow-data.workspace = true
log.workspace = true
rmp-serde.workspace = true
serde.workspace = true
serde_json.workspace = true
[profile.release]
# Provider panics are translated into C ABI / Arrow errors by the SDK.
panic = "unwind"