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