SoftPath
A human-friendly file and directory path manipulation library for Rust.
Features
- โจ Intuitive path operations
- ๐ Safe path handling with security checks
- ๐ Cross-platform support (Windows, Unix, macOS)
- ๐โโ๏ธ High-performance operations
- ๐งช Comprehensive test suite
- ๐ Well-documented API
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Quick Start
use *;
Safety Features
- Path traversal protection
- Symlink cycle detection
- Maximum path depth checks
- Secure temporary file handling
- Cross-platform path normalization
Performance
The library is designed with performance in mind:
- Minimal allocations
- Efficient path manipulation
- Smart caching when appropriate
- Benchmarked operations
License
Licensed under:
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.