-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dev: bump version and changlog update documentation Add unit tests for the Sink impl of pharos Update to futures 0.3.0-alpha.19 Allow comparing ErrorKind to &ErrorKind Document the behavior of the futures channels Finish flush algorithm now ICE is solved fix clippy warning fix visibility of Error::kind() Update some comments ICE in rustc Another breaking change to the API. Actually, we don't need pin_project
- Loading branch information
Showing
17 changed files
with
732 additions
and
322 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ package: | |
# - merge dev branch into master | ||
# - create git tag | ||
# | ||
version : 0.3.2 | ||
version : 0.4.0 | ||
name : pharos | ||
authors : [ Naja Melan <[email protected]> ] | ||
edition : '2018' | ||
|
@@ -43,6 +43,8 @@ badges: | |
|
||
dependencies: | ||
|
||
futures-preview : { version: ^0.3.0-alpha, features: [async-await, nightly] } | ||
pin-project : ^0.4.0-beta | ||
futures-preview: { version: ^0.3.0-alpha, features: [async-await] } | ||
|
||
dev-dependencies: | ||
|
||
assert_matches: ^1 |
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,13 +1,7 @@ | ||
# TODO | ||
|
||
- make Events clone? means we can only work with broadcast channels | ||
|
||
- switch to more performant channels (crossbeam). Will be easier once they provide an async api. | ||
|
||
- allow other channel types, like a ringchannel which drops messages on outpacing? To prevent DDOS and OOM attacks? | ||
|
||
- scaling? For now we have an ever growing vector of observers | ||
|
||
- other data structure than vec? smallvec? | ||
- type that allows concurrent access to &mut for each observer, so we can mutate in place rather than have join_all allocate a new vector on easch notify. Maybe partitions crate? -> has 19 lines of unsafe code, needs review. | ||
- let users set capacity on creation? |
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
Oops, something went wrong.