diff --git a/Cargo.toml b/Cargo.toml index 04c6aa3..08318fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,22 +1,21 @@ [package] -name = "souvlaki" -version = "0.7.3" -authors = ["Sinono3 "] +name = "umpc" +version = "0.1.0" +authors = ["Sinono3 ", "SergioRibera", "gxskpo"] edition = "2018" description = "A cross-platform media key and metadata handling library." -repository = "https://github.com/Sinono3/souvlaki" -documentation = "https://docs.rs/souvlaki" +repository = "https://github.com/sbbw-widgets/umpc" +documentation = "https://docs.rs/umpc" license = "MIT" -rust-version = "1.67" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.44" features = [ - "Foundation", - "Media", - "Win32_Foundation", - "Win32_System_WinRT", - "Storage_Streams", + "Foundation", + "Media", + "Win32_Foundation", + "Win32_System_WinRT", + "Storage_Streams", ] [target.'cfg(target_os = "macos")'.dependencies] @@ -46,12 +45,16 @@ raw-window-handle = "0.5.0" [target.'cfg(target_os = "windows")'.dev-dependencies.windows] version = "0.44" features = [ - "Win32_Foundation", - "Win32_Graphics_Gdi", - "Win32_System_LibraryLoader", - "Win32_UI_WindowsAndMessaging" + "Win32_Foundation", + "Win32_Graphics_Gdi", + "Win32_System_LibraryLoader", + "Win32_UI_WindowsAndMessaging", ] [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" -targets = ["x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] +targets = [ + "x86_64-apple-darwin", + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", +] diff --git a/examples/detach_on_drop.rs b/examples/detach_on_drop.rs index dac7f48..e5339b4 100644 --- a/examples/detach_on_drop.rs +++ b/examples/detach_on_drop.rs @@ -1,4 +1,4 @@ -use souvlaki::{MediaControls, PlatformConfig}; +use umpc::{MediaControls, PlatformConfig}; use std::thread::sleep; use std::time::Duration; diff --git a/examples/print_events.rs b/examples/print_events.rs index 99a6aa5..ba3912c 100644 --- a/examples/print_events.rs +++ b/examples/print_events.rs @@ -1,4 +1,4 @@ -use souvlaki::{MediaControlEvent, MediaControls, MediaMetadata, PlatformConfig}; +use umpc::{MediaControlEvent, MediaControls, MediaMetadata, PlatformConfig}; fn main() { #[cfg(not(target_os = "windows"))] diff --git a/examples/window.rs b/examples/window.rs index 07afc18..2436464 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -1,6 +1,6 @@ use std::{sync::mpsc, thread::sleep, time::Duration}; -use souvlaki::{MediaControlEvent, MediaControls, MediaMetadata, MediaPlayback, PlatformConfig}; +use umpc::{MediaControlEvent, MediaControls, MediaMetadata, MediaPlayback, PlatformConfig}; use winit::{ event::{Event, WindowEvent}, event_loop::{ControlFlow, EventLoop},