Commit Graph

12 Commits

Author SHA1 Message Date
c6359b6242 Fix: Allow missing docs for test modules (#10893) 2024-09-13 16:38:47 +00:00
106a0c7cf7 refactor: replace once_cell Lazy with LazyLock (#9844)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-08-08 14:20:42 +00:00
e89e4c92fd chore(deps): bump metrics to 0.22 (#8517) 2024-05-30 17:02:37 +00:00
e925cbcf3a feat(pruner, metrics): skip attribute for metrics derive macro (#4069) 2023-08-09 19:50:27 +00:00
9036f5ea9f style: prefer then_some over if else (#1810) 2023-03-17 14:16:29 +01:00
572f05a2e5 fix: redundant clones at metrics tests (#1040)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-25 18:25:21 +01:00
d2f92f630f chore(metrics): support and default to . separator (#1018) 2023-01-24 21:03:06 +01:00
2ec490a13d feat(metrics-derive): ability to specify labels during instantiation (#893) 2023-01-19 16:25:20 -08:00
31cb66902e fix: Fix typos (#773) 2023-01-09 01:43:51 +01:00
6311915ead chore: move metrics dep to dev-dep (#694) 2023-01-03 16:11:51 +02:00
5bb14ecb7c fix(metrics): metrics derive separator (#625)
* fix(metrics): metrics derive separator

* fix existing metrics

* rm log

* static regex
2022-12-27 03:16:41 -08:00
663efa8d2a feat(metrics): Metrics derive macro (#592)
* feat(metrics): `Metrics` derive macro

* rename metrics to metrics-derive

* use fully qualified fmt path

* metric vec with capacity

* favor metrics over simple scope attr, simplify code

* pull metric description from doc comment

* rm debug log

* add more docs and sample usage

* link to metrics macros

* add tests for metrics derive macro

* clippy

* simplify path comparison

* cleanup

* remove unused dep

* rename stage metrics
2022-12-26 14:27:24 -08:00