-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (85 loc) · 2.41 KB
/
Cargo.toml
File metadata and controls
95 lines (85 loc) · 2.41 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "union_square"
version = "0.2.0"
edition = "2021"
authors = ["John Wilger <john@johnwilger.com>"]
description = "A proxy/wire-tap service for making LLM calls and recording everything that happens in a session for later analysis and test-case extraction"
license = "MIT"
repository = "https://github.com/jwilger/union_square"
readme = "README.md"
[dependencies]
tokio = { version = "1.0", features = ["full"] }
async-trait = "0.1"
uuid = { version = "1.0", features = ["v7", "serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "migrate"] }
thiserror = "2.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# EventCore will be used for event sourcing and CQRS patterns
eventcore = "0.1.8"
eventcore-postgres = "0.1.8"
eventcore-macros = "0.1.8"
nutype = { version = "0.6", features = ["serde", "regex"] }
derive_more = { version = "2.0", features = ["debug", "display", "from", "into"] }
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1.0"
config = "0.14"
axum = "0.8.4"
tower = "0.5.2"
tower-http = { version = "0.6.6", features = ["trace", "request-id", "propagate-header", "timeout", "limit", "normalize-path"] }
hyper = "1.6.0"
hyper-util = { version = "0.1.16", features = ["client", "client-legacy"] }
http = "1.3.1"
http-body = "1.0.1"
http-body-util = "0.1.3"
bytes = "1.10.1"
futures-core = "0.3.31"
futures-util = "0.3.31"
pin-project-lite = "0.2.16"
crossbeam = "0.8.4"
parking_lot = "0.12.4"
urlencoding = "2.1.3"
aws-config = "1.8.3"
aws-sdk-bedrockruntime = "1.99.0"
regex = "1.11.1"
base64 = "0.22.1"
rust_decimal = "1.37.2"
currencies = { version = "0.4.1", features = ["serde"] }
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.0"
rstest = "0.25"
proptest = "1.4"
eventcore-memory = "0.1.8"
criterion = { version = "0.6", features = ["async_tokio"] }
mockito = "1.6"
dhat = "0.3.3"
quickcheck = "1.0.3"
quickcheck_macros = "1.1.0"
[[bin]]
name = "union_square"
path = "src/main.rs"
[lib]
name = "union_square"
path = "src/lib.rs"
[profile.dev]
opt-level = 0
debug = true
lto = false
[profile.release]
opt-level = 3
debug = false
lto = true
codegen-units = 1
panic = "abort"
[profile.test]
opt-level = 1
debug = true
[[bench]]
name = "proxy_performance"
harness = false
[[bench]]
name = "memory_profiling"
harness = false