diff --git a/binary.cabal b/binary.cabal
index 288117eea189051d612f843d56b1afe7b9a30479..2dc8c2908ef9f5173230f4b666d157551dbaea62 100644
--- a/binary.cabal
+++ b/binary.cabal
@@ -1,3 +1,5 @@
+cabal-version:  3.0
+
 -- To run tests and binaries you'll need to rename the name of the library
 -- and all the local dependencies on it. If not, cabal is unable to come up
 -- with a build plan.
@@ -8,7 +10,7 @@
 
 name:            binary
 version:         0.8.8.0
-license:         BSD3
+license:         BSD-3-Clause
 license-file:    LICENSE
 author:          Lennart Kolmodin <kolmodin@gmail.com>
 maintainer:      Lennart Kolmodin, Don Stewart <dons00@gmail.com>
@@ -25,7 +27,6 @@ synopsis:        Binary serialisation for Haskell values using lazy ByteStrings
 category:        Data, Parsing
 stability:       provisional
 build-type:      Simple
-cabal-version:   >= 1.8
 tested-with:     GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC ==8.2.2, GHC == 8.4.4, GHC == 8.6.5
 extra-source-files:
   README.md changelog.md docs/hcar/binary-Lb.tex tools/derive/*.hs
@@ -59,6 +60,7 @@ library
 
   if impl(ghc >= 8.0)
     ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
+  default-language: Haskell2010
 
 test-suite qc
   type:  exitcode-stdio-1.0
@@ -83,6 +85,7 @@ test-suite qc
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010
 
 
 test-suite read-write-file
@@ -104,6 +107,7 @@ test-suite read-write-file
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010
 
 
 benchmark bench
@@ -124,6 +128,7 @@ benchmark bench
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010
 
 
 benchmark get
@@ -145,6 +150,7 @@ benchmark get
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010
 
 
 benchmark put
@@ -163,6 +169,7 @@ benchmark put
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010
 
 benchmark generics-bench
   type: exitcode-stdio-1.0
@@ -192,6 +199,7 @@ benchmark generics-bench
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010
 
 benchmark builder
   type: exitcode-stdio-1.0
@@ -210,3 +218,4 @@ benchmark builder
   if impl(ghc <= 7.6)
     -- prior to ghc-7.4 generics lived in ghc-prim
     build-depends: ghc-prim
+  default-language: Haskell2010