diff --git a/nimPNG.nim b/nimPNG.nim index 5821bb8..ac3041b 100644 --- a/nimPNG.nim +++ b/nimPNG.nim @@ -26,10 +26,10 @@ #------------------------------------- import streams, endians, tables, hashes, math -import private/buffer, private/nimz +import nimPNG/[buffer, nimz] const - NIM_PNG_VERSION = "0.2.1" + NIM_PNG_VERSION = "0.2.4" type PNGChunkType = distinct int32 diff --git a/nimPNG.nimble b/nimPNG.nimble index c0b352a..842dd71 100644 --- a/nimPNG.nimble +++ b/nimPNG.nimble @@ -1,11 +1,12 @@ # Package -version = "0.2.3" +version = "0.2.4" author = "Andri Lim" description = "PNG encoder and decoder" license = "MIT" +skipDirs = @["apng", "suite", "tester"] # Deps -requires "nim >= 0.11.2" +requires "nim >= 0.19.0" task tests, "Run tests": withDir("tester"): diff --git a/private/buffer.nim b/nimPNG/buffer.nim similarity index 100% rename from private/buffer.nim rename to nimPNG/buffer.nim diff --git a/private/nimz.nim b/nimPNG/nimz.nim similarity index 100% rename from private/nimz.nim rename to nimPNG/nimz.nim diff --git a/tester/testCodec.nim b/tester/testCodec.nim index 9088605..b08fa45 100644 --- a/tester/testCodec.nim +++ b/tester/testCodec.nim @@ -1,5 +1,5 @@ import nimPNG, streams, math, strutils, tables, base64, os -import private.buffer +import nimPNG/buffer type Image = ref object