Module syntect::dumps

source ·
Expand description

Methods for dumping serializable structs to a compressed binary format, used to allow fast startup times

Currently syntect serializes SyntaxSet structs with dump_to_uncompressed_file into .packdump files and likewise ThemeSet structs to .themedump files with dump_to_file.

You can use these methods to manage your own caching of compiled syntaxes and themes. And even your own serde::Serialize structures if you want to be consistent with your format.

Functions§