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 decimal::*;
10pub use dtype::*;
11pub use extension::*;
12pub use field::*;
13pub use field_mask::*;
14pub use half;
15pub use nullability::*;
16pub use ptype::*;
17pub use struct_::*;
18
19#[cfg(feature = "arbitrary")]
20mod arbitrary;
21#[cfg(feature = "arrow")]
22pub mod arrow;
23pub mod datetime;
24mod decimal;
25mod dtype;
26mod extension;
27mod field;
28mod field_mask;
29mod nullability;
30mod ptype;
31mod serde;
32mod struct_;
33
34pub mod proto {
35    //! Protocol buffer representations for DTypes
36    //!
37    //! This module contains the code to serialize and deserialize DTypes to and from protocol buffers.
38
39    pub use vortex_proto::dtype;
40}
41
42pub mod flatbuffers {
43    //! Flatbuffer representations for DTypes
44    //!
45    //! This module contains the code to serialize and deserialize DTypes to and from flatbuffers.
46
47    pub use vortex_flatbuffers::dtype::*;
48
49    pub use super::serde::flatbuffers::*;
50}