]> gitweb.michael.orlitzky.com - hath.git/blobdiff - hath.cabal
Rename shelltestrunner files and add two haskell runners which just run 'shelltest...
[hath.git] / hath.cabal
index 48db071634c5a31763ef2d78cad6e69a0042067b..8eb569f410238a9c8ab9aed7c632f5e41e353d32 100644 (file)
@@ -1,5 +1,5 @@
 name:           hath
-version:        0.0.4
+version:        0.0.5
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -23,6 +23,10 @@ description:
       consecutive \/24s, they might combine into a larger \/23.
   .
     * View the result of block combination in a useful way.
+  .
+    * List them.
+  .
+    * Find their associated PTR records.
   .
   Hath has several modes to perform these functions:
   .
@@ -89,12 +93,25 @@ description:
   198.41.0.6: rs.internic.net.
   198.41.0.7:
   @
+  .
+  The DNS lookups are usually the bottleneck for this mode, but we can
+  perform them in parallel. Simply pass the number of threads to the
+  GHC runtime on the command line; for example, the following will
+  perform 25 lookups in parallel:
+  .
+  @
+  hath reversed +RTS -N25 <<< \"198.41.0.4\/24\"
+  198.41.0.4: a.root-servers.net.
+  198.41.0.5:
+  198.41.0.6: rs.internic.net.
+  ...
+  @
 
 executable hath
   build-depends:
-    base                        >= 4.6.0,
+    base                        >= 4.6 && < 4.7,
     bytestring                  == 0.10.*,
-    dns                         == 0.3.*,
+    dns                         == 1.*,
     HUnit                       == 1.2.*,
     QuickCheck                  == 2.6.*,
     MissingH                    == 1.2.*,
@@ -149,9 +166,9 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
   build-depends:
-    base                        >= 4.6.0,
+    base                        >= 4.6 && < 4.7,
     bytestring                  == 0.10.*,
-    dns                         == 0.3.*,
+    dns                         == 1.*,
     HUnit                       == 1.2.*,
     QuickCheck                  == 2.6.*,
     MissingH                    == 1.2.*,