feat: 新增 Gemini Live API 接入演示

This commit is contained in:
Del Wang
2025-04-26 19:00:56 +08:00
parent 0900b4cf2a
commit e53bc65715
14 changed files with 1854 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
[package]
name = "open_xiaoai_server"
version = "1.0.0"
edition = "2021"
[lib]
name = "open_xiaoai_server"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.24.0", features = ["extension-module", "abi3-py38"] }
pyo3-async-runtimes = { version = "0.24", features = [
"attributes",
"tokio-runtime",
] }
open-xiaoai = { path = "../../packages/client-rust" }
tokio = { version = "1.32.0", features = ["full"] }
tokio-tungstenite = "0.26.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"