diff options
-rw-r--r-- | CHANGELOG.md | 20 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
3 files changed, 22 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 99d6aa1..74688e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## Version 1.1.7 + +* Improved options for client output thanks to @zicklag (f1f834e8c). + + By default the client now outputs just the time reported by the queried server. + The `-v` or `--verbose` flag will print additional information such as the response's + midpoint and radius. `-j` or `--json` outputs responses in JSON format instead. + + Non-response text output is written to standard error to enable verbose output + while redirecting the response(s) to a file or pipe like so: + + ``` + $ roughenough-client -v roughtime.int08h.com 2002 > time.txt + Requesting time from: "roughtime.int08h.com":2002 + Received time from server: midpoint="Oct 08 2019 18:40:38", radius=1000000, verified=No (merkle_index=0) + + $ cat time.txt + Oct 08 2019 18:40:38 + ``` + ## Version 1.1.6 * Fix several Clippy items (266f1adc9) @@ -1,6 +1,6 @@ [package] name = "roughenough" -version = "1.1.6" +version = "1.1.7" repository = "https://github.com/int08h/roughenough" authors = ["Stuart Stock <stuart@int08h.com>", "Aaron Hill <aa1ronham@gmail.com>"] license = "Apache-2.0" @@ -76,7 +76,7 @@ pub use crate::message::RtMessage; pub use crate::tag::Tag; /// Version of Roughenough -pub const VERSION: &str = "1.1.6"; +pub const VERSION: &str = "1.1.7"; /// Roughenough version string enriched with any compile-time optional features pub fn roughenough_version() -> String { |