-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
57 lines (49 loc) · 1.27 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "ui_test"
version = "0.27.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A test framework for testing rustc diagnostics output"
repository = "https://github.com/oli-obk/ui_test"
rust-version = "1.78"
[lib]
test = true # we have unit tests
doctest = false # but no doc tests
[dependencies]
rustc_version = "0.4"
colored = "2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
cargo_metadata = { version = "0.18", optional = true }
crossbeam-channel = "0.5.6"
bstr = "1.0.1"
rustfix = "0.8.1"
cargo-platform = { version = "0.1.2", optional = true }
comma = "1.0.0"
anyhow = "1.0.6"
indicatif = { version = "0.17.6", optional = true }
prettydiff = { version = "0.7", default-features = false }
annotate-snippets = { version = "0.11.2" }
levenshtein = "1.0.5"
spanned = "0.3.0"
[dev-dependencies]
ctrlc = "3.4.5"
[dependencies.regex]
version = "1.5.5"
default-features = false
features = ["unicode-gencat"]
[dependencies.color-eyre]
version = "0.6.1"
default-features = false
features = ["capture-spantrace"]
[[test]]
name = "integration"
harness = false
required-features = ["rustc"]
[[test]]
name = "build_std"
test = false
[features]
default = ["rustc", "indicatif", "gha"]
gha = []
rustc = ["dep:cargo-platform", "dep:cargo_metadata"]