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