Htrace 2.0.0

simple tracing system
Documentation
# Changelog

All notable changes to this project are documented in this file.  
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0] — 2025-09-26
Major release introducing breaking changes, new features, and internal refactors.

### Added
- File and CommandLine are now modules as **Default modules** (via `default_module` feature):
	- **File** module: write traces to files (rotation by day/hour, per thread, per source file, etc.).
	- **CommandLine** module: write traces to stdout with colors.
- **Optional integrations**
	- `tracing_subscriber` feature: global subscriber integration with `tracing`, including **span filtering** and **context propagation**.
	- `log_consumer` feature: global consumer integration with the `log` crate.
- **Macros**
	- `HTrace!` — trace messages/values.
	- `HTraceError!` — consume `Result` while logging errors.
	- `Span!` and `Spaned!` — span-based tracing, with context managed via a `ThreadManager`.
- **Span system**
	- New span mechanic allows defining a context for subsequent traces (thread-aware).
- **Context system**
	- New context mechanic allows defining module or specific content.
- **Formatter improvements**
	- Customizable formatters with editable templates.
	- Extra metadata available (thread name, context, etc.).
- **Config management**
	- Hconfig dependency is now optionnal via `hconfig` feature.
- **Backtrace**
	- Improved symbol resolution.
	- Filtering of internal and `/rustc/` frames for clarity.
	- Renamed `Backtrace` to `Hbacktrace`.
- **Tests**
	- Expanded test coverage (including span,tracing, log scenarios).

### Changed
- **Type**: renamed/normalized into "Level" inside "component".
- **Configuration**: Now use a global context.
- **Default features** in `Cargo.toml` revised.
- **Module organization**: files/structs reorganized, legacy names dropped, many method name revamped.

### Removed
- **Legacy APIs**: non-global configuration and obsolete level schemes (breaking compatibility with 1.x).
- **namedThread! macro** (superseded by span mechanics).
- Dependencies: removed `chrono` (replaced by `time`).

### Fixed / Optimized
- Multiple performance optimizations in backtrace and tracing paths.
- Reduced stack noise in backtrace outputs by filtering unnecessary frames.

---

[2.0.0]: https://github.com/hyultis/rust_Htrace/releases/tag/2.0.0