chore: Use workspace fields for edition and publish (#23291)

This prepares us for an upcoming bump to Rust 2024 edition.

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-01-17 17:39:22 +01:00 committed by GitHub
parent cb35b73020
commit c9534e8025
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
172 changed files with 346 additions and 339 deletions

View file

@ -186,6 +186,10 @@ members = [
]
default-members = ["crates/zed"]
[workspace.package]
publish = false
edition = "2021"
[workspace.dependencies]
#

View file

@ -1,8 +1,8 @@
[package]
name = "activity_indicator"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "anthropic"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "AGPL-3.0-or-later"
[features]

View file

@ -1,8 +1,8 @@
[package]
name = "assets"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lib]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant2"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant_settings"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant_slash_command"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant_slash_commands"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant_tool"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "assistant_tools"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "audio"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "auto_update"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "auto_update_ui"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "breadcrumbs"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "call"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "channel"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "cli"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "client"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "clock"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,10 +1,10 @@
[package]
authors = ["Nathan Sobo <nathan@zed.dev>"]
default-run = "collab"
edition = "2021"
edition.workspace = true
name = "collab"
version = "0.44.0"
publish = false
publish.workspace = true
license = "AGPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "collab_ui"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "collections"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "command_palette"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "command_palette_hooks"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "context_server"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "context_server_settings"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "copilot"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "db"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "diagnostics"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "docs_preprocessor"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[dependencies]

View file

@ -1,8 +1,8 @@
[package]
name = "editor"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -2,8 +2,8 @@
name = "evals"
description = "Evaluations for Zed's AI features"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "extension"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -5,7 +5,8 @@ description = "APIs for creating Zed extensions in Rust"
repository = "https://github.com/zed-industries/zed"
documentation = "https://docs.rs/zed_extension_api"
keywords = ["zed", "extension"]
edition = "2021"
edition.workspace = true
publish = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "extension_cli"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "extension_host"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "extensions_ui"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "feature_flags"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "feedback"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "file_finder"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "file_icons"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "fireworks"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "fs"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "fsevent"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "fuzzy"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "git"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "git_hosting_providers"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "git_ui"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "go_to_line"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "google_ai"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,10 +1,10 @@
[package]
name = "gpui"
version = "0.1.0"
edition = "2021"
edition.workspace = true
authors = ["Nathan Sobo <nathan@zed.dev>"]
description = "Zed's GPU-accelerated UI framework"
publish = false
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "gpui_macros"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -5,7 +5,8 @@ description = "Convert HTML to Markdown"
repository = "https://github.com/zed-industries/zed"
documentation = "https://docs.rs/html_to_markdown"
keywords = ["html", "markdown", "html-to-markdown"]
edition = "2021"
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "http_client"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "image_viewer"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "indexed_docs"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "inline_completion"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "inline_completion_button"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "install_cli"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "journal"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language_extension"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language_model"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language_model_selector"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language_models"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language_selector"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "language_tools"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "languages"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,9 +1,9 @@
[package]
name = "livekit_client"
version = "0.1.0"
edition = "2021"
edition.workspace = true
description = "Logic for using LiveKit with GPUI"
publish = false
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,9 +1,9 @@
[package]
name = "livekit_client_macos"
version = "0.1.0"
edition = "2021"
edition.workspace = true
description = "Bindings to LiveKit Swift client SDK"
publish = false
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,9 +1,9 @@
[package]
name = "livekit_server"
version = "0.1.0"
edition = "2021"
edition.workspace = true
description = "SDK for the LiveKit server API"
publish = false
publish.workspace = true
license = "AGPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "lmstudio"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "lsp"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "markdown"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "markdown_preview"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "media"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "menu"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "multi_buffer"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "node_runtime"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "notifications"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "ollama"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "open_ai"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "outline"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "outline_panel"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "paths"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "picker"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "prettier"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "project"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "project_panel"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "project_symbols"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "prompt_library"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,9 +1,9 @@
[package]
description = "Shared protocol for communication between the Zed app and the zed.dev server"
edition = "2021"
edition.workspace = true
name = "proto"
version = "0.1.0"
publish = false
publish.workspace = true
license = "GPL-3.0-or-later"
[features]

View file

@ -1,8 +1,8 @@
[package]
name = "recent_projects"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "refineable"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "derive_refineable"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "release_channel"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,9 +1,9 @@
[package]
name = "remote"
description = "Client-side subsystem for remote editing"
edition = "2021"
edition.workspace = true
version = "0.1.0"
publish = false
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,9 +1,9 @@
[package]
name = "remote_server"
description = "Daemon used for remote editing"
edition = "2021"
edition.workspace = true
version = "0.1.0"
publish = false
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

View file

@ -1,8 +1,8 @@
[package]
name = "repl"
version = "0.1.0"
edition = "2021"
publish = false
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]

Some files were not shown because too many files have changed in this diff Show more