Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-arrow/src/lib.rs
6939 views
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
16
extern crate core;
17
18
#[macro_use]
19
pub mod array;
20
pub mod bitmap;
21
pub mod buffer;
22
#[cfg(feature = "io_ipc")]
23
#[cfg_attr(docsrs, doc(cfg(feature = "io_ipc")))]
24
pub mod mmap;
25
pub mod record_batch;
26
27
pub mod offset;
28
pub mod scalar;
29
pub mod storage;
30
pub mod trusted_len;
31
pub mod types;
32
33
pub mod compute;
34
pub mod io;
35
pub mod temporal_conversions;
36
37
pub mod datatypes;
38
39
pub mod ffi;
40
pub mod legacy;
41
pub mod pushable;
42
pub mod util;
43
44
// re-exported because we return `Either` in our public API
45
// re-exported to construct dictionaries
46
pub use either::Either;
47
48