Skip to content

Commit 401e80c

Browse files
committed
Made trybuild optional to fix MSRV of tests
1 parent 3a2d336 commit 401e80c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ optional = true
2929
version = "0.7"
3030
default-features = false
3131

32-
[dev-dependencies.trybuild]
32+
# no such thing as optional dev-dependencies, aaaaaaah
33+
[dependencies.trybuild]
3334
version = "1.0"
35+
optional = true
3436

3537
[features]
3638
default = ["proc_macros"]
@@ -44,7 +46,7 @@ alloc = []
4446
mut_refs = ["rust_stable"]
4547
nightly_mut_refs = ["mut_refs"]
4648
docsrs = []
47-
__ui_tests = []
49+
__ui_tests = ["trybuild"]
4850

4951
[package.metadata.docs.rs]
5052
features = ["alloc", "rust_stable", "nightly_mut_refs", "adt_const_marker", "docsrs"]

0 commit comments

Comments
 (0)