Skip to main content

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;
21#[cfg(feature = "io_ipc")]
22#[cfg_attr(docsrs, doc(cfg(feature = "io_ipc")))]
23pub mod mmap;
24pub mod record_batch;
25
26pub mod offset;
27pub mod scalar;
28pub mod trusted_len;
29pub mod types;
30
31pub mod compute;
32pub mod io;
33pub mod temporal_conversions;
34
35pub mod datatypes;
36
37pub mod ffi;
38pub mod legacy;
39pub mod pushable;
40pub mod util;
41
42// re-exported because we return `Either` in our public API
43// re-exported to construct dictionaries
44pub use either::Either;