--- a/Cargo.toml
+++ b/Cargo.toml
@@ -68,6 +68,7 @@ pa_v8 = [
 [lib]
 name = "libpulse_binding"
 path = "src/lib.rs"
+doctest = false
 
 [[test]]
 name = "time_micros"
@@ -88,8 +89,3 @@
 
 [dependencies.num-traits]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["winsock2"]
-default-features = false
