forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (51 loc) · 1.62 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (51 loc) · 1.62 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
[package]
name = "rescript"
version = "13.0.0-alpha.5"
edition = "2024"
rust-version = "1.91"
[dependencies]
ahash = "0.8.3"
anyhow = "1.0.93"
blake3 = "1.3.3"
clap = { version = "4.3", features = ["derive"] }
clap-verbosity-flag = "2.2"
console = "0.15.5"
convert_case = "0.6.0"
# The "termination" feature extends ctrlc's handler to also catch SIGTERM and
# SIGHUP (not just SIGINT). This is required so the telemetry guard's Drop
# runs on those signals and buffered OTLP spans get flushed before exit.
# Without it, `kill <pid>` or a container/systemd stop would silently drop
# the last batch of traces.
ctrlc = { version = "3.4.4", features = ["termination"] }
env_logger = "0.10"
futures = "0.3.25"
futures-timer = "3.0.2"
indicatif = "0.17.3"
log = { version = "0.4.17" }
notify = { version = "5.1.0", features = ["serde"] }
rayon = "1.6.1"
num_cpus = "1.17.0"
regex = "1.7.1"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = { version = "1.0.93" }
serde_ignored = "0.1.11"
serde_path_to_error = "0.1.16"
sysinfo = "0.29.10"
tempfile = "3.10.1"
# OpenTelemetry for tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-opentelemetry = "0.32"
opentelemetry = "0.31"
opentelemetry_sdk = "0.31"
# default-features disabled to skip metrics/logs support and the internal-logs
# feature we don't need. We only use HTTP/protobuf trace export via blocking
# reqwest — no Tokio runtime required.
opentelemetry-otlp = { version = "0.31", default-features = false, features = [
"http-proto",
"reqwest-blocking-client",
"trace",
] }
[profile.release]
codegen-units = 1
lto = true