1 unstable release
Uses new Rust 2024
| 0.0.3 | Mar 11, 2026 |
|---|
#2 in #fist
115KB
2K
SLoC
fist-types
Shared types and constants for the fist (Interactive Search Tool) project.
This crate provides:
FileCategory: An extensive classification system for files based on extensions, filenames, and MIME types.When: A tri-state enum (Auto,Always,Never) used for controlling features like colorization.IconMappings: PHF-based mappings for file icons.- Shared filter and sorting types used across different search panes.
Features
serde: Enables serialization and deserialization for the types.file-format: Integrates with thefile-formatcrate for category detection based on file magic numbers.clap: Provides command-line argument parsing support for the types.
Dependencies
~2.9–5.5MB
~98K SLoC