Crate gnu_sort

Crate gnu_sort 

Source
Expand description

GNU sort implementation in Rust

This crate provides a complete, production-ready implementation of the GNU sort utility with all major features including multiple comparison modes, field sorting, parallelization, and memory-efficient operations.

Re-exports§

pub use config::SortConfig;
pub use config::SortMode;
pub use config::SortOrder;
pub use error::SortError;
pub use error::SortResult;

Modules§

adaptive_sort
args
config
Configuration management for sort operations
core_sort
error
Error handling for the sort utility
external_sort
hash_sort
locale
Locale-aware string comparison support for LC_COLLATE
radix_sort
simd_compare
zero_copy

Constants§

EXIT_FAILURE
EXIT_SUCCESS
Exit codes matching GNU sort
SORT_FAILURE

Functions§

sort
Main sort function that processes input according to configuration