[package] name = "miden-miette" version = "7.1.1" authors = ["Kat Marchán "] description = "Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers." categories = ["rust-patterns", "no-std"] repository = "https://github.com/0xPolygonMiden/miette" documentation = "https://docs.rs/miette-nostd" license = "Apache-2.0" readme = "README.md" edition = "2018" rust-version = "1.70.0" exclude = ["images/", "tests/", "miette-derive/"] [dependencies] thiserror = { package = "miden-thiserror", version = "1.0", default-features = false } miette-derive = { package = "miden-miette-derive", path = "miette-derive", version = "=7.1.0", optional = true } unicode-width = { version = "0.1", default-features = false } cfg-if = "1.0.0" spin = { version = "0.9", default-features = false, features = ["mutex", "spin_mutex", "lazy"] } owo-colors = { version = "4.0.0", optional = true } textwrap = { version = "0.16.0", optional = true } supports-hyperlinks = { version = "3.0.0", optional = true } supports-color = { version = "3.0.0", optional = true } supports-unicode = { version = "3.0.0", optional = true } backtrace = { version = "0.3.69", optional = true } terminal_size = { version = "0.3.0", optional = true } backtrace-ext = { version = "0.2.1", optional = true } serde = { version = "1.0.196", features = ["derive"], optional = true } syntect = { version = "5.1.0", optional = true } [dev-dependencies] semver = "1.0.21" [build-dependencies] rustc_version = "0.2" # Eyre devdeps futures = { version = "0.3", default-features = false } indenter = "0.3.3" rustversion = "1.0" trybuild = { version = "1.0.89", features = ["diff"] } syn = { version = "2.0.48", features = ["full"] } regex = "1.10" lazy_static = "1.4" serde_json = "1.0.113" strip-ansi-escapes = "0.2.0" [features] default = ["derive", "std"] std = ["thiserror/std", "fancy-no-syscall"] derive = ["miette-derive"] no-format-args-capture = [] fancy-base = ["owo-colors", "textwrap"] fancy-no-syscall = ["fancy-base"] fancy-no-backtrace = [ "fancy-base", "terminal_size", "supports-hyperlinks", "supports-color", "supports-unicode", ] fancy = ["fancy-no-backtrace", "backtrace", "backtrace-ext"] syntect-highlighter = ["fancy-no-backtrace", "syntect"] [workspace] members = ["miette-derive"] [package.metadata.docs.rs] all-features = true