diff --git a/.gitignore b/.gitignore index 088ba6b..0002ba5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ Cargo.lock # These are backup files generated by rustfmt **/*.rs.bk +.vscode diff --git a/Cargo.toml b/Cargo.toml index 01f623c..e3a68d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mpris-control" -version = "0.3.1" +version = "0.3.2" authors = ["BlackDex"] edition = "2018" @@ -10,11 +10,15 @@ license = "GPL-3.0-only" publish = false [dependencies] -mpris = "2.0.0-rc1" +mpris = "2.0.0-rc2" clap = "2" +#[patch.crates-io] +#mpris = { path = "/root/rust/mpris-rs" } + [profile.release] lto = true -opt-level = "s" +opt-level = "z" codegen-units = 1 -inline-threshold = 275 +panic = "abort" +#inline-threshold = 275 diff --git a/src/main.rs b/src/main.rs index 753f19c..e8d848e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use mpris::PlayerFinder; fn main() { let matches = App::new("mpris-control") - .version("0.3.1") + .version("0.3.2") .author("BlackDex (https://github.com/BlackDex/mpris-control/)") .about("Control MPRIS enabled media players") .setting(AppSettings::SubcommandRequiredElseHelp)