neuer-error 0.2.0

Ergonomic error handling for machines and humans.
Documentation
[dependencies.yansi]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.1"

[dev-dependencies.regex]
default-features = false
features = ["unicode", "perf"]
version = "1.12.2"

[[example]]
name = "embedded-no-std"
path = "examples/embedded-no-std.rs"

[[example]]
name = "library"
path = "examples/library.rs"

[[example]]
name = "non-dev-user"
path = "examples/non-dev-user.rs"

[[example]]
name = "tool-cli"
path = "examples/tool-cli.rs"

[[example]]
name = "validation"
path = "examples/validation.rs"

[[example]]
name = "web-client"
path = "examples/web-client.rs"

[[example]]
name = "webserver-backend"
path = "examples/webserver-backend.rs"

[features]
colors = ["dep:yansi"]
default = ["std", "send", "sync"]
send = []
std = ["yansi?/std", "yansi?/detect-tty", "yansi?/detect-env"]
sync = ["send"]

[lib]
name = "neuer_error"
path = "src/lib.rs"

[lints.clippy]
allow_attributes_without_reason = "warn"
assigning_clones = "warn"
borrow_as_ptr = "warn"
branches_sharing_code = "warn"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_ptr_alignment = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
clear_with_drain = "warn"
cloned_instead_of_copied = "warn"
collection_is_never_read = "warn"
copy_iterator = "warn"
create_dir = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
decimal_literal_representation = "warn"
default_trait_access = "warn"
expect_used = "warn"
expl_impl_clone_on_copy = "warn"
fallible_impl_from = "warn"
filetype_is_file = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "warn"
fn_params_excessive_bools = "warn"
fn_to_numeric_cast_any = "warn"
format_collect = "warn"
format_push_string = "warn"
future_not_send = "warn"
if_then_some_else_none = "warn"
ignored_unit_patterns = "warn"
impl_trait_in_params = "warn"
implicit_clone = "warn"
implicit_hasher = "warn"
imprecise_flops = "warn"
indexing_slicing = "warn"
inefficient_to_string = "warn"
items_after_statements = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
large_digit_groups = "warn"
large_futures = "warn"
large_stack_arrays = "warn"
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
literal_string_with_formatting_args = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_instant_elapsed = "warn"
manual_is_power_of_two = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
many_single_char_names = "warn"
map_unwrap_or = "warn"
map_with_unused_argument_over_ranges = "warn"
mismatching_type_param_order = "warn"
missing_const_for_fn = "warn"
missing_docs_in_private_items = "warn"
missing_fields_in_debug = "warn"
must_use_candidate = "warn"
mut_mut = "warn"
mutex_atomic = "warn"
mutex_integer = "warn"
needless_bitwise_bool = "warn"
needless_collect = "warn"
needless_pass_by_ref_mut = "warn"
non_send_fields_in_send_ty = "warn"
non_std_lazy_statics = "warn"
option_option = "warn"
or_fun_call = "warn"
path_buf_push_overwrite = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
range_minus_one = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
read_zero_byte_vec = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
return_self_not_must_use = "warn"
same_functions_in_if_condition = "warn"
same_name_method = "warn"
set_contains_or_insert = "warn"
stable_sort_primitive = "warn"
str_to_string = "warn"
string_lit_chars_any = "warn"
suboptimal_flops = "warn"
suspicious_operation_groupings = "warn"
suspicious_xor_used_as_pow = "warn"
tabs_in_doc_comments = "allow"
tests_outside_test_module = "warn"
too_many_lines = "warn"
trait_duplication_in_bounds = "warn"
trivially_copy_pass_by_ref = "warn"
try_err = "warn"
type_repetition_in_bounds = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_box_returns = "warn"
unnecessary_lazy_evaluations = "allow"
unnecessary_literal_bound = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
unsafe_derive_deserialize = "warn"
unseparated_literal_suffix = "warn"
unused_async = "warn"
unused_self = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
used_underscore_items = "warn"
useless_let_if_seq = "warn"
verbose_file_reads = "warn"

[lints.rust]
closure_returning_async_block = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_extern_crates = "warn"

[package]
authors = ["Flix <felix.dommes@rwth-aachen.de>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std", "rust-patterns"]
description = "Ergonomic error handling for machines and humans."
edition = "2024"
exclude = ["/.github"]
homepage = "https://github.com/FlixCoder/neuer-error"
keywords = ["error", "error-handling", "no-std"]
license = "MIT"
name = "neuer-error"
readme = "README.md"
repository = "https://github.com/FlixCoder/neuer-error"
rust-version = "1.92"
version = "0.2.0"