Commit 60e9bb231c
Unsigned
Layout: unified · split
src/global/structs/mod.rs +6 −6
| @@ -1,8 +1,6 @@ | |||
| 1 | //! enums and structs | 1 | //! enums and structs |
| 2 | mod errors; | 2 | mod errors; |
| 3 | mod history; | 3 | mod history; |
| 4 | #[cfg(feature = "invidious")] | ||
| 5 | mod invidiousclient; | ||
| 6 | mod item; | 4 | mod item; |
| 7 | mod keyaction; | 5 | mod keyaction; |
| 8 | mod library; | 6 | mod library; |
| @@ -10,16 +8,15 @@ mod message; | |||
| 10 | #[cfg(feature = "mpv")] | 8 | #[cfg(feature = "mpv")] |
| 11 | mod mpv; | 9 | mod mpv; |
| 12 | mod page; | 10 | mod page; |
| 13 | mod rustypipe; | ||
| 14 | mod state_env; | 11 | mod state_env; |
| 15 | mod status; | 12 | mod status; |
| 16 | mod subscriptions; | 13 | mod subscriptions; |
| 17 | mod tasks; | 14 | mod tasks; |
| 18 | 15 | ||
| 16 | mod providers; | ||
| 17 | |||
| 19 | pub use errors::*; | 18 | pub use errors::*; |
| 20 | pub use history::*; | 19 | pub use history::*; |
| 21 | #[cfg(feature = "invidious")] | ||
| 22 | pub use invidiousclient::*; | ||
| 23 | pub use item::*; | 20 | pub use item::*; |
| 24 | pub use keyaction::*; | 21 | pub use keyaction::*; |
| 25 | pub use library::*; | 22 | pub use library::*; |
| @@ -27,7 +24,10 @@ pub use message::*; | |||
| 27 | #[cfg(feature = "mpv")] | 24 | #[cfg(feature = "mpv")] |
| 28 | pub use mpv::*; | 25 | pub use mpv::*; |
| 29 | pub use page::*; | 26 | pub use page::*; |
| 30 | pub use rustypipe::*; | 27 | #[cfg(feature = "invidious")] |
| 28 | pub use providers::invidiousclient::*; | ||
| 29 | #[cfg(feature = "rustypipe")] | ||
| 30 | pub use providers::rustypipe::*; | ||
| 31 | pub use state_env::*; | 31 | pub use state_env::*; |
| 32 | pub use status::*; | 32 | pub use status::*; |
| 33 | pub use subscriptions::*; | 33 | pub use subscriptions::*; |
src/global/structs/invidiousclient.rs → src/global/structs/providers/invidiousclient.rs renamed
src/global/structs/providers/mod.rs added +4
| @@ -0,0 +1,4 @@ | |||
| 1 | #[cfg(feature = "invidious")] | ||
| 2 | pub mod invidiousclient; | ||
| 3 | #[cfg(feature = "rustypipe")] | ||
| 4 | pub mod rustypipe; | ||