vortex_dtype/
lib.rs

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