scm_record/
consts.rs

1//! Special runtime variables.
2
3/// Upon launch, write a serialized version of the UI state to the file named
4/// [`DUMP_UI_STATE_FILENAME`] in the current directory. Only works if compiled
5/// with the `debug` feature.
6pub const ENV_VAR_DUMP_UI_STATE: &str = "SCM_RECORD_DUMP_UI_STATE";
7
8/// The filename to write to for [`ENV_VAR_DUMP_UI_STATE`].
9pub const DUMP_UI_STATE_FILENAME: &str = "scm_record_ui_state.json";
10
11/// Render a debug pane over the file. Only works if compiled with the `debug`
12/// feature.
13pub const ENV_VAR_DEBUG_UI: &str = "SCM_RECORD_DEBUG_UI";