keystore 0.7.0.1 → 0.8.0.0
raw patch · 3 files changed
+11/−3 lines, 3 filesdep ~aesondep ~time
Dependency ranges changed: aeson, time
Files
keystore.cabal view
@@ -1,5 +1,5 @@ Name: keystore-Version: 0.7.0.1+Version: 0.8.0.0 Synopsis: Managing stores of secret things Homepage: http://github.com/cdornan/keystore Author: Chris Dornan
src/Data/KeyStore/IO.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE DeriveDataTypeable #-}@@ -87,8 +88,11 @@ import qualified Control.Lens as L import Control.Monad import System.IO-import System.Locale +#if MIN_VERSION_time(1,5,0)+#else+import System.Locale (defaultTimeLocale)+#endif -- | Generate a new keystore located in the given file with the given global -- settings.
src/Data/KeyStore/PasswordManager.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-}@@ -82,10 +83,13 @@ import System.SetEnv import System.Exit import System.IO-import System.Locale import qualified Options.Applicative as O import Options.Applicative +#if MIN_VERSION_time(1,5,0)+#else+import System.Locale (defaultTimeLocale)+#endif -- | The password manager is used for storing locally the passwords and session -- tokens of a single user. The password used to encode the store is stored in