assert-rs 0.1.0

An assertion library that uses types and data to fail tests instead of panicking.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "assert-rs"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An assertion library that uses types and data to fail tests instead of panicking."
readme = "README.md"
license = "MIT"
repository = "https://github.com/JT992/assert-rs"

[features]
alloc = []
default = [
    "std",
    "alloc",
]
std = ["alloc"]

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

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "cmp"
path = "tests/cmp.rs"

[[test]]
name = "monad"
path = "tests/monad.rs"

[[test]]
name = "multi"
path = "tests/multi.rs"

[[test]]
name = "slice"
path = "tests/slice.rs"

[dependencies]

[lints.clippy]
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "warn"
as_pointer_underscore = "deny"
as_underscore = "deny"
default_union_representation = "deny"
doc_include_without_cfg = "warn"
doc_paragraphs_missing_punctuation = "warn"
error_impl_error = "warn"
expect_used = "deny"
field_scoped_visibility_modifiers = "warn"
filetype_is_file = "warn"
float_cmp_const = "deny"
if_then_some_else_none = "deny"
impl_trait_in_params = "deny"
indexing_slicing = "deny"
infinite_loop = "deny"
large_include_file = "deny"
lossy_float_literal = "deny"
map_err_ignore = "deny"
map_with_unused_argument_over_ranges = "deny"
missing_assert_message = "warn"
missing_const_for_fn = "deny"
non_zero_suggestions = "warn"
panic = "deny"
partial_pub_fields = "warn"
precedence_bits = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
redundant_test_prefix = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "deny"
same_name_method = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
str_to_string = "warn"
string_add = "deny"
string_slice = "deny"
suspicious_xor_used_as_pow = "warn"
tests_outside_test_module = "deny"
todo = "warn"
try_err = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreachable = "warn"
unseparated_literal_suffix = "warn"
unused_result_ok = "deny"
unused_trait_names = "warn"
unwrap_in_result = "deny"
unwrap_used = "deny"
use_debug = "allow"
verbose_file_reads = "warn"
wrong_self_convention = "allow"

[lints.clippy.pedantic]
level = "deny"
priority = -1