[package] name = "xpct" version = "0.5.1" description = "An extensible test assertion library" edition = "2021" authors = ["Wren Powell "] homepage = "https://github.com/lostatc/xpct" repository = "https://github.com/lostatc/xpct" documentation = "https://docs.rs/xpct" readme = "README.md" license = "MIT" keywords = ["testing", "assertions", "assert", "matchers"] categories = ["development-tools", "development-tools::testing"] # If you update this, update the GitHub Actions workflow as well. rust-version = "1.70.0" # We use an attribute when building on docs.rs so we can make use of unstable # rustdoc features. [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] anyhow = "1.0" bitflags = "2.3.3" colored = { version = "2.0", optional = true } regex = { version = "1.7.0", optional = true } serde_json = { version = "1.0.91", optional = true } float-cmp = { version = "0.9.0", optional = true } unicase = { version = "2.6.0", optional = true } similar = { version = "2.2.1", optional = true } [dev-dependencies] doc-comment = "0.3.3" [features] default = ["fmt", "color"] regex = ["dep:regex"] json = ["dep:serde_json"] float = ["dep:float-cmp"] casefold = ["dep:unicase"] color = ["dep:colored"] diff = ["similar"] unicode-diff = ["diff", "similar/unicode"] fmt = []