mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
- 新增 Cookie 自动授权模式,用户可通过浏览器 sessionKey 完成授权 - 支持三种授权方式:Cookie 授权(默认)、OAuth 登录、文件导入 - 参考 claude-relay-service 实现 closes #38
72 lines
1.7 KiB
TOML
72 lines
1.7 KiB
TOML
[package]
|
|
name = "proxycast"
|
|
version = "0.17.6"
|
|
description = "AI API Proxy Desktop App"
|
|
authors = ["you"]
|
|
edition = "2021"
|
|
repository = "https://github.com/aiclientproxy/proxycast"
|
|
homepage = "https://github.com/aiclientproxy/proxycast"
|
|
|
|
[lib]
|
|
name = "proxycast_lib"
|
|
crate-type = ["lib", "cdylib", "staticlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["tray-icon", "image-png"] }
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-autostart = "2"
|
|
tauri-plugin-dialog = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
axum = { version = "0.7", features = ["ws"] }
|
|
axum-server = { version = "0.7", features = ["tls-rustls"] }
|
|
rustls-pemfile = "2"
|
|
tower = "0.4"
|
|
tower-http = { version = "0.5", features = ["limit"] }
|
|
reqwest = { version = "0.12", features = ["json", "stream"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
dirs = "5"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
futures = "0.3"
|
|
async-stream = "0.3"
|
|
regex = "1"
|
|
md5 = "0.7"
|
|
urlencoding = "2"
|
|
subtle = "2.5"
|
|
flate2 = "1"
|
|
fs2 = "0.4"
|
|
rusqlite = { version = "0.31", features = ["bundled", "backup"] }
|
|
serde_yaml = "0.9"
|
|
indexmap = { version = "2", features = ["serde"] }
|
|
zip = "0.6"
|
|
anyhow = "1"
|
|
dashmap = "5"
|
|
notify = { version = "6", default-features = false, features = ["macos_fsevent"] }
|
|
parking_lot = "0.12"
|
|
tiktoken-rs = "0.6"
|
|
async-trait = "0.1"
|
|
thiserror = "1"
|
|
base64 = "0.22"
|
|
bytes = "1"
|
|
rand = "0.8"
|
|
sha2 = "0.10"
|
|
serde_urlencoded = "0.7"
|
|
open = "5"
|
|
url = "2"
|
|
once_cell = "1"
|
|
tokio-util = "0.7"
|
|
|
|
[dev-dependencies]
|
|
proptest = "1"
|
|
tempfile = "3"
|
|
|
|
[features]
|
|
default = ["custom-protocol"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|