diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
 # Revision history for xml-syntax
 
+## 0.1.0.2 -- 2024-02-07
+
+* Bump upper bound for `primitive` to <0.9.
+* Removed unused dependencies.
+
 ## 0.1.0.1 -- 2024-01-31
 
 * Updated package metadata.
diff --git a/Setup.hs b/Setup.hs
deleted file mode 100644
--- a/Setup.hs
+++ /dev/null
@@ -1,3 +0,0 @@
-import Distribution.Simple
-
-main = defaultMain
diff --git a/xml-syntax.cabal b/xml-syntax.cabal
--- a/xml-syntax.cabal
+++ b/xml-syntax.cabal
@@ -2,7 +2,7 @@
 name:            xml-syntax
 synopsis:        Parse XML from bytes
 description:     Parse XML from bytes.
-version:         0.1.0.1
+version:         0.1.0.2
 license:         BSD-3-Clause
 license-file:    LICENSE
 author:          Andrew Martin
@@ -13,35 +13,35 @@
 category:        Data
 build-type:      Simple
 extra-doc-files: CHANGELOG.md
+tested-with:     GHC ==9.4.8 || ==9.6.3 || ==9.8.1
 
+common build-settings
+  default-language: Haskell2010
+  ghc-options:      -Wall -Wunused-packages
+
 library
-  exposed-modules:  Xml
+  import:          build-settings
+  exposed-modules: Xml
   build-depends:
-    , array-builder  >=0.1    && <0.2
-    , array-chunks   >=0.1.1  && <0.2
-    , base           >=4.12   && <5
-    , bytebuild      >=0.3.4  && <0.4
-    , byteslice      >=0.2.6  && <0.3
-    , bytesmith      >=0.3.8  && <0.4
-    , bytestring     >=0.10.8 && <0.12
-    , primitive      >=0.7    && <0.8
-    , text-short     >=0.1.3  && <0.2
+    , array-builder  >=0.1   && <0.2
+    , array-chunks   >=0.1.1 && <0.2
+    , base           >=4.12  && <5
+    , byteslice      >=0.2.6 && <0.3
+    , bytesmith      >=0.3.8 && <0.4
+    , primitive      >=0.7   && <0.9
+    , text-short     >=0.1.3 && <0.2
 
-  hs-source-dirs:   src
-  default-language: Haskell2010
-  ghc-options:      -Wall -O2
+  hs-source-dirs:  src
+  ghc-options:     -O2
 
 test-suite test
-  default-language: Haskell2010
-  type:             exitcode-stdio-1.0
-  hs-source-dirs:   test
-  main-is:          Main.hs
-  ghc-options:      -Wall -O2
+  import:         build-settings
+  type:           exitcode-stdio-1.0
+  hs-source-dirs: test
+  main-is:        Main.hs
   build-depends:
     , base         >=4.11.1 && <5
     , byteslice
-    , bytestring
-    , primitive
     , tasty
     , tasty-hunit
     , xml-syntax
