Update to rust 2024
This commit is contained in:
parent
a21295ecc8
commit
f8281640f1
|
|
@ -14,6 +14,7 @@ members=[
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version="2.0.0"
|
version="2.0.0"
|
||||||
|
edition="2024"
|
||||||
repository="https://git.mcorangehq.xyz/XOR64/xmpd/"
|
repository="https://git.mcorangehq.xyz/XOR64/xmpd/"
|
||||||
license="GPL-3.0"
|
license="GPL-3.0"
|
||||||
authors=[
|
authors=[
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-cache"
|
name = "xmpd-cache"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
readme="README.md"
|
readme="README.md"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ impl Cache {
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! he {
|
macro_rules! he {
|
||||||
($tx:expr, $val:expr) => {
|
($tx:expr_2021, $val:expr_2021) => {
|
||||||
match $val {
|
match $val {
|
||||||
Ok(v) => v,
|
Ok(v) => v,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-cliargs"
|
name = "xmpd-cliargs"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
readme="README.md"
|
readme="README.md"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-core"
|
name = "xmpd-core"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
readme="README.md"
|
readme="README.md"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-gui"
|
name = "xmpd-gui"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
readme="README.md"
|
readme="README.md"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ macro_rules! component_register {
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! handle_error_ui {
|
macro_rules! handle_error_ui {
|
||||||
($val:expr) => {
|
($val:expr_2021) => {
|
||||||
match $val {
|
match $val {
|
||||||
Ok(v) => v,
|
Ok(v) => v,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
@ -37,7 +37,7 @@ macro_rules! handle_error_ui {
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! handle_option {
|
macro_rules! handle_option {
|
||||||
($reason:expr, $val:expr) => {
|
($reason:expr_2021, $val:expr_2021) => {
|
||||||
if let Some(v) = $val {
|
if let Some(v) = $val {
|
||||||
v
|
v
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-manifest"
|
name = "xmpd-manifest"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
readme="README.md"
|
readme="README.md"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-player"
|
name = "xmpd-player"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-settings"
|
name = "xmpd-settings"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xmpd-tooling"
|
name = "xmpd-tooling"
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user