Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ jobs:
- "lts-20.26" # ghc 9.2.8
- "lts-21.22" # ghc 9.4.8
- "lts-22.11" # ghc 9.6.4
- "nightly-2024-02-24" # ghc 9.8.1
- "lts-23.10" # ghc 9.8.4
- "nightly-2025-03-01" # ghc 9.10.1
# TODO: lts-16.31 fails because of missing TH.Lift on Scientific
# TODO: lts-14.27 fails because of missing optics package
exclude:
# Macos now has problems installing latest ghc, sigh
- os: macOS-latest
resolver: "lts-18.28"
- os: macOS-latest
resolver: "lts-19.33"


runs-on: ${{ matrix.os }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.hstags
.stack-work/
result
dist-newstyle/
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

63 changes: 33 additions & 30 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ license: "Apache-2.0 OR MIT"
license-file: "LICENSE-APACHE"
author: "morj"
maintainer: "hackage@morj.men"
extra-doc-files: "changelog.txt"

synopsis: "RON format implementation in haskell"
homepage: "https://github.com/maurges/ron-hs"
git: "https://github.com/maurges/ron-hs"
category: "Text"
description: "RON (Rusty Object Notation) format implementation in haskell"

ghc-options:
- -Wall -Wcompat
Expand All @@ -24,38 +26,39 @@ default-extensions:
- TypeOperators

library:
source-dirs: src
source-dirs: src
dependencies:
- base
- attoparsec
- bytestring
- containers
- deepseq
- hashable
- scientific
- template-haskell
- text
- vector
- QuickCheck
- "base >= 4.14.3 && < 4.22"
- "attoparsec >= 0.13.2 && < 0.15"
- "bytestring >= 0.10.12 && < 0.13"
- "containers >= 0.6.4 && < 0.9"
- "deepseq >= 1.4.4 && < 1.7"
- "hashable >= 1.3.0 && < 1.6"
- "scientific >= 0.3.7 && < 0.4"
- "template-haskell >= 2.16.0 && < 2.24"
- "text >= 1.2.4 && < 2.2"
- "vector >= 0.12.3 && < 0.14"
- "QuickCheck >= 2.14.2 && < 2.16"


tests:
test:
main: Test.hs
source-dirs: test
dependencies:
- base
- "base >= 4.14.3 && < 4.22"
- ron-hs
- QuickCheck
- bytestring
- containers
- directory
- optics-core
- optics-th
- tasty
- tasty-hunit
- tasty-quickcheck
- text
- vector
- "QuickCheck >= 2.14.2 && < 2.16"
- "bytestring >= 0.10.12 && < 0.13"
- "containers >= 0.6.4 && < 0.9"
- "directory >= 1.3.6 && < 1.4"
- "optics-core >= 0.3 && < 0.5"
- "optics-th >= 0.3 && < 0.5"
- "tasty >= 1.4.2 && < 1.6"
- "tasty-hunit >= 0.10 && < 0.11"
- "tasty-quickcheck >= 0.10 && < 0.12"
- "text >= 1.2.4 && < 2.2"
- "vector >= 0.12.3 && < 0.14"
ghc-options:
- -Wno-all -Wdefault
- -Wincomplete-patterns -Werror=incomplete-patterns
Expand All @@ -68,12 +71,12 @@ benchmarks:
main: Bench.hs
source-dirs: bench
dependencies:
- base
- "base >= 4.14.3 && < 4.22"
- ron-hs
- base16-bytestring
- bytestring
- criterion
- text
- "base16-bytestring >= 1.0.2 && < 1.1"
- "bytestring >= 0.10.12 && < 0.13"
- "criterion >= 1.5.13 && < 1.7"
- "text >= 1.2.4 && < 2.2"
ghc-options:
- -Wno-all -Wdefault
- -Wincomplete-patterns -Werror=incomplete-patterns
Expand Down
66 changes: 36 additions & 30 deletions ron-hs.cabal
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.36.0.
-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack

name: ron-hs
version: 0.4.0
synopsis: RON format implementation in haskell
description: RON (Rusty Object Notation) format implementation in haskell
category: Text
homepage: https://github.com/maurges/ron-hs
author: morj
maintainer: hackage@morj.men
license: (Apache-2.0 OR MIT)
license-file: LICENSE-APACHE
build-type: Simple
extra-doc-files:
changelog.txt

source-repository head
type: git
location: https://github.com/maurges/ron-hs

library
exposed-modules:
Expand Down Expand Up @@ -42,17 +48,17 @@ library
TypeOperators
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns
build-depends:
QuickCheck
, attoparsec
, base
, bytestring
, containers
, deepseq
, hashable
, scientific
, template-haskell
, text
, vector
QuickCheck >=2.14.2 && <2.16
, attoparsec >=0.13.2 && <0.15
, base >=4.14.3 && <4.22
, bytestring >=0.10.12 && <0.13
, containers >=0.6.4 && <0.9
, deepseq >=1.4.4 && <1.7
, hashable >=1.3.0 && <1.6
, scientific >=0.3.7 && <0.4
, template-haskell >=2.16.0 && <2.24
, text >=1.2.4 && <2.2
, vector >=0.12.3 && <0.14
default-language: Haskell2010

test-suite test
Expand Down Expand Up @@ -82,19 +88,19 @@ test-suite test
TypeOperators
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wno-all -Wdefault -Wincomplete-patterns -Werror=incomplete-patterns -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, base
, bytestring
, containers
, directory
, optics-core
, optics-th
QuickCheck >=2.14.2 && <2.16
, base >=4.14.3 && <4.22
, bytestring >=0.10.12 && <0.13
, containers >=0.6.4 && <0.9
, directory >=1.3.6 && <1.4
, optics-core >=0.3 && <0.5
, optics-th >=0.3 && <0.5
, ron-hs
, tasty
, tasty-hunit
, tasty-quickcheck
, text
, vector
, tasty >=1.4.2 && <1.6
, tasty-hunit ==0.10.*
, tasty-quickcheck >=0.10 && <0.12
, text >=1.2.4 && <2.2
, vector >=0.12.3 && <0.14
default-language: Haskell2010

benchmark bench
Expand All @@ -119,10 +125,10 @@ benchmark bench
TypeOperators
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wno-all -Wdefault -Wincomplete-patterns -Werror=incomplete-patterns -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, base16-bytestring
, bytestring
, criterion
base >=4.14.3 && <4.22
, base16-bytestring >=1.0.2 && <1.1
, bytestring >=0.10.12 && <0.13
, criterion >=1.5.13 && <1.7
, ron-hs
, text
, text >=1.2.4 && <2.2
default-language: Haskell2010
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-21.23
resolver: lts-22.43
packages:
- .
system-ghc: true
10 changes: 5 additions & 5 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
# https://docs.haskellstack.org/en/stable/topics/lock_files

packages: []
snapshots:
- completed:
sha256: 8809197159ce65ec2d66f91982e4844ad0c2cbd1126df42146dd103c0ea6cac0
size: 640063
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/23.yaml
original: lts-21.23
sha256: 08bd13ce621b41a8f5e51456b38d5b46d7783ce114a50ab604d6bbab0d002146
size: 720271
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/43.yaml
original: lts-22.43