Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (60 loc) · 2.43 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (60 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "teellm"
version = "0.1.0"
edition = "2024"
autotests = false
publish = false
repository = "https://github.com/wangyi160/teerouter"
rust-version = "1.88"
description = "Standalone Rust LLM router for OpenAI, Claude and Grok"
license = "MIT"
readme = "README.md"
include = ["/src/**", "/tests/**", "/docs/**", "/config.example.toml", "/config.oauth.example.toml", "/provision*.json", "/protocol-update.example.json", "/restrictions-update.example.json", "/Cargo.toml", "/Cargo.lock", "/README.md", "/ARCHITECTURE.md", "/SECURITY-TEE.md", "/OPERATIONS.md", "/LICENSE", "/LICENSES/**", "/NOTICE", "/UPSTREAM.json"]
[features]
# Intel TDX evidence from the measured dstack guest over its local Unix socket.
dstack-tdx = []
# Explicitly non-TEE development evidence; never enabled by production builds.
sample-demo = []
[dependencies]
axum = { version = "0.8.9", default-features = false, features = ["http1", "json", "query", "tokio"] }
bytes = "1"
base64 = "0.22"
sha2 = "0.10"
getrandom = "0.2"
futures-util = { version = "0.3", default-features = false, features = ["std", "async-await"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream", "socks"] }
serde_json = { version = "1", features = ["arbitrary_precision"] }
serde = { version = "1", features = ["derive"] }
zeroize = "1.8"
subtle = "2"
ring = "0.17"
thiserror = "2"
tiktoken-rs = "=0.12.1"
rusqlite = { version = "=0.37.0", features = ["bundled"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "io-util", "fs", "time", "signal", "sync"] }
tokio-util = { version = "0.7", features = ["codec", "io"] }
tower-layer = "0.3"
tower-service = "0.3"
hyper = { version = "1", features = ["server", "http1"] }
http-body-util = "0.1"
webpki-roots = "1"
percent-encoding = "2"
hyper-util = { version = "0.1", features = ["tokio", "service"] }
rcgen = { version = "0.14", default-features = false, features = ["crypto", "ring"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] }
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
sev = { version = "=8.0.0", default-features = false, features = ["snp", "serde"] }
[dev-dependencies]
toml = "0.9"
tempfile = "3"
rstest = "0.26"
[[test]]
name = "memory_cli"
path = "tests/memory_cli.rs"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true