chore: update to 2024 rust edition
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "audio-conv"
|
||||
version = "1.3.1"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
description = "Copies directory structure and converts audio files in it"
|
||||
authors = ["Thomas Heck <t@b128.net>"]
|
||||
repository = "https://gitlab.com/chpio/audio-conv"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use anyhow::{Context, Error, Result};
|
||||
use clap::{builder::ValueParser, ArgAction};
|
||||
use clap::{ArgAction, builder::ValueParser};
|
||||
use globset::GlobBuilder;
|
||||
use regex::bytes::{Regex, RegexBuilder};
|
||||
use serde::Deserialize;
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::config::{Config, Transcode};
|
||||
use anyhow::{Context, Error, Result};
|
||||
use futures::{pin_mut, prelude::*};
|
||||
use glib::Boxed;
|
||||
use gstreamer::{element_error, prelude::*, Element};
|
||||
use gstreamer::{Element, element_error, prelude::*};
|
||||
use gstreamer_base::prelude::*;
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
@@ -132,7 +132,7 @@ fn get_conversion_args(config: &Config) -> impl Iterator<Item = Result<Conversio
|
||||
Err(err) => {
|
||||
return Err(err).with_context(|| {
|
||||
format!("Unable to get mtime for \"to\" file {}", to.display())
|
||||
})
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use glib::{gstr, GStr, Value};
|
||||
use glib::{GStr, Value, gstr};
|
||||
use gstreamer::{
|
||||
tags::{merge_strings_with_comma, CustomTag},
|
||||
Tag, TagFlag,
|
||||
tags::{CustomTag, merge_strings_with_comma},
|
||||
};
|
||||
|
||||
pub struct MbArtistId;
|
||||
|
||||
Reference in New Issue
Block a user