Skip to content

Commit 30ee3b2

Browse files
committed
build: pin PromQL frontend to ASAP parser
1 parent fe96f92 commit 30ee3b2

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎crates/frontend-promql/Cargo.toml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ edition = "2021"
88
[dependencies]
99
asap-types = { path = "../types" }
1010

11-
# Public GreptimeTeam/promql-parser (Apache-2.0) from crates.io. 0.10 upstreamed
12-
# the experimental functions we used to carry as local patches (mad_over_time,
13-
# histogram_quantiles, min_of/max_of, ts_of_*_over_time, step()/range()), except
14-
# it also dropped the legacy `holt_winters` alias — see promql.rs.
15-
promql-parser = "0.10"
11+
# ProjectASAP's pinned parser is the shared parser contract used by the backend
12+
# and control plane. It carries the evaluated PromQL extensions documented in
13+
# `promql.rs`; syntax outside that contract must fail closed at adapters.
14+
promql-parser = { git = "https://github.com/ProjectASAP/promql-parser", rev = "c51beafb361af4cc95ed62ae377862c660ceb757" }
1615

1716
[dev-dependencies]
1817
asap-aware-mapping = { path = "../asap-aware-mapping" }

0 commit comments

Comments
 (0)