parx-rs 0.1.0

Parx format Rust library
Documentation
/*
 * Copyright 2026 PARX Authors
 *
 * Licensed 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.
 */
//! PARX Core Library
//!
//! This crate provides the core functionality for reading and writing PARX sidecar files.
//! PARX files cache Parquet footer metadata to accelerate query planning on object stores.

mod bundle;
mod compression;
mod error;
mod format;
mod reader;
mod writer;

pub mod proto {
    include!("parx.rs");
}

pub use bundle::{ParxBundleReader, ParxBundleWriter, BUNDLE_FILENAME};
pub use compression::{compress, decompress};
pub use error::{ParxError, Result};
pub use format::Compression;
pub use format::{
    BundleHeader, Header, Trailer, BUNDLE_HEADER_SIZE, HEADER_SIZE, TRAILER_SIZE, VERSION_MAJOR,
    VERSION_MINOR,
};
pub use proto::{BundleEntry, ParxBundle, ParxManifest};
pub use reader::ParxReader;
pub use writer::ParxWriter;