Charles Hall
5a490a4397
fix mod/use order
...
Yes, it does actually bother me, thanks for asking.
2024-10-03 15:28:24 -07:00
Lambda
b0f33207fe
Add wrapper types for short IDs
2024-09-06 17:20:14 +00:00
Lambda
f1642c92d1
Take iterator in calculate_hash()
...
Avoids unnecessary allocations.
2024-09-06 17:20:14 +00:00
Charles Hall
0643a3f081
remove pointless pub(crate) and use self::
...
And also fix the ordering of things in state_compressor.
2024-06-12 19:56:56 -07:00
Charles Hall
0c2094a56f
record FoundIn with metrics instead of traces
...
This is much more efficient in terms of network use and data storage,
and also easier to visualize.
2024-06-06 20:56:36 -07:00
Charles Hall
22dd7f1a54
move FoundIn to observability.rs
2024-06-05 17:41:36 -07:00
Lambda
67cb6f817d
Instrument caches
2024-05-22 20:10:42 +00:00
Lambda
edfccea30a
Convert giant tuple in state_compressor to struct
2024-05-20 21:27:57 +00:00
Lambda
5172f66c1a
More useful tracing spans
2024-05-20 16:49:45 +00:00
Charles Hall
0afc1d2f50
change rustfmt configuration
...
This change is fully automated, except the `rustfmt.toml` changes and
a few clippy directives to allow specific functions with too many lines
because they are longer now.
2024-05-16 19:11:40 -07:00
Charles Hall
1911ad34d9
stop putting comments and code on the same line
2024-05-16 15:22:35 -07:00
Charles Hall
f8420883a1
expand abbreviation for clarity
...
This looked like a typo before.
2024-05-16 15:20:26 -07:00
Charles Hall
e3672eb4e0
enable unused_self lint
...
Functions using `services()` are allowed to pointlessly take `self`
because the existence of `services()` is a crime and the solution is
making the types store references to their dependencies and then going
through `self`, so just allowing the lint saves us from modifying some
code only to switch it back later. Much later. Getting rid of
`services()` will probably be an ordeal.
2024-05-14 20:01:25 -07:00
Charles Hall
d748544f0e
enable unreachable_pub lint
...
This causes some other lints to start firing too (which is good), but
I'm going to fix them in follow-up commits to keep things organized.
2024-05-12 18:51:26 -07:00
Charles Hall
a626e7b0f0
enable mod_module_files lint
2024-05-12 18:51:26 -07:00