Use Rust 2021 edition in all crates

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-01-26 12:50:31 -08:00
parent 509d362bdd
commit 0e55f0ccaa
20 changed files with 23 additions and 23 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "chat_panel"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/chat_panel.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "client"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/client.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "clock"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/clock.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "contacts_panel"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/contacts_panel.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "file_finder"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/file_finder.rs"

View file

@ -2,7 +2,7 @@
name = "fsevent"
version = "2.0.2"
license = "MIT"
edition = "2018"
edition = "2021"
[lib]
path = "src/fsevent.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "fuzzy"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/fuzzy.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "go_to_line"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/go_to_line.rs"

View file

@ -1,6 +1,6 @@
[package]
authors = ["Nathan Sobo <nathansobo@gmail.com>"]
edition = "2018"
edition = "2021"
name = "gpui"
version = "0.1.0"

View file

@ -5,7 +5,7 @@ version = "0.0.1"
keywords = ["incremental", "parsing", "context-predicate"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/tree-sitter/tree-sitter-javascript"
edition = "2018"
edition = "2021"
license = "MIT"
build = "bindings/rust/build.rs"
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]

View file

@ -1,7 +1,7 @@
[package]
name = "gpui_macros"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/gpui_macros.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "lsp"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/lsp.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "project_panel"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/project_panel.rs"

View file

@ -1,6 +1,6 @@
[package]
description = "Shared logic for communication between the Zed app and the zed.dev server"
edition = "2018"
edition = "2021"
name = "rpc"
version = "0.1.0"
@ -8,7 +8,7 @@ version = "0.1.0"
path = "src/rpc.rs"
[features]
test-support = ["gpui"]
test-support = ["gpui/test-support"]
[dependencies]
anyhow = "1.0"
@ -25,7 +25,7 @@ rsa = "0.4"
serde = { version = "1", features = ["derive"] }
smol-timeout = "0.6"
zstd = "0.9"
gpui = { path = "../gpui", features = ["test-support"], optional = true }
gpui = { path = "../gpui", optional = true }
[build-dependencies]
prost-build = "0.8"

View file

@ -1,7 +1,7 @@
[package]
authors = ["Nathan Sobo <nathan@warp.dev>"]
default-run = "zed-server"
edition = "2018"
edition = "2021"
name = "zed-server"
version = "0.1.0"

View file

@ -1,7 +1,7 @@
[package]
name = "sum_tree"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/sum_tree.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "theme"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/theme.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "theme_selector"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "src/theme_selector.rs"

View file

@ -1,7 +1,7 @@
[package]
name = "util"
version = "0.1.0"
edition = "2018"
edition = "2021"
[features]
test-support = ["clock", "rand", "serde_json", "tempdir"]
@ -15,5 +15,5 @@ rand = { version = "0.8", optional = true }
surf = "2.2"
tempdir = { version = "0.3.7", optional = true }
serde_json = { version = "1.0.64", features = [
"preserve_order"
"preserve_order",
], optional = true }

View file

@ -1,7 +1,7 @@
[package]
authors = ["Nathan Sobo <nathansobo@gmail.com>"]
description = "The fast, collaborative code editor."
edition = "2018"
edition = "2021"
name = "zed"
version = "0.13.0"