<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/nitrocli/src, branch v0.3.3</title>
<subtitle>A command line tool for interacting with Nitrokey devices (GitHub mirror)
</subtitle>
<id>https://git.ireas.org/mirrors/nitrocli/atom?h=v0.3.3</id>
<link rel='self' href='https://git.ireas.org/mirrors/nitrocli/atom?h=v0.3.3'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/'/>
<updated>2020-04-11T22:00:06Z</updated>
<entry>
<title>Rename arg_defs.rs to args.rs</title>
<updated>2020-04-11T22:00:06Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-11T22:00:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=f2ace56200f0229a4dcbd1767f48a39e1daa343d'/>
<id>urn:sha1:f2ace56200f0229a4dcbd1767f48a39e1daa343d</id>
<content type='text'>
We have never been fully satisfied with the name arg_defs. Now that we
have gotten rid of the formerly used args module, this change renames
arg_defs to args.
</content>
</entry>
<entry>
<title>Merge remaining bits of args.rs into main.rs</title>
<updated>2020-04-11T20:23:52Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-11T20:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b'/>
<id>urn:sha1:fafbf4a1bf635d5eea049cf561fbf8aa293c8e2b</id>
<content type='text'>
This change removes the args module by moving all remaining
functionality in it into main.rs. The result is arguably a nice
consolidation of all context related definitions in a single module.
</content>
</entry>
<entry>
<title>Merge config_set function into commands.rs</title>
<updated>2020-04-11T19:29:22Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-11T19:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=93c605418568bf71bcc3be6956f07f9650b45fea'/>
<id>urn:sha1:93c605418568bf71bcc3be6956f07f9650b45fea</id>
<content type='text'>
As a next step moving us closer towards removing the args module, this
change merges the config_set function into the existing function of the
same name in the commands module.
</content>
</entry>
<entry>
<title>Merge otp_set function into commands.rs</title>
<updated>2020-04-10T19:20:18Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-10T19:20:18Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=eae8b2a1f0d1faf70776fccc12c93267a2143021'/>
<id>urn:sha1:eae8b2a1f0d1faf70776fccc12c93267a2143021</id>
<content type='text'>
Now that we have isolated and separated out structopt specific
definitions into a new module, arg_defs, args.rs is actually so small
that we do not want to keep it around any longer.
This change marks a first step moving us closer towards removing it.
Specifically, it merges the otp_set function from args.rs into the
function of the same name in commands.rs.
</content>
</entry>
<entry>
<title>Move dependencies to args and commands modules into generated code</title>
<updated>2020-04-04T17:44:29Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-04T17:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=c0ae9e64695b44d372657e1a6521145bde5498d3'/>
<id>urn:sha1:c0ae9e64695b44d372657e1a6521145bde5498d3</id>
<content type='text'>
We are aiming to rid the arg_defs module of dependencies to the rest of
the crate in an attempt to make the file fully free standing. The last
remaining references into the crate are used to hook up the functionality
backing the respective commands. Luckily for us, this "gluing" of
functionality to types is really only required in the macro-generated
code (which we do not care about as part of this exercise) and so with
this change we remove the use declarations from the top of the file and
reference the respective functionality in an absolute manner instead.
</content>
</entry>
<entry>
<title>Remove dependency on crate::Error from arg_defs</title>
<updated>2020-04-04T17:38:24Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-04T17:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=83d3e90248e9995e6c37c314b10597bccd394341'/>
<id>urn:sha1:83d3e90248e9995e6c37c314b10597bccd394341</id>
<content type='text'>
This change removes the need to import crate::Error from the arg_defs
module. By dropping this dependency we make the file more independent of
the rest of the crate, which subsequently will allow us to merely
include! it in another file in order to get the argument related type
definitions without compilation errors due to missing symbols from the
rest of the crate.
</content>
</entry>
<entry>
<title>Move PinType type into arg_defs module</title>
<updated>2020-04-02T15:52:45Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-02T15:52:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=eab4b20d16760043a1ec4d80d2e239fc1559bb2f'/>
<id>urn:sha1:eab4b20d16760043a1ec4d80d2e239fc1559bb2f</id>
<content type='text'>
The PinType struct, despite being intended for the pinentry module, is
ultimately part of the argument handling definitions. Because our goal
is to consolidate all of those in a single file, this change moves the
definition of this type from the pinentry module into the newly
introduced arg_defs.
</content>
</entry>
<entry>
<title>Factor out arg_defs.rs for argument parsing related types</title>
<updated>2020-04-02T05:59:22Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-02T05:59:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=a3f8ae474d153048c5a9252125099ef49cc6b5f4'/>
<id>urn:sha1:a3f8ae474d153048c5a9252125099ef49cc6b5f4</id>
<content type='text'>
This change marks the first step in a restructuring of the argument
handling code, the ultimate goal of which is a separation of the type
definitions as used by structopt from the logic associated with it. This
change in particular introduces a new module, arg_defs, that contains
all those type definitions that previously resided in the args module.
</content>
</entry>
<entry>
<title>Remove deprecated plugin_as_library lint usage</title>
<updated>2020-03-23T00:05:32Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-03-23T00:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=fd3fc6dc8945b4f9b30e9e8aed6d1341b51bfea8'/>
<id>urn:sha1:fd3fc6dc8945b4f9b30e9e8aed6d1341b51bfea8</id>
<content type='text'>
The plugin_as_library lint has been deprecated as of Rust 1.40.0. Hence,
with this change we remove it from the list of lints we want to get
warnings from.
</content>
</entry>
<entry>
<title>Update nitrokey dependency to 0.6.0</title>
<updated>2020-01-29T11:25:33Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-29T11:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=bab33d84078a0ff2eb3d55ef39ea382b797abc92'/>
<id>urn:sha1:bab33d84078a0ff2eb3d55ef39ea382b797abc92</id>
<content type='text'>
nitrokey 0.6.0 introduced the SerialNumber struct (instead of
representing serial numbers as strings). We no longer have to manually
format the serial number as SerialNumber implements Display.
</content>
</entry>
</feed>
