mirror of
https://github.com/wisdgod/cursor-api.git
synced 2025-12-24 13:38:01 +08:00
47 lines
2.1 KiB
TOML
47 lines
2.1 KiB
TOML
[package]
|
|
name = "cursor-api"
|
|
version = "0.1.3-rc.3.2"
|
|
edition = "2021"
|
|
authors = ["wisdgod <nav@wisdgod.com>"]
|
|
description = "OpenAI format compatibility layer for the Cursor API"
|
|
repository = "https://github.com/wisdgod/cursor-api"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.13.4"
|
|
sha2 = { version = "0.10.8", default-features = false }
|
|
serde_json = "1.0.134"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.7.9", features = ["json"] }
|
|
base64 = { version = "0.22.1", default-features = false, features = ["std"] }
|
|
# brotli = { version = "7.0.0", default-features = false, features = ["std"] }
|
|
bytes = "1.9.0"
|
|
chrono = { version = "0.4.39", default-features = false, features = ["std", "clock", "now", "serde"] }
|
|
dotenvy = "0.15.7"
|
|
flate2 = { version = "1.0.35", default-features = false, features = ["rust_backend"] }
|
|
futures = { version = "0.3.31", default-features = false, features = ["std"] }
|
|
gif = { version = "0.13.1", default-features = false, features = ["std"] }
|
|
hex = { version = "0.4.3", default-features = false, features = ["std"] }
|
|
image = { version = "0.25.5", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
|
|
paste = "1.0.15"
|
|
prost = "0.13.4"
|
|
rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"] }
|
|
regex = { version = "1.11.1", default-features = false, features = ["std", "perf"] }
|
|
reqwest = { version = "0.12.12", default-features = false, features = ["gzip", "brotli", "json", "stream", "__tls", "charset", "default-tls", "h2", "http2", "macos-system-configuration"] }
|
|
serde = { version = "1.0.217", default-features = false, features = ["std", "derive"] }
|
|
serde_json = "1.0.135"
|
|
sha2 = { version = "0.10.8", default-features = false }
|
|
sysinfo = { version = "0.33.1", default-features = false, features = ["system"] }
|
|
tokio = { version = "1.43.0", features = ["rt-multi-thread", "macros", "net", "sync", "time"] }
|
|
tokio-stream = { version = "0.1.17", features = ["time"] }
|
|
tower-http = { version = "0.6.2", features = ["cors", "limit"] }
|
|
urlencoding = "2.1.3"
|
|
uuid = { version = "1.11.1", features = ["v4"] }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = 'abort'
|
|
strip = true
|
|
opt-level = 3
|