fix: 修复 Windows 音频设备函数可见性

This commit is contained in:
mofeng-git
2026-07-31 09:46:32 +08:00
parent 6fdcf5c7c9
commit 6bbe137f09
3 changed files with 10 additions and 5 deletions

View File

@@ -1,8 +1,11 @@
#[cfg(unix)]
use axum::{extract::DefaultBodyLimit, routing::delete};
use axum::{
extract::DefaultBodyLimit,
routing::{delete, put},
};
use axum::{
middleware,
routing::{any, get, patch, post, put},
routing::{any, get, patch, post},
Router,
};
use std::sync::Arc;