Commit Graph

4 Commits

Author SHA1 Message Date
François Garillot 09e1090b2e
refactor: use #[track_caller] directly instead of conditional cfg_attr 2025-11-20 13:21:09 -05:00
François Garillot 9bdf23a659
fix: remove unused rustc_version dependency and simplify build.rs
- Remove rustc_version build dependency that was no longer needed
- Remove nightly detection since nightly cfg flag wasn't used anywhere
- Simplify build.rs to only set track_caller cfg flag
2025-11-19 09:20:50 -05:00
François Garillot 359941fdef
fix: address review comments
- Fixed compilation errors in no-std mode (TestError Debug derive, ToString imports)
- Addressed consistency issues: Option qualification, StdError naming, Borrow impl
- Fixed feature flag logic for supports_color function with proper priority ordering
- Added conditional compilation for std-dependent features in panic.rs, handler.rs, theme.rs
- Made syntect-highlighter feature explicitly require std
- Consolidated duplicate Borrow implementations using core::borrow::Borrow
2025-11-16 08:59:54 -05:00
François Garillot 79fbd0a07d
feat(no_std): Implement comprehensive no_std support
This commit finishes full no_std support to miette.
2025-10-21 07:19:03 -04:00