remote ssh: Fix asset embedding in cross-compilation (#19180)

This fixes the panic from the settings file not being embedded.


Release Notes:

- N/A

---------

Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
Thorsten Ball 2024-10-14 14:13:06 +02:00 committed by GitHub
parent f2337bbed1
commit 71a878aa39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -18,6 +18,7 @@ name = "remote_server"
[features]
default = []
debug-embed = ["dep:rust-embed"]
test-support = ["fs/test-support"]
[dependencies]
@ -36,6 +37,7 @@ node_runtime.workspace = true
project.workspace = true
remote.workspace = true
rpc.workspace = true
rust-embed = { workspace = true, optional = true, features = ["debug-embed"] }
serde.workspace = true
serde_json.workspace = true
settings.workspace = true
@ -61,3 +63,6 @@ serde_json.workspace = true
[build-dependencies]
cargo_toml.workspace = true
toml.workspace = true
[package.metadata.cargo-machete]
ignored = ["rust-embed"]