e216a11337b05c826c10683e0d03674d4de5cafa
[ghc.git] / libraries / ghc-compact / ghc-compact.cabal
1 name:           ghc-compact
2 version:        0.1.0.0
3 -- NOTE: Don't forget to update ./changelog.md
4 license:        BSD3
5 license-file:   LICENSE
6 maintainer:     libraries@haskell.org
7 bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries/ghc-compact
8 synopsis:       In memory storage of deeply evaluated data structure
9 category:       Data
10 description:
11     This package provides minimal functionality for working with
12     "compact regions", which hold a fully evaluated Haskell object graph.
13     These regions maintain the invariant that no pointers live inside the struct
14     that point outside it, which ensures efficient garbage collection without
15     ever reading the structure contents (effectively, it works as a manually
16     managed "oldest generation" which is never freed until the whole is
17     released).
18
19     Internally, the struct is stored a single contiguous block of memory,
20     which allows efficient serialization and deserialization of structs
21     for distributed computing.
22 build-type:     Simple
23 cabal-version:  >=1.10
24 tested-with:    GHC==7.11
25
26 source-repository head
27   type:     git
28   location: http://git.haskell.org/ghc.git
29   subdir:   libraries/ghc-compact
30
31 library
32   default-language: Haskell2010
33   other-extensions:
34     MagicHash
35     BangPatterns
36     UnboxedTuples
37     CPP
38
39   build-depends: ghc-prim   == 0.5.2.0,
40                  base       >= 4.9.0 && < 4.13,
41                  bytestring >= 0.10.6.0
42   ghc-options: -Wall
43
44   exposed-modules: GHC.Compact
45                    GHC.Compact.Serialized