chore: Make objc a workspace level crate (#28258)

Make objc a workspace level crate to unify version control

Release Notes:

- N/A
This commit is contained in:
tidely 2025-04-07 21:46:09 +03:00 committed by GitHub
parent d5cc576b0c
commit aa026156f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 4 deletions

View file

@ -465,6 +465,7 @@ mlua = { version = "0.10", features = ["lua54", "vendored", "async", "send"] }
nanoid = "0.4"
nbformat = { version = "0.10.0" }
nix = "0.29"
objc = "0.2"
open = "5.0.0"
num-format = "0.4.4"
ordered-float = "2.1.1"

View file

@ -37,7 +37,7 @@ workspace-hack.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
fsevent.workspace = true
objc = "0.2"
objc.workspace = true
cocoa = "0.26"
[target.'cfg(not(target_os = "macos"))'.dependencies]

View file

@ -138,7 +138,7 @@ font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "5474cfad
foreign-types = "0.5"
log.workspace = true
media.workspace = true
objc = "0.2"
objc.workspace = true
objc2 = { version = "0.5", optional = true }
objc2-metal = { version = "0.2", optional = true }
#TODO: replace with "objc2"

View file

@ -52,7 +52,7 @@ scap.workspace = true
core-foundation.workspace = true
core-video.workspace = true
coreaudio-rs = "0.12.1"
objc = "0.2"
objc.workspace = true
[dev-dependencies]
collections = { workspace = true, features = ["test-support"] }

View file

@ -22,7 +22,7 @@ ctor.workspace = true
foreign-types = "0.5"
metal.workspace = true
core-video.workspace = true
objc = "0.2"
objc.workspace = true
[build-dependencies]
bindgen = "0.71"