Skip to content

Commit

Permalink
chore: rename library
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jun 18, 2024
1 parent 01eea82 commit f57a38a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
35 changes: 19 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
[package]
name = "souvlaki"
version = "0.7.3"
authors = ["Sinono3 <[email protected]>"]
name = "umpc"
version = "0.1.0"
authors = ["Sinono3 <[email protected]>", "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]
Expand Down Expand Up @@ -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",
]
2 changes: 1 addition & 1 deletion examples/detach_on_drop.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use souvlaki::{MediaControls, PlatformConfig};
use umpc::{MediaControls, PlatformConfig};
use std::thread::sleep;
use std::time::Duration;

Expand Down
2 changes: 1 addition & 1 deletion examples/print_events.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use souvlaki::{MediaControlEvent, MediaControls, MediaMetadata, PlatformConfig};
use umpc::{MediaControlEvent, MediaControls, MediaMetadata, PlatformConfig};

fn main() {
#[cfg(not(target_os = "windows"))]
Expand Down
2 changes: 1 addition & 1 deletion examples/window.rs
Original file line number Diff line number Diff line change
@@ -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},
Expand Down

0 comments on commit f57a38a

Please sign in to comment.