packages feed

Dust-2.3.1: Dust.cabal

Name:                Dust
Version:             2.3.1
Description:         Dust is a polymorphic protocol engine designed to circumvent Internet filtering based on protocol identification
Synopsis:            Polymorphic protocol engine
Category:            Network
License:             GPL
License-file:        LICENSE
Author:              Brandon Wiley
Maintainer:          brandon@ischool.utexas.edu
Build-Type:          Simple
Cabal-Version:       >=1.8

Library
  Build-Depends:
    base >= 4.6.0.1 && < 5,
    Dust-crypto,
    bytestring,
    entropy,
    network,
    cereal,
    ghc-prim,
    binary,
    random,
    random-extras,
    random-source,
    random-fu,
    containers,
    directory,
    split,
    crypto-api,
    threefish
  Extensions:
    ForeignFunctionInterface

  Exposed-modules:
      Dust.Core.Invite,
      Dust.Model.PacketLength,
      Dust.Model.Huffman,
      Dust.Model.Content,
      Dust.Model.TrafficModel,
      Dust.Model.Observations,
      Dust.Model.Stats,
      Dust.Network.TcpServer,
      Dust.Network.UdpServer,
      Dust.Network.TcpClient,
      Dust.Network.Util,
      Dust.Network.ProtocolSocket

  if os(linux) || os(darwin)
    Exposed-modules:
      Dust.Core.DustPacket
      Dust.Core.CryptoProtocol
      Dust.Core.WireProtocol
      Dust.Core.WireProtocolHandler
      Dust.Model.Port
      Dust.Model.Packet
      Dust.Network.DustServer

test-suite core
  type: exitcode-stdio-1.0
  main-is: TestCore.hs
  ghc-options: -w -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs: tests

  build-depends:
    base,
    Dust,
    Dust-crypto,
    HUnit >= 1.2,
    test-framework       >= 0.6,
    test-framework-hunit >= 0.2,
    test-framework-quickcheck2,
    test-framework-th,
    bytestring,
    threefish,
    cereal,
    ghc-prim,
    QuickCheck

-- test-suite model
--   type: exitcode-stdio-1.0
--   main-is: TestModel.hs
--   ghc-options: -w -threaded -rtsopts -with-rtsopts=-N
--   hs-source-dirs: tests

--   build-depends:
--     base,
--     Dust,
--     HUnit >= 1.2,
--     test-framework       >= 0.6,
--     test-framework-hunit >= 0.2,
--     test-framework-th,
--     base >= 3 && < 5, bytestring, threefish, entropy, network, cereal, ghc-prim, binary, random, random-extras, random-source, random-fu, containers