From 650febad655e7f0f4341a1834701f3987fcdbb97 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Tue, 12 Mar 2024 13:52:29 -0500 Subject: [PATCH] Expose `fromBinary` --- hexstring.cabal | 2 +- package.yaml | 2 +- src/Data/HexString.hs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hexstring.cabal b/hexstring.cabal index a675077..23eb6cd 100644 --- a/hexstring.cabal +++ b/hexstring.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: hexstring -version: 0.12.0 +version: 0.12.1.0 synopsis: Fast and safe representation of a hex string description: Provides an interface for converting any object that has a 'Binary' instance to and from a hexadecimal Text representation. author: Rene Vergara, diff --git a/package.yaml b/package.yaml index bee7374..a1a042d 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: hexstring -version: 0.12.0 +version: 0.12.1.0 git: "https://git.vergara.tech/Vergara_Tech/haskell-hexstring" license: MIT author: diff --git a/src/Data/HexString.hs b/src/Data/HexString.hs index 7d90d24..10a5200 100644 --- a/src/Data/HexString.hs +++ b/src/Data/HexString.hs @@ -9,6 +9,7 @@ module Data.HexString ( HexString(..) , hexString , fromRawBytes + , fromBinary , toBytes , fromText , toText