Skip to content

Commit 5f67482

Browse files
committed
Revert rust metrics crate update
Newer version depends on hyper-tls/native-tls crates which caused some libssl issues
1 parent b0c612f commit 5f67482

File tree

6 files changed

+92
-202
lines changed

6 files changed

+92
-202
lines changed

Cargo.lock

Lines changed: 22 additions & 132 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

router/Cargo.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ text-generation-client = { path = "client" }
1919
clap = { version = "^4.4.11", features = ["derive", "env"] }
2020
futures = "^0.3.30"
2121
flume = "^0.11.0"
22-
metrics = "0.22.0"
23-
metrics-exporter-prometheus = { version = "0.13.0", features = [] }
22+
metrics = "0.21.1"
23+
metrics-exporter-prometheus = { version = "0.12.2", features = [] }
2424
moka = { version = "0.12.2", features = ["future"] }
2525
nohash-hasher = "^0.2.0"
2626
num = "^0.4.1"
@@ -32,8 +32,6 @@ rustls-webpki = "0.102.0" # Override to address WS-2023-0305, CVE-2018-16875
3232
rand = "^0.8.5"
3333
serde = "^1.0.194"
3434
serde_json = "^1.0.110"
35-
# Pin sct to avoid WS-2023-0094 in older 0.5.2 version of spin sub-dependency
36-
sct = "=0.7.1"
3735
thiserror = "^1.0.56"
3836
tokenizers = "0.15.0"
3937
tokio = { version = "1.35.1", features = ["rt", "rt-multi-thread", "parking_lot", "signal", "sync", "fs"] }
@@ -48,5 +46,4 @@ unicode-segmentation = "^1.10.1"
4846
unicode-truncate = "^0.2.0"
4947

5048
[build-dependencies]
51-
tonic-build = "^0.10.2"
52-
tempfile = "^3.9.0" # Override 0.3.3 version from tonic-build/prost-build, due to RUSTSEC-2023-0018 and WS-2023-0366
49+
tonic-build = "^0.10.2"

0 commit comments

Comments
 (0)