X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=crates%2Fsyntax%2FCargo.toml;h=43c1f2fa80bbf0f43729bf2ba2be79902513e1ba;hb=abbc7e3a0ed66e87b378476452f027732762a86a;hp=e0fb33933c62049b4216438e9299fc436e51f539;hpb=f83f069f947d35f1c22f2dc4f91fa731b1f3cdc1;p=rust.git diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index e0fb33933c6..43c1f2fa80b 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml @@ -4,7 +4,8 @@ version = "0.0.0" description = "Comment and whitespace preserving parser for the Rust language" license = "MIT OR Apache-2.0" repository = "https://github.com/rust-analyzer/rust-analyzer" -edition = "2018" +edition = "2021" +rust-version = "1.57" [lib] doctest = false @@ -12,14 +13,12 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" itertools = "0.10.0" -rowan = "=0.13.0-pre.7" +rowan = "0.15.0" rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } rustc-hash = "1.1.0" -arrayvec = "0.7" once_cell = "1.3.1" -indexmap = "1.4.0" -smol_str = { version = "0.1.15", features = ["serde"] } -serde = { version = "1.0.106", features = ["derive"] } +indexmap = "1.7.0" +smol_str = "0.1.21" stdx = { path = "../stdx", version = "0.0.0" } text_edit = { path = "../text_edit", version = "0.0.0" } @@ -28,10 +27,10 @@ profile = { path = "../profile", version = "0.0.0" } [dev-dependencies] rayon = "1" -expect-test = "1.1" +expect-test = "1.2.0-pre.1" proc-macro2 = "1.0.8" quote = "1.0.2" -ungrammar = "=1.14" +ungrammar = "=1.14.9" test_utils = { path = "../test_utils" } sourcegen = { path = "../sourcegen" }