Use HasDisplayHandle instead of deprecated HasRawDisplayHandle
Currently `connect` is unsafe because it doesn't take ownership of the display or have a lifetime bound.
This commit is contained in:
parent
bf49c91331
commit
869737dadc
11 changed files with 24 additions and 22 deletions
|
|
@ -12,7 +12,7 @@ keywords = ["clipboard", "window", "ui", "gui", "raw-window-handle"]
|
|||
categories = ["gui"]
|
||||
|
||||
[dependencies]
|
||||
raw-window-handle = "0.6"
|
||||
raw-window-handle = { version = "0.6", features = ["std"] }
|
||||
thiserror = "1.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue