forked from tokio-rs/tokio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
codec: move into tokio-util (tokio-rs#1675)
Related to tokio-rs#1318, Tokio APIs that are "less stable" are moved into a new `tokio-util` crate. This crate will mirror `tokio` and provide additional APIs that may require a greater rate of breaking changes. As examples require `tokio-util`, they are moved into a separate crate (`examples`). This has the added advantage of being able to avoid example only dependencies in the `tokio` crate.
- Loading branch information
1 parent
b8cee1a
commit cfc1561
Showing
53 changed files
with
318 additions
and
479 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
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[package] | ||
name = "examples" | ||
version = "0.0.0" | ||
publish = false | ||
edition = "2018" | ||
|
||
[dev-dependencies] | ||
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" } | ||
tokio-util = { version = "=0.2.0-alpha.6", path = "../tokio-util" } | ||
|
||
bytes = "0.4.12" | ||
futures-preview = "=0.3.0-alpha.19" | ||
|
||
[[example]] | ||
name = "chat" | ||
path = "chat.rs" | ||
|
||
[[example]] | ||
name = "connect" | ||
path = "connect.rs" | ||
|
||
[[example]] | ||
name = "echo-udp" | ||
path = "echo-udp.rs" | ||
|
||
[[example]] | ||
name = "echo" | ||
path = "echo.rs" | ||
|
||
[[example]] | ||
name = "hello_world" | ||
path = "hello_world.rs" | ||
|
||
[[example]] | ||
name = "print_each_packet" | ||
path = "print_each_packet.rs" | ||
|
||
[[example]] | ||
name = "proxy" | ||
path = "proxy.rs" | ||
|
||
[[example]] | ||
name = "tinydb" | ||
path = "tinydb.rs" | ||
|
||
[[example]] | ||
name = "udp-client" | ||
path = "udp-client.rs" | ||
|
||
[[example]] | ||
name = "udp-codec" | ||
path = "udp-codec.rs" |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.