vortex_dtype/lib.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
#![cfg(target_endian = "little")]
#![deny(missing_docs)]
//! A type system for Vortex
//!
//! This crate contains the core logical type system for Vortex, including the definition of data types,
//! and (optionally) logic for their serialization and deserialization.
pub use dtype::*;
pub use extension::*;
pub use field::*;
pub use field_mask::*;
pub use half;
pub use nullability::*;
pub use ptype::*;
pub use struct_::*;
#[cfg(feature = "arbitrary")]
mod arbitrary;
mod dtype;
mod extension;
mod field;
mod field_mask;
mod nullability;
mod ptype;
mod serde;
mod struct_;
#[cfg(feature = "proto")]
pub mod proto {
//! Protocol buffer representations for DTypes
//!
//! This module contains the code to serialize and deserialize DTypes to and from protocol buffers.
pub use vortex_proto::dtype;
}
pub mod flatbuffers {
//! Flatbuffer representations for DTypes
//!
//! This module contains the code to serialize and deserialize DTypes to and from flatbuffers.
pub use vortex_flatbuffers::dtype::*;
pub use super::serde::flatbuffers::*;
}