Cargo Features

[dependencies]
simple_detailed_error = { version = "0.1.0", default-features = false, features = ["std", "colorization", "serde"] }
default = colorization, std

These default features are set whenever simple_detailed_error is added without default-features = false somewhere in the dependency tree.

std default

Implements the Error trait for SimpleError, it might also be used for future implementations that might require targeting std.

colorization default

Allows the colorization markers to used on SimpleErrorExplanation, helping you to create beautiful colored error message to direct your user's attention.

Enables colored and string_colorization

serde

Implements Serialize and Deserialize on SimpleErrorDisplayInfo, this is useful for storing logs of errors, especially for auditing.

Enables serde