diff --git a/src/constants.rs b/src/constants.rs new file mode 100644 index 0000000..f5e30b5 --- /dev/null +++ b/src/constants.rs @@ -0,0 +1,4 @@ +pub const DEFAULT_MUSIC_EXTENSION: &str = FLAC_EXTENSION; +pub const FLAC_EXTENSION: &str = ".flac"; +pub const WAV_EXTENSION: &str = ".wav"; +pub const MPTHREE_EXTENSION: &str = ".mp3"; diff --git a/src/lib.rs b/src/lib.rs index 3e0f797..425aff6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,5 @@ pub mod access_level; +pub mod constants; pub mod login_result; pub mod song; pub mod token;