diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 18:07:04 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 18:07:04 +0200 |
commit | b90e94bef58422c7c8b063435e5420f90f1d59d2 (patch) | |
tree | 91273259795bb72b617bef93e6002e99cd1dfb43 | |
parent | build(.envrc): Set `sqlx`'s `DATABASE_URL` variable (diff) | |
download | yt-b90e94bef58422c7c8b063435e5420f90f1d59d2.tar.gz yt-b90e94bef58422c7c8b063435e5420f90f1d59d2.zip |
style(treewide): Format
-rw-r--r-- | Cargo.toml | 14 | ||||
-rw-r--r-- | yt/src/subscribe/mod.rs | 3 |
2 files changed, 9 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml index 888e79d..4f35424 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,11 +10,7 @@ [workspace] resolver = "2" -members = [ - "crates/bytes", - "crates/yt_dlp", - "yt", -] +members = ["crates/bytes", "crates/yt_dlp", "yt"] [workspace.package] edition = "2021" @@ -36,7 +32,13 @@ log = "0.4.22" serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" url = { version = "2.5.2", features = ["serde"] } -tokio = { version = "1.40.0", features = [ "rt-multi-thread", "macros", "process", "time", "io-std", ] } +tokio = { version = "1.40.0", features = [ + "rt-multi-thread", + "macros", + "process", + "time", + "io-std", +] } [profile.profiling] inherits = "release" diff --git a/yt/src/subscribe/mod.rs b/yt/src/subscribe/mod.rs index 32a7760..ef46627 100644 --- a/yt/src/subscribe/mod.rs +++ b/yt/src/subscribe/mod.rs @@ -21,8 +21,7 @@ use yt_dlp::wrapper::info_json::InfoType; use crate::{ app::App, storage::subscriptions::{ - add_subscription, check_url, get, remove_all, - remove_subscription, Subscription, + add_subscription, check_url, get, remove_all, remove_subscription, Subscription, }, unreachable::Unreachable, }; |