Commit Graph

155 Commits

Author SHA1 Message Date
Stjepan Glavina 8c04ac08bf
Fix incorrect doc comment 2020-06-29 16:38:09 +02:00
Stjepan Glavina c898de0c0b Stop writing if pipe gets closed 2020-06-22 11:21:49 +02:00
Stjepan Glavina 702e144f22 Bump to v0.4.6 2020-06-17 23:03:27 +02:00
Stjepan Glavina 31594d8df5 Update comment on Unblock 2020-06-17 23:02:55 +02:00
Stjepan Glavina b93f2561c8 Add seek test 2020-06-17 23:01:32 +02:00
Stjepan Glavina be327aa1cd Bump to v0.4.5 2020-06-17 22:54:20 +02:00
Stjepan Glavina 27aea8e3d9
Merge pull request #6 from stjepang/seek
Implement seeking
2020-06-17 22:52:24 +02:00
Stjepan Glavina b7d4648079 Typo 2020-06-17 21:53:37 +02:00
Stjepan Glavina 7f64f99a77 Implement seeking 2020-06-17 21:52:00 +02:00
Stjepan Glavina a77da4522e
Update README.md 2020-06-13 14:01:08 +02:00
Stjepan Glavina c2a344dc71 Bump to v0.4.4 2020-05-31 01:27:54 +02:00
Stjepan Glavina 9965c07cb2 Remove the initial poll with no waker 2020-05-31 01:27:10 +02:00
Stjepan Glavina 8e93c68d6b Typo 2020-05-27 21:14:22 +02:00
Stjepan Glavina a1d24d27d1 Bump to v0.4.3 2020-05-23 15:12:22 +02:00
Stjepan Glavina 04f65c382f Fuse the receiver stream 2020-05-23 14:43:44 +02:00
Stjepan Glavina 6841f731b5 Add unit tests 2020-05-22 15:11:54 +02:00
Stjepan Glavina d49b3652fb Bump to v0.4.2 2020-05-17 17:10:54 +02:00
Stjepan Glavina ec9157b0d1 Start thread numbering from 1 2020-05-17 17:10:26 +02:00
Stjepan Glavina 6ce6b2b96b Bump to v0.4.1 2020-05-17 17:08:33 +02:00
Stjepan Glavina fa56b358db Name threads 2020-05-17 17:07:55 +02:00
Stjepan Glavina 008b080660 Bump to v0.4.0 2020-05-17 15:13:23 +02:00
Stjepan Glavina b3e74df0ec Small updates 2020-05-17 15:09:42 +02:00
Stjepan Glavina d79ba30ab0 Typo 2020-05-17 15:08:57 +02:00
Stjepan Glavina f1fc66d7aa Update readme 2020-05-17 15:08:26 +02:00
Stjepan Glavina 23202f78b1 block_on and unblock 2020-05-17 15:06:49 +02:00
Stjepan Glavina fcb000b384
Merge pull request #3 from svartalf/msrv
State the MSRV policy
2020-05-17 06:06:23 -07:00
svartalf e385e5013a State the MSRV policy 2020-05-17 15:45:22 +03:00
Stjepan Glavina 0bcabc7637
Merge pull request #2 from Byron/explicit-futures-dependencies
Use futures sub-crates explicitly
2020-05-17 04:35:18 -07:00
Sebastian Thiel 5323bae73d
Add 'sink' feature to futures-channel to fix build 2020-05-17 19:28:38 +08:00
Sebastian Thiel 3f382eee04
Run a bare cargo check on nighly with a flag to help seeing missing features
Should implement what's suggested in this comment:

https://github.com/stjepang/blocking/pull/2#issuecomment-629777534
2020-05-17 19:21:37 +08:00
Sebastian Thiel 70700cc2f0
Fix workflow yaml to allow build & test steps to run as expected 2020-05-17 19:04:25 +08:00
Sebastian Thiel ad205b30a8
Prevent `cargo check` to be run twice
Not doing so actually prevents the check we want to work correctly.
2020-05-17 18:56:39 +08:00
Sebastian Thiel daeac8840e
Run `cargo check` without leaking dev-dependencies (nighly only)
That way, missing dependencies won't be masked by them being pulled in
by dev-dependencies.
2020-05-17 18:53:21 +08:00
Sebastian Thiel fae0add808
futures-util needs the 'sink' feature enabled
From the review:
> In futures-util, sink is not enabled by default.
> (CI passes because of the feature flag of the dev-dependencies leaks to normal dependencies.)
2020-05-17 18:11:44 +08:00
Sebastian Thiel f1770faf0e
Don't depend on futures-core directy if futures-util can be used instead 2020-05-17 18:09:44 +08:00
Sebastian Thiel 50f6069a6c
Use futures sub-crates explicitly 2020-05-17 17:53:54 +08:00
Stjepan Glavina 86d40a1631 Remove caching 2020-05-16 17:23:51 +02:00
Stjepan Glavina 1caf501270 Rename blocking to unblock 2020-05-16 00:02:40 +02:00
Stjepan Glavina 7db6782124 Better error handling while reading/writing 2020-05-15 13:25:00 +02:00
Stjepan Glavina 5fdabefdf0 Don't let clippy fail CI 2020-05-11 12:27:50 +02:00
Stjepan Glavina 4290b3e9cf Remove loc from CI 2020-05-11 12:11:19 +02:00
Stjepan Glavina cbb1c21812 Bump to v0.3.2 2020-05-11 12:08:14 +02:00
Stjepan Glavina 54f529d17e Make trait objects sendable 2020-05-11 12:07:37 +02:00
Stjepan Glavina 9f58bf4033 Remove unused import 2020-05-10 18:34:49 +02:00
Stjepan Glavina 8f342afd70 Bump to v0.3.1 2020-05-10 18:29:12 +02:00
Stjepan Glavina acbdf4c544 Add Blocking::with_mut() 2020-05-10 18:28:14 +02:00
Stjepan Glavina cde42b8299 Bump to v0.3.0 2020-05-10 13:21:27 +02:00
Stjepan Glavina d597fe1adc Spawn closures instead of futures 2020-05-10 13:19:28 +02:00
Stjepan Glavina 7d65410c7a Remove async-task dependency 2020-05-10 09:26:51 +02:00
Stjepan Glavina bf7dbf9ce7 Fix workflow 2020-05-09 23:35:18 +02:00