Skip to main content

confval v0.7.1

Add space between unit labels in range constraint for improved readability.

Highlights

Add space between unit labels in range constraint.

This makes unit labels in help texts ready better.

Before this change:

Set threads to at least 1thread(s)

After this change:

Set threads to at least 1 thread(s)

Originally this made sense in the case of a known abbreviated unit label, like "ms":

Set interval to at least 1ms

Now, the recommendation is the full human-readable unit label:

Set interval to at least 1 millisecond(s)

Upgrading

Update the dependency and enable the features you use.

[dependencies]
confval = { version = "0.7.1", features = ["derive", "toml", "hcl", "kdl", "color", "layering"] }