[dependencies.float-cmp]
optional = true
version = "0.10"
[dependencies.hashbrown]
version = "0.15"
[dependencies.regex]
optional = true
version = "1"
[dependencies.sdiff]
optional = true
version = "0.1"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.time]
default-features = false
features = ["macros"]
version = "0.3"
[dev-dependencies.version-sync]
version = "0.9"
[[example]]
name = "colored_diffs"
path = "examples/colored_diffs.rs"
required-features = ["colored"]
[features]
colored = ["dep:sdiff"]
default = ["std", "colored", "float-cmp", "panic", "regex"]
float-cmp = ["dep:float-cmp"]
panic = ["std"]
regex = ["dep:regex"]
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 = "allow"
must_use_candidate = "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"
variant_size_differences = "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.6.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "version_numbers"
path = "tests/version_numbers.rs"