alumy
A batteries-included Rust SDK for rapid application development. Logging, system utilities, and filesystem helpers — all ready to use.
Features
- High-Performance Logging: Non-blocking logger based on
tracingwith fluent configuration API, log rotation, and system uptime timestamps. Works across platforms. - System Utilities: Helpers for system information such as uptime (supports Linux, macOS, and Windows).
- Filesystem Utilities: Size parsing/formatting and path building helpers.
- Version Management: Macros and functions to access crate metadata at compile time.
Installation
Add this to your Cargo.toml:
[]
= "0.1.10"
= "1"
Usage
Logging Setup
Alumy provides a modern, non-blocking logger based on tracing. It re-exports all logging macros (trace!, debug!, info!, warn!, error!) for convenience:
use ;
System Uptime
Access system uptime information:
use uptime;
Filesystem Utilities
Parse and format file sizes easily:
use filesize;
Version Information
Access crate metadata:
use version;
use ;
License
This project is licensed under the MIT License.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.