Remove unneeded inline tables in Cargo.toml
s (#27563)
This PR removes some unneeded inline tables from our `Cargo.toml`s. Release Notes: - N/A
This commit is contained in:
parent
231e9c2000
commit
af8acba353
7 changed files with 21 additions and 21 deletions
|
@ -43,10 +43,10 @@ telemetry.workspace = true
|
||||||
util.workspace = true
|
util.workspace = true
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
livekit_client_macos = { workspace = true }
|
livekit_client_macos.workspace = true
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||||
livekit_client = { workspace = true }
|
livekit_client.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
client = { workspace = true, features = ["test-support"] }
|
client = { workspace = true, features = ["test-support"] }
|
||||||
|
|
|
@ -115,7 +115,7 @@ notifications = { workspace = true, features = ["test-support"] }
|
||||||
pretty_assertions.workspace = true
|
pretty_assertions.workspace = true
|
||||||
project = { workspace = true, features = ["test-support"] }
|
project = { workspace = true, features = ["test-support"] }
|
||||||
prompt_store.workspace = true
|
prompt_store.workspace = true
|
||||||
recent_projects = { workspace = true }
|
recent_projects.workspace = true
|
||||||
release_channel.workspace = true
|
release_channel.workspace = true
|
||||||
remote = { workspace = true, features = ["test-support"] }
|
remote = { workspace = true, features = ["test-support"] }
|
||||||
remote_server.workspace = true
|
remote_server.workspace = true
|
||||||
|
|
|
@ -44,9 +44,9 @@ postage.workspace = true
|
||||||
core-foundation.workspace = true
|
core-foundation.workspace = true
|
||||||
|
|
||||||
[target.'cfg(all(not(target_os = "macos")))'.dependencies]
|
[target.'cfg(all(not(target_os = "macos")))'.dependencies]
|
||||||
async-trait = { workspace = true }
|
async-trait.workspace = true
|
||||||
collections = { workspace = true }
|
collections.workspace = true
|
||||||
gpui = { workspace = true }
|
gpui.workspace = true
|
||||||
livekit_api.workspace = true
|
livekit_api.workspace = true
|
||||||
nanoid.workspace = true
|
nanoid.workspace = true
|
||||||
|
|
||||||
|
|
|
@ -14,4 +14,4 @@ doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gpui.workspace = true
|
gpui.workspace = true
|
||||||
serde = { workspace = true }
|
serde.workspace = true
|
||||||
|
|
|
@ -44,7 +44,7 @@ workspace.workspace = true
|
||||||
zed_actions.workspace = true
|
zed_actions.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
dap = { workspace = true }
|
dap.workspace = true
|
||||||
editor = { workspace = true, features = ["test-support"] }
|
editor = { workspace = true, features = ["test-support"] }
|
||||||
language = { workspace = true, features = ["test-support"] }
|
language = { workspace = true, features = ["test-support"] }
|
||||||
project = { workspace = true, features = ["test-support"] }
|
project = { workspace = true, features = ["test-support"] }
|
||||||
|
|
|
@ -44,7 +44,7 @@ languages.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
lsp.workspace = true
|
lsp.workspace = true
|
||||||
node_runtime.workspace = true
|
node_runtime.workspace = true
|
||||||
paths = { workspace = true }
|
paths.workspace = true
|
||||||
project.workspace = true
|
project.workspace = true
|
||||||
proto.workspace = true
|
proto.workspace = true
|
||||||
release_channel.workspace = true
|
release_channel.workspace = true
|
||||||
|
|
|
@ -5,15 +5,15 @@ index 9ba10e56ba..bb69440691 100644
|
||||||
@@ -41,10 +41,10 @@ serde_derive.workspace = true
|
@@ -41,10 +41,10 @@ serde_derive.workspace = true
|
||||||
telemetry.workspace = true
|
telemetry.workspace = true
|
||||||
util.workspace = true
|
util.workspace = true
|
||||||
|
|
||||||
-[target.'cfg(target_os = "macos")'.dependencies]
|
-[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
+[target.'cfg(any())'.dependencies]
|
+[target.'cfg(any())'.dependencies]
|
||||||
livekit_client_macos = { workspace = true }
|
livekit_client_macos.workspace = true
|
||||||
|
|
||||||
-[target.'cfg(not(target_os = "macos"))'.dependencies]
|
-[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||||
+[target.'cfg(all())'.dependencies]
|
+[target.'cfg(all())'.dependencies]
|
||||||
livekit_client = { workspace = true }
|
livekit_client.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
diff --git a/crates/call/src/call.rs b/crates/call/src/call.rs
|
diff --git a/crates/call/src/call.rs b/crates/call/src/call.rs
|
||||||
index 5e212d35b7..a8f9e8f43e 100644
|
index 5e212d35b7..a8f9e8f43e 100644
|
||||||
|
@ -21,19 +21,19 @@ index 5e212d35b7..a8f9e8f43e 100644
|
||||||
+++ b/crates/call/src/call.rs
|
+++ b/crates/call/src/call.rs
|
||||||
@@ -1,13 +1,13 @@
|
@@ -1,13 +1,13 @@
|
||||||
pub mod call_settings;
|
pub mod call_settings;
|
||||||
|
|
||||||
-#[cfg(target_os = "macos")]
|
-#[cfg(target_os = "macos")]
|
||||||
+#[cfg(any())]
|
+#[cfg(any())]
|
||||||
mod macos;
|
mod macos;
|
||||||
|
|
||||||
-#[cfg(target_os = "macos")]
|
-#[cfg(target_os = "macos")]
|
||||||
+#[cfg(any())]
|
+#[cfg(any())]
|
||||||
pub use macos::*;
|
pub use macos::*;
|
||||||
|
|
||||||
-#[cfg(not(target_os = "macos"))]
|
-#[cfg(not(target_os = "macos"))]
|
||||||
+#[cfg(all())]
|
+#[cfg(all())]
|
||||||
mod cross_platform;
|
mod cross_platform;
|
||||||
|
|
||||||
-#[cfg(not(target_os = "macos"))]
|
-#[cfg(not(target_os = "macos"))]
|
||||||
+#[cfg(all())]
|
+#[cfg(all())]
|
||||||
pub use cross_platform::*;
|
pub use cross_platform::*;
|
||||||
|
@ -45,15 +45,15 @@ index 1d17cfa145..f845234987 100644
|
||||||
-#[cfg(target_os = "macos")]
|
-#[cfg(target_os = "macos")]
|
||||||
+#[cfg(any())]
|
+#[cfg(any())]
|
||||||
mod macos;
|
mod macos;
|
||||||
|
|
||||||
-#[cfg(target_os = "macos")]
|
-#[cfg(target_os = "macos")]
|
||||||
+#[cfg(any())]
|
+#[cfg(any())]
|
||||||
pub use macos::*;
|
pub use macos::*;
|
||||||
|
|
||||||
-#[cfg(not(target_os = "macos"))]
|
-#[cfg(not(target_os = "macos"))]
|
||||||
+#[cfg(all())]
|
+#[cfg(all())]
|
||||||
mod cross_platform;
|
mod cross_platform;
|
||||||
|
|
||||||
-#[cfg(not(target_os = "macos"))]
|
-#[cfg(not(target_os = "macos"))]
|
||||||
+#[cfg(all())]
|
+#[cfg(all())]
|
||||||
pub use cross_platform::*;
|
pub use cross_platform::*;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue