File: dep-async-example.diff

package info (click to toggle)
rust-yubico 0.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 224 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
Index: yubico/examples/otp_async.rs
===================================================================
--- yubico.orig/examples/otp_async.rs	2024-06-08 20:19:47.000000000 +0200
+++ yubico/examples/otp_async.rs	2024-06-08 20:40:07.749753276 +0200
@@ -1,3 +1,5 @@
+#![cfg(feature="online-tokio")]
+
 extern crate futures;
 extern crate tokio;
 extern crate yubico;