Module snafu::guide::compatibility

source ·
Expand description

§Rust version compatibility

SNAFU is tested and compatible back to Rust 1.56, released on 2021-10-21. Compatibility is controlled by Cargo feature flags.

§rust_1_61

Default
enabled

When enabled, SNAFU will assume that it’s safe to target features available in Rust 1.61. Notably, the Termination trait is implemented for Report to allow it to be returned from main and test functions.

§rust_1_65

Default
enabled
Implies

rust_1_61

When enabled, SNAFU will assume that it’s safe to target features available in Rust 1.65. Notably, the Backtrace type is used when the standard library is available and no other backtrace provider is selected.