summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2019-10-12 18:14:18 -0500
committerStuart Stock <stuart@int08h.com>2019-10-12 18:14:18 -0500
commitd714d4df56d10a020b6572a93621929a4a58895e (patch)
treebe9aa30da021cf761c26d1328c925e2510a3f880
parenta04307457f21c6e9e77c3c079b6436d8ebd4c1b0 (diff)
downloadroughenough-d714d4df56d10a020b6572a93621929a4a58895e.zip
Version 1.1.7
-rw-r--r--CHANGELOG.md20
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs2
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)
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 <stuart@int08h.com>", "Aaron Hill <aa1ronham@gmail.com>"]
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 {