streaming-osm-1.0.1: streaming-osm.cabal
cabal-version: 2.2
name: streaming-osm
version: 1.0.1
synopsis:
A hand-written streaming byte parser for OpenStreetMap Protobuf data.
description:
A hand-written streaming byte parser for OpenStreetMap Protobuf data.
license: BSD-3-Clause
license-file: LICENSE
author: Colin Woodbury
maintainer: colin@fosskers.ca
copyright: Copyright (c) 2017 - 2020 Azavea
category: Streaming
build-type: Simple
extra-source-files:
ChangeLog.md
test/*.osm.pbf
common commons
default-language: Haskell2010
ghc-options:
-Wall -Wpartial-fields -Wincomplete-record-updates
-Wincomplete-uni-patterns -Widentities
build-depends:
, attoparsec ^>=0.13
, base >=4.8 && <5
, bytestring
, resourcet ^>=1.2
, streaming ^>=0.2
, vector ^>=0.12
, zlib ^>=0.6
library
import: commons
hs-source-dirs: lib
exposed-modules:
Streaming.Osm
Streaming.Osm.Internal.Parser
Streaming.Osm.Internal.Util
Streaming.Osm.Types
build-depends:
, containers
, streaming-attoparsec ^>=1.0
, streaming-bytestring ^>=0.1
, text ^>=1.2
, transformers
test-suite streaming-osm-test
import: commons
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
ghc-options: -threaded -with-rtsopts=-N
build-depends:
, streaming-osm
, tasty >=1.1 && <1.3
, tasty-hunit ^>=0.10
-- benchmark streaming-osm-bench
-- import: commons
-- type: exitcode-stdio-1.0
-- main-is: Bench.hs
-- hs-source-dirs: bench
-- ghc-options: -threaded -O2
-- build-depends:
-- criterion >=1.1
-- , streaming-osm