Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove unneeded inline tables in `Cargo.toml`s (#27563)
Marshall Bowersaf8acba35321
diff --git a/crates/call/Cargo.toml b/crates/call/Cargo.tomlindex a5f445ef30a..9225472a554 100644--- a/crates/call/Cargo.toml+++ b/crates/call/Cargo.toml@@ -43,10 +43,10 @@ telemetry.workspace = trueutil.workspace = true[target.'cfg(target_os = "macos")'.dependencies]-livekit_client_macos = { workspace = true }+livekit_client_macos.workspace = true[target.'cfg(not(target_os = "macos"))'.dependencies]-livekit_client = { workspace = true }+livekit_client.workspace = true[dev-dependencies]client = { workspace = true, features = ["test-support"] }diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.tomlindex c3299a8ffd6..eb65e992a11 100644--- a/crates/collab/Cargo.toml+++ b/crates/collab/Cargo.toml@@ -115,7 +115,7 @@ notifications = { workspace = true, features = ["test-support"] }pretty_assertions.workspace = trueproject = { workspace = true, features = ["test-support"] }prompt_store.workspace = true-recent_projects = { workspace = true }+recent_projects.workspace = truerelease_channel.workspace = trueremote = { workspace = true, features = ["test-support"] }remote_server.workspace = truediff --git a/crates/livekit_client_macos/Cargo.toml b/crates/livekit_client_macos/Cargo.tomlindex ddf55ceed96..78d3ad1068a 100644--- a/crates/livekit_client_macos/Cargo.toml+++ b/crates/livekit_client_macos/Cargo.toml@@ -44,9 +44,9 @@ postage.workspace = truecore-foundation.workspace = true[target.'cfg(all(not(target_os = "macos")))'.dependencies]-async-trait = { workspace = true }-collections = { workspace = true }-gpui = { workspace = true }+async-trait.workspace = true+collections.workspace = true+gpui.workspace = truelivekit_api.workspace = truenanoid.workspace = truediff --git a/crates/menu/Cargo.toml b/crates/menu/Cargo.tomlindex e104ccb52b5..5db841dbd1a 100644--- a/crates/menu/Cargo.toml+++ b/crates/menu/Cargo.toml@@ -14,4 +14,4 @@ doctest = false[dependencies]gpui.workspace = true-serde = { workspace = true }+serde.workspace = truediff --git a/crates/recent_projects/Cargo.toml b/crates/recent_projects/Cargo.tomlindex 5e7725b7677..ff6524b2536 100644--- a/crates/recent_projects/Cargo.toml+++ b/crates/recent_projects/Cargo.toml@@ -44,7 +44,7 @@ workspace.workspace = truezed_actions.workspace = true[dev-dependencies]-dap = { workspace = true }+dap.workspace = trueeditor = { workspace = true, features = ["test-support"] }language = { workspace = true, features = ["test-support"] }project = { workspace = true, features = ["test-support"] }diff --git a/crates/remote_server/Cargo.toml b/crates/remote_server/Cargo.tomlindex 5286f4574a7..7396909299f 100644--- a/crates/remote_server/Cargo.toml+++ b/crates/remote_server/Cargo.toml@@ -44,7 +44,7 @@ languages.workspace = truelog.workspace = truelsp.workspace = truenode_runtime.workspace = true-paths = { workspace = true }+paths.workspace = trueproject.workspace = trueproto.workspace = truerelease_channel.workspace = truediff --git a/script/patches/use-cross-platform-livekit.patch b/script/patches/use-cross-platform-livekit.patchindex e875b9d2b03..93010a0eecb 100644--- a/script/patches/use-cross-platform-livekit.patch+++ b/script/patches/use-cross-platform-livekit.patch@@ -5,15 +5,15 @@ index 9ba10e56ba..bb69440691 100644@@ -41,10 +41,10 @@ serde_derive.workspace = truetelemetry.workspace = trueutil.workspace = true-+-[target.'cfg(target_os = "macos")'.dependencies]+[target.'cfg(any())'.dependencies]- livekit_client_macos = { workspace = true }-+ livekit_client_macos.workspace = true+-[target.'cfg(not(target_os = "macos"))'.dependencies]+[target.'cfg(all())'.dependencies]- livekit_client = { workspace = true }-+ livekit_client.workspace = true+[dev-dependencies]diff --git a/crates/call/src/call.rs b/crates/call/src/call.rsindex 5e212d35b7..a8f9e8f43e 100644@@ -21,19 +21,19 @@ index 5e212d35b7..a8f9e8f43e 100644+++ b/crates/call/src/call.rs@@ -1,13 +1,13 @@pub mod call_settings;-+-#[cfg(target_os = "macos")]+#[cfg(any())]mod macos;-+-#[cfg(target_os = "macos")]+#[cfg(any())]pub use macos::*;-+-#[cfg(not(target_os = "macos"))]+#[cfg(all())]mod cross_platform;-+-#[cfg(not(target_os = "macos"))]+#[cfg(all())]pub use cross_platform::*;@@ -45,15 +45,15 @@ index 1d17cfa145..f845234987 100644-#[cfg(target_os = "macos")]+#[cfg(any())]mod macos;-+-#[cfg(target_os = "macos")]+#[cfg(any())]pub use macos::*;-+-#[cfg(not(target_os = "macos"))]+#[cfg(all())]mod cross_platform;-+-#[cfg(not(target_os = "macos"))]+#[cfg(all())]pub use cross_platform::*;