Skip to content

Commit

Permalink
lib: separate data definition and parsing code
Browse files Browse the repository at this point in the history
The `Security.Advisories` module is a bit unweildy and is going to
get worse. Extract data definitions and parsing to separate modules.
  • Loading branch information
frasertweedale authored and blackheaven committed Jun 17, 2023
1 parent d0aa31f commit 28f0116
Show file tree
Hide file tree
Showing 4 changed files with 450 additions and 428 deletions.
7 changes: 4 additions & 3 deletions code/hsec-tools/hsec-tools.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ tested-with:
GHC ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.5 || ==9.6.2

library
exposed-modules:
Security.Advisories,
Security.OSV
exposed-modules: Security.Advisories
, Security.Advisories.Definition
, Security.Advisories.Parse
, Security.OSV
build-depends: base >=4.14 && < 4.19,
text >= 1.2 && < 3,
time >= 1.9 && < 1.14,
Expand Down
Loading

0 comments on commit 28f0116

Please sign in to comment.