Skip to content

Commit

Permalink
show required features in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Sep 9, 2020
1 parent d987029 commit 4e5901a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion polars/src/chunked_array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ pub mod chunkops;
pub mod comparison;
pub mod iterator;
#[cfg(feature = "random")]
pub mod random;
#[doc(cfg(feature = "random"))]
mod random;
pub mod set;
pub mod take;
#[cfg(feature = "temporal")]
#[doc(cfg(feature = "temporal"))]
pub mod temporal;
pub mod unique;
pub mod upstream_traits;
Expand Down
1 change: 1 addition & 0 deletions polars/src/frame/ser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pub mod csv;
pub mod ipc;
pub mod json;
#[cfg(feature = "parquet_ser")]
#[doc(cfg(feature = "parquet_ser"))]
pub mod parquet;
use crate::prelude::*;
use arrow::{
Expand Down
1 change: 1 addition & 0 deletions polars/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
//! - Generate array's with randomly sampled values
#![allow(dead_code)]
#![feature(iterator_fold_self)]
#![feature(doc_cfg)]
#[macro_use]
pub mod series;
#[macro_use]
Expand Down

0 comments on commit 4e5901a

Please sign in to comment.