File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818pub mod decoding;
1919pub mod encoding;
2020pub mod levels;
21- pub ( crate ) mod rle;
21+ experimental_mod_crate ! ( rle) ;
Original file line number Diff line number Diff line change @@ -68,6 +68,18 @@ macro_rules! experimental_mod {
6868 } ;
6969}
7070
71+ macro_rules! experimental_mod_crate {
72+ ( $module: ident $( , #[ $meta: meta] ) * ) => {
73+ #[ cfg( feature = "experimental" ) ]
74+ #[ doc( hidden) ]
75+ $( #[ $meta] ) *
76+ pub mod $module;
77+ #[ cfg( not( feature = "experimental" ) ) ]
78+ $( #[ $meta] ) *
79+ pub ( crate ) mod $module;
80+ } ;
81+ }
82+
7183#[ macro_use]
7284pub mod errors;
7385pub mod basic;
@@ -89,7 +101,7 @@ experimental_mod!(util, #[macro_use]);
89101pub mod arrow;
90102pub mod column;
91103experimental_mod ! ( compression) ;
92- mod encodings;
104+ experimental_mod ! ( encodings) ;
93105pub mod file;
94106pub mod record;
95107pub mod schema;
You can’t perform that action at this time.
0 commit comments