Expand description
Collection of small utilities that are shared across Nushell crates.
This crate should compile early in the crate graph and thus not depend on major dependencies or core-nushell crates itself.
§Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.
Re-exports§
pub use locale::get_system_locale;pub use utils::ConfigFileKind;pub use utils::enable_vt_processing;pub use utils::get_ls_colors;pub use utils::stderr_write_all_and_flush;pub use utils::stdout_write_all_and_flush;pub use utils::terminal_size;pub use emoji::contains_emoji;pub use flatten_json::JsonFlattener;pub use float::ObviousFloat;pub use filesystem::users;
Modules§
- emoji
- filesystem
- flatten_
json - float
- locale
- strings
- String utility types with specific semantics.
- utils
Macros§
- perf
- sformat
- A macro for creating
SharedStringinstances from format arguments. - uformat
- A macro for creating
UniqueStringinstances from format arguments.
Structs§
- Shared
Cow - A container that transparently shares a value when possible, but clones on mutate.
- Split
Read
Enums§
Traits§
Functions§
- escape_
quote_ string - needs_
quoting - strip_
ansi_ likely - Removes ANSI escape codes and some ASCII control characters
- strip_
ansi_ string_ likely - Removes ANSI escape codes and some ASCII control characters
- strip_
ansi_ string_ unlikely - Removes ANSI escape codes and some ASCII control characters
- strip_
ansi_ unlikely - Removes ANSI escape codes and some ASCII control characters