diff --git a/Codec/Archive/LibZip/Types.hs b/Codec/Archive/LibZip/Types.hs
--- a/Codec/Archive/LibZip/Types.hs
+++ b/Codec/Archive/LibZip/Types.hs
@@ -9,7 +9,6 @@
     , OpenFlag(..)
     , FileFlag(..)
     , ArchiveFlag(..)
-    , CodecFlag(..)
     , ZipError(..)
     , ZipCompMethod(..)
     , ZipEncryptionMethod(..)
@@ -20,7 +19,7 @@
 import Data.Time (UTCTime)
 import Data.Time.Clock.POSIX (posixSecondsToUTCTime)
 import Data.Typeable (Typeable)
-import Data.Word (Word, Word32, Word64)
+import Data.Word (Word32, Word64)
 import Foreign.C.String (peekCString)
 import Foreign.C.Types ()
 import Foreign.Ptr (Ptr, nullPtr)
@@ -142,29 +141,12 @@
 
 -- | @libzip@ archive global flags
 data ArchiveFlag
-    = ArchiveTORRENT
-    | ArchiveRDONLY
+    = ArchiveRDONLY
     deriving (Show, Eq)
 
 instance Enum ArchiveFlag where
-    fromEnum ArchiveTORRENT = c'ZIP_AFL_TORRENT
     fromEnum ArchiveRDONLY = c'ZIP_AFL_RDONLY
-    toEnum x | x == c'ZIP_AFL_TORRENT = ArchiveTORRENT
     toEnum x | x == c'ZIP_AFL_RDONLY = ArchiveRDONLY
-    toEnum _ = undefined
-
-
--- | @libzip@ flags for compression and encryption sources
-data CodecFlag
-    = CodecENCODE
-    | CodecDECODE
-    deriving (Show, Eq)
-
-instance Enum CodecFlag where
-    fromEnum CodecENCODE = c'ZIP_CODEC_ENCODE
-    fromEnum CodecDECODE = c'ZIP_CODEC_DECODE
-    toEnum x | x == c'ZIP_CODEC_ENCODE = CodecENCODE
-    toEnum x | x == c'ZIP_CODEC_DECODE = CodecDECODE
     toEnum _ = undefined
 
 
diff --git a/LibZip.cabal b/LibZip.cabal
--- a/LibZip.cabal
+++ b/LibZip.cabal
@@ -1,5 +1,5 @@
 Name:          LibZip
-Version:       0.11.1
+Version:       1.0.1
 License:       BSD3
 License-File:  LICENSE
 Author:        Sergey Astanin
@@ -29,7 +29,7 @@
       Codec.Archive.LibZip.Errors
   Build-Depends:
       base >= 4.0 && < 5.0
-    , bindings-libzip >= 0.11 && < 0.12
+    , bindings-libzip >= 1.0 && < 1.1
     , bytestring
     , filepath
     , time
@@ -45,7 +45,7 @@
   Build-Depends:
       LibZip
     , base >= 4.0 && < 5.0
-    , bindings-libzip >= 0.11 && < 0.12
+    , bindings-libzip >= 1.0 && < 1.1
     , directory
     , filepath
     , HUnit
diff --git a/Tests/MonadicTests.hs b/Tests/MonadicTests.hs
--- a/Tests/MonadicTests.hs
+++ b/Tests/MonadicTests.hs
@@ -41,7 +41,7 @@
       err <- catchZipError
              (withArchive [] "notexists.zip" $ return ErrOK)
              (return . id)
-      err @?= ErrOPEN
+      err @?= ErrNOENT
 
   , "read file" ~: do
       txt <- withArchive [] testzip $ fileContents [] lastfile
