mirror of
https://github.com/tauri-apps/winrt-notification.git
synced 2026-01-31 00:45:19 +01:00
chore(deps): update windows crate to 0.58 (#33)
This commit is contained in:
5
.changes/windows-0.58.md
Normal file
5
.changes/windows-0.58.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-winrt-notification": "minor"
|
||||
---
|
||||
|
||||
Update `windows` crate to `0.58`
|
||||
@@ -23,7 +23,7 @@ thiserror = "1.0"
|
||||
windows-version = "0.1"
|
||||
|
||||
[dependencies.windows]
|
||||
version = "0.57"
|
||||
version = "0.58"
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Foundation_Collections",
|
||||
|
||||
26
src/lib.rs
26
src/lib.rs
@@ -18,19 +18,19 @@
|
||||
//! Limitations:
|
||||
//!
|
||||
//! * Windows 8.1 only supports a single image, the last image (icon, hero, image) will be the one on the toast
|
||||
|
||||
/// for xml schema details check out:
|
||||
///
|
||||
/// * https://docs.microsoft.com/en-us/uwp/schemas/tiles/toastschema/root-elements
|
||||
/// * https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-toast-xml-schema
|
||||
/// * https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-adaptive-interactive-toasts
|
||||
/// * https://msdn.microsoft.com/library/14a07fce-d631-4bad-ab99-305b703713e6#Sending_toast_notifications_from_desktop_apps
|
||||
|
||||
/// for Windows 7 and older support look into Shell_NotifyIcon
|
||||
/// https://msdn.microsoft.com/en-us/library/windows/desktop/ee330740(v=vs.85).aspx
|
||||
/// https://softwareengineering.stackexchange.com/questions/222339/using-the-system-tray-notification-area-app-in-windows-7
|
||||
|
||||
/// For actions look at https://docs.microsoft.com/en-us/dotnet/api/microsoft.toolkit.uwp.notifications.toastactionscustom?view=win-comm-toolkit-dotnet-7.0
|
||||
//!
|
||||
//! for xml schema details check out:
|
||||
//!
|
||||
//! * <https://docs.microsoft.com/en-us/uwp/schemas/tiles/toastschema/root-elements>
|
||||
//! * <https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-toast-xml-schema>
|
||||
//! * <https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-adaptive-interactive-toasts>
|
||||
//! * <https://msdn.microsoft.com/library/14a07fce-d631-4bad-ab99-305b703713e6#Sending_toast_notifications_from_desktop_apps>
|
||||
//!
|
||||
//! For Windows 7 and older support look into Shell_NotifyIcon
|
||||
//! * <https://msdn.microsoft.com/en-us/library/windows/desktop/ee330740(v=vs.85).aspx>
|
||||
//! * <https://softwareengineering.stackexchange.com/questions/222339/using-the-system-tray-notification-area-app-in-windows-7>
|
||||
//!
|
||||
//! For actions look at <https://docs.microsoft.com/en-us/dotnet/api/microsoft.toolkit.uwp.notifications.toastactionscustom?view=win-comm-toolkit-dotnet-7.0>
|
||||
use windows::{
|
||||
core::{IInspectable, Interface},
|
||||
Data::Xml::Dom::XmlDocument,
|
||||
|
||||
Reference in New Issue
Block a user