diff --git a/Cargo.toml b/Cargo.toml index 254ec484..2989f443 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,11 +108,10 @@ features = [ [target.'cfg(target_os="macos")'.dependencies] block = "0.1.6" -cocoa = "0.24.0" +cocoa = "0.25.0" objc = "0.2.7" -core-graphics = "0.22.0" -foreign-types = "0.3.2" -bitflags = "1.2.1" +core-graphics = "0.23.0" +bitflags = "2.0.0" accesskit_macos = { version = "0.7.0", optional = true } [target.'cfg(any(target_os = "freebsd", target_os="linux", target_os="openbsd"))'.dependencies] @@ -158,14 +157,14 @@ features = [ ] [dev-dependencies] -pretty_env_logger = "0.4" +pretty_env_logger = "0.5" static_assertions = "1.1.0" test-log = { version = "0.2.5", features = ["trace"], default-features = false } tracing-subscriber = { version = "0.3.2", features = ["env-filter"] } unicode-segmentation = "1.7.0" vello = { git = "https://github.com/linebender/vello", rev = "5f59a2e8181a7d01f8753680676dd150b965728b" } parley = { git = "https://github.com/dfrg/parley", rev = "e4276b4d1001a050c07121f95ca255c771e9a641" } -pollster = "0.2.5" +pollster = "0.3.0" wgpu = "0.15.0" [target.'cfg(any(target_os = "freebsd", target_os="linux", target_os="openbsd"))'.build-dependencies] diff --git a/src/backend/mac/appkit.rs b/src/backend/mac/appkit.rs index d3966630..e9f175bc 100644 --- a/src/backend/mac/appkit.rs +++ b/src/backend/mac/appkit.rs @@ -27,6 +27,7 @@ extern "C" { } bitflags! { + #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] pub struct NSTrackingAreaOptions: i32 { const MouseEnteredAndExited = 1; const MouseMoved = 1 << 1;