[dependencies.float-cmp]
optional = true
version = "0.10"
[dependencies.hashbrown]
version = "0.15"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.version-sync]
version = "0.9"
[features]
default = ["std", "panic", "float"]
float = ["dep:float-cmp"]
panic = ["std"]
std = []
[lib]
name = "asserting"
path = "src/lib.rs"
[lints.clippy]
enum_glob_use = "deny"
expect_used = "deny"
future_not_send = "allow"
if_not_else = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
option_if_let_else = "allow"
print_stderr = "deny"
print_stdout = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
bare_trait_objects = "warn"
dead_code = "warn"
deprecated = "warn"
explicit_outlives_requirements = "warn"
missing_docs = "warn"
noop_method_call = "warn"
rust_2021_incompatible_closure_captures = "warn"
rust_2021_incompatible_or_patterns = "warn"
rust_2021_prefixes_incompatible_syntax = "warn"
rust_2021_prelude_collisions = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "forbid"
unstable_features = "forbid"
unused_crate_dependencies = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[package]
authors = ["haraldmaida"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "no-std"]
description = """
Fluent assertions for tests in Rust that are convenient to write and easy to extend.
"""
edition = "2021"
keywords = ["assertions", "testing", "fluent", "matchers"]
license = "MIT OR Apache-2.0"
name = "asserting"
readme = "README.md"
repository = "https://github.com/innoave/asserting"
rust-version = "1.78.0"
version = "0.2.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "version_numbers"
path = "tests/version_numbers.rs"