-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new .github workflows. Restore Data.Bytes.Text.Utf8.toText.
- Loading branch information
1 parent
b6fa1f0
commit ad4523c
Showing
6 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cabal-version: 2.4 | ||
name: byteslice | ||
version: 0.2.13.1 | ||
version: 0.2.13.2 | ||
synopsis: Slicing managed and unmanaged memory | ||
description: | ||
This library provides types that allow the user to talk about a slice of | ||
|
@@ -16,13 +16,22 @@ author: Andrew Martin | |
maintainer: [email protected] | ||
copyright: 2020 Andrew Martin | ||
category: Data | ||
extra-doc-files: CHANGELOG.md | ||
extra-doc-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1 | ||
|
||
common build-settings | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -Wunused-packages | ||
|
||
flag avoid-rawmemchr | ||
default: True | ||
description: Avoid using rawmemchr which is non-portable GNU libc only | ||
|
||
library | ||
import: build-settings | ||
exposed-modules: | ||
Data.Bytes | ||
Data.Bytes.Chunks | ||
|
@@ -60,7 +69,7 @@ library | |
, vector >=0.12 && <0.14 | ||
|
||
hs-source-dirs: src | ||
ghc-options: -Wall -O2 | ||
ghc-options: -O2 | ||
|
||
if impl(ghc >=9.2) | ||
hs-source-dirs: src-new-reps | ||
|
@@ -74,7 +83,6 @@ library | |
else | ||
hs-source-dirs: src-no-ghc-cstrlen | ||
|
||
default-language: Haskell2010 | ||
include-dirs: include | ||
includes: bs_custom.h | ||
install-includes: bs_custom.h | ||
|
@@ -84,11 +92,10 @@ library | |
cc-options: -DAVOID_RAWMEMCHR=1 | ||
|
||
test-suite test | ||
default-language: Haskell2010 | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
ghc-options: -Wall -O2 | ||
import: build-settings | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
build-depends: | ||
, base >=4.11.1 && <5 | ||
, byteslice | ||
|
@@ -102,17 +109,16 @@ test-suite test | |
, transformers | ||
|
||
benchmark bench | ||
type: exitcode-stdio-1.0 | ||
import: build-settings | ||
type: exitcode-stdio-1.0 | ||
build-depends: | ||
, base | ||
, byteslice | ||
, gauge | ||
, primitive | ||
|
||
ghc-options: -Wall -O2 | ||
default-language: Haskell2010 | ||
hs-source-dirs: bench | ||
main-is: Main.hs | ||
ghc-options: -O2 | ||
hs-source-dirs: bench | ||
main-is: Main.hs | ||
|
||
source-repository head | ||
type: git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- 2024-02-06: Including this to make "cabal test" work on build machine. | ||
packages: . | ||
tests: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters