<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrokey-rs, branch master</title>
<subtitle>Rust interface to libnitrokey</subtitle>
<id>https://git.ireas.org/nitrokey-rs/atom?h=master</id>
<link rel='self' href='https://git.ireas.org/nitrokey-rs/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/'/>
<updated>2020-08-30T17:09:17Z</updated>
<entry>
<title>Merge branch 'release-v0.7.1'</title>
<updated>2020-08-30T17:09:17Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-30T17:09:17Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=21de2b96335b3cfcaea9b96592fe5eef34f81126'/>
<id>urn:sha1:21de2b96335b3cfcaea9b96592fe5eef34f81126</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release v0.7.1</title>
<updated>2020-08-30T17:02:36Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-30T17:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=1d36e2e1195fc9046e36f38dfe943198027e84ca'/>
<id>urn:sha1:1d36e2e1195fc9046e36f38dfe943198027e84ca</id>
<content type='text'>
This patch release contains a minor change to the Error enum so that
error handling frameworks like anyhow don’t produce redundant error
messages.
</content>
</entry>
<entry>
<title>Use map_err(|_| x) instead of or_else(|_| Err(x))</title>
<updated>2020-08-30T16:52:15Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-30T16:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=b2607cbd3f239be9d09204921db278424cc7a6be'/>
<id>urn:sha1:b2607cbd3f239be9d09204921db278424cc7a6be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove custom source implementation for Error</title>
<updated>2020-08-30T16:43:31Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-30T16:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=e9a89be939acf22cf17e3d6bc505a968a98d3dee'/>
<id>urn:sha1:e9a89be939acf22cf17e3d6bc505a968a98d3dee</id>
<content type='text'>
This patch removes the custom implementation of the source method of the
std::error::Error trait for the error::Error type.  This means that the
default implementation is used that always returns None.  The reason for
this change is that we already print the error message of the source
error in the Display implementation.  This leads to a duplicated error
message if both Display and source are checked, for example with
anyhow’s error formatting.

See this thread for more information:
	https://lists.sr.ht/~ireas/nitrokey-rs-dev/%3C6e0b4dc8-9059-a113-e98e-b49e52818c75%40posteo.net%3E
</content>
</entry>
<entry>
<title>Merge branch 'release-0.7.0' into next</title>
<updated>2020-07-14T20:00:26Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-07-14T20:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=4e36005680285a20ec50580f79ece8ec47f648e3'/>
<id>urn:sha1:4e36005680285a20ec50580f79ece8ec47f648e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'release-0.7.0'</title>
<updated>2020-07-14T20:00:13Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-07-14T20:00:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=3810761847717676d91900c422d9c8b634f56d77'/>
<id>urn:sha1:3810761847717676d91900c422d9c8b634f56d77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release v0.7.0</title>
<updated>2020-07-14T19:53:02Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-07-14T19:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=8f72f038cab8e61fb162c12c4bd4cbaa243faa2d'/>
<id>urn:sha1:8f72f038cab8e61fb162c12c4bd4cbaa243faa2d</id>
<content type='text'>
This release changes the Error enum to implement Send, Sync and 'static
for compatibility with error handling crates like anyhow.
</content>
</entry>
<entry>
<title>Merge branch 'poison-error' into next</title>
<updated>2020-07-14T19:43:37Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-07-14T19:43:37Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=d0f517eec5fbeb402a42eb2b23ca13fc85f1bc98'/>
<id>urn:sha1:d0f517eec5fbeb402a42eb2b23ca13fc85f1bc98</id>
<content type='text'>
This patch series refactors the Error enum and ensures that it is Send,
Sync and 'static.  This makes sure that it is compatible with the anyhow
crate.  To achieve this, we drop the RandError variant and remove the
sync::PoisonError value from the PoisonError variant.
</content>
</entry>
<entry>
<title>Ensure Error trait implementations</title>
<updated>2020-07-08T21:03:02Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-07-08T20:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=f1e83eb81879412e1de9898238ba58289bb6cb24'/>
<id>urn:sha1:f1e83eb81879412e1de9898238ba58289bb6cb24</id>
<content type='text'>
The anyhow crate requires that error types are error::Error, Send, Sync
and 'static.  This patch implements a simple static assertion that our
Error type implements these traits.
</content>
</entry>
<entry>
<title>Remove Error::RandError variant</title>
<updated>2020-07-08T21:02:56Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-07-08T20:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=3f402dc13530ce4de167bae843200cfbd72ed69b'/>
<id>urn:sha1:3f402dc13530ce4de167bae843200cfbd72ed69b</id>
<content type='text'>
Since we update rand_os to version 0.2 in commit
6c138eaa850c745b97b7e48a201db0cbaad8e1e0, the random number generation
can no longer fail.  Therefore the Error::RandError variant is no longer
needed.

As we did not want to break the public API, we still kept the RandError
variant.  This patch removes the RandError variant for good.
</content>
</entry>
</feed>
