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