update twilight, songbird and reqwest

This commit is contained in:
2025-03-05 03:27:03 +01:00
parent c6e34cf000
commit b1d6069d81
10 changed files with 887 additions and 345 deletions

View File

@@ -1,4 +1,4 @@
use songbird::{input::YoutubeDl, typemap::TypeMapKey};
use songbird::input::YoutubeDl;
use std::time::Duration;
#[derive(Clone)]
@@ -6,10 +6,5 @@ pub(crate) struct Metadata {
pub(crate) title: Option<String>,
pub(crate) duration: Option<Duration>,
pub(crate) url: String,
pub(crate) src: YoutubeDl,
}
pub(crate) struct MetadataMap;
impl TypeMapKey for MetadataMap {
type Value = Metadata;
pub(crate) src: YoutubeDl<'static>,
}