Crate slumber_util

Source
Expand description

Common utilities that aren’t specific to one other subcrate and are unlikely to change frequently. The main purpose of this is to pull logic out of the core crate, because that one changes a lot and requires constant recompilation.

This crate is not semver compliant. The version is locked to the root slumber crate version. If you choose to depend directly on this crate, you do so at your own risk of breakage.

Modules§

paths

Structs§

Mapping
A static mapping between values (of type T) and labels (strings). Used to both stringify from and parse to T.

Constants§

NEW_ISSUE_LINK
Link to the GitHub New Issue form

Traits§

ResultTraced
Extension trait for Result

Functions§

doc_link
Get a link to a page on the doc website. This will append the doc prefix, as well as the suffix.
parse_yaml
Parse bytes from a reader into YAML. This will merge any anchors/aliases.