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) diff --git a/Cargo.toml b/Cargo.toml index 5580197..d45f2a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roughenough" -version = "1.1.6" +version = "1.1.7" repository = "https://github.com/int08h/roughenough" authors = ["Stuart Stock ", "Aaron Hill "] license = "Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index ce73e90..146d474 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 {