-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (36 loc) · 850 Bytes
/
Copy pathCargo.toml
File metadata and controls
42 lines (36 loc) · 850 Bytes
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
[package]
name = "code-trace"
version = "0.7.0"
edition = "2021"
description = "Claude Code -> Langfuse trace hook"
license = "MIT"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
ureq = { version = "3", features = ["json"] }
base64 = "0.22"
sha2 = "0.10"
dirs = "6"
chrono = "0.4"
uuid = { version = "1", features = ["v4"] }
libc = "0.2"
hostname = "0.4"
regex = "1"
[dev-dependencies]
tempfile = "3"
[features]
# Gates the fake-langfuse harness binary out of normal builds.
harness = []
# Declaring any [[bin]] disables bin auto-discovery, so the main binary
# must be declared explicitly too.
[[bin]]
name = "code-trace"
path = "src/main.rs"
[[bin]]
name = "fake-langfuse"
path = "tests/support/fake_langfuse_main.rs"
required-features = ["harness"]
[profile.release]
opt-level = "s"
lto = true
strip = true