polars_arrow/
lib.rs

1// So that we have more control over what is `unsafe` inside an `unsafe` block
2#![allow(unused_unsafe)]
3//
4#![allow(clippy::len_without_is_empty)]
5// this landed on 1.60. Let's not force everyone to bump just yet
6#![allow(clippy::unnecessary_lazy_evaluations)]
7// Trait objects must be returned as a &Box<dyn Array> so that they can be cloned
8#![allow(clippy::borrowed_box)]
9// Allow type complexity warning to avoid API break.
10#![allow(clippy::type_complexity)]
11#![cfg_attr(docsrs, feature(doc_cfg))]
12#![cfg_attr(feature = "simd", feature(portable_simd))]
13#![cfg_attr(feature = "nightly", allow(clippy::non_canonical_partial_ord_impl))] // Remove once stable.
14#![cfg_attr(feature = "nightly", allow(clippy::blocks_in_conditions))] // Remove once stable.
15
16extern crate core;
17
18#[macro_use]
19pub mod array;
20pub mod bitmap;
21pub mod buffer;
22#[cfg(feature = "io_ipc")]
23#[cfg_attr(docsrs, doc(cfg(feature = "io_ipc")))]
24pub mod mmap;
25pub mod record_batch;
26
27pub mod offset;
28pub mod scalar;
29pub mod storage;
30pub mod trusted_len;
31pub mod types;
32
33pub mod compute;
34pub mod io;
35pub mod temporal_conversions;
36
37pub mod datatypes;
38
39pub mod ffi;
40pub mod legacy;
41pub mod pushable;
42pub mod util;
43
44// re-exported because we return `Either` in our public API
45// re-exported to construct dictionaries
46pub use either::Either;