quilt-rs 0.5.7

Rust library for accessing Quilt data packages.
Documentation
//!
//! # Manifest
//!
//! Manifest wraps a Table4 containing an Arrow Table,
//! which is usually associated with a UPath.
//! It presents itself as a list of Entries,
//! the first of which is the Header.
//!
//! NOTE: The names Manifest4/Entry4 are temporary, to avoid confusion
//! with the existing Manifest/Entry types.
//! Before 1.0, they will be renamed to Manifest/Entry
//! and the existing types will be obsoleted.
//!
use super::{
    table::Table,
    // entry::Entry4,
    upath::UPath,
};
use std::fmt;

#[derive(Clone, Debug)]
pub struct Manifest4 {
    table: Table,
}

impl Manifest4 {
    pub fn new(table: Table) -> Self {
        Manifest4 { table }
    }

    pub fn hash(&self) -> String {
        unimplemented!()
    }

    pub async fn write4(&self, _path: UPath) {
        unimplemented!()
    }
}

impl fmt::Display for Manifest4 {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "Manifest4({})", self.table)
    }
}