diff --git a/Cargo.toml b/Cargo.toml
index 60b60e54dc3548b765070d7338dd96c886ad42e4..b8e652f86ede51bc739d41d8479067b549888bf1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,7 +58,7 @@ jsonwebtoken = "= 4.0.1"
 u2f = "0.1.2"
 
 # Yubico Library
-yubico= { version = "0.4.0", default-features = false }
+yubico = { version = "=0.4.0", features = ["online"], default-features = false }
 
 # A `dotenv` implementation for Rust
 dotenv = { version = "0.13.0", default-features = false }