From 5135173f60d870717cf8021345137b0f27c75990 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Sun, 7 Jul 2019 11:44:59 +0200 Subject: [PATCH] std_shims -> stew --- faststreams.nimble | 3 +-- faststreams/input_stream.nim | 2 +- faststreams/output_stream.nim | 2 +- tests/test_input_stream.nim | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/faststreams.nimble b/faststreams.nimble index c642279..f93b569 100644 --- a/faststreams.nimble +++ b/faststreams.nimble @@ -8,8 +8,7 @@ license = "Apache License 2.0" skipDirs = @["tests"] requires "nim >= 0.17.0", - "ranges", - "std_shims" + "stew" task test, "Run tests": for filename in [ diff --git a/faststreams/input_stream.nim b/faststreams/input_stream.nim index ae7f1b3..4d47895 100644 --- a/faststreams/input_stream.nim +++ b/faststreams/input_stream.nim @@ -1,5 +1,5 @@ import - memfiles, options, ranges/ptr_arith + memfiles, options, stew/ranges/ptr_arith const pageSize = 4096 diff --git a/faststreams/output_stream.nim b/faststreams/output_stream.nim index 8c80bf6..5f7e902 100644 --- a/faststreams/output_stream.nim +++ b/faststreams/output_stream.nim @@ -1,5 +1,5 @@ import - deques, ranges/ptr_arith, std_shims/strings + deques, stew/ranges/ptr_arith, stew/strings type OutputStreamVTable = tuple diff --git a/tests/test_input_stream.nim b/tests/test_input_stream.nim index 31ea12c..cc9c8d5 100644 --- a/tests/test_input_stream.nim +++ b/tests/test_input_stream.nim @@ -1,5 +1,5 @@ import - unittest, strutils, ranges/ptr_arith, + unittest, strutils, stew/ranges/ptr_arith, ../faststreams suite "input stream":