Decrust 🦀⚡
*The Ultimate All-in-One Error Handling Framework for Rust
Decrust is a revolutionary error handling framework that transforms how you deal with errors in Rust. With 96% automation rate, intelligent autocorrection, and comprehensive error analysis, Decrust makes error handling effortless and robust.
🚀 Quick Start
Add Decrust to your Cargo.toml
:
[]
= "1.2"
Use the decrust!
macro for automatic error handling:
use *;
✨ Revolutionary Features
🎯 96% AUTOMATION RATE
- ✅ 22/23 error types fixed automatically with zero human intervention
- ✅ AST-driven fixes with deep syntax tree analysis
- ✅ Circuit breaker protection prevents automation failures
- ✅ Heuristic recovery with pattern learning and confidence scoring
🔥 What decrust!
Can Handle
- File I/O operations – automatic error detection & reporting
- Network requests – with circuit breakers and heuristic recovery
- Database calls – includes retry and backoff logic
- Parsing operations – with inline validation & recovery
- Memory & threading issues – auto-sanitized with cross-module automation
- Async/await – seamlessly supported with circuit breaker protection
- Missing imports (E0433) – 100% automated dependency resolution
- Division by zero – 100% automated safety checks
- Type mismatches – smart automation with manual fallback
- Borrow checker errors – heuristic recovery with pattern recognition
💎 Advanced Error Handling
use *;
🎯 What Problems Does Decrust Solve?
Before Decrust
// Manual error handling - verbose and error-prone
match read_to_string
After Decrust
// Automatic error handling - clean and robust
use *;
decrust!
📚 Documentation
- API Documentation - Complete API reference
- User Guide - Comprehensive tutorials
- Examples - Real-world usage examples
🏗️ Architecture
Decrust consists of several integrated components:
decrust-core
- Core error handling frameworkdecrust-promac-runtime
- Runtime middleware and utilitiesdecrust_promac
- Procedural macros and code generationdecrust
- Main public interface (this crate)
🛡️ Licensing
This project is licensed under the Business Source License 1.1 (BSL 1.1).
- ✅ Non-production use is FREE (development, testing, academic, personal)
- 💰 Commercial/production use requires a paid license from ArcMoon Studios
- 📧 Contact: LordXyn@proton.me for commercial licensing inquiries
Change Date: 2029-05-25 | Change License: GNU GPL v3
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📞 Support
-
Issues: GitHub Issues
-
Discussions: GitHub Discussions
-
Commercial Support LordXyn@proton.me
Made with ❤️ by ArcMoon Studios