packages feed

dataframe-th-2.0.0.0: dataframe-th.cabal

cabal-version:      3.4
name:               dataframe-th
version:            2.0.0.0

synopsis:           Record-based Template Haskell splices for the dataframe ecosystem.
description:
    The IO-agnostic part of the @dataframe@ TH machinery — splices that
    read schemas from Haskell record types, not from files. File-based
    splices live in @dataframe-csv-th@ and @dataframe-parquet-th@.

bug-reports:        https://github.com/mchav/dataframe/issues
license:            MIT
license-file:       LICENSE
author:             Michael Chavinda
maintainer:         mschavinda@gmail.com
copyright:          (c) 2024-2026 Michael Chavinda
category:           Data
tested-with:        GHC ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2

common warnings
    ghc-options:
        -Wincomplete-patterns
        -Wincomplete-uni-patterns
        -Wunused-imports
        -Wunused-local-binds
        -Wunused-packages

library
    import:             warnings
    exposed-modules:
                        DataFrame.TH.Records
                        DataFrame.Typed.TH.Records
    -- Internal record→schema TH; sealed (superseded publicly by
    -- @deriveSchemaFromType@ in DataFrame.Typed.TH.Records).
    other-modules:      DataFrame.Internal.Schema.TH
    build-depends:      base >= 4 && < 5,
                        containers >= 0.6.7 && < 0.10,
                        dataframe-core >= 2.0 && < 2.1,
                        dataframe-core:internal >= 2.0 && < 2.1,
                        dataframe-operations >= 2.0 && < 2.1,
                        dataframe-parsing >= 2.0 && < 2.1,
                        template-haskell >= 2.0 && < 3,
                        text >= 2.1 && < 3,
                        vector >= 0.13 && < 0.15
    hs-source-dirs:     src
    default-language:   Haskell2010