mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-03 18:23:51 +08:00
70 lines
1.9 KiB
TOML
70 lines
1.9 KiB
TOML
[package]
|
|
name = "cursor-server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
default-run = "cursor-server"
|
|
|
|
[lib]
|
|
name = "cursor_server"
|
|
|
|
[[bin]]
|
|
name = "cursor-server"
|
|
path = "src/bin/cursor-server.rs"
|
|
|
|
[dependencies]
|
|
async-stream = "0.3"
|
|
axum = "0.8"
|
|
base64 = "0.22"
|
|
bytes = "1"
|
|
chrono = "0.4"
|
|
chrono-tz = "0.10"
|
|
dom_smoothie = "0.18"
|
|
dirs = "6"
|
|
encoding_rs = "0.8"
|
|
eventsource-stream = "0.2"
|
|
futures-util = "0.3"
|
|
hex = "0.4"
|
|
hudsucker = { version = "0.25", features = ["http2"] }
|
|
image = { version = "0.25", default-features = false, features = ["gif", "jpeg", "png", "webp"] }
|
|
include_dir = "0.7"
|
|
json5 = "0.4"
|
|
parking_lot = "0.12"
|
|
pem = "3"
|
|
prost = "0.13"
|
|
prost-types = "0.13"
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "json", "native-tls", "socks", "stream", "system-proxy", "zstd"] }
|
|
regex = "1"
|
|
rcgen = { version = "0.14", features = ["aws_lc_rs", "pem", "x509-parser"] }
|
|
scraper = "0.24"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
semble-core = { path = "../crates/semble-core" }
|
|
sha1 = "0.10"
|
|
sha2 = "0.10"
|
|
similar = "2"
|
|
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] }
|
|
thiserror = "2"
|
|
time = "0.3"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal", "sync", "time", "net"] }
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
tokio-util = "0.7"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tower-http = { version = "0.6", features = ["cors", "decompression-gzip", "fs"] }
|
|
url = "2"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
x509-parser = "0.18"
|
|
[build-dependencies]
|
|
prost-build = "0.13"
|
|
protoc-bin-vendored = "3"
|
|
|
|
[dev-dependencies]
|
|
flate2 = "1"
|
|
tempfile = "3"
|
|
tower = { version = "0.5", features = ["util"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Security_Cryptography"] }
|