aboutsummaryrefslogtreecommitdiffstats
path: root/src/units.rs
Commit message (Collapse)AuthorAgeFilesLines
* config: files, arguments and layers, by a program's own optionstv2 days1-267/+3
| | | | | | | | | | | | | | | | | | | | | | | | What reads a configuration moves to the crate config, as it was, so that other programs read theirs alike: * option: Kind, OptionSpec, and Schema: a program's options, those that can't be combined, and those that are gone; * file: TOML and JSON files, their includes and unsets; * arguments: the options as arguments, --config and --unset, and files and arguments put together (merged); * layer: values and where they came from, a later source over the earlier ones (overlay), what a value was made of (Sources); * units: durations and sizes as operators write them, which continuum keeps under crate::units. Each takes the schema it reads by, where continuum's code went by its own tables: the node's is config::SCHEMA, a party's client's config::PARTY. Whether a value is shown goes by the schema read by, so an option of the node is no secret for being one of the client's. continuum keeps its options, the settings they make, their checks and the report; its tests of files and layers stay, by the node's options, and the crate has one by a schema of its own.
* add dormant-probe-max optiontv2026-10-301-0/+11
|
* make clippy happy againtv2026-10-261-1/+1
|
* wrap unix timestamps in newtypetv2026-10-261-22/+7
|
* remove unit suffixes from fieldstv2026-10-261-0/+24
|
* allow humand-friendly durations and sizes in CLItv2026-10-261-0/+248