packages feed

asif 4.0.0 → 4.0.1

raw patch · 2 files changed

+63/−63 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

app/App/Dump.hs view
@@ -144,6 +144,10 @@               forM_ (word64ToList idx w64 []) $ \w32 -> do                 let ipString = w32 & word32ToIpv4 & ipv4ToString                 liftIO $ IO.hPutStrLn hOut $ ipString <> replicate (16 - length ipString) ' ' <> "(" <> show w32 <> ")"+          Just (Known F.Bool) ->+            forM_ (LBS.chunkBy 1 (segment ^. the @"payload")) $ \bs -> do+              let w :: Bool = G.runGet G.get (LBS.take 1 (bs <> LBS.replicate 1 0))+              liftIO $ IO.hPrint hOut w           _ ->             forM_ (zip (LBS.chunkBy 16 (segment ^. the @"payload")) [0 :: Int, 16..]) $ \(bs, j) -> do               let bytes = mconcat (intersperse " " (reverse . take 2 . reverse . ('0':) . flip showHex "" <$> LBS.unpack bs))
asif.cabal view
@@ -1,13 +1,9 @@-cabal-version: 1.12---- This file has been generated from package.yaml by hpack version 0.31.1.+-- This file has been generated from package.yaml by hpack version 0.18.1. -- -- see: https://github.com/sol/hpack------ hash: c7f6880e469ae305df5407eec0ebfc06d81e68830ba46005a1752adb58472ef6  name:           asif-version:        4.0.0+version:        4.0.1 description:    Please see the README on Github at <https://github.com/packetloop/asif#readme> category:       Services homepage:       https://github.com/packetloop/asif#readme@@ -18,15 +14,48 @@ license:        MIT license-file:   LICENSE build-type:     Simple+cabal-version:  >= 1.10+ extra-source-files:-    README.md     ChangeLog.md+    README.md  source-repository head   type: git   location: https://github.com/packetloop/asif  library+  hs-source-dirs:+      src+  default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections+  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints+  build-depends:+      base >= 4.7 && < 5+    , attoparsec+    , binary+    , bytestring+    , conduit+    , conduit-combinators+    , conduit-extra+    , containers+    , cpu+    , either+    , exceptions+    , foldl+    , generic-lens+    , hw-bits+    , hw-ip+    , iproute+    , lens+    , network+    , old-locale+    , profunctors+    , resourcet+    , temporary-resourcet+    , text+    , thyme+    , transformers+    , vector   exposed-modules:       Arbor.File.Format.Asif       Arbor.File.Format.Asif.ByIndex@@ -52,13 +81,17 @@       Arbor.File.Format.Asif.Maybe       Arbor.File.Format.Asif.Text       Paths_asif+  default-language: Haskell2010++executable asif+  main-is: Main.hs   hs-source-dirs:-      src+      app   default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections-  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints+  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -O2 -msse4.2   build-depends:-      attoparsec-    , base >=4.7 && <5+      base >= 4.7 && < 5+    , attoparsec     , binary     , bytestring     , conduit@@ -83,10 +116,9 @@     , thyme     , transformers     , vector-  default-language: Haskell2010--executable asif-  main-is: Main.hs+    , asif+    , directory+    , optparse-applicative   other-modules:       App.Commands       App.Commands.Dump@@ -99,15 +131,18 @@       App.Commands.Options.Type       App.Dump       App.IO-      Paths_asif+  default-language: Haskell2010++test-suite asif-test+  type: exitcode-stdio-1.0+  main-is: Spec.hs   hs-source-dirs:-      app+      test   default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections-  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -O2 -msse4.2+  ghc-options: -threaded -rtsopts -with-rtsopts=-N   build-depends:-      asif+      base >= 4.7 && < 5     , attoparsec-    , base >=4.7 && <5     , binary     , bytestring     , conduit@@ -115,7 +150,6 @@     , conduit-extra     , containers     , cpu-    , directory     , either     , exceptions     , foldl@@ -126,7 +160,6 @@     , lens     , network     , old-locale-    , optparse-applicative     , profunctors     , resourcet     , temporary-resourcet@@ -134,11 +167,10 @@     , thyme     , transformers     , vector-  default-language: Haskell2010--test-suite asif-test-  type: exitcode-stdio-1.0-  main-is: Spec.hs+    , asif+    , hspec+    , hedgehog+    , hw-hspec-hedgehog   other-modules:       Arbor.File.Format.Asif.ByteString.BuilderSpec       Arbor.File.Format.Asif.Data.IpSpec@@ -149,40 +181,4 @@       Arbor.TestUtils       Gen.Feed       TestApp-      Paths_asif-  hs-source-dirs:-      test-  default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections-  ghc-options: -threaded -rtsopts -with-rtsopts=-N-  build-depends:-      asif-    , attoparsec-    , base >=4.7 && <5-    , binary-    , bytestring-    , conduit-    , conduit-combinators-    , conduit-extra-    , containers-    , cpu-    , either-    , exceptions-    , foldl-    , generic-lens-    , hedgehog-    , hspec-    , hw-bits-    , hw-hspec-hedgehog-    , hw-ip-    , iproute-    , lens-    , network-    , old-locale-    , profunctors-    , resourcet-    , temporary-resourcet-    , text-    , thyme-    , transformers-    , vector   default-language: Haskell2010