Skip to content

Commit

Permalink
release 0.2.5.0 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
chessai authored Dec 11, 2024
1 parent 728d241 commit 8aebbca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 6 additions & 0 deletions country/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Revision history for country

## 0.2.5 -- 2024-12-11
* Allow hashable-1.5
* Add the official native name of Lithuania
* Switch from `gauge` (deprecated) to `criterion` in benchmarks.
* Remove unused `bytestring` dependency in benchmarks.

## 0.2.4.2 -- 2024-02-15

* Update package metadata.
Expand Down
2 changes: 1 addition & 1 deletion country/bench/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# LANGUAGE TypeApplications #-}

import Data.Text (Text)
import Gauge.Main (bench, defaultMain, whnf)
import Criterion.Main (bench, defaultMain, whnf)

import qualified Country
import qualified Data.List as List
Expand Down
2 changes: 0 additions & 2 deletions country/bench/Size.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import Country (hashMapUtf16, hashMapUtf8)
import Data.Compact
import Data.Foldable

import qualified Country
import qualified Data.Bytes.HashMap.Word as Map
import qualified Data.List as List

main :: IO ()
main = do
Expand Down
5 changes: 2 additions & 3 deletions country/country.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: country
version: 0.2.4.2
version: 0.2.5.0
synopsis: Country data type and functions
description:
The `country` library provides a data type for dealing with
Expand Down Expand Up @@ -115,7 +115,7 @@ benchmark bench
build-depends:
, base
, country
, gauge
, criterion
, text >=1.2

ghc-options: -O2
Expand All @@ -128,7 +128,6 @@ benchmark bench-size
build-depends:
, base
, bytehash
, bytestring
, compact
, country

Expand Down

0 comments on commit 8aebbca

Please sign in to comment.