[package]
name = "smix-error"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
description = "smix-error — ExpectationFailure + FailureCode + AI-readable to_prompt + buildSuggestions (stone, cold path). Ported from now-retired TS source: src/core/error.ts + src/core/schemas.ts:failureCodeSchema/serializedFailureSchema."
homepage.workspace = true
documentation = "https://docs.rs/smix-error"
readme = "README.md"
keywords = ["error", "ai-readable", "ios", "testing"]
categories = ["development-tools::testing", "rust-patterns"]

[lints]
workspace = true

[dependencies]
serde.workspace = true
smix-screen = { path = "../smix-screen", version = "0.2.1" }
smix-selector = { path = "../smix-selector", version = "0.2.1" }

[dev-dependencies]
serde_json.workspace = true
criterion.workspace = true
dhat.workspace = true

[[bench]]
name = "error"
harness = false

[[bench]]
name = "perf_gate"
harness = false

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