# 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 = "2021" rust-version = "1.70" name = "ui_test" version = "0.27.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A test framework for testing rustc diagnostics output" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/oli-obk/ui_test" [lib] name = "ui_test" path = "src/lib.rs" test = true doctest = false [[example]] name = "rustc_basic" path = "examples/rustc_basic.rs" [[example]] name = "rustc_twice_with_different_flags" path = "examples/rustc_twice_with_different_flags.rs" [[test]] name = "build_std" path = "tests/build_std.rs" test = false [[test]] name = "integration" path = "tests/integration.rs" harness = false required-features = ["rustc"] [dependencies.annotate-snippets] version = "0.11.2" [dependencies.anyhow] version = "1.0.6" [dependencies.bstr] version = "1.0.1" [dependencies.cargo-platform] version = "0.1.2" optional = true [dependencies.cargo_metadata] version = "0.18" optional = true [dependencies.color-eyre] version = "0.6.1" features = ["capture-spantrace"] default-features = false [dependencies.colored] version = "2" [dependencies.comma] version = "1.0.0" [dependencies.crossbeam-channel] version = "0.5.6" [dependencies.indicatif] version = "0.17.6" optional = true [dependencies.levenshtein] version = "1.0.5" [dependencies.prettydiff] version = "0.7" default-features = false [dependencies.regex] version = "1.5.5" features = ["unicode-gencat"] default-features = false [dependencies.rustc_version] version = "0.4" [dependencies.rustfix] version = "0.8.1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.spanned] version = "0.3.0" [dev-dependencies.ctrlc] version = "3.4.5" [features] default = [ "rustc", "indicatif", "gha", ] gha = [] rustc = [ "dep:cargo-platform", "dep:cargo_metadata", ]