| Crates.io | stylus-panic |
| lib.rs | stylus-panic |
| version | 0.4.1 |
| created_at | 2025-10-04 13:32:59.401724+00 |
| updated_at | 2025-10-08 03:53:27.585676+00 |
| description | stylus-panic is a panic handler that's available for no_std environments that uses stylus-interpreter's die function if it's available. It also provides a helpful console logger macro. |
| homepage | https://github.com/fluidity-money/stylus-panic |
| repository | https://github.com/fluidity-money/stylus-panic |
| max_upload_size | |
| id | 1867899 |
| size | 13,438 |
stylus-panic is a panic handler that's available for no_std environments that uses stylus-interpreter's die function if it's available. It also provides a helpful console logger macro.
harness_dbg!("Hello", "world");
Will use the console function, if the stylus-interpreter feature is enabled, to work
similarly to dbg!.
The panic handler will be registered if the std feature is not enabled. It will use the
die stylus-interpreter function if the stylus-interpreter feature is enabled.