packages feed

crypton-asn1-types 0.3.7 → 0.4.0

raw patch · 3 files changed

+57/−56 lines, 3 filesdep +time-hourglassdep −hourglassPVP ok

version bump matches the API change (PVP)

Dependencies added: time-hourglass

Dependencies removed: hourglass

API changes (from Hackage documentation)

+ Data.ASN1.Types: type OID = [Integer]

Files

CHANGELOG.md view
@@ -6,18 +6,19 @@ and this project adheres to the
 [Haskell Package Versioning Policy](https://pvp.haskell.org/).
 
-## 0.3.7
+## 0.4.0 - 2025-08-01
 
-* `Data.ASN1.Types` re-exports all of `Data.ASN1.OID`, as in
-  `crypton-asn1-types-0.3.4`.
+* Depend on package `time-hourglass`, rather than `hourglass`. The fields of the
+  `ASNTime` data constructor of data type `ASN1` are now types provided by the
+  former package.
 
-## 0.3.6
+## 0.3.6 - 2025-07-20
 
 * Expose `Data.ASN1.Stream`, spun out of the `crypton-asn1-encoding-0.9.6`
   package.
 * Use the `other-extensions` field in the Cabal file.
 
-## 0.3.5
+## 0.3.5 - 2025-07-13
 
 * Move library modules to directory `src`.
 * Change data type `BitArrayOutOfBound` (a single, unary data constructor
@@ -25,7 +26,7 @@ * Depend on the `base16` package, remove direct dependency on the `memory`
   package and the indirect dependency on the `basement` package.
 
-## 0.3.4
+## 0.3.4 - 2025-07-13
 
 * Rename `asn1-types-0.3.4` package as `crypton-asn1-types-0.3.4`.
 * Change maintainer field to `Mike Pilgrem <public@pilgrem.com>` and
crypton-asn1-types.cabal view
@@ -1,50 +1,50 @@ cabal-version: 1.18
---- This file has been generated from package.yaml by hpack version 0.38.1.------ see: https://github.com/sol/hpack--name:           crypton-asn1-types-version:        0.3.7-synopsis:       ASN.1 types-description:    A library providing types representing the Abstract Syntax Notation One-                (ASN.1) standard.-category:       Data-stability:      experimental-homepage:       http://github.com/mpilgrem/crypton-asn1-bug-reports:    https://github.com/mpilgrem/crypton-asn1/issues-author:         Vincent Hanquez <vincent@snarc.org>-maintainer:     Mike Pilgrem <public@pilgrem.com>,-                Kazu Yamamoto <kazu@iij.ad.jp>-copyright:      Vincent Hanquez <vincent@snarc.org>-license:        BSD3-license-file:   LICENSE-build-type:     Simple-extra-doc-files:-    CHANGELOG.md-    README.md--source-repository head-  type: git-  location: https://github.com/mpilgrem/crypton-asn1--library-  exposed-modules:-      Data.ASN1.BitArray-      Data.ASN1.OID-      Data.ASN1.Pretty-      Data.ASN1.Types-      Data.ASN1.Types.Lowlevel-      Data.ASN1.Types.String-      Data.ASN1.Stream-  hs-source-dirs:-      src-  other-extensions:-      CPP-  ghc-options: -Wall-  build-depends:-      base >=3 && <5-    , base16-    , bytestring-    , hourglass-  default-language: Haskell98+
+-- This file has been generated from package.yaml by hpack version 0.38.1.
+--
+-- see: https://github.com/sol/hpack
+
+name:           crypton-asn1-types
+version:        0.4.0
+synopsis:       ASN.1 types
+description:    A library providing types representing the Abstract Syntax Notation One
+                (ASN.1) standard.
+category:       Data
+stability:      experimental
+homepage:       http://github.com/mpilgrem/crypton-asn1
+bug-reports:    https://github.com/mpilgrem/crypton-asn1/issues
+author:         Vincent Hanquez <vincent@snarc.org>
+maintainer:     Mike Pilgrem <public@pilgrem.com>,
+                Kazu Yamamoto <kazu@iij.ad.jp>
+copyright:      Vincent Hanquez <vincent@snarc.org>
+license:        BSD3
+license-file:   LICENSE
+build-type:     Simple
+extra-doc-files:
+    CHANGELOG.md
+    README.md
+
+source-repository head
+  type: git
+  location: https://github.com/mpilgrem/crypton-asn1
+
+library
+  exposed-modules:
+      Data.ASN1.BitArray
+      Data.ASN1.OID
+      Data.ASN1.Pretty
+      Data.ASN1.Types
+      Data.ASN1.Types.Lowlevel
+      Data.ASN1.Types.String
+      Data.ASN1.Stream
+  hs-source-dirs:
+      src
+  other-extensions:
+      CPP
+  ghc-options: -Wall
+  build-depends:
+      base >=3 && <5
+    , base16
+    , bytestring
+    , time-hourglass <0.4
+  default-language: Haskell98
src/Data/ASN1/Types.hs view
@@ -22,7 +22,7 @@   ) where
 
 import           Data.ASN1.BitArray ( BitArray )
-import           Data.ASN1.OID
+import           Data.ASN1.OID ( OID )
 import           Data.ASN1.Types.Lowlevel ( ASN1Class (..), ASN1Tag )
 import           Data.ASN1.Types.String
                    ( ASN1CharacterString (..), ASN1StringEncoding (..)