Crates.io | decodeme |
lib.rs | decodeme |
version | 12.0.0 |
source | src |
created_at | 2024-05-30 15:23:26.103214 |
updated_at | 2024-05-31 12:35:52.770744 |
description | Decoding definitions of the profiling event data from `measureme` |
homepage | |
repository | https://github.com/rust-lang/measureme |
max_upload_size | |
id | 1256981 |
size | 42,429 |
decodeme
holds the decoding definitions of the profiling event data from measureme
.
This makes it easy in the future to keep supporting old file formats by making
analyzeme
depend on multiple versions of decodeme and always have it convert
data to the current format.
As an example, this is what the crate graph would look like for analyzeme@17.0.0
if we want it to support a couple of older file formats.
measureme_15_0_0 <--- decodeme_15_0_0 <----+
|
measureme_16_0_0 <--- decodeme_16_0_0 <----+
|
measureme_17_0_0 <--- decodeme_17_0_0 <----+---- analyzeme_17_0_0
See analyzeme/src/file_formats/v7.rs for an example of what it looks like to implement support for an old file format.