fix weird dependency stuff

This commit is contained in:
OMGeeky
2024-04-21 18:42:16 +02:00
parent 23f974525e
commit 794a218a81
4 changed files with 675 additions and 568 deletions

View File

@@ -11,5 +11,6 @@ git-fetch-with-cli = true
#reqwest-backoff = { path = "../reqwest_backoff" }
[patch.crates-io]
yup-oauth2 = { git = "https://github.com/dermesser/yup-oauth2.git" }
google-youtube3 = { git = "https://github.com/OMGeeky/google-apis-rs.git", branch = "scope-derives" }
yup-oauth2 = { git = "https://github.com/dermesser/yup-oauth2.git", rev = "06d3b7e9d2553dc3ef836b559a84aab29edb86c3" }
google-youtube3 = { version = "5.0.3", git = "https://github.com/OMGeeky/google-apis-rs.git", branch = "scope-derives" }
google-apis-common = { version = "6.0.0", git = "https://github.com/OMGeeky/google-apis-rs.git", branch = "scope-derives" }

1231
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -21,12 +21,13 @@ thiserror = "1.0"
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11" , features = ["rustls-tls-native-roots"], default-features = false}
reqwest = { version = "0.11" }
chrono = "0.4"
futures = "0.3"
futures-util = "0.3"
google-youtube3 = "5.0"
google-youtube3 = "5.0.3"
google-apis-common = "6.0.0"
yup-oauth2 = "8.3"
strfmt = "0.2"

View File

@@ -267,7 +267,7 @@ fn shorten_string_if_needed(s: &str, target_len: usize) -> String {
#[cfg(test)]
mod test {
use crate::client::youtube::{create_youtube_title, TitleLocation};
use local_db::prelude::{Status, VideosModel};
use twba_local_db::prelude::{Status, VideosModel};
#[test]
fn test_shorten_string() {