Commit graph

15 commits

Author SHA1 Message Date
Jacek Sieka
5ec974ed1a
Normalise nimble (#36)
* normalise nimble file, ci / deprecation fixes

* other deprecations
2022-11-23 16:27:20 +01:00
Jacek Sieka
5f9fd4e5c5
reduce test dependencies (#34) 2022-09-10 07:25:22 +02:00
Ștefan Talpalaru
371e60b17c
CI: test with multiple Nim versions (#23)
* CI: test with multiple Nim versions

* fix readIntoExImpl() when premature EOF is triggered on some Windows versions
* also fix some unrelated pointer math
2022-01-05 23:22:53 +01:00
Jacek Sieka
1f62235d4f Enable --styleCheck:usages 2021-12-07 00:32:45 +02:00
Jacek Sieka
3a0ab42573
Don't import/export chronos by default (#20)
Chronos support is optional and should not have to be imported in order
to use faststreams for non-async use cases, as doing so pollutes the
global namespace and slows down compilation.

`async` support must now explicitly be enabled with
-d:async_backend=chronos|asyncdispatch
2021-08-20 14:10:26 +03:00
Ștefan Talpalaru
5eb7fd0c90 move to unittest2
to fix a clash with testutils
2021-05-28 08:29:18 +03:00
andri lim
367cb55eef
fix memFileInput.pos return negative value (#16) 2021-02-18 17:56:17 +02:00
Zahary Karadjov
81c24860e2
Bugfix: totalUnconsumedBytes works properly within withReadableRange blocks 2020-05-29 16:08:14 +03:00
Zahary Karadjov
442ad53b00
Implement the full behavior of withReadableRange; close #12 2020-05-25 02:26:18 +03:00
Zahary Karadjov
dd63bbfd1c
Better name and docs for the 'nonBlockingReads' facility 2020-05-07 12:12:46 +03:00
Zahary Karadjov
ec5c3af313
Implement InputStream.nonBlockingReads and document it 2020-05-07 00:17:09 +03:00
Zahary Karadjov
18f9488bee
Expand the documentation; Clean up debugging code; Enable all tests 2020-05-05 19:20:25 +03:00
Zahary Karadjov
cb36a6d4db
Implement the async pipelines and fsMultiSync 2020-05-05 02:49:39 +03:00
Zahary Karadjov
bf930b6f1b
Implement readInto and read(n) 2020-05-03 04:35:34 +03:00
Zahary Karadjov
b24300bd3f
Address review comments; Add documentation; Shared buffering mechanism for input and output streams 2020-05-01 19:12:58 +03:00