Cargo.toml
# 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 = "graphar"
description = "Native Rust reader and writer for the Apache GraphAr (gar/v1) file format"
version = "0.3.0"
edition = "2024"
rust-version = "1.91"
license = "Apache-2.0"
repository = "https://git.gunnar.rs/nordisk/graph-ar"
readme = "README.md"
keywords = ["graph", "graphar", "arrow", "parquet"]
categories = ["data-structures", "encoding"]
# The crate name and publication are for the Apache GraphAr project to decide.
publish = false
[features]
default = []
# Apache ORC chunks through orc-rust (pure Rust, on the same arrow major).
orc = ["dep:orc-rust"]
[dependencies]
arrow = { version = "59", features = ["prettyprint"] }
arrow-array = "59"
arrow-csv = "59"
arrow-schema = "59"
bytes = "1"
object_store = { version = "0.14", features = ["aws", "gcp", "azure", "http"] }
orc-rust = { version = "0.9", optional = true }
parquet = { version = "59", features = ["arrow"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
thiserror = "2"
url = "2"
[dev-dependencies]
tempfile = "3"
testcontainers = "0.27"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
# bench only (benches/graphar_bench.rs, docs/perf.md): Ragnar Groot Koerkamp's
# static search tree (STree64) and mmap, for the lookup / IO experiments.
znippy-zoomies = { version = "0.1.26", default-features = false }
memmap2 = "0.9"
[[bench]]
name = "graphar_bench"
harness = false