X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=crates%2Fcfg%2FCargo.toml;h=5c510db83bbedfab1581d633afe3e17a341671f4;hb=0b5dd42facb8f34da578afb11870e6f4e674708a;hp=c68e391c1bd514183e73ad4a2fcacabb89d63740;hpb=81609960fa30ea92e37b23dc7b025d1939626812;p=rust.git diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml index c68e391c1bd..5c510db83bb 100644 --- a/crates/cfg/Cargo.toml +++ b/crates/cfg/Cargo.toml @@ -3,8 +3,8 @@ name = "cfg" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" -authors = ["rust-analyzer developers"] -edition = "2018" +edition = "2021" +rust-version = "1.57" [lib] doctest = false @@ -17,4 +17,10 @@ tt = { path = "../tt", version = "0.0.0" } [dev-dependencies] mbe = { path = "../mbe" } syntax = { path = "../syntax" } -expect-test = "1.0" +expect-test = "1.2.2" +oorandom = "11.1.3" +# We depend on both individually instead of using `features = ["derive"]` to microoptimize the +# build graph: if the feature was enabled, syn would be built early on in the graph if `smolstr` +# supports `arbitrary`. This way, we avoid feature unification. +arbitrary = "1.1.0" +derive_arbitrary = "1.1.0"