5 releases
| 0.5.2 | Jun 30, 2025 |
|---|---|
| 0.5.1 | Apr 12, 2025 |
| 0.5.0 | Mar 31, 2025 |
| 0.4.7 | Feb 2, 2025 |
| 0.4.6 | Feb 2, 2025 |
#594 in FFI
354 downloads per month
150KB
3.5K
SLoC
xelf
A versatile Rust toolkit providing extensive utilities for async programming, database operations, FFI, and more.
Features
This crate provides several feature-gated modules:
Minimal Features (Default)
datetime- Chronological utilities usingchronocollections- Enhanced collection types usingsmallvecand moreio- I/O utilitiesderive- Helpful derive macros
Common Features
- Async programming utilities (tokio-based)
- Byte handling and manipulation
- File system operations
- JSON processing
- Network programming
- Signal handling
- String manipulation
- Synchronization primitives
Full Features
- Database support (sea-orm, sqlx)
- FFI utilities
- All common features
Installation
Add this to your Cargo.toml:
[dependencies]
xelf = "0.4.6" # Default features
With specific features:
[dependencies]
xelf = { version = "0.4.6", features = ["full"] } # All features
# or
xelf = { version = "0.4.6", features = ["async", "db"] } # Selected features
Feature Flags
minimal(default): Basic utilitiescommon: Most commonly used featuresfull: All features including database and FFI- Individual features like
async,db,ffi, etc.
See Cargo.toml for complete feature list.
Requirements
- Rust 1.77 or later
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Author
Sprite Tong (spritetong@gmail.com)
Dependencies
~0–23MB
~293K SLoC