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