From 7edbae9b4765fba4991b8eaf3858541b9e436a2f Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Mon, 15 Jan 2024 10:14:21 +0000 Subject: [PATCH] v0.2.0 * Return the minimum and maximum temperature from the `devices` command, not a lost of allowed values. __This brings a breaking change when the command is called in `--json` mode, returning `minimum_temperature_in_kelvin` and `maximum_temperature_in_kelvin` instead of `allowed_temperatures_in_kelvin`.__ * When trying to use the `temperature` command to set a non- allowed temperature, return the minimum, maximum and rule (multiples of 100) rather than a list of allowed values. * Improve built-in documentation for the `brightness` command to explain allowed values --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 893aedd..8b5cb00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,7 +143,7 @@ checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" [[package]] name = "litra" -version = "0.1.0" +version = "0.2.0" dependencies = [ "clap", "exitcode", diff --git a/Cargo.toml b/Cargo.toml index 4a64d08..c75a05e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "litra" -version = "0.1.0" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html