token-bucket 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+19/−4 lines, 2 filesdep ~basedep ~time
Dependency ranges changed: base, time
Files
- changelog.md +9/−0
- token-bucket.cabal +10/−4
+ changelog.md view
@@ -0,0 +1,9 @@+0.1.0.1+-------++ - Compat with GHC 7.10++0.1.0.0+-------++ - Initial version
token-bucket.cabal view
@@ -1,5 +1,5 @@ name: token-bucket-version: 0.1.0.0+version: 0.1.0.1 synopsis: Rate limiter using lazy bucket algorithm homepage: https://github.com/hvr/token-bucket bug-reports: https://github.com/hvr/token-bucket/issues@@ -14,6 +14,12 @@ This implementation is heavily inspired by the one described in <http://ksdlck.com/post/17418037348/rate-limiting-at-webscale-lazy-leaky-buckets "Rate Limiting at Webscale: Lazy Leaky Buckets"> +extra-source-files: changelog.md++source-repository head+ type: git+ location: https://github.com/hvr/token-bucket.git+ flag use-cbits description: Use optimized getPOSIXTime implementation (faster by roughly one order of magnitude) manual: True@@ -21,19 +27,19 @@ library default-language: Haskell2010- build-depends: base >=4.6 && <4.8+ build-depends: base >=4.6 && <4.9 hs-source-dirs: src if flag(use-cbits) cpp-options: -DUSE_CBITS c-sources: cbits/get_posix_time.c else- build-depends: time >=1.4 && <1.5+ build-depends: time >=1.4 && <1.6 ghc-options: -Wall exposed-modules: Control.Concurrent.TokenBucket test-suite test-tb default-language: Haskell2010 type: exitcode-stdio-1.0- build-depends: base >=4.6 && <4.8, time >=1.4 && <1.5, token-bucket+ build-depends: base >=4.6 && <4.9, time >=1.4 && <1.6, token-bucket main-is: test-tb.hs ghc-options: -Wall -threaded -rtsopts