From 1cd68d3fccda7b6c80009b19ec9853681d9d15ae Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 22 May 2018 09:46:15 +0000 Subject: Remove set_debug calls in the tests and update documentation Since libnitrokey v3.3, libnitrokey no long has debugging output enabled per default. Therefore, a corresponding note can be removed from the crate documentation and the set_debug calls can be removed from the tests. --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 6101cee..46549c6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,10 +20,6 @@ //! configuration, these operations are available without authentication or //! with user authentication. //! -//! Per default, libnitrokey writes log messages, for example the packets that -//! are sent to and received from the stick, to the standard output. To -//! change this behaviour, use [`set_debug`][] or [`set_log_level`][]. -//! //! # Examples //! //! Connect to any Nitrokey and print its serial number: @@ -84,8 +80,6 @@ //! [`device`]: struct.AuthenticatedDevice.html#method.device //! [`get_hotp_code`]: trait.ProvideOtp.html#method.get_hotp_code //! [`get_totp_code`]: trait.ProvideOtp.html#method.get_totp_code -//! [`set_debug`]: fn.set_debug.html -//! [`set_log_level`]: fn.set_log_level.html //! [`AdminAuthenticatedDevice`]: struct.AdminAuthenticatedDevice.html //! [`UserAuthenticatedDevice`]: struct.UserAuthenticatedDevice.html //! [`UnauthenticatedDevice`]: struct.UnauthenticatedDevice.html -- cgit v1.2.1