nushell/crates/nu-utils/src/lib.rs
sholderbach aa461e608d Include README in lib.rs files
Fix incompatible code-fences.
As `rustdoc` assumes `rust` others need to declare a language or use
`text`

TODO some crates have their own crate level docs independent of a README
2024-05-19 22:12:56 +02:00

26 lines
609 B
Rust

#![doc = include_str!("../README.md")]
mod casing;
pub mod ctrl_c;
mod deansi;
pub mod emoji;
pub mod filesystem;
pub mod locale;
mod shared_cow;
pub mod utils;
pub use locale::get_system_locale;
pub use utils::{
enable_vt_processing, get_default_config, get_default_env, get_ls_colors,
stderr_write_all_and_flush, stdout_write_all_and_flush,
};
pub use casing::IgnoreCaseExt;
pub use deansi::{
strip_ansi_likely, strip_ansi_string_likely, strip_ansi_string_unlikely, strip_ansi_unlikely,
};
pub use emoji::contains_emoji;
pub use shared_cow::SharedCow;
#[cfg(unix)]
pub use filesystem::users;