diff options
Diffstat (limited to '')
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | crates/yt/Cargo.toml (renamed from yt/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/yt/src/ansi_escape_codes.rs (renamed from yt/src/ansi_escape_codes.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/app.rs (renamed from yt/src/app.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/cache/mod.rs (renamed from yt/src/cache/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/cli.rs (renamed from yt/src/cli.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/comments/comment.rs (renamed from yt/src/comments/comment.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/comments/description.rs (renamed from yt/src/comments/description.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/comments/display.rs (renamed from yt/src/comments/display.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/comments/mod.rs (renamed from yt/src/comments/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/comments/output.rs (renamed from yt/src/comments/output.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/config/default.rs (renamed from yt/src/config/default.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/config/definitions.rs (renamed from yt/src/config/definitions.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/config/file_system.rs (renamed from yt/src/config/file_system.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/config/mod.rs (renamed from yt/src/config/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/constants.rs (renamed from yt/src/constants.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/download/download_options.rs (renamed from yt/src/download/download_options.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/download/mod.rs (renamed from yt/src/download/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/download/progress_hook.rs (renamed from yt/src/download/progress_hook.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/main.rs (renamed from yt/src/main.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/cmds/add.rs (renamed from yt/src/select/cmds/add.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/cmds/mod.rs (renamed from yt/src/select/cmds/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/mod.rs (renamed from yt/src/select/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/selection_file/duration.rs (renamed from yt/src/select/selection_file/duration.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/selection_file/help.str (renamed from yt/src/select/selection_file/help.str) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/selection_file/help.str.license (renamed from yt/src/select/selection_file/help.str.license) | 0 | ||||
-rw-r--r-- | crates/yt/src/select/selection_file/mod.rs (renamed from yt/src/select/selection_file/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/status/mod.rs (renamed from yt/src/status/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/migrate/mod.rs (renamed from yt/src/storage/migrate/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/migrate/sql/0_Empty_to_Zero.sql (renamed from yt/src/storage/migrate/sql/0_Empty_to_Zero.sql) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/migrate/sql/1_Zero_to_One.sql (renamed from yt/src/storage/migrate/sql/1_Zero_to_One.sql) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/migrate/sql/2_One_to_Two.sql (renamed from yt/src/storage/migrate/sql/2_One_to_Two.sql) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/migrate/sql/3_Two_to_Three.sql (renamed from yt/src/storage/migrate/sql/3_Two_to_Three.sql) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/mod.rs (renamed from yt/src/storage/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/subscriptions.rs (renamed from yt/src/storage/subscriptions.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/downloader.rs (renamed from yt/src/storage/video_database/downloader.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/extractor_hash.rs (renamed from yt/src/storage/video_database/extractor_hash.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/get/mod.rs (renamed from yt/src/storage/video_database/get/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/get/playlist/iterator.rs (renamed from yt/src/storage/video_database/get/playlist/iterator.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/get/playlist/mod.rs (renamed from yt/src/storage/video_database/get/playlist/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/mod.rs (renamed from yt/src/storage/video_database/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/notify.rs (renamed from yt/src/storage/video_database/notify.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/set/mod.rs (renamed from yt/src/storage/video_database/set/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/storage/video_database/set/playlist.rs (renamed from yt/src/storage/video_database/set/playlist.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/subscribe/mod.rs (renamed from yt/src/subscribe/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/unreachable.rs (renamed from yt/src/unreachable.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/update/mod.rs (renamed from yt/src/update/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/update/updater.rs (renamed from yt/src/update/updater.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/version/mod.rs (renamed from yt/src/version/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/videos/display/format_video.rs (renamed from yt/src/videos/display/format_video.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/videos/display/mod.rs (renamed from yt/src/videos/display/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/videos/mod.rs (renamed from yt/src/videos/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/watch/mod.rs (renamed from yt/src/watch/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/watch/playlist.rs (renamed from yt/src/watch/playlist.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/watch/playlist_handler/client_messages/mod.rs (renamed from yt/src/watch/playlist_handler/client_messages/mod.rs) | 0 | ||||
-rw-r--r-- | crates/yt/src/watch/playlist_handler/mod.rs (renamed from yt/src/watch/playlist_handler/mod.rs) | 0 | ||||
-rwxr-xr-x | scripts/mkdb.sh | 2 |
57 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml index 222ef7e..470eb58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ members = [ "crates/libmpv2", "crates/libmpv2/libmpv2-sys", "crates/termsize", - "yt", + "crates/yt", ] [workspace.package] diff --git a/yt/Cargo.toml b/crates/yt/Cargo.toml index 17d4016..17d4016 100644 --- a/yt/Cargo.toml +++ b/crates/yt/Cargo.toml diff --git a/yt/src/ansi_escape_codes.rs b/crates/yt/src/ansi_escape_codes.rs index ae1805d..ae1805d 100644 --- a/yt/src/ansi_escape_codes.rs +++ b/crates/yt/src/ansi_escape_codes.rs diff --git a/yt/src/app.rs b/crates/yt/src/app.rs index 15a9388..15a9388 100644 --- a/yt/src/app.rs +++ b/crates/yt/src/app.rs diff --git a/yt/src/cache/mod.rs b/crates/yt/src/cache/mod.rs index 83d5ee0..83d5ee0 100644 --- a/yt/src/cache/mod.rs +++ b/crates/yt/src/cache/mod.rs diff --git a/yt/src/cli.rs b/crates/yt/src/cli.rs index de7a5b8..de7a5b8 100644 --- a/yt/src/cli.rs +++ b/crates/yt/src/cli.rs diff --git a/yt/src/comments/comment.rs b/crates/yt/src/comments/comment.rs index 5bc939c..5bc939c 100644 --- a/yt/src/comments/comment.rs +++ b/crates/yt/src/comments/comment.rs diff --git a/yt/src/comments/description.rs b/crates/yt/src/comments/description.rs index e8cb29d..e8cb29d 100644 --- a/yt/src/comments/description.rs +++ b/crates/yt/src/comments/description.rs diff --git a/yt/src/comments/display.rs b/crates/yt/src/comments/display.rs index 6166b2b..6166b2b 100644 --- a/yt/src/comments/display.rs +++ b/crates/yt/src/comments/display.rs diff --git a/yt/src/comments/mod.rs b/crates/yt/src/comments/mod.rs index 876146d..876146d 100644 --- a/yt/src/comments/mod.rs +++ b/crates/yt/src/comments/mod.rs diff --git a/yt/src/comments/output.rs b/crates/yt/src/comments/output.rs index cb3a9c4..cb3a9c4 100644 --- a/yt/src/comments/output.rs +++ b/crates/yt/src/comments/output.rs diff --git a/yt/src/config/default.rs b/crates/yt/src/config/default.rs index 4ed643b..4ed643b 100644 --- a/yt/src/config/default.rs +++ b/crates/yt/src/config/default.rs diff --git a/yt/src/config/definitions.rs b/crates/yt/src/config/definitions.rs index ce8c0d4..ce8c0d4 100644 --- a/yt/src/config/definitions.rs +++ b/crates/yt/src/config/definitions.rs diff --git a/yt/src/config/file_system.rs b/crates/yt/src/config/file_system.rs index 2463e9d..2463e9d 100644 --- a/yt/src/config/file_system.rs +++ b/crates/yt/src/config/file_system.rs diff --git a/yt/src/config/mod.rs b/crates/yt/src/config/mod.rs index a10f7c2..a10f7c2 100644 --- a/yt/src/config/mod.rs +++ b/crates/yt/src/config/mod.rs diff --git a/yt/src/constants.rs b/crates/yt/src/constants.rs index 0f5b918..0f5b918 100644 --- a/yt/src/constants.rs +++ b/crates/yt/src/constants.rs diff --git a/yt/src/download/download_options.rs b/crates/yt/src/download/download_options.rs index 03c20ba..03c20ba 100644 --- a/yt/src/download/download_options.rs +++ b/crates/yt/src/download/download_options.rs diff --git a/yt/src/download/mod.rs b/crates/yt/src/download/mod.rs index 110bf55..110bf55 100644 --- a/yt/src/download/mod.rs +++ b/crates/yt/src/download/mod.rs diff --git a/yt/src/download/progress_hook.rs b/crates/yt/src/download/progress_hook.rs index b75ec00..b75ec00 100644 --- a/yt/src/download/progress_hook.rs +++ b/crates/yt/src/download/progress_hook.rs diff --git a/yt/src/main.rs b/crates/yt/src/main.rs index 39f52f4..39f52f4 100644 --- a/yt/src/main.rs +++ b/crates/yt/src/main.rs diff --git a/yt/src/select/cmds/add.rs b/crates/yt/src/select/cmds/add.rs index 387b3a1..387b3a1 100644 --- a/yt/src/select/cmds/add.rs +++ b/crates/yt/src/select/cmds/add.rs diff --git a/yt/src/select/cmds/mod.rs b/crates/yt/src/select/cmds/mod.rs index aabcd3d..aabcd3d 100644 --- a/yt/src/select/cmds/mod.rs +++ b/crates/yt/src/select/cmds/mod.rs diff --git a/yt/src/select/mod.rs b/crates/yt/src/select/mod.rs index 8db9ae3..8db9ae3 100644 --- a/yt/src/select/mod.rs +++ b/crates/yt/src/select/mod.rs diff --git a/yt/src/select/selection_file/duration.rs b/crates/yt/src/select/selection_file/duration.rs index 77c4fc5..77c4fc5 100644 --- a/yt/src/select/selection_file/duration.rs +++ b/crates/yt/src/select/selection_file/duration.rs diff --git a/yt/src/select/selection_file/help.str b/crates/yt/src/select/selection_file/help.str index e3cc347..e3cc347 100644 --- a/yt/src/select/selection_file/help.str +++ b/crates/yt/src/select/selection_file/help.str diff --git a/yt/src/select/selection_file/help.str.license b/crates/yt/src/select/selection_file/help.str.license index a0e196c..a0e196c 100644 --- a/yt/src/select/selection_file/help.str.license +++ b/crates/yt/src/select/selection_file/help.str.license diff --git a/yt/src/select/selection_file/mod.rs b/crates/yt/src/select/selection_file/mod.rs index abd26c4..abd26c4 100644 --- a/yt/src/select/selection_file/mod.rs +++ b/crates/yt/src/select/selection_file/mod.rs diff --git a/yt/src/status/mod.rs b/crates/yt/src/status/mod.rs index 18bef7d..18bef7d 100644 --- a/yt/src/status/mod.rs +++ b/crates/yt/src/status/mod.rs diff --git a/yt/src/storage/migrate/mod.rs b/crates/yt/src/storage/migrate/mod.rs index 953d079..953d079 100644 --- a/yt/src/storage/migrate/mod.rs +++ b/crates/yt/src/storage/migrate/mod.rs diff --git a/yt/src/storage/migrate/sql/0_Empty_to_Zero.sql b/crates/yt/src/storage/migrate/sql/0_Empty_to_Zero.sql index d703bfc..d703bfc 100644 --- a/yt/src/storage/migrate/sql/0_Empty_to_Zero.sql +++ b/crates/yt/src/storage/migrate/sql/0_Empty_to_Zero.sql diff --git a/yt/src/storage/migrate/sql/1_Zero_to_One.sql b/crates/yt/src/storage/migrate/sql/1_Zero_to_One.sql index da9315b..da9315b 100644 --- a/yt/src/storage/migrate/sql/1_Zero_to_One.sql +++ b/crates/yt/src/storage/migrate/sql/1_Zero_to_One.sql diff --git a/yt/src/storage/migrate/sql/2_One_to_Two.sql b/crates/yt/src/storage/migrate/sql/2_One_to_Two.sql index 806de07..806de07 100644 --- a/yt/src/storage/migrate/sql/2_One_to_Two.sql +++ b/crates/yt/src/storage/migrate/sql/2_One_to_Two.sql diff --git a/yt/src/storage/migrate/sql/3_Two_to_Three.sql b/crates/yt/src/storage/migrate/sql/3_Two_to_Three.sql index b33f849..b33f849 100644 --- a/yt/src/storage/migrate/sql/3_Two_to_Three.sql +++ b/crates/yt/src/storage/migrate/sql/3_Two_to_Three.sql diff --git a/yt/src/storage/mod.rs b/crates/yt/src/storage/mod.rs index d352b41..d352b41 100644 --- a/yt/src/storage/mod.rs +++ b/crates/yt/src/storage/mod.rs diff --git a/yt/src/storage/subscriptions.rs b/crates/yt/src/storage/subscriptions.rs index 6c0d08a..6c0d08a 100644 --- a/yt/src/storage/subscriptions.rs +++ b/crates/yt/src/storage/subscriptions.rs diff --git a/yt/src/storage/video_database/downloader.rs b/crates/yt/src/storage/video_database/downloader.rs index a95081e..a95081e 100644 --- a/yt/src/storage/video_database/downloader.rs +++ b/crates/yt/src/storage/video_database/downloader.rs diff --git a/yt/src/storage/video_database/extractor_hash.rs b/crates/yt/src/storage/video_database/extractor_hash.rs index df545d7..df545d7 100644 --- a/yt/src/storage/video_database/extractor_hash.rs +++ b/crates/yt/src/storage/video_database/extractor_hash.rs diff --git a/yt/src/storage/video_database/get/mod.rs b/crates/yt/src/storage/video_database/get/mod.rs index 0456cd3..0456cd3 100644 --- a/yt/src/storage/video_database/get/mod.rs +++ b/crates/yt/src/storage/video_database/get/mod.rs diff --git a/yt/src/storage/video_database/get/playlist/iterator.rs b/crates/yt/src/storage/video_database/get/playlist/iterator.rs index 4c45bf7..4c45bf7 100644 --- a/yt/src/storage/video_database/get/playlist/iterator.rs +++ b/crates/yt/src/storage/video_database/get/playlist/iterator.rs diff --git a/yt/src/storage/video_database/get/playlist/mod.rs b/crates/yt/src/storage/video_database/get/playlist/mod.rs index f6aadbf..f6aadbf 100644 --- a/yt/src/storage/video_database/get/playlist/mod.rs +++ b/crates/yt/src/storage/video_database/get/playlist/mod.rs diff --git a/yt/src/storage/video_database/mod.rs b/crates/yt/src/storage/video_database/mod.rs index 74d09f0..74d09f0 100644 --- a/yt/src/storage/video_database/mod.rs +++ b/crates/yt/src/storage/video_database/mod.rs diff --git a/yt/src/storage/video_database/notify.rs b/crates/yt/src/storage/video_database/notify.rs index b55c00a..b55c00a 100644 --- a/yt/src/storage/video_database/notify.rs +++ b/crates/yt/src/storage/video_database/notify.rs diff --git a/yt/src/storage/video_database/set/mod.rs b/crates/yt/src/storage/video_database/set/mod.rs index 8c1be4a..8c1be4a 100644 --- a/yt/src/storage/video_database/set/mod.rs +++ b/crates/yt/src/storage/video_database/set/mod.rs diff --git a/yt/src/storage/video_database/set/playlist.rs b/crates/yt/src/storage/video_database/set/playlist.rs index 547df21..547df21 100644 --- a/yt/src/storage/video_database/set/playlist.rs +++ b/crates/yt/src/storage/video_database/set/playlist.rs diff --git a/yt/src/subscribe/mod.rs b/crates/yt/src/subscribe/mod.rs index 7ac0be4..7ac0be4 100644 --- a/yt/src/subscribe/mod.rs +++ b/crates/yt/src/subscribe/mod.rs diff --git a/yt/src/unreachable.rs b/crates/yt/src/unreachable.rs index 436fbb6..436fbb6 100644 --- a/yt/src/unreachable.rs +++ b/crates/yt/src/unreachable.rs diff --git a/yt/src/update/mod.rs b/crates/yt/src/update/mod.rs index f0b1e2c..f0b1e2c 100644 --- a/yt/src/update/mod.rs +++ b/crates/yt/src/update/mod.rs diff --git a/yt/src/update/updater.rs b/crates/yt/src/update/updater.rs index 8da654b..8da654b 100644 --- a/yt/src/update/updater.rs +++ b/crates/yt/src/update/updater.rs diff --git a/yt/src/version/mod.rs b/crates/yt/src/version/mod.rs index 05d85e0..05d85e0 100644 --- a/yt/src/version/mod.rs +++ b/crates/yt/src/version/mod.rs diff --git a/yt/src/videos/display/format_video.rs b/crates/yt/src/videos/display/format_video.rs index b97acb1..b97acb1 100644 --- a/yt/src/videos/display/format_video.rs +++ b/crates/yt/src/videos/display/format_video.rs diff --git a/yt/src/videos/display/mod.rs b/crates/yt/src/videos/display/mod.rs index 1188569..1188569 100644 --- a/yt/src/videos/display/mod.rs +++ b/crates/yt/src/videos/display/mod.rs diff --git a/yt/src/videos/mod.rs b/crates/yt/src/videos/mod.rs index e821772..e821772 100644 --- a/yt/src/videos/mod.rs +++ b/crates/yt/src/videos/mod.rs diff --git a/yt/src/watch/mod.rs b/crates/yt/src/watch/mod.rs index c32a76f..c32a76f 100644 --- a/yt/src/watch/mod.rs +++ b/crates/yt/src/watch/mod.rs diff --git a/yt/src/watch/playlist.rs b/crates/yt/src/watch/playlist.rs index ff383d0..ff383d0 100644 --- a/yt/src/watch/playlist.rs +++ b/crates/yt/src/watch/playlist.rs diff --git a/yt/src/watch/playlist_handler/client_messages/mod.rs b/crates/yt/src/watch/playlist_handler/client_messages/mod.rs index 6f7a59e..6f7a59e 100644 --- a/yt/src/watch/playlist_handler/client_messages/mod.rs +++ b/crates/yt/src/watch/playlist_handler/client_messages/mod.rs diff --git a/yt/src/watch/playlist_handler/mod.rs b/crates/yt/src/watch/playlist_handler/mod.rs index 29b8f39..29b8f39 100644 --- a/yt/src/watch/playlist_handler/mod.rs +++ b/crates/yt/src/watch/playlist_handler/mod.rs diff --git a/scripts/mkdb.sh b/scripts/mkdb.sh index a6b453c..f0c7740 100755 --- a/scripts/mkdb.sh +++ b/scripts/mkdb.sh @@ -16,7 +16,7 @@ db="$root/target/database.sqlx" [ -f "$db" ] && rm "$db" [ -d "$root/target" ] || mkdir "$root/target" -fd . "$root/yt/src/storage/migrate/sql" | while read -r sql_file; do +fd . "$root/crates/yt/src/storage/migrate/sql" | while read -r sql_file; do echo "Applying sql migration file: $(basename "$sql_file").." { # NOTE(@bpeetz): The wrapping in a transaction is needed to simulate the rust code. <2025-05-07> |