diff options
author | Mads Marquart <mads@marquart.dk> | 2024-11-21 01:36:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 00:36:25 +0000 |
commit | 4f739a7e2b933f6828ebf64654c8a8c573bf0ec1 (patch) | |
tree | 895bc8798df5d6f517a45243b7fd2752141abf0b /alacritty/Cargo.toml | |
parent | 1063706f8e8a84139e5d2b464a4978e9d840ea17 (diff) | |
download | r-alacritty-4f739a7e2b933f6828ebf64654c8a8c573bf0ec1.tar.gz r-alacritty-4f739a7e2b933f6828ebf64654c8a8c573bf0ec1.tar.bz2 r-alacritty-4f739a7e2b933f6828ebf64654c8a8c573bf0ec1.zip |
Switch to new objc2 crates
Diffstat (limited to 'alacritty/Cargo.toml')
-rw-r--r-- | alacritty/Cargo.toml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml index d3a083cd..f7f282c2 100644 --- a/alacritty/Cargo.toml +++ b/alacritty/Cargo.toml @@ -56,8 +56,19 @@ xdg = "2.5.0" png = { version = "0.17.5", default-features = false, optional = true } [target.'cfg(target_os = "macos")'.dependencies] -cocoa = "0.26.0" -objc = "0.2.2" +objc2 = "0.5.2" +objc2-foundation = { version = "0.2.2", default-features = false, features = [ + "std", + "NSString", + "NSLocale", +] } +objc2-app-kit = { version = "0.2.2", default-features = false, features = [ + "std", + "NSColorSpace", + "NSResponder", + "NSView", + "NSWindow", +] } [target.'cfg(windows)'.dependencies] dirs = "5.0.1" |