Skip to content

Commit

Permalink
Update libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDex committed Oct 9, 2022
1 parent 3272098 commit 35212b9
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 41 deletions.
65 changes: 33 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "mpris-control"
version = "0.4.1"
version = "0.4.2"
authors = ["BlackDex"]
edition = "2021"
rust-version = "1.61"
rust-version = "1.59.0"
resolver = "2"

repository = "https://github.com/BlackDex/mpris-control"
Expand All @@ -12,7 +12,7 @@ license = "GPL-3.0-only"
publish = false

[dependencies]
mpris = "2.0.0-rc2"
mpris = "2.0.0-rc3"
pico-args = "0.5.0"

[profile.release]
Expand All @@ -22,6 +22,3 @@ codegen-units = 1
panic = "abort"
rpath = false
strip = true

[patch.crates-io]
mpris = { git = 'https://github.com/Mange/mpris-rs', rev = '8cfe48172d56ddf2b3256af78ad57be20a57540e' }
30 changes: 27 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
#![forbid(unsafe_code)]
#![warn(rust_2018_idioms)]
#![warn(rust_2021_compatibility)]
#![forbid(unsafe_code, non_ascii_idents)]
#![deny(
rust_2018_idioms,
rust_2021_compatibility,
noop_method_call,
pointer_structural_match,
trivial_casts,
trivial_numeric_casts,
unused_import_braces,
clippy::cast_lossless,
clippy::clone_on_ref_ptr,
clippy::equatable_if_let,
clippy::float_cmp_const,
clippy::inefficient_to_string,
clippy::linkedlist,
clippy::macro_use_imports,
clippy::manual_assert,
clippy::match_wildcard_for_single_variants,
clippy::mem_forget,
clippy::string_add_assign,
clippy::string_to_string,
clippy::unnecessary_join,
clippy::unnecessary_self_imports,
clippy::unused_async,
clippy::verbose_file_reads,
clippy::zero_sized_map_values
)]
use mpris::PlayerFinder;
use pico_args::Arguments;

Expand Down

0 comments on commit 35212b9

Please sign in to comment.