@@ -15,6 +15,11 @@ flag aeson
1515 default: False
1616 manual: True
1717
18+flag rel8
19+ description: Enable Rel8 support
20+ default: False
21+ manual: True
22+
1823common warnings
1924 ghc-options: -Wall
2025
@@ -28,5 +33,9 @@ library
2833 if flag(aeson)
2934 other-modules: Data.Money.JSON
3035 build-depends: aeson >= 2.0 && < 3.0
36+ if flag(rel8)
37+ other-modules: Data.Money.Rel8
38+ build-depends: rel8 >= 1.4,
39+ scientific
3140 hs-source-dirs: src
3241 default-language: Haskell2010