basesystems 1.0.0.0 → 1.0.0.1
raw patch · 3 files changed
+110/−34 lines, 3 filesdep ~basedep ~text
Dependency ranges changed: base, text
Files
- CHANGE_LOG.md +19/−5
- README.md +11/−3
- basesystems.cabal +80/−26
CHANGE_LOG.md view
@@ -1,10 +1,24 @@-Hackage [`basesystems`](http://hackage-content.haskell.org/package/basesystems)-package change log:-=====================================================================+[`basesystems`](http://hackage-content.haskell.org/package/basesystems)+change log:+=============================================================================== -## Version 1.0.0.0+## Version 1.0.0.1 (04-01-2026) -Finally initialize git repository! This version introduces the package to the+This version aims to fix the issues with the hackage page and provide CI via+sourcehut builds.++- Set correct PVP bounds for cabal dependencies.+- Added CI/CD for builds.sr.ht:+ * Add `.builds/nudge-parents.yml` to automatically update this submodule in+ other sourcehut repositories.+ * Add `.builds/upload-candidate-docs.yml` to generate and upload documentation+ to Hackage.+ * Add `.builds/upload-candidate-package.yml` to generate and upload a package+ candidate to Hackage.++## Version 1.0.0.0 (03-12-2026)++Finally initialize this package! This version introduces the package to the Hackage repository and the provides an interface for encoding/decoding digit strings in several common numeric basesystems. Namely, this version provides the following modules for processing this data:
README.md view
@@ -51,12 +51,20 @@ Since these functions can have such a large amount of inputs/outputs + possible edge cases, we generate test sets in bulk from scripts in the python folder to-JSON format. Code for running tests can be found at the main [ipfshs repo](+JSON format. Code for running tests can be found at the [main ipfshs repo]( https://git.sr.ht/~z0/ipfshs). +Reporting bugs+--------------++Bugs can be reported to the ipfshs [ticket tracker](+https://todo.sr.ht/~z0/ipfshs).+ License ------- This project is free software and is provided under the BSD 3-clause licensing-agreement. Copyright (C) 2026 Zoey McBride <[zoeymcbride@mailbox.org](-mailto:zoeymcbride@mailbox.org)>.+agreement.++Copyright (C) 2026 Zoey McBride+<[zoeymcbride@mailbox.org](mailto:zoeymcbride@mailbox.org)>
basesystems.cabal view
@@ -1,37 +1,91 @@-cabal-version: 3.0-version: 1.0.0.0-name: basesystems-build-type: Simple-author: Zoey McBride-maintainer: zoeymcbride@mailbox.org-license: BSD-3-Clause-license-file: LICENSE.txt-extra-doc-files: README.md, CHANGE_LOG.md-category: Numeric, Data, Serialization-synopsis: Implements encoders/decoders for basesystems+cabal-version: 3.0+version: 1.0.0.1+name: basesystems+build-type: Simple+author: Zoey McBride+maintainer: zoeymcbride@mailbox.org+license: BSD-3-Clause+license-file: LICENSE.txt+category: Numeric, Data, Serialization+synopsis: Implements encoders/decoders for basesystems description:- This package implements these encoder and decoder methods for numeric- basesystems and provides definitions for common basesystems like base16,- base58btc, base64, and more.--source-repository head+ This package implements encoder and decoder methods for numeric basesystems+ and provides definitions for common basesystems like base16, base58btc,+ base64, and more.+extra-doc-files:+ README.md+ CHANGE_LOG.md+source-repository head { type: git location: https://git.sr.ht/~z0/basesystems+} -library- default-language: GHC2021- default-extensions: StrictData+-- | Sets flag for CI build toggle+flag CI {+ Description: CI Build options+ Default: False+ Manual: True+}++-- | Sets flag for developer build toggle+flag Dev {+ Description: Developer build options+ Default: False+ Manual: True+}++-- | These dependency versions are known to be compatable with mfmts+common Depends {+ build-depends:+ base >= 4.18 && < 5,+ array ^>= 0.5,+ bytestring ^>= 0.11,+ containers ^>= 0.6,+ text ^>= 2.0+}++-- | DefaultBuild: strict compilation + optimize for executable speed+common DefaultBuild {+ import: Depends ghc-options: -Wall -Wextra -Wno-unused-top-binds- hs-source-dirs: basesystems+}++-- | CIBuild: strict compilation + optimize for compile time+common CIBuild {+ import: Depends+ ghc-options: -Wall -Wextra -Werror -Wno-unused-top-binds+}++-- | Configures the Dev flag+common DevBuild {+ import: Depends+ ghc-options: -Wall -Wextra -Wno-unused-top-binds+}++-- | Configures basesystems+library {+ default-extensions: StrictData+ default-language: GHC2021+ if flag(Dev) {+ import: DevBuild+ }+ elif flag(CI) {+ import: CIBuild+ }+ else {+ import: DefaultBuild+ } exposed-modules:+ -- * Defines basesystem interface Data.BaseSystem,+ -- * Defines basesystem implmentors Data.BaseSystems,+ -- * Defines alphabet interface Data.BaseSystem.Alphabet,+ -- * Defines alphabet implmentors Data.BaseSystem.Alphabets,+ -- * Provides common types and functions Data.BaseSystem.Internal,- build-depends:- base ^>= 4.18,- array ^>= 0.5,- bytestring ^>= 0.11,- containers ^>= 0.6,- text ^>= 1.2,+ hs-source-dirs:+ basesystems+}