packages feed

nkeys-0.0.1.0: nkeys.cabal

cabal-version:      2.4
name:               nkeys
version:            0.0.1.0
synopsis:           Nkeys ed25519 encoding for use with NATS

description: This library exposes a custom encoding and decoding mechanism for ed25519 keys. This codec produces keys that are both URL safe and double-clickable 
homepage:           https://github.com/autodidaddict/nkeys-hs

-- A URL where users can report bugs.
-- bug-reports:
license:            Apache-2.0
license-file:       LICENSE
author:             Kevin Hoffman
maintainer:         autodidaddict@users.noreply.github.com

-- A copyright notice.
-- copyright:
category:           Cryptography
extra-source-files: CHANGELOG.md

library nkeys-lib
    exposed-modules:  Nats.Nkeys

    -- Modules included in this library but not exported.
    other-modules: Nats.Nkeys.Pairs, Nats.Nkeys.Codec, Nats.Nkeys.Crc

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:    base == 4.19.0.0,
                      ed25519 >= 0.0.5 && < 0.1,
                      bytestring ^>=0.11,
                      text >= 2.1 && < 2.2,
                      base32 >= 0.4 && < 0.5,                      
                      vector >= 0.13.1 && < 0.14,
                      binary >= 0.8.9 && < 0.9
    hs-source-dirs:   src
    default-language: Haskell2010

executable nkeys-exe
    main-is:          Main.hs

    -- Modules included in this executable, other than Main.
    -- other-modules:

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:
        base == 4.19.0.0,
        nkeys-lib

    hs-source-dirs:   app
    default-language: Haskell2010

test-suite nkeys-test
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          NkeysTest.hs
    build-depends:    base == 4.19.0.0,
                      HUnit ^>=1.6,
                      base32 >= 0.4 && < 0.5,
                      text >= 2.1,  
                      ed25519 >= 0.0.5 && < 0.1,
                      nkeys-lib,
                      bytestring ^>=0.11