refactor: dump database to json

This commit is contained in:
mokurin000 committed 2025-07-31 11:25:04 +08:00
1 parent 3ab53b426d
commit b72addd661
7 files changed
+84 -52

No files matched your search

+3
View File
@@ -74,6 +74,9 @@ pub trait MaiVersionExt: MaiVersion {
#[cfg(feature = "tokio")]
use tokio::task::spawn_blocking;
#[cfg(all(not(feature = "compio"), not(feature = "tokio")))]
compile_error!("you must enable one of `compio` or `tokio`");
async {
let req = spawn_blocking(move || Self::api_call(api, agent_extra, data))
.await