diff --git a/.changes/15.md b/.changes/15.md deleted file mode 100644 index 924cd3476..000000000 --- a/.changes/15.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": minor ---- - -Update to gtk 0.15 diff --git a/.changes/accelerator-error.md b/.changes/accelerator-error.md deleted file mode 100644 index 87168d8af..000000000 --- a/.changes/accelerator-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Emit errors when parsing an invalid accelerator from a string. \ No newline at end of file diff --git a/.changes/accelerator-strings.md b/.changes/accelerator-strings.md deleted file mode 100644 index a817fbe4f..000000000 --- a/.changes/accelerator-strings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: minor ---- - -Add support for more accelerator keys: `,` `-` `.` `=` `;` `/` `\` `'` `` ` `` `[` `]` `Space` `Tab` and `F13`-`F24` diff --git a/.changes/borderless-resizing-inset.md b/.changes/borderless-resizing-inset.md deleted file mode 100644 index b140273a0..000000000 --- a/.changes/borderless-resizing-inset.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -"tao": patch ---- -Increased Borderless window resizing inset. \ No newline at end of file diff --git a/.changes/edition.md b/.changes/edition.md deleted file mode 100644 index 81697a76f..000000000 --- a/.changes/edition.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Update to 2021 edition and msrv to 1.56 - diff --git a/.changes/exit_with_code.md b/.changes/exit_with_code.md deleted file mode 100644 index 1b4aa7846..000000000 --- a/.changes/exit_with_code.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": minor ---- - -**Breaking:** Rename the `Exit` variant of `ControlFlow` to `ExitWithCode`, which holds a value to control the exit code after running. Add an `Exit` constant which aliases to `ExitWithCode(0)` instead to avoid major breakage. This shouldn't affect most existing programs. diff --git a/.changes/fix-quit-menuitem-windows.md b/.changes/fix-quit-menuitem-windows.md deleted file mode 100644 index a00065cb4..000000000 --- a/.changes/fix-quit-menuitem-windows.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Fixes the `MenuItem::Quit` behavior on Windows. diff --git a/.changes/keyboard-windows-space.md b/.changes/keyboard-windows-space.md deleted file mode 100644 index 39bf0483d..000000000 --- a/.changes/keyboard-windows-space.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Add support for `SPACE` shortcut key on Windows. diff --git a/.changes/linux-fix-loop.md b/.changes/linux-fix-loop.md deleted file mode 100644 index ecaabb620..000000000 --- a/.changes/linux-fix-loop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -* Fix redrawn event that causing infinite lopp on Linux diff --git a/.changes/linux-fix-native-menu-items.md b/.changes/linux-fix-native-menu-items.md deleted file mode 100644 index b673bd380..000000000 --- a/.changes/linux-fix-native-menu-items.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Fix linux native menu items not working. \ No newline at end of file diff --git a/.changes/linux-fix-undecorated-resize.md b/.changes/linux-fix-undecorated-resize.md deleted file mode 100644 index 1a2eb3995..000000000 --- a/.changes/linux-fix-undecorated-resize.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -* Fix resizing undecorated window on Linux. -* Undecorated window can be resized using touch on Linux. \ No newline at end of file diff --git a/.changes/linux-focus-events.md b/.changes/linux-focus-events.md deleted file mode 100644 index 70731cc5e..000000000 --- a/.changes/linux-focus-events.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Fix focus events not firing on Linux diff --git a/.changes/linux-monitor.md b/.changes/linux-monitor.md deleted file mode 100644 index a261b1366..000000000 --- a/.changes/linux-monitor.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Add monitor selection when fullscreen on Linux and close possible way to create VideoMode on Linux since gtk doesn't acutally have such feature. - diff --git a/.changes/linux-redraw.md b/.changes/linux-redraw.md deleted file mode 100644 index bb880c2d8..000000000 --- a/.changes/linux-redraw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -* Add `RedrawEventsCleared` and `RedrawRequested` on Linux diff --git a/.changes/linux-run-return.md b/.changes/linux-run-return.md deleted file mode 100644 index 89cefed61..000000000 --- a/.changes/linux-run-return.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Add run_return trait on Linux - diff --git a/.changes/linux-skip-taskbar-skips-pages.md b/.changes/linux-skip-taskbar-skips-pages.md deleted file mode 100644 index ad9846979..000000000 --- a/.changes/linux-skip-taskbar-skips-pages.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -`window.set_skip_taskbar()` on Linux will now also skip the pager (Alt+Tab), this matches the behavior on Windows. \ No newline at end of file diff --git a/.changes/linux-tray.md b/.changes/linux-tray.md deleted file mode 100644 index 4db26df27..000000000 --- a/.changes/linux-tray.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Update tray dependency version. - diff --git a/.changes/linux-unreg.md b/.changes/linux-unreg.md deleted file mode 100644 index ffe9eb19a..000000000 --- a/.changes/linux-unreg.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Fix deadlock when unregistering shortcut on Linux. - diff --git a/.changes/linx-moved-resized-on-min-maximized.md b/.changes/linx-moved-resized-on-min-maximized.md deleted file mode 100644 index 54a0e0c1c..000000000 --- a/.changes/linx-moved-resized-on-min-maximized.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Fire `WindowEvent::Resized` and `WindowEvent::Moved` when window is min/maximized on Linux to align with Windows behavior. \ No newline at end of file diff --git a/.changes/mac-borderless-menu.md b/.changes/mac-borderless-menu.md deleted file mode 100644 index dc6600206..000000000 --- a/.changes/mac-borderless-menu.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Fix menubar missing on borderless window. - diff --git a/.changes/mac-core-video-sys.md b/.changes/mac-core-video-sys.md deleted file mode 100644 index 619f2f4d3..000000000 --- a/.changes/mac-core-video-sys.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Fix core-video-sys dependency. diff --git a/.changes/mac-link.md b/.changes/mac-link.md deleted file mode 100644 index 35c603165..000000000 --- a/.changes/mac-link.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -Fix linking to the `ColorSync` framework on macOS 10.7, and in newer Rust versions. - diff --git a/.changes/parse-more-keycode-strings.md b/.changes/parse-more-keycode-strings.md deleted file mode 100644 index 4db87c7aa..000000000 --- a/.changes/parse-more-keycode-strings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: minor ---- - -Allow more strings to parse to keycode, for example `,` is now parsed as a comma. diff --git a/.changes/raw-window-handle.md b/.changes/raw-window-handle.md deleted file mode 100644 index 6cd9bded8..000000000 --- a/.changes/raw-window-handle.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tao": patch ---- - -* Update `raw-window-handle` to `0.4` -* Add `raw_window_handle()` implementation on linux. \ No newline at end of file diff --git a/.changes/tray-mac.md b/.changes/tray-mac.md deleted file mode 100644 index e4e109427..000000000 --- a/.changes/tray-mac.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Fix click events missing whe tray has menu. diff --git a/.changes/unhide-applications.md b/.changes/unhide-applications.md deleted file mode 100644 index bf94a704a..000000000 --- a/.changes/unhide-applications.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: minor ---- - -Add macOS `show_application()` method diff --git a/.changes/unix_new_any_thread.md b/.changes/unix_new_any_thread.md deleted file mode 100644 index 4c39c023b..000000000 --- a/.changes/unix_new_any_thread.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Add new_any_thread to Unix event loop. diff --git a/.changes/webview2-com-sys.md b/.changes/webview2-com-sys.md deleted file mode 100644 index dd9ba5887..000000000 --- a/.changes/webview2-com-sys.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Replace all of the `winapi` crate references with the `windows` crate. The generated bindings are in the `webview2-com-sys` crate to share types with WRY later. \ No newline at end of file diff --git a/.changes/window-target-clone.md b/.changes/window-target-clone.md deleted file mode 100644 index 14bc2bae8..000000000 --- a/.changes/window-target-clone.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Implement `Clone` for `EventLoopWindowTarget`. diff --git a/.changes/windows-0.25.0.md b/.changes/windows-0.25.0.md deleted file mode 100644 index 14ee56d6d..000000000 --- a/.changes/windows-0.25.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Update the `windows` crate to 0.25.0, which comes with pre-built libraries. Tao no longer depends on `webview2-com-sys` to generate bindings shared with WRY. \ No newline at end of file diff --git a/.changes/windows-0.29.0.md b/.changes/windows-0.29.0.md deleted file mode 100644 index 3f5d499cc..000000000 --- a/.changes/windows-0.29.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Update the `windows` crate to 0.29.0. \ No newline at end of file diff --git a/.changes/windows-0.30.0.md b/.changes/windows-0.30.0.md deleted file mode 100644 index 4174c6c6e..000000000 --- a/.changes/windows-0.30.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Update the `windows` crate to 0.30.0. This version re-introduced a lot of new-types for things like HWND, LRESULT, WPARAM, LPARAM, etc. \ No newline at end of file diff --git a/.changes/windows-fix-maximized-state.md b/.changes/windows-fix-maximized-state.md deleted file mode 100644 index 7b795c51f..000000000 --- a/.changes/windows-fix-maximized-state.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": "patch" ---- - -Fix using `WindowBuilder::with_visible` and `WindowBuilder::with_maximized` not behaving correctly. diff --git a/.changes/windows-system-tray-event-position.md b/.changes/windows-system-tray-event-position.md deleted file mode 100644 index b70b50b48..000000000 --- a/.changes/windows-system-tray-event-position.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": "patch" ---- - -On Windows, send correct position on system tray events. diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f952c93..21814e70d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,76 @@ ## \[0.6.0] +- Update to gtk 0.15 + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Emit errors when parsing an invalid accelerator from a string. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Add support for more accelerator keys: `,` `-` `.` `=` `;` `/` `\` `'` `` ` `` `[` `]` `Space` `Tab` and `F13`-`F24` + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Increased Borderless window resizing inset. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Update to 2021 edition and msrv to 1.56 + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- **Breaking:** Rename the `Exit` variant of `ControlFlow` to `ExitWithCode`, which holds a value to control the exit code after running. Add an `Exit` constant which aliases to `ExitWithCode(0)` instead to avoid major breakage. This shouldn't affect most existing programs. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fixes the `MenuItem::Quit` behavior on Windows. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Add support for `SPACE` shortcut key on Windows. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- - Fix redrawn event that causing infinite lopp on Linux + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix linux native menu items not working. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- - Fix resizing undecorated window on Linux. +- Undecorated window can be resized using touch on Linux. +- [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix focus events not firing on Linux + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Add monitor selection when fullscreen on Linux and close possible way to create VideoMode on Linux since gtk doesn't acutally have such feature. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- - Add `RedrawEventsCleared` and `RedrawRequested` on Linux + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Add run_return trait on Linux + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- `window.set_skip_taskbar()` on Linux will now also skip the pager (Alt+Tab), this matches the behavior on Windows. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Update tray dependency version. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix deadlock when unregistering shortcut on Linux. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fire `WindowEvent::Resized` and `WindowEvent::Moved` when window is min/maximized on Linux to align with Windows behavior. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix menubar missing on borderless window. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix core-video-sys dependency. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix linking to the `ColorSync` framework on macOS 10.7, and in newer Rust versions. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Allow more strings to parse to keycode, for example `,` is now parsed as a comma. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- - Update `raw-window-handle` to `0.4` +- Add `raw_window_handle()` implementation on linux. +- [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix click events missing whe tray has menu. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Add macOS `show_application()` method + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Add new_any_thread to Unix event loop. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Replace all of the `winapi` crate references with the `windows` crate. The generated bindings are in the `webview2-com-sys` crate to share types with WRY later. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Implement `Clone` for `EventLoopWindowTarget`. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Update the `windows` crate to 0.25.0, which comes with pre-built libraries. Tao no longer depends on `webview2-com-sys` to generate bindings shared with WRY. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Update the `windows` crate to 0.29.0. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Update the `windows` crate to 0.30.0. This version re-introduced a lot of new-types for things like HWND, LRESULT, WPARAM, LPARAM, etc. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- Fix using `WindowBuilder::with_visible` and `WindowBuilder::with_maximized` not behaving correctly. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 +- On Windows, send correct position on system tray events. + - [0dd71973](https://github.com/tauri-apps/tao/commit/0dd7197326fc885150f07ebc3127fd8452a36f00) Merge next back to dev branch ([#305](https://github.com/tauri-apps/tao/pull/305)) on 2022-02-05 - Add support for more accelerator keys: `,` `-` `.` `=` `;` `/` `\` `'` `` ` `` `[` `]` `Space` `Tab` and `F13`-`F24` - [b047ae41](https://github.com/tauri-apps/tao/commit/b047ae41a83b94cb140cb3a3decd1ddb4ea6d405) feat: support accelerator key strings `,` `-` `.` `Space` `Tab` and `F13`-`F24` ([#228](https://github.com/tauri-apps/tao/pull/228)) on 2021-11-15 - Allow more strings to parse to keycode, for example `,` is now parsed as a comma. diff --git a/Cargo.toml b/Cargo.toml index f1502a54f..f01df53ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,9 +74,9 @@ parking_lot = "0.11" unicode-segmentation = "1.8.0" windows_macros = "0.30.0" -[target."cfg(target_os = \"windows\")".dependencies.windows] -version = "0.30.0" -features = [ + [target."cfg(target_os = \"windows\")".dependencies.windows] + version = "0.30.0" + features = [ "alloc", "Win32_Devices_HumanInterfaceDevice", "Win32_Foundation", @@ -102,7 +102,7 @@ features = [ "Win32_UI_Input_Touch", "Win32_UI_Shell", "Win32_UI_TextServices", - "Win32_UI_WindowsAndMessaging", + "Win32_UI_WindowsAndMessaging" ] [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]