assert-struct 0.3.1

A procedural macro for ergonomic structural assertions in tests
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"
rust-version = "1.85"
name = "assert-struct"
version = "0.3.1"
authors = ["Carl Lerche <me@carllerche.com>"]
build = false
exclude = [
    ".github/",
    "tests/",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A procedural macro for ergonomic structural assertions in tests"
homepage = "https://github.com/carllerche/assert-struct"
documentation = "https://docs.rs/assert-struct"
readme = "README.md"
keywords = [
    "testing",
    "assert",
    "macro",
    "test",
    "struct",
]
categories = [
    "development-tools::testing",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/carllerche/assert-struct"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = ["regex"]
regex = [
    "assert-struct-macros/regex",
    "dep:regex",
]

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

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

[dependencies.annotate-snippets]
version = "0.12"

[dependencies.assert-struct-macros]
version = "0.3.1"

[dependencies.regex]
version = "1.10"
optional = true

[dev-dependencies.insta]
version = "1.46"

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]

[dev-dependencies.trybuild]
version = "1.0"