chore: sort imports

This commit is contained in:
鲁树人 2024-09-20 20:19:24 +01:00
parent fd09693656
commit 9ea6a73ca4
5 changed files with 11 additions and 7 deletions

1
Cargo.lock generated
View File

@ -556,6 +556,7 @@ dependencies = [
"umc_kuwo", "umc_kuwo",
"umc_ncm", "umc_ncm",
"umc_qmc", "umc_qmc",
"umc_qtfm",
"umc_xiami", "umc_xiami",
"umc_xmly", "umc_xmly",
"wasm-bindgen", "wasm-bindgen",

View File

@ -28,6 +28,7 @@ umc_kgm = { path = "../um_crypto/kgm" }
umc_kuwo = { path = "../um_crypto/kuwo" } umc_kuwo = { path = "../um_crypto/kuwo" }
umc_ncm = { path = "../um_crypto/ncm" } umc_ncm = { path = "../um_crypto/ncm" }
umc_qmc = { path = "../um_crypto/qmc" } umc_qmc = { path = "../um_crypto/qmc" }
umc_qtfm = { path = "../um_crypto/qtfm" }
umc_xiami = { path = "../um_crypto/xiami" } umc_xiami = { path = "../um_crypto/xiami" }
umc_xmly = { path = "../um_crypto/xmly" } umc_xmly = { path = "../um_crypto/xmly" }
um_audio = { path = "../um_audio" } um_audio = { path = "../um_audio" }

View File

@ -4,5 +4,6 @@ pub mod kgm;
pub mod kuwo; pub mod kuwo;
pub mod ncm; pub mod ncm;
pub mod qmc; pub mod qmc;
mod xiami; pub mod qtfm;
pub mod xiami;
pub mod xmly; pub mod xmly;

View File

View File

@ -1,12 +1,13 @@
mod errors;
pub mod exports;
mod utils;
use utils::set_panic_hook; use utils::set_panic_hook;
use wasm_bindgen::prelude::*; use wasm_bindgen::prelude::*;
mod errors;
mod utils;
pub mod exports;
/// Init panic hook /// Init panic hook
#[wasm_bindgen] #[wasm_bindgen(js_name=initPanicHook)]
pub fn init() { pub fn init_panic_hook() {
set_panic_hook(); set_panic_hook();
} }