mirror of
https://github.com/wisdgod/cursor-api.git
synced 2025-12-24 13:38:01 +08:00
57 lines
2.5 KiB
TOML
57 lines
2.5 KiB
TOML
[package]
|
|
name = "cursor-api"
|
|
version = "0.1.3-rc.5"
|
|
edition = "2024"
|
|
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"
|
|
sha2 = { version = "^0.10.8", default-features = false }
|
|
serde_json = "^1.0"
|
|
|
|
[dependencies]
|
|
axum = { version = "^0.8", features = ["json"] }
|
|
base64 = { version = "^0.22", default-features = false, features = ["std"] }
|
|
# brotli = { version = "^7.0", default-features = false, features = ["std"] }
|
|
bytes = "^1.10"
|
|
chrono = { version = "^0.4", default-features = false, features = ["std", "clock", "now", "serde", "rkyv-64"] }
|
|
dotenvy = "^0.15"
|
|
flate2 = { version = "^1.0", default-features = false, features = ["rust_backend"] }
|
|
futures = { version = "^0.3", default-features = false, features = ["std"] }
|
|
gif = { version = "^0.13", default-features = false, features = ["std"] }
|
|
hex = { version = "^0.4", default-features = false, features = ["std"] }
|
|
image = { version = "^0.25", default-features = false, features = ["jpeg", "png", "gif", "webp"] }
|
|
memmap2 = "^0.9"
|
|
# openssl = { version = "^0.10", features = ["vendored"] }
|
|
parking_lot = "^0.12"
|
|
paste = "^1.0"
|
|
prost = "^0.13"
|
|
prost-types = "^0.13"
|
|
rand = { version = "^0.9", default-features = false, features = ["thread_rng"] }
|
|
regex = { version = "^1.11", default-features = false, features = ["std", "perf"] }
|
|
reqwest = { version = "^0.12", default-features = false, features = ["gzip", "brotli", "json", "stream", "socks", "__tls", "charset", "default-tls", "h2", "http2", "macos-system-configuration"] }
|
|
rkyv = { version = "^0.7", default-features = false, features = ["alloc", "std", "bytecheck", "size_64", "validation", "std"] }
|
|
serde = { version = "^1.0", default-features = false, features = ["std", "derive"] }
|
|
serde_json = { package = "sonic-rs", version = "^0.3" }
|
|
# serde_json = "^1.0"
|
|
sha2 = { version = "^0.10", default-features = false }
|
|
sysinfo = { version = "^0.33", default-features = false, features = ["system"] }
|
|
tokio = { version = "^1.43", features = ["rt-multi-thread", "macros", "net", "sync", "time", "fs", "signal"] }
|
|
tokio-stream = { version = "^0.1", features = ["time"] }
|
|
tower-http = { version = "^0.6", features = ["cors", "limit"] }
|
|
url = { version = "^2.5", default-features = false }
|
|
uuid = { version = "^1.14", features = ["v4"] }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = 'abort'
|
|
strip = true
|
|
opt-level = 3
|
|
|
|
[features]
|
|
default = []
|
|
use-minified = []
|