Merge branch 'feat_rust_1_90' into 'main'

⬆️: rust 1.90

See merge request veretcle/oolatoocs!36
This commit is contained in:
VC
2025-09-26 13:41:15 +00:00
3 changed files with 516 additions and 562 deletions

1074
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[package]
name = "oolatoocs"
version = "4.3.0"
version = "4.3.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -200,7 +200,7 @@ pub async fn generate_media_records(
.collect();
let video_media_attach: Vec<_> = media_attach
.iter()
.filter(|x| (x.r#type == AttachmentType::Video || x.r#type == AttachmentType::Gifv))
.filter(|x| x.r#type == AttachmentType::Video || x.r#type == AttachmentType::Gifv)
.cloned()
.collect();