fix: move anyhow dependency to dependencies (#6866)

William Desportes created

Was moved by mistake in: ebbe52e6b0a33458956e1db400ba07f0e33398c3

This was throwing errors everywhere on Linux because anyhow is needed by
the code and is not macOS dependent.


Release Notes:

- N/A

Change summary

crates/gpui/Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/gpui/Cargo.toml 🔗

@@ -58,6 +58,7 @@ waker-fn = "1.1.0"
 slotmap = "1.0.6"
 schemars.workspace = true
 bitflags = "2.4.0"
+anyhow.workspace = true
 
 [dev-dependencies]
 backtrace = "0.3"
@@ -74,7 +75,6 @@ cbindgen = "0.26.0"
 
 [target.'cfg(target_os = "macos")'.dependencies]
 media = { path = "../media" }
-anyhow.workspace = true
 block = "0.1"
 cocoa = "0.25"
 core-foundation = { version = "0.9.3", features = ["with-uuid"] }