# 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 = "2018" rust-version = "1.70.0" name = "oxc-miette" version = "1.0.2" authors = [ "Boshen", "Kat Marchán ", ] build = false exclude = [ "images/", "tests/", "miette-derive/", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers." documentation = "https://docs.rs/miette" readme = "README.md" categories = ["rust-patterns"] license = "Apache-2.0" repository = "https://github.com/zkat/miette" [package.metadata.cargo-shear] ignored = [ "futures", "indenter", "semver", ] [package.metadata.docs.rs] all-features = true [lib] name = "miette" path = "src/lib.rs" [dependencies.backtrace] version = "0.3.74" optional = true [dependencies.backtrace-ext] version = "0.2.1" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.owo-colors] version = "4.1.0" optional = true [dependencies.oxc-miette-derive] version = "=1.0.2" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.supports-color] version = "3.0.1" optional = true [dependencies.supports-hyperlinks] version = "3.0.0" optional = true [dependencies.supports-unicode] version = "3.0.0" optional = true [dependencies.syntect] version = "5.2.0" optional = true [dependencies.terminal_size] version = "0.4.0" optional = true [dependencies.textwrap] version = "0.16.1" optional = true [dependencies.thiserror] version = "1" [dependencies.unicode-width] version = "0.2.0" [dev-dependencies.futures] version = "0.3" default-features = false [dev-dependencies.indenter] version = "0.3.3" [dev-dependencies.lazy_static] version = "1.5" [dev-dependencies.regex] version = "1.11" [dev-dependencies.rustversion] version = "1.0" [dev-dependencies.semver] version = "1.0.23" [dev-dependencies.serde_json] version = "1.0.132" [dev-dependencies.trybuild] version = "1.0.101" features = ["diff"] [features] default = ["derive"] derive = ["oxc-miette-derive"] fancy = [ "fancy-no-backtrace", "backtrace", "backtrace-ext", ] fancy-base = [ "owo-colors", "textwrap", ] fancy-no-backtrace = [ "fancy-base", "terminal_size", "supports-hyperlinks", "supports-color", "supports-unicode", ] fancy-no-syscall = ["fancy-base"] no-format-args-capture = [] syntect-highlighter = [ "fancy-no-backtrace", "syntect", ] [lints.rust] absolute_paths_not_starting_with_crate = "warn" non_ascii_idents = "warn" unit-bindings = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(coverage)", "cfg(coverage_nightly)", ]