mirror of
https://github.com/edera-dev/sprout.git
synced 2026-02-04 15:00:18 +00:00
feat(boot): introduce sort keys, which are sorted in reverse order, to make boot order more configurable (#55)
This commit is contained in:
@@ -18,4 +18,7 @@ pub struct EntryDeclaration {
|
||||
/// The values to insert into the context when the entry is selected.
|
||||
#[serde(default)]
|
||||
pub values: BTreeMap<String, String>,
|
||||
/// The key to sort entries, via version comparison.
|
||||
#[serde(default, rename = "sort-key")]
|
||||
pub sort_key: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user