<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrokey-sys-rs, branch v3.4.2</title>
<subtitle>low-level Rust bindings for libnitrokey</subtitle>
<id>https://git.ireas.org/nitrokey-sys-rs/atom?h=v3.4.2</id>
<link rel='self' href='https://git.ireas.org/nitrokey-sys-rs/atom?h=v3.4.2'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/'/>
<updated>2019-01-01T22:30:57Z</updated>
<entry>
<title>Release v3.4.2</title>
<updated>2019-01-01T22:30:57Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-01T22:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=6a8186e8ded7eab799580711d8d6357459f972cc'/>
<id>urn:sha1:6a8186e8ded7eab799580711d8d6357459f972cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Manually set the libnitrokey version</title>
<updated>2019-01-01T22:30:42Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-01T22:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=4877e9ee5ca551e1a68749b6c5efa3eadc2f1a67'/>
<id>urn:sha1:4877e9ee5ca551e1a68749b6c5efa3eadc2f1a67</id>
<content type='text'>
As the nitrokey-sys crate’s version is no longer directly mapped to the
libnitrokey version, this patch updates the build script.  Instead of
assuming that the nitrokey-sys version is also the libnitrokey version,
we specify the libnitrokey version manually.
</content>
</entry>
<entry>
<title>Update README to reflect versioning changes</title>
<updated>2019-01-01T10:22:00Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-01T10:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=3a82bdc722a58b5eb4eaa6ec80a77bd3b6fd1d38'/>
<id>urn:sha1:3a82bdc722a58b5eb4eaa6ec80a77bd3b6fd1d38</id>
<content type='text'>
To be able to ship crate updates without a new libnitrokey version, the
patch version is decoupled from libnitrokey.  This patch updates the
README to describe this policy.
</content>
</entry>
<entry>
<title>Link to hidapi on non-Linux systems</title>
<updated>2018-12-31T19:20:11Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2018-12-31T19:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=a47058981611bacae464ed6deac39c6686357f3a'/>
<id>urn:sha1:a47058981611bacae464ed6deac39c6686357f3a</id>
<content type='text'>
According to the hidapi README [0], only Linux provides two different
hidapi backends.  Therefore this patch changes the build script to
default to linking to hidapi on non-Linux systems.

This patch fixes the macOS build issue reported by Philippe Normand and
is based on the patch proposed by Philippe Normand at [1].

[0] https://github.com/signal11/hidapi/blob/master/README.txt
[1] https://github.com/d-e-s-o/nitrocli/pull/42
</content>
</entry>
<entry>
<title>Use -std=c++14 flag when compiling libnitrokey</title>
<updated>2018-12-31T19:17:59Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2018-12-31T19:06:35Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=b529221df29450412b01d8514df93a059fec8104'/>
<id>urn:sha1:b529221df29450412b01d8514df93a059fec8104</id>
<content type='text'>
Based on the patch proposed by Philippe Normand at [0].

[0] https://github.com/d-e-s-o/nitrocli/pull/42
</content>
</entry>
<entry>
<title>Update to Rust edition 2018</title>
<updated>2018-12-16T11:24:50Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2018-12-16T11:24:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=56abf0719b895c57b068b5859e719cc87dfda386'/>
<id>urn:sha1:56abf0719b895c57b068b5859e719cc87dfda386</id>
<content type='text'>
This patch updates the crate to use Rust edition 2018.  It also changes
the use statement for the ffi module to the new crate:: syntax.
</content>
</entry>
<entry>
<title>Update login_auto test case</title>
<updated>2018-12-16T11:24:23Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2018-12-16T11:24:23Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=45b1eec5db3939229f9f3b0a06cd770a396f18e3'/>
<id>urn:sha1:45b1eec5db3939229f9f3b0a06cd770a396f18e3</id>
<content type='text'>
Currently, the login_auto test case calls NK_logout before
NK_login_auto due to the behavior described in libnitrokey pull
request #115 [0].  This behavior has been fixed in version 3.4.1.
Therefore this patch removes the NK_logout call.

[0] https://github.com/Nitrokey/libnitrokey/pull/115
</content>
</entry>
<entry>
<title>Update to libnitrokey v3.4.1</title>
<updated>2018-12-10T13:25:30Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2018-12-10T13:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=f1a11ebf72610fb9cf80ac7f9f147b4ba1a5336f'/>
<id>urn:sha1:f1a11ebf72610fb9cf80ac7f9f147b4ba1a5336f</id>
<content type='text'>
In libinitrokey v3.4.1, there are no changes affecting this crate.
</content>
</entry>
<entry>
<title>Update to libnitrokey v3.4</title>
<updated>2018-12-10T12:46:42Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2018-12-10T12:42:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=4615f5ecf96ef4637d814a4dfeab9c404b4a3667'/>
<id>urn:sha1:4615f5ecf96ef4637d814a4dfeab9c404b4a3667</id>
<content type='text'>
Besides the changes listed in the changelog, this patch also changes the
build system to be able to generate the version.cc file containing the
library version.
</content>
</entry>
<entry>
<title>Extract libnitrokey version from crate version</title>
<updated>2018-07-05T17:19:55Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2018-07-05T17:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-sys-rs/commit/?id=b126c5ba1e5a9f00859868d75900043d02a0031c'/>
<id>urn:sha1:b126c5ba1e5a9f00859868d75900043d02a0031c</id>
<content type='text'>
This patch uses the nitrokey-sys-rs crate version to extract the version
of the contained libnitrokey and to deduce the name of the libnitrokey
directory.

The implementation uses these assumptions:
1. The crate major and minor version match the libnitrokey major and
   minor version.
2. If the crate has a pre-release version, it is assumed that this
   version has the format pre.&lt;d&gt;, where &lt;d&gt; is the output of `git
   describe` with all dashes replaced by dots.
3. The name of the libnitrokey directory is libnitrokey-&lt;tag&gt;, where
   &lt;tag&gt; is the corresponding Git version tag.
4. libnitrokey uses version tags of the format v&lt;maj&gt;.&lt;min&gt;, where &lt;maj&gt;
   the major version and &lt;min&gt; is the minor version.
</content>
</entry>
</feed>
