1[package] 2name = "miette" 3version = "5.10.0" 4authors = ["Kat Marchán <kzm@zkat.tech>"] 5description = "Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers." 6categories = ["rust-patterns"] 7repository = "https://github.com/zkat/miette" 8documentation = "https://docs.rs/miette" 9license = "Apache-2.0" 10readme = "README.md" 11edition = "2018" 12rust-version = "1.56.0" 13exclude = ["images/", "tests/", "miette-derive/"] 14 15[dependencies] 16thiserror = "1.0.40" 17miette-derive = { path = "miette-derive", version = "=5.10.0" } 18once_cell = "1.8.0" 19unicode-width = "0.1.9" 20 21owo-colors = { version = "3.0.0", optional = true } 22is-terminal = { version = "0.4.0", optional = true } 23textwrap = { version = "0.15.0", optional = true } 24supports-hyperlinks = { version = "2.0.0", optional = true } 25supports-color = { version = "2.0.0", optional = true } 26supports-unicode = { version = "2.0.0", optional = true } 27backtrace = { version = "0.3.61", optional = true } 28terminal_size = { version = "0.1.17", optional = true } 29backtrace-ext = { version = "0.2.1", optional = true } 30serde = { version = "1.0.162", features = ["derive"], optional = true } 31 32[dev-dependencies] 33semver = "1.0.4" 34 35# Eyre devdeps 36futures = { version = "0.3", default-features = false } 37indenter = "0.3.0" 38rustversion = "1.0" 39trybuild = { version = "1.0.19", features = ["diff"] } 40syn = { version = "2.0", features = ["full"] } 41regex = "1.5" 42lazy_static = "1.4" 43 44serde_json = "1.0.64" 45 46[features] 47default = [] 48no-format-args-capture = [] 49fancy-no-backtrace = [ 50 "owo-colors", 51 "is-terminal", 52 "textwrap", 53 "terminal_size", 54 "supports-hyperlinks", 55 "supports-color", 56 "supports-unicode", 57] 58fancy = ["fancy-no-backtrace", "backtrace", "backtrace-ext"] 59 60[workspace] 61members = ["miette-derive"] 62 63[package.metadata.docs.rs] 64all-features = true 65