Skip to content

Commit

Permalink
chore: v0.25 vendor bump and associated fixes (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
SionoiS authored Jan 30, 2024
1 parent edca1df commit 761ce7b
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion vendor/nim-regex
Submodule nim-regex updated 61 files
+19 −1 .github/workflows/ci.yml
+2 −0 .gitignore
+11 −0 CHANGELOG.md
+0 −2,036 docs/dochack.js
+0 −1,016 docs/nimdoc.out.css
+0 −1,294 docs/regex.html
+0 −78 docs/regex.idx
+1 −0 docs/regex/.keep
+0 −288 docs/regex/common.html
+0 −10 docs/regex/common.idx
+0 −173 docs/regex/compiler.html
+0 −2 docs/regex/compiler.idx
+0 −183 docs/regex/dotgraph.html
+0 −3 docs/regex/dotgraph.idx
+0 −201 docs/regex/exptransformation.html
+0 −3 docs/regex/exptransformation.idx
+0 −173 docs/regex/exptype.html
+0 −2 docs/regex/exptype.idx
+0 −201 docs/regex/litopt.html
+0 −3 docs/regex/litopt.idx
+0 −199 docs/regex/nfa.html
+0 −4 docs/regex/nfa.idx
+0 −274 docs/regex/nfafindall.html
+0 −7 docs/regex/nfafindall.idx
+0 −276 docs/regex/nfafindall2.html
+0 −7 docs/regex/nfafindall2.idx
+0 −161 docs/regex/nfamacro.html
+0 −1 docs/regex/nfamacro.idx
+0 −257 docs/regex/nfamatch.html
+0 −6 docs/regex/nfamatch.idx
+0 −257 docs/regex/nfamatch2.html
+0 −6 docs/regex/nfamatch2.idx
+0 −860 docs/regex/nfatype.html
+0 −59 docs/regex/nfatype.idx
+0 −891 docs/regex/nimdoc.out.css
+0 −183 docs/regex/nodematch.html
+0 −3 docs/regex/nodematch.idx
+0 −443 docs/regex/nodetype.html
+0 −78 docs/regex/nodetype.idx
+0 −160 docs/regex/parser.html
+0 −1 docs/regex/parser.idx
+0 −359 docs/regex/scanner.html
+0 −15 docs/regex/scanner.idx
+0 −594 docs/regex/types.html
+0 −89 docs/regex/types.idx
+0 −1,246 docs/theindex.html
+10 −6 regex.nimble
+94 −40 src/regex.nim
+10 −8 src/regex/compiler.nim
+45 −11 src/regex/exptransformation.nim
+63 −10 src/regex/litopt.nim
+20 −11 src/regex/nfafindall2.nim
+0 −4 src/regex/nfamacro.nim
+54 −21 src/regex/nfamatch2.nim
+16 −9 src/regex/nfatype.nim
+0 −8 src/regex/nodematch.nim
+3 −2 src/regex/parser.nim
+11 −2 src/regex/scanner.nim
+10 −7 src/regex/types.nim
+175 −0 tests/tests2.nim
+698 −0 tests/tests_misc.nim
2 changes: 1 addition & 1 deletion vendor/nimbus-build-system
13 changes: 7 additions & 6 deletions waku/utils/collector.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ else:
import
metrics

proc parseCollectorIntoF64(collector: Collector): float64 {.gcsafe, raises: [Defect] } =
proc parseCollectorIntoF64(collector: SimpleCollector): float64 {.gcsafe, raises: [Defect] } =
{.gcsafe.}:
var total = 0.float64
for key in collector.metrics.keys():
try:
total = total + collector.value(key)
except KeyError:
discard
for metrics in collector.metrics:
for metric in metrics:
try:
total = total + metric.value
except KeyError:
discard
return total

template parseAndAccumulate*(collector: Collector, cumulativeValue: float64): float64 =
Expand Down
1 change: 0 additions & 1 deletion waku/waku_dnsdisc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import
libp2p/multiaddress,
libp2p/peerid,
dnsdisc/client

import
./waku_core

Expand Down

0 comments on commit 761ce7b

Please sign in to comment.